/Linux-v5.4/sound/core/oss/ |
D | io.c | 2 * PCM I/O Plug-In Interface 28 #define pcm_write(plug,buf,count) snd_pcm_oss_write3(plug,buf,count,1) argument 29 #define pcm_writev(plug,vec,count) snd_pcm_oss_writev3(plug,vec,count) argument 30 #define pcm_read(plug,buf,count) snd_pcm_oss_read3(plug,buf,count,1) argument 31 #define pcm_readv(plug,vec,count) snd_pcm_oss_readv3(plug,vec,count) argument 47 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer() 59 return pcm_writev(plugin->plug, bufs, frames); in io_playback_transfer() 73 return pcm_read(plugin->plug, dst_channels->area.addr, frames); in io_capture_transfer() 85 return pcm_readv(plugin->plug, bufs, frames); in io_capture_transfer() 108 int snd_pcm_plugin_build_io(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_io() argument [all …]
|
D | pcm_plugin.c | 2 * PCM Plug-In shared (kernel/library) code 35 #define snd_pcm_plug_first(plug) ((plug)->runtime->oss.plugin_first) argument 36 #define snd_pcm_plug_last(plug) ((plug)->runtime->oss.plugin_last) argument 104 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() argument 107 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) in snd_pcm_plug_alloc() 109 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_alloc() 110 struct snd_pcm_plugin *plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_alloc() 122 struct snd_pcm_plugin *plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_alloc() 146 int snd_pcm_plugin_build(struct snd_pcm_substream *plug, in snd_pcm_plugin_build() argument 156 if (snd_BUG_ON(!plug)) in snd_pcm_plugin_build() [all …]
|
D | pcm_plugin.h | 12 #define snd_pcm_plug_stream(plug) ((plug)->stream) argument 40 const char *name; /* plug-in name */ 61 struct snd_pcm_substream *plug; member 78 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames); 142 void *snd_pcm_plug_buf_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t size); 143 void snd_pcm_plug_buf_unlock(struct snd_pcm_substream *plug, void *ptr);
|
D | copy.c | 2 * Linear conversion Plug-In 61 int snd_pcm_plugin_build_copy(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_copy() argument 85 err = snd_pcm_plugin_build(plug, "copy", src_format, dst_format, in snd_pcm_plugin_build_copy()
|
/Linux-v5.4/drivers/acpi/ |
D | acpi_pnp.c | 145 {"AAC000F"}, /* Archtek America Corp. Archtek SmartLink Modem 3334BT Plug & Play */ 146 {"ADC0001"}, /* Anchor Datacomm BV. SXPro 144 External Data Fax Modem Plug & Play */ 147 {"ADC0002"}, /* SXPro 288 External Data Fax Modem Plug & Play */ 166 {"FUJ0202"}, /* Fujitsu 33600 PnP-I2 R Plug & Play */ 167 {"FUJ0205"}, /* Fujitsu FMV-FX431 Plug & Play */ 168 {"FUJ0206"}, /* Fujitsu 33600 PnP-I4 R Plug & Play */ 169 {"FUJ0209"}, /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */ 170 {"GVC000F"}, /* Archtek SmartLink Modem 3334BT Plug & Play */ 172 {"HAY0001"}, /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */ 179 {"HAYF001"}, /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */ [all …]
|
/Linux-v5.4/drivers/tty/serial/8250/ |
D | 8250_pnp.c | 28 /* Archtek SmartLink Modem 3334BT Plug & Play */ 31 /* SXPro 144 External Data Fax Modem Plug & Play */ 33 /* SXPro 288 External Data Fax Modem Plug & Play */ 81 /* Fujitsu 33600 PnP-I2 R Plug & Play */ 83 /* Fujitsu FMV-FX431 Plug & Play */ 85 /* Fujitsu 33600 PnP-I4 R Plug & Play */ 87 /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */ 90 /* Archtek SmartLink Modem 3334BT Plug & Play */ 95 /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */ 109 /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */ [all …]
|
/Linux-v5.4/Documentation/admin-guide/ |
D | pnp.rst | 2 Linux Plug and Play Documentation 12 Plug and Play provides a means of detecting and setting resources for legacy or 13 otherwise unconfigurable devices. The Linux Plug and Play Layer provides these 20 The Linux Plug and Play user interface provides a means to activate PnP devices 21 for legacy and user level drivers that do not support Linux Plug and Play. The 112 The Unified Plug and Play Layer 115 All Plug and Play drivers, protocols, and services meet at a central location 116 called the Plug and Play Layer. This layer is responsible for the exchange of 121 The following functions are available from the Plug and Play Layer: 133 use this function to remove a PnP protocol from the Plug and Play Layer [all …]
|
/Linux-v5.4/drivers/usb/typec/ |
D | class.c | 174 /* Bind the port alt mode to the partner/plug alt mode. */ in typec_altmode_set_partner() 178 /* Bind the partner/plug alt mode to the port alt mode. */ in typec_altmode_set_partner() 180 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_set_partner() local 182 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 199 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_put_partner() local 201 partner->plug[plug->index] = NULL; in typec_altmode_put_partner() 276 * If a partner or cable plug executes Enter/Exit Mode command successfully, the 305 * Returns handle to the port that a cable plug or partner with @alt is 702 struct typec_plug *plug = to_typec_plug(dev); in typec_plug_release() local 704 ida_destroy(&plug->mode_ids); in typec_plug_release() [all …]
|
D | bus.c | 203 * typec_altmode_get_plug - Find cable plug alternate mode 205 * @index: Cable plug index 207 * Increment reference count for cable plug alternate mode device. Returns 208 * handle to the cable plug alternate mode, or NULL if none is found. 215 if (port->plug[index]) { in typec_altmode_get_plug() 216 get_device(&port->plug[index]->adev.dev); in typec_altmode_get_plug() 217 return &port->plug[index]->adev; in typec_altmode_get_plug() 225 * typec_altmode_put_plug - Decrement cable plug alternate mode reference count 226 * @plug: Handle to the cable plug alternate mode 228 void typec_altmode_put_plug(struct typec_altmode *plug) in typec_altmode_put_plug() argument [all …]
|
D | Kconfig | 7 only one type of plug is supported on both ends, i.e. there will not 8 be Type-A plug on one end of the cable and Type-B plug on the other.
|
/Linux-v5.4/arch/powerpc/platforms/ps3/ |
D | interrupt.c | 30 * @status: 256 bit status bitmap indexed by plug 32 * @mask: 256 bit mask bitmap indexed by plug 35 * The HV maintains per SMT thread mappings of HV outlet to HV plug on 37 * supplied bitmaps indexed by plug number. The addresses of the bitmaps 45 * implementation equates HV plug value to Linux virq value, constrains each 46 * interrupt to have a system wide unique plug number, and limits the range 47 * of the plug values to map into the first dword of the bitmaps. This 48 * gives a usable range of plug values of {NUM_ISA_INTERRUPTS..63}. Note 239 * Sets up virq and connects the irq plug. 282 * Disconnects the irq plug and tears down virq. [all …]
|
/Linux-v5.4/include/linux/usb/ |
D | typec.h | 99 * Description of an Alternate Mode which a connector, cable plug or partner 114 *typec_plug_register_altmode(struct typec_plug *plug, 131 * struct typec_plug_desc - USB Type-C Cable Plug Descriptor 132 * @index: SOP Prime for the plug connected to DFP and SOP Double Prime for the 133 * plug connected to UFP 135 * Represents USB Type-C Cable Plug. 143 * @type: The plug type from USB PD Cable VDO 179 * @sw: Cable plug orientation switch 232 void typec_unregister_plug(struct typec_plug *plug);
|
/Linux-v5.4/sound/firewire/oxfw/ |
D | oxfw-command.c | 24 buf[4] = dir; /* Plug Direction */ in avc_stream_set_format() 26 buf[6] = 0x00; /* PCR (Isochronous Plug) */ in avc_stream_set_format() 27 buf[7] = 0xff & pid; /* Plug ID */ in avc_stream_set_format() 68 buf[4] = dir; /* Plug Direction */ in avc_stream_get_format() 70 buf[6] = 0x00; /* PCR (Isochronous Plug) */ in avc_stream_get_format() 71 buf[7] = 0xff & pid; /* Plug ID */ in avc_stream_get_format() 133 buf[2] = 0x19; /* INPUT PLUG SIGNAL FORMAT */ in avc_general_inquiry_sig_fmt() 135 buf[2] = 0x18; /* OUTPUT PLUG SIGNAL FORMAT */ in avc_general_inquiry_sig_fmt() 136 buf[3] = 0xff & pid; /* plug id */ in avc_general_inquiry_sig_fmt()
|
/Linux-v5.4/drivers/pnp/ |
D | Kconfig | 3 # Plug and Play configuration 7 bool "Plug and Play support" 11 Plug and Play (PnP) is a standard for peripherals which allows those 17 Say Y here if you would like Linux to configure your Plug and Play
|
/Linux-v5.4/drivers/pnp/pnpbios/ |
D | Kconfig | 3 # Plug and Play BIOS configuration 6 bool "Plug and Play BIOS support" 10 Linux uses the PNPBIOS as defined in "Plug and Play BIOS 27 bool "Plug and Play BIOS /proc interface"
|
/Linux-v5.4/drivers/pnp/isapnp/ |
D | Kconfig | 3 # ISA Plug and Play configuration 6 bool "ISA Plug and Play support" 9 Say Y here if you would like support for ISA Plug and Play devices.
|
/Linux-v5.4/block/ |
D | blk-core.c | 676 * another request associated with @q is found on the plug list 695 struct blk_plug *plug; in blk_attempt_plug_merge() local 699 plug = blk_mq_plug(q, bio); in blk_attempt_plug_merge() 700 if (!plug) in blk_attempt_plug_merge() 703 plug_list = &plug->mq_list; in blk_attempt_plug_merge() 1675 * @plug: The &struct blk_plug that needs to be initialized 1693 * plug. By flushing the pending I/O when the process goes to sleep, we avoid 1696 void blk_start_plug(struct blk_plug *plug) in blk_start_plug() argument 1701 * If this is a nested plug, don't actually assign it. in blk_start_plug() 1703 if (tsk->plug) in blk_start_plug() [all …]
|
D | blk-lib.c | 101 struct blk_plug plug; in blkdev_issue_discard() local 104 blk_start_plug(&plug); in blkdev_issue_discard() 113 blk_finish_plug(&plug); in blkdev_issue_discard() 197 struct blk_plug plug; in blkdev_issue_write_same() local 200 blk_start_plug(&plug); in blkdev_issue_write_same() 207 blk_finish_plug(&plug); in blkdev_issue_write_same() 364 struct blk_plug plug; in blkdev_issue_zeroout() local 373 blk_start_plug(&plug); in blkdev_issue_zeroout() 388 blk_finish_plug(&plug); in blkdev_issue_zeroout()
|
D | blk-mq.h | 237 * blk_mq_plug() - Get caller context plug 249 * ignoring the plug state of a BIO issuing context if the target request queue 250 * is for a zoned block device and the BIO to plug is a write operation. 252 * Return current->plug if the bio can be plugged and NULL otherwise 258 * For regular block devices or read operations, use the context plug in blk_mq_plug() 262 return current->plug; in blk_mq_plug() 264 /* Zoned block device write operation case: do not plug the BIO */ in blk_mq_plug()
|
/Linux-v5.4/Documentation/ide/ |
D | warm-plug-howto.rst | 2 IDE warm-plug HOWTO 5 To warm-plug devices on a port 'idex':: 9 unplug old device(s) and plug new device(s)::
|
/Linux-v5.4/net/sched/ |
D | sch_plug.c | 6 * 1. A simple "instantaneous" plug/unplug operation, by issuing an alternating 46 * plug(i+1) plug(i) head 149 * TCQ_PLUG_BUFFER: Inset a plug into the queue and 152 * to beginning of the next plug. 209 .id = "plug",
|
/Linux-v5.4/drivers/net/wireless/intersil/orinoco/ |
D | hermes_dld.c | 15 * Plug data code slightly modified from spectrum_cs driver 71 * Plug Data References are located in the image after the last data 72 * block. They refer to areas in the adapter memory where the plug data 83 * Plug Data Items are located in the EEPROM read from the adapter by 90 char data[0]; /* plug data */ 142 /*** Plug Data Functions ***/ 194 /* Process one Plug Data Item - find corresponding PDR and plug it */ 236 /* Go through every PDI and plug them into the adapter */ in hermes_apply_pda() 262 /* Skip all blocks to locate Plug Data References in hermes_blocks_length()
|
/Linux-v5.4/drivers/staging/sm750fb/ |
D | ddk750_sii164.h | 7 /* Hot Plug detection mode structure */ 9 SII164_HOTPLUG_DISABLE = 0, /* Disable Hot Plug output bit (always high). */ 12 SII164_HOTPLUG_USE_HTPLG /* Use Hot Plug detect bit. */ 107 /* Hot Plug detect Input (HTPLG) */
|
/Linux-v5.4/Documentation/usb/ |
D | chipidea.rst | 38 2) Connect 2 boards with usb cable with one end is micro A plug, the other end 39 is micro B plug. 41 The A-device(with micro A plug inserted) should enumerate B-device. 65 5) Remove B-device(unplug micro B plug) and insert again in 10 seconds, 68 6) Remove B-device(unplug micro B plug) and insert again after 10 seconds,
|
/Linux-v5.4/sound/firewire/ |
D | fcp.c | 54 buf[2] = 0x19; /* INPUT PLUG SIGNAL FORMAT */ in avc_general_set_sig_fmt() 56 buf[2] = 0x18; /* OUTPUT PLUG SIGNAL FORMAT */ in avc_general_set_sig_fmt() 57 buf[3] = 0xff & pid; /* plug id */ in avc_general_set_sig_fmt() 99 buf[2] = 0x19; /* INPUT PLUG SIGNAL FORMAT */ in avc_general_get_sig_fmt() 101 buf[2] = 0x18; /* OUTPUT PLUG SIGNAL FORMAT */ in avc_general_get_sig_fmt() 102 buf[3] = 0xff & pid; /* plug id */ in avc_general_get_sig_fmt() 157 buf[2] = 0x02; /* PLUG INFO */ in avc_general_get_plug_info()
|