| /kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
| D | plug.json | 4 "name": "Create PLUG with default setting", 7 "plug" 15 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root plug", 18 "matchPattern": "qdisc plug 1: root refcnt", 27 "name": "Create PLUG with block setting", 30 "plug" 38 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root plug block", 41 "matchPattern": "qdisc plug 1: root refcnt", 50 "name": "Create PLUG with release setting", 53 "plug" [all …]
|
| /kernel/linux/linux-6.6/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 108 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() argument 111 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) in snd_pcm_plug_alloc() 113 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_alloc() 114 struct snd_pcm_plugin *plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_alloc() 126 struct snd_pcm_plugin *plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_alloc() 150 int snd_pcm_plugin_build(struct snd_pcm_substream *plug, in snd_pcm_plugin_build() argument 160 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);
|
| /kernel/linux/linux-5.10/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 107 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() argument 110 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) in snd_pcm_plug_alloc() 112 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_alloc() 113 struct snd_pcm_plugin *plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_alloc() 125 struct snd_pcm_plugin *plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_alloc() 149 int snd_pcm_plugin_build(struct snd_pcm_substream *plug, in snd_pcm_plugin_build() argument 159 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);
|
| /kernel/linux/linux-5.10/drivers/acpi/ |
| D | acpi_pnp.c | 147 {"AAC000F"}, /* Archtek America Corp. Archtek SmartLink Modem 3334BT Plug & Play */ 148 {"ADC0001"}, /* Anchor Datacomm BV. SXPro 144 External Data Fax Modem Plug & Play */ 149 {"ADC0002"}, /* SXPro 288 External Data Fax Modem Plug & Play */ 168 {"FUJ0202"}, /* Fujitsu 33600 PnP-I2 R Plug & Play */ 169 {"FUJ0205"}, /* Fujitsu FMV-FX431 Plug & Play */ 170 {"FUJ0206"}, /* Fujitsu 33600 PnP-I4 R Plug & Play */ 171 {"FUJ0209"}, /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */ 172 {"GVC000F"}, /* Archtek SmartLink Modem 3334BT Plug & Play */ 174 {"HAY0001"}, /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */ 181 {"HAYF001"}, /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */ [all …]
|
| /kernel/linux/linux-6.6/drivers/acpi/ |
| D | acpi_pnp.c | 147 {"AAC000F"}, /* Archtek America Corp. Archtek SmartLink Modem 3334BT Plug & Play */ 148 {"ADC0001"}, /* Anchor Datacomm BV. SXPro 144 External Data Fax Modem Plug & Play */ 149 {"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 …]
|
| /kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
| D | 8250_pnp.c | 29 /* Archtek SmartLink Modem 3334BT Plug & Play */ 32 /* SXPro 144 External Data Fax Modem Plug & Play */ 34 /* SXPro 288 External Data Fax Modem Plug & Play */ 82 /* Fujitsu 33600 PnP-I2 R Plug & Play */ 84 /* Fujitsu FMV-FX431 Plug & Play */ 86 /* Fujitsu 33600 PnP-I4 R Plug & Play */ 88 /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */ 91 /* Archtek SmartLink Modem 3334BT Plug & Play */ 96 /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */ 110 /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */ [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/serial/8250/ |
| D | 8250_pnp.c | 29 /* Archtek SmartLink Modem 3334BT Plug & Play */ 32 /* SXPro 144 External Data Fax Modem Plug & Play */ 34 /* SXPro 288 External Data Fax Modem Plug & Play */ 78 /* Fujitsu 33600 PnP-I2 R Plug & Play */ 80 /* Fujitsu FMV-FX431 Plug & Play */ 82 /* Fujitsu 33600 PnP-I4 R Plug & Play */ 84 /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */ 87 /* Archtek SmartLink Modem 3334BT Plug & Play */ 92 /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */ 106 /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */ [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/drivers/usb/typec/ |
| D | class.c | 247 /* Bind the port alt mode to the partner/plug alt mode. */ in typec_altmode_set_partner() 251 /* Bind the partner/plug alt mode to the port alt mode. */ in typec_altmode_set_partner() 253 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_set_partner() local 255 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 274 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_put_partner() local 276 partner->plug[plug->index] = NULL; in typec_altmode_put_partner() 288 * If a partner or cable plug executes Enter/Exit Mode command successfully, the 317 * Returns handle to the port that a cable plug or partner with @alt is 565 /* Plug alt modes need a class to generate udev events. */ in typec_register_altmode() 624 struct typec_plug *plug; in number_of_alternate_modes_show() local [all …]
|
| /kernel/linux/linux-6.6/include/uapi/linux/ |
| D | virtio_mem.h | 55 * order to (un)plug memory. A device cannot (un)plug memory belonging to 61 * from the device to the device driver to (un)plug blocks. The 62 * device driver should try to (un)plug blocks in order to reach the 63 * "requested_size". It is impossible to plug more memory than requested. 66 * be used to (un)plug memory. It is always at least as big as the 97 /* request to plug memory blocks */ 129 struct virtio_mem_req_plug plug; member 147 * Request denied - e.g. trying to plug more than requested, applicable for 206 * Currently used size. Changes due to plug/unplug requests, but no 210 /* Requested size. New plug requests cannot exceed it. Can change. */
|
| /kernel/linux/linux-5.10/include/uapi/linux/ |
| D | virtio_mem.h | 55 * order to (un)plug memory. A device cannot (un)plug memory belonging to 61 * from the device to the device driver to (un)plug blocks. The 62 * device driver should try to (un)plug blocks in order to reach the 63 * "requested_size". It is impossible to plug more memory than requested. 66 * be used to (un)plug memory. It is always at least as big as the 94 /* request to plug memory blocks */ 126 struct virtio_mem_req_plug plug; member 144 * Request denied - e.g. trying to plug more than requested, applicable for 203 * Currently used size. Changes due to plug/unplug requests, but no 207 /* Requested size. New plug requests cannot exceed it. Can change. */
|
| /kernel/linux/linux-5.10/drivers/usb/typec/ |
| D | class.c | 175 /* Bind the port alt mode to the partner/plug alt mode. */ in typec_altmode_set_partner() 179 /* Bind the partner/plug alt mode to the port alt mode. */ in typec_altmode_set_partner() 181 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_set_partner() local 183 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 202 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_put_partner() local 204 partner->plug[plug->index] = NULL; in typec_altmode_put_partner() 216 * If a partner or cable plug executes Enter/Exit Mode command successfully, the 245 * Returns handle to the port that a cable plug or partner with @alt is 667 struct typec_plug *plug = to_typec_plug(dev); in typec_plug_release() local 669 ida_destroy(&plug->mode_ids); in typec_plug_release() [all …]
|
| D | bus.c | 220 * typec_altmode_get_plug - Find cable plug alternate mode 222 * @index: Cable plug index 224 * Increment reference count for cable plug alternate mode device. Returns 225 * handle to the cable plug alternate mode, or NULL if none is found. 232 if (port->plug[index]) { in typec_altmode_get_plug() 233 get_device(&port->plug[index]->adev.dev); in typec_altmode_get_plug() 234 return &port->plug[index]->adev; in typec_altmode_get_plug() 242 * typec_altmode_put_plug - Decrement cable plug alternate mode reference count 243 * @plug: Handle to the cable plug alternate mode 245 void typec_altmode_put_plug(struct typec_altmode *plug) in typec_altmode_put_plug() argument [all …]
|
| /kernel/linux/linux-6.6/block/ |
| D | blk-core.c | 888 * first place, directly accessing the plug instead of using in bio_poll() 892 blk_flush_plug(current->plug, false); in bio_poll() 1063 void blk_start_plug_nr_ios(struct blk_plug *plug, unsigned short nr_ios) in blk_start_plug_nr_ios() argument 1068 * If this is a nested plug, don't actually assign it. in blk_start_plug_nr_ios() 1070 if (tsk->plug) in blk_start_plug_nr_ios() 1073 plug->mq_list = NULL; in blk_start_plug_nr_ios() 1074 plug->cached_rq = NULL; in blk_start_plug_nr_ios() 1075 plug->nr_ios = min_t(unsigned short, nr_ios, BLK_MAX_REQUEST_COUNT); in blk_start_plug_nr_ios() 1076 plug->rq_count = 0; in blk_start_plug_nr_ios() 1077 plug->multiple_queues = false; in blk_start_plug_nr_ios() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/ps3/ |
| D | interrupt.c | 31 * @status: 256 bit status bitmap indexed by plug 33 * @mask: 256 bit mask bitmap indexed by plug 36 * The HV maintains per SMT thread mappings of HV outlet to HV plug on 38 * supplied bitmaps indexed by plug number. The addresses of the bitmaps 46 * implementation equates HV plug value to Linux virq value, constrains each 47 * interrupt to have a system wide unique plug number, and limits the range 48 * of the plug values to map into the first dword of the bitmaps. This 49 * gives a usable range of plug values of {NR_IRQS_LEGACY..63}. Note 240 * Sets up virq and connects the irq plug. 283 * Disconnects the irq plug and tears down virq. [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/mm/ |
| D | swap.h | 11 void swap_readpage(struct page *page, bool do_poll, struct swap_iocb **plug); 12 void __swap_read_unplug(struct swap_iocb *plug); 13 static inline void swap_read_unplug(struct swap_iocb *plug) in swap_read_unplug() argument 15 if (unlikely(plug)) in swap_read_unplug() 16 __swap_read_unplug(plug); in swap_read_unplug() 50 struct swap_iocb **plug); 67 struct swap_iocb **plug) in swap_readpage() argument
|
| /kernel/linux/linux-6.6/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()
|
| /kernel/linux/linux-5.10/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()
|
| /kernel/linux/linux-5.10/include/linux/usb/ |
| D | typec.h | 78 * @active_link_training: Active Cable Plug Link Training 118 * Description of an Alternate Mode which a connector, cable plug or partner 133 *typec_plug_register_altmode(struct typec_plug *plug, 150 * struct typec_plug_desc - USB Type-C Cable Plug Descriptor 151 * @index: SOP Prime for the plug connected to DFP and SOP Double Prime for the 152 * plug connected to UFP 154 * Represents USB Type-C Cable Plug. 162 * @type: The plug type from USB PD Cable VDO 257 void typec_unregister_plug(struct typec_plug *plug);
|