/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/ |
H A D | plug.json | 4 "name": "Create PLUG with default setting", 7 "plug" 14 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root plug", 17 "matchPattern": "qdisc plug 1: root refcnt", 25 "name": "Create PLUG with block setting", 28 "plug" 35 "cmdUnderTest": "$TC qdisc add dev $DUMMY handle 1: root plug block", 38 "matchPattern": "qdisc plug 1: root refcnt", 46 "name": "Create PLUG with release setting", 49 "plug" [all …]
|
/linux/sound/core/oss/ |
H A 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 …]
|
H A 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 …]
|
H A 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 77 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames);
|
/linux/drivers/acpi/ |
H A 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 …]
|
/linux/block/ |
H A D | blk-zoned.c | 38 * Per-zone write plug. 39 * @node: hlist_node structure for managing the plug using a hash table. 40 * @ref: Zone write plug reference counter. A zone write plug reference is 41 * always at least 1 when the plug is hashed in the disk plug hash table. 43 * submitted and when a function needs to manipulate a plug. The 45 * when a function that referenced the plug returns. The initial 46 * reference is dropped whenever the zone of the zone write plug is reset, 49 * @lock: Spinlock to atomically manipulate the plug. 50 * @flags: Flags indicating the plug state. 51 * @zone_no: The number of the zone the plug is managing. [all …]
|
H A D | blk-lib.c | 89 struct blk_plug plug; in blkdev_issue_discard() local 92 blk_start_plug(&plug); in blkdev_issue_discard() 100 blk_finish_plug(&plug); in blkdev_issue_discard() 153 struct blk_plug plug; in blkdev_issue_write_zeroes() local 156 blk_start_plug(&plug); in blkdev_issue_write_zeroes() 163 blk_finish_plug(&plug); in blkdev_issue_write_zeroes() 169 blk_finish_plug(&plug); in blkdev_issue_write_zeroes() 231 struct blk_plug plug; in blkdev_issue_zero_pages() local 237 blk_start_plug(&plug); in blkdev_issue_zero_pages() 243 blk_finish_plug(&plug); in blkdev_issue_zero_pages() [all …]
|
H A D | blk-mq.c | 580 struct blk_plug *plug, in blk_mq_rq_cache_fill() argument 588 .nr_tags = plug->nr_ios, in blk_mq_rq_cache_fill() 589 .cached_rqs = &plug->cached_rqs, in blk_mq_rq_cache_fill() 596 plug->nr_ios = 1; in blk_mq_rq_cache_fill() 608 struct blk_plug *plug = current->plug; in blk_mq_alloc_cached_request() local 611 if (!plug) in blk_mq_alloc_cached_request() 614 if (rq_list_empty(&plug->cached_rqs)) { in blk_mq_alloc_cached_request() 615 if (plug->nr_ios == 1) in blk_mq_alloc_cached_request() 617 rq = blk_mq_rq_cache_fill(q, plug, opf, flags); in blk_mq_alloc_cached_request() 621 rq = rq_list_peek(&plug->cached_rqs); in blk_mq_alloc_cached_request() [all …]
|
/linux/Documentation/admin-guide/ |
H A 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/drivers/usb/typec/ |
H A D | bus.c | 253 * @sop: Cable plug target for Enter Mode command 256 * Alternate mode drivers use this function to enter mode on the cable plug. 285 * @sop: Cable plug target for Exit Mode command 287 * The alternate mode drivers use this function to exit mode on the cable plug. 310 * typec_cable_altmode_vdm - Send Vendor Defined Messages (VDM) between the cable plug and port. 312 * @sop: Cable plug target for VDM 337 if (!altmode->plug[sop]) in typec_cable_altmode_vdm() 339 pdev = &altmode->plug[sop]->adev; in typec_cable_altmode_vdm() 353 * typec_altmode_get_plug - Find cable plug alternate mode 355 * @index: Cable plug inde 378 typec_altmode_put_plug(struct typec_altmode * plug) typec_altmode_put_plug() argument [all...] |
/linux/include/uapi/linux/ |
H A 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 99 /* request to plug memory blocks */ 131 struct virtio_mem_req_plug plug; 149 * Request denied - e.g. trying to plug more than requested, applicable for 208 * Currently used size. Changes due to plug/unplu 129 struct virtio_mem_req_plug plug; global() member [all...] |
/linux/sound/firewire/oxfw/ |
H A 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/mm/ |
H A D | swap.h | 14 void swap_read_folio(struct folio *folio, struct swap_iocb **plug); 15 void __swap_read_unplug(struct swap_iocb *plug); 16 static inline void swap_read_unplug(struct swap_iocb *plug) in swap_read_unplug() argument 18 if (unlikely(plug)) in swap_read_unplug() 19 __swap_read_unplug(plug); in swap_read_unplug() 70 struct swap_iocb **plug); 111 static inline void swap_read_folio(struct folio *folio, struct swap_iocb **plug) in swap_read_folio() argument
|
/linux/net/sched/ |
H A 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. 206 .id = "plug", 216 MODULE_ALIAS_NET_SCH("plug"); 230 MODULE_DESCRIPTION("Qdisc to plug and unplug traffic via netlink control");
|
/linux/drivers/pnp/ |
H A 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/drivers/pnp/pnpbios/ |
H A 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/drivers/pnp/isapnp/ |
H A 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/drivers/thermal/renesas/ |
H A D | Kconfig | 9 Enable this to plug the R-Car thermal sensor driver into the Linux 18 Enable this to plug the R-Car Gen3 or RZ/G2 thermal sensor driver into 27 Enable this to plug the RZ/G2L thermal sensor driver into the Linux
|
/linux/Documentation/admin-guide/mm/ |
H A D | memory-hotplug.rst | 2 Memory Hot(Un)Plug 5 This document describes generic Linux support for memory hot(un)plug with 13 Memory hot(un)plug allows for increasing and decreasing the size of physical 18 Memory hot(un)plug is used for various purposes: 31 Further, the basic memory hot(un)plug infrastructure in Linux is nowadays also 35 Linux only supports memory hot(un)plug on selected 64 bit architectures, such as 38 Memory Hot(Un)Plug Granularity 41 Memory hot(un)plug in Linux uses the SPARSEMEM memory model, which divides the 263 Configuring Memory Hot(Un)Plug 267 hot(un)plug an [all...] |
/linux/Documentation/usb/ |
H A D | chipidea.rst | 38 2) Connect 2 boards with usb cable: 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. 66 5) Remove B-device (unplug micro B plug) and insert again in 10 seconds; 69 6) Remove B-device (unplug micro B plug) and insert again after 10 seconds;
|
/linux/drivers/staging/sm750fb/ |
H A D | ddk750_sii164.h | 7 /* Hot Plug detection mode structure */ 9 SII164_HOTPLUG_DISABLE = 0, /* Disable Hot Plug output bit 15 SII164_HOTPLUG_USE_HTPLG /* Use Hot Plug detect bit. */ 110 /* Hot Plug detect Input (HTPLG) */
|
H A D | ddk750_sii164.c | 302 * This function selects the mode of the hot plug detection. 333 * This function enables the Hot Plug detection. 335 * enableHotPlug - Enable (=1) / disable (=0) Hot Plug detection 343 /* Depending on each DVI controller, need to enable the hot plug based in sii164EnableHotPlugDetection() 394 * Clear the hot plug interrupt.
|
/linux/drivers/platform/surface/ |
H A D | surface_hotplug.c | 3 * Surface Book (2 and later) hot-plug driver. 6 * driver is responsible for out-of-band hot-plug event signaling on these 7 * devices. It is specifically required when the hot-plug device is in D3cold 8 * and can thus not generate PCIe hot-plug events itself. 11 * device-check notifications to be picked up by the PCIe hot-plug driver. 272 MODULE_DESCRIPTION("Surface Hot-Plug Signaling Driver for Surface Book Devices");
|
/linux/sound/firewire/ |
H A 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()
|
/linux/Documentation/driver-api/usb/ |
H A D | typec_bus.rst | 81 Cable plug alternate modes 84 The alternate mode drivers are not bound to cable plug alternate mode devices, 88 plug alternate modes using :c:func:`typec_altmode_get_plug()`, and take over 118 Cable Plug operations
|