/Linux-v5.10/drivers/tty/vt/ |
D | defkeymap.map | 1 # SPDX-License-Identifier: GPL-2.0 3 keymaps 0-2,4-5,8,12 5 # keymaps 0-2,4-6,8,12 12 # be saved by mapping AltGr to Alt (and adapting a few entries): 13 # keycode 100 = Alt 16 alt keycode 1 = Meta_Escape 18 alt keycode 2 = Meta_one 22 alt keycode 3 = Meta_two 25 alt keycode 4 = Meta_three 28 alt keycode 5 = Meta_four [all …]
|
/Linux-v5.10/drivers/usb/typec/altmodes/ |
D | displayport.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Typec-C DisplayPort Alternate Mode driver 18 #define DP_HEADER(_dp, cmd) (VDO((_dp)->alt->svid, 1, cmd) | \ 63 struct typec_altmode *alt; member 69 u8 state = get_count_order(DP_CONF_GET_PIN_ASSIGN(dp->data.conf)); in dp_altmode_notify() 71 return typec_altmode_notify(dp->alt, TYPEC_MODAL_STATE(state), in dp_altmode_notify() 72 &dp->data); in dp_altmode_notify() 85 pin_assign = DP_CAP_UFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure() 86 DP_CAP_DFP_D_PIN_ASSIGN(dp->port->vdo); in dp_altmode_configure() 91 pin_assign = DP_CAP_DFP_D_PIN_ASSIGN(dp->alt->vdo) & in dp_altmode_configure() [all …]
|
D | nvidia.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * NVIDIA USB Type-C Alt Mode Driver 12 static int nvidia_altmode_probe(struct typec_altmode *alt) in nvidia_altmode_probe() argument 14 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_probe() 15 return dp_altmode_probe(alt); in nvidia_altmode_probe() 17 return -ENOTSUPP; in nvidia_altmode_probe() 20 static void nvidia_altmode_remove(struct typec_altmode *alt) in nvidia_altmode_remove() argument 22 if (alt->svid == USB_TYPEC_NVIDIA_VLINK_SID) in nvidia_altmode_remove() 23 dp_altmode_remove(alt); in nvidia_altmode_remove() 44 MODULE_DESCRIPTION("NVIDIA USB Type-C Alt Mode Driver");
|
D | displayport.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 int dp_altmode_probe(struct typec_altmode *alt); 4 void dp_altmode_remove(struct typec_altmode *alt); 6 int dp_altmode_probe(struct typec_altmode *alt) { return -ENOTSUPP; } in dp_altmode_probe() argument 7 void dp_altmode_remove(struct typec_altmode *alt) { } in dp_altmode_remove() argument
|
/Linux-v5.10/tools/objtool/ |
D | special.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 54 void __weak arch_handle_alternative(unsigned short feature, struct special_alt *alt) in arch_handle_alternative() argument 60 struct special_alt *alt) in get_alt_entry() argument 65 offset = idx * entry->size; in get_alt_entry() 67 alt->group = entry->group; in get_alt_entry() 68 alt->jump_or_nop = entry->jump_or_nop; in get_alt_entry() 70 if (alt->group) { in get_alt_entry() 71 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry() 72 entry->orig_len); in get_alt_entry() 73 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry() [all …]
|
/Linux-v5.10/drivers/usb/typec/ucsi/ |
D | displayport.c | 1 // SPDX-License-Identifier: GPL-2.0 21 struct typec_altmode *alt; member 39 * them. That is because UCSI defines alt mode details and alt mode "overriding" 42 * In case alt mode details are supported, but overriding is not, the driver 45 * -EOPNOTSUPP. 48 static int ucsi_displayport_enter(struct typec_altmode *alt, u32 *vdo) in ucsi_displayport_enter() argument 50 struct ucsi_dp *dp = typec_altmode_get_drvdata(alt); in ucsi_displayport_enter() 51 struct ucsi *ucsi = dp->con->ucsi; in ucsi_displayport_enter() 56 mutex_lock(&dp->con->lock); in ucsi_displayport_enter() 58 if (!dp->override && dp->initialized) { in ucsi_displayport_enter() [all …]
|
D | ucsi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Type-C Connector System Software Interface driver 21 * UCSI_TIMEOUT_MS - PPM communication timeout 31 * UCSI_SWAP_TIMEOUT_MS - Timeout for role swap requests 46 return ucsi->ops->sync_write(ucsi, UCSI_CONTROL, &ctrl, sizeof(ctrl)); in ucsi_acknowledge_command() 56 return ucsi->ops->async_write(ucsi, UCSI_CONTROL, &ctrl, sizeof(ctrl)); in ucsi_acknowledge_connector_change() 75 ret = ucsi->ops->read(ucsi, UCSI_MESSAGE_IN, &error, sizeof(error)); in ucsi_read_error() 81 return -EOPNOTSUPP; in ucsi_read_error() 83 return -ECOMM; in ucsi_read_error() 85 return -EPROTO; in ucsi_read_error() [all …]
|
D | trace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 24 __entry->ctrl = command; 25 __entry->ret = ret; 27 TP_printk("%s -> %s (err=%d)", ucsi_cmd_str(__entry->ctrl), 28 __entry->ret < 0 ? "FAIL" : "OK", 29 __entry->ret < 0 ? __entry->ret : 0) 57 __entry->port = port - 1; 58 __entry->change = status->change; 59 __entry->opmode = UCSI_CONSTAT_PWR_OPMODE(status->flags); 60 __entry->connected = !!(status->flags & UCSI_CONSTAT_CONNECTED); [all …]
|
D | ucsi_ccg.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * UCSI driver for Cypress CCGx Type-C controller 5 * Copyright (C) 2017-2018 NVIDIA Corporation. All rights reserved. 26 FW1, /* FW partition-1 (contains secondary fw) */ 27 FW2, /* FW partition-2 (contains primary fw) */ 224 struct i2c_client *client = uc->client; in ccg_read() 225 const struct i2c_adapter_quirks *quirks = client->adapter->quirks; in ccg_read() 229 .addr = client->addr, in ccg_read() 235 .addr = client->addr, in ccg_read() 244 if (quirks && quirks->max_read_len) in ccg_read() [all …]
|
/Linux-v5.10/arch/arm64/kernel/ |
D | alternative.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #define __ALT_PTR(a,f) ((void *)&(a)->f + (a)->f) 44 static bool branch_insn_requires_update(struct alt_instr *alt, unsigned long pc) in branch_insn_requires_update() argument 46 unsigned long replptr = (unsigned long)ALT_REPL_PTR(alt); in branch_insn_requires_update() 47 return !(pc >= replptr && pc <= (replptr + alt->alt_len)); in branch_insn_requires_update() 50 #define align_down(x, a) ((unsigned long)(x) & ~(((unsigned long)(a)) - 1)) 52 static u32 get_alt_insn(struct alt_instr *alt, __le32 *insnptr, __le32 *altinsnptr) in get_alt_insn() argument 69 if (branch_insn_requires_update(alt, target)) { in get_alt_insn() 70 offset = target - (unsigned long)insnptr; in get_alt_insn() 78 * If we're replacing an adrp instruction, which uses PC-relative in get_alt_insn() [all …]
|
/Linux-v5.10/Documentation/networking/ |
D | mac80211-auth-assoc-deauth.txt | 13 alt authentication needed (not FT) 14 userspace->mac80211: authenticate 16 alt authenticated/authenticating already 17 mac80211->driver: sta_state(AP, not-exists) 18 mac80211->driver: bss_info_changed(clear BSSID) 26 mac80211->driver: config(channel, channel type) 27 mac80211->driver: bss_info_changed(set BSSID, basic rate bitmap) 28 mac80211->driver: sta_state(AP, exists) 30 alt no probe request data known 31 mac80211->driver: TX directed probe request [all …]
|
/Linux-v5.10/drivers/usb/typec/ |
D | class.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * USB Type-C Connector Class 68 #define is_typec_partner(_dev_) (_dev_->type == &typec_partner_dev_type) 69 #define is_typec_cable(_dev_) (_dev_->type == &typec_cable_dev_type) 70 #define is_typec_plug(_dev_) (_dev_->type == &typec_plug_dev_type) 75 /* ------------------------------------------------------------------------- */ 89 return partner->identity; in get_pd_identity() 93 return cable->identity; in get_pd_identity() 103 return sprintf(buf, "0x%08x\n", id->id_header); in id_header_show() 112 return sprintf(buf, "0x%08x\n", id->cert_stat); in cert_stat_show() [all …]
|
D | bus.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Bus for USB Type-C Alternate Modes 14 typec_altmode_set_mux(struct altmode *alt, unsigned long conf, void *data) in typec_altmode_set_mux() argument 18 if (!alt->mux) in typec_altmode_set_mux() 21 state.alt = &alt->adev; in typec_altmode_set_mux() 25 return alt->mux->set(alt->mux, &state); in typec_altmode_set_mux() 31 bool is_port = is_typec_port(adev->dev.parent); in typec_altmode_set_state() 34 port_altmode = is_port ? to_altmode(adev) : to_altmode(adev)->partner; in typec_altmode_set_state() 39 /* -------------------------------------------------------------------------- */ 43 * typec_altmode_notify - Communication between the OS and alternate mode driver [all …]
|
/Linux-v5.10/drivers/usb/storage/ |
D | uas-detect.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 return (intf->desc.bInterfaceClass == USB_CLASS_MASS_STORAGE && in uas_is_interface() 9 intf->desc.bInterfaceSubClass == USB_SC_SCSI && in uas_is_interface() 10 intf->desc.bInterfaceProtocol == USB_PR_UAS); in uas_is_interface() 18 for (i = 0; i < intf->num_altsetting; i++) { in uas_find_uas_alt_setting() 19 struct usb_host_interface *alt = &intf->altsetting[i]; in uas_find_uas_alt_setting() local 21 if (uas_is_interface(alt)) in uas_find_uas_alt_setting() 22 return alt; in uas_find_uas_alt_setting() 28 static int uas_find_endpoints(struct usb_host_interface *alt, in uas_find_endpoints() argument 31 struct usb_host_endpoint *endpoint = alt->endpoint; in uas_find_endpoints() [all …]
|
/Linux-v5.10/arch/m68k/hp300/ |
D | hp300map.map | 2 keymaps 0-2,4-5,8,12 4 # keymaps 0-2,4-6,8,12 11 # be saved by mapping AltGr to Alt (and adapting a few entries): 12 # keycode 100 = Alt 15 keycode 2 = Alt 16 keycode 3 = Alt 69 alt keycode 55 = Meta_Tab 79 alt keycode 63 = Meta_grave 127 alt keycode 101 = Meta_backslash 134 alt keycode 107 = Meta_semicolon [all …]
|
/Linux-v5.10/arch/powerpc/perf/ |
D | power6-pmu.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright 2008-2009 Paul Mackerras, IBM Corporation. 18 #define PM_PMC_SH 20 /* PMC number (1-based) for direct events */ 38 #define MMCR1_TTMSEL_SH(n) (MMCR1_TTM0SEL_SH - (n) * 4) 48 #define MMCR1_PMCSEL_SH(n) (MMCR1_PMC1SEL_SH - (n) * 8) 58 * 4 = add/and event (PMC1 -> bits 0 & 4), 59 * 5 = add/and event (PMC1 -> bits 1 & 5), 60 * 6 = add/and event (PMC1 -> bits 2 & 6), 61 * 7 = add/and event (PMC1 -> bits 3 & 7). 123 0x000000c0, /* VMX set 2: byte 0 bits 4-7 */ [all …]
|
/Linux-v5.10/drivers/net/wireless/ath/ath9k/ |
D | antenna.c | 23 * EEPROM has 2 4-bit fields containing the card configuration. 26 * ------------ 33 * ----------- 38 * ------------------------------------ 40 * bb_enable_ant_div_lnadiv - Enable LNA path rx antenna diversity/combining. 43 * bb_ant_div_[alt/main]_gaintb - 0 -> Antenna config Alt/Main uses gaintable 0 44 * 1 -> Antenna config Alt/Main uses gaintable 1 47 * bb_enable_ant_fast_div - Enable fast antenna diversity. 50 * bb_ant_div_[alt/main]_lnaconf - Alt/Main LNA diversity/combining input config. 55 * 00=LNA1-LNA2 [all …]
|
/Linux-v5.10/Documentation/admin-guide/blockdev/drbd/ |
D | figures.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 .. kernel-figure:: DRBD-8.3-data-packets.svg 9 :alt: DRBD-8.3-data-packets.svg 12 .. kernel-figure:: DRBD-data-packets.svg 13 :alt: DRBD-data-packets.svg 20 .. kernel-figure:: conn-states-8.dot 21 :alt: conn-states-8.dot 24 .. kernel-figure:: disk-states-8.dot 25 :alt: disk-states-8.dot 28 .. kernel-figure:: node-states-8.dot [all …]
|
/Linux-v5.10/sound/soc/intel/boards/ |
D | skl_hda_dsp_generic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 // Copyright(c) 2015-18 Intel Corporation. 15 #include <sound/soc-acpi.h> 22 SND_SOC_DAPM_HP("Alt Analog Out", NULL), 23 SND_SOC_DAPM_MIC("Alt Analog In", NULL), 39 { "Alt Analog Out", NULL, "Codec Output Pin3" }, 43 { "Codec Input Pin3", NULL, "Alt Analog In" }, 53 { "Alt Analog Codec Playback", NULL, "Alt Analog CPU Playback" }, 54 { "Alt Analog CPU Playback", NULL, "codec2_out" }, 60 { "codec2_in", NULL, "Alt Analog CPU Capture" }, [all …]
|
/Linux-v5.10/arch/powerpc/lib/ |
D | feature-fixups-test.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 #include <asm/feature-fixups.h> 9 #include <asm/asm-compat.h> 10 #include <asm/ppc-opcode.h> 285 /* Basic alt section test, default case should be taken */ \ 296 /* Basic alt section test, else case should be taken */ \ 308 /* Alt with smaller else case, should be padded with nops */ \ 318 /* Alt section with nested section in default case */ \ 333 /* Alt section with nested section in else, default taken */ \ 347 /* Alt section with nested section in else, else taken & nop */ \ [all …]
|
/Linux-v5.10/drivers/media/usb/gspca/ |
D | gspca.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2008-2011 Jean-François Moine <http://moinejf.free.fr> 8 * Copyright (C) 2009-2010 Márton Németh <nm127@freemail.hu> 27 #include <media/v4l2-ioctl.h> 28 #include <media/v4l2-ctrls.h> 29 #include <media/v4l2-fh.h> 30 #include <media/v4l2-event.h> 45 MODULE_AUTHOR("Jean-François Moine <http://moinejf.free.fr>"); 72 /* specific memory types - !! should be different from V4L2_MEMORY_xxx */ 82 struct gspca_dev *gspca_dev = (struct gspca_dev *) urb->context; in int_irq() [all …]
|
/Linux-v5.10/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 cx231xx-core.c - driver for Conexant Cx23100/101/102 17 #include <media/v4l2-common.h> 20 #include "cx231xx-reg.h" 31 dev->name, __func__ , ##arg); } while (0) 37 static int alt = CX231XX_PINOUT; variable 38 module_param(alt, int, 0644); 39 MODULE_PARM_DESC(alt, "alternate setting to use for video endpoint"); 44 dev->name, __func__ , ##arg); } while (0) 62 if (dev->udev == NULL) in cx231xx_remove_from_devlist() [all …]
|
/Linux-v5.10/Documentation/security/ |
D | sak.rst | 15 providing SAK. One is the ALT-SYSRQ-K sequence. You shouldn't use 28 What key sequence should you use? Well, CTRL-ALT-DEL is used to reboot 29 the machine. CTRL-ALT-BACKSPACE is magical to the X server. We'll 30 choose CTRL-ALT-PAUSE. 34 echo "control alt keycode 101 = SAK" | /bin/loadkeys 57 # ls -l /proc/[0-9]*/fd/* | grep console 58 l-wx------ 1 root root 64 Mar 18 00:46 /proc/579/fd/0 -> /dev/console 63 root 579 0.0 0.1 1088 436 ? S 00:43 0:00 gpm -t ps/2 90 applications to malfunction - test everything well.
|
/Linux-v5.10/drivers/infiniband/core/ |
D | security.c | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 50 struct ib_device *dev = pp->sec->dev; in get_pkey_idx_qp_list() 52 spin_lock(&dev->port_data[pp->port_num].pkey_list_lock); in get_pkey_idx_qp_list() 53 list_for_each_entry (tmp_pkey, &dev->port_data[pp->port_num].pkey_list, in get_pkey_idx_qp_list() 55 if (tmp_pkey->pkey_index == pp->pkey_index) { in get_pkey_idx_qp_list() 60 spin_unlock(&dev->port_data[pp->port_num].pkey_list_lock); in get_pkey_idx_qp_list() 68 struct ib_device *dev = pp->sec->dev; in get_pkey_and_subnet_prefix() 71 ret = ib_get_cached_pkey(dev, pp->port_num, pp->pkey_index, pkey); in get_pkey_and_subnet_prefix() 75 ret = ib_get_cached_subnet_prefix(dev, pp->port_num, subnet_prefix); in get_pkey_and_subnet_prefix() [all …]
|
/Linux-v5.10/drivers/media/usb/gspca/stv06xx/ |
D | stv06xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (c) 2001 Jean-Fredric Clere, Nikolas Zimmermann, Georg Acher 4 * Mark Cave-Ayland, Carlo E Prelz, Dick Streefland 9 * P/N 861050-0010: Sensor HDCS1000 ASIC STV0600 10 * P/N 861050-0020: Sensor Photobit PB100 ASIC STV0600-1 - QuickCam Express 11 * P/N 861055: Sensor ST VV6410 ASIC STV0610 - LEGO cam 12 * P/N 861075-0040: Sensor HDCS1000 ASIC 13 * P/N 961179-0700: Sensor ST VV6410 ASIC STV0602 - Dexxa WebCam USB 14 * P/N 861040-0000: Sensor ST VV6410 ASIC STV0610 - QuickCam Web 33 struct usb_device *udev = sd->gspca_dev.dev; in stv06xx_write_bridge() [all …]
|