Home
last modified time | relevance | path

Searched full:plug (Results 1 – 25 of 441) sorted by relevance

12345678910>>...18

/linux/tools/testing/selftests/tc-testing/tc-tests/qdiscs/
H A Dplug.json4 "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/drivers/usb/typec/altmodes/
H A Dthunderbolt.c31 struct typec_altmode *plug[2]; member
56 dev_dbg(&tbt->plug[TYPEC_PLUG_SOP_P]->dev, in tbt_altmode_work()
64 dev_dbg(&tbt->plug[TYPEC_PLUG_SOP_PP]->dev, in tbt_altmode_work()
95 if (tbt->plug[i]) in tbt_altmode_work()
96 typec_altmode_put_plug(tbt->plug[i]); in tbt_altmode_work()
98 tbt->plug[i] = NULL; in tbt_altmode_work()
122 if (tbt->plug[TYPEC_PLUG_SOP_P]) { in tbt_enter_modes_ordered()
126 if (tbt->plug[i]) in tbt_enter_modes_ordered()
127 typec_altmode_put_plug(tbt->plug[i]); in tbt_enter_modes_ordered()
129 tbt->plug[i] = NULL; in tbt_enter_modes_ordered()
[all …]
H A Ddisplayport.c285 * plug from the driver and attempt to run the driver without in dp_altmode_work()
289 dev_err(&dp->alt->dev, "plug failed to enter mode\n"); in dp_altmode_work()
483 /* Attempt to configure on SOP, drop plug */ in dp_cable_altmode_vdm()
764 struct typec_altmode *plug = typec_altmode_get_plug(alt, TYPEC_PLUG_SOP_P); in dp_altmode_probe() local
777 typec_altmode_put_plug(plug); in dp_altmode_probe()
783 typec_altmode_put_plug(plug); in dp_altmode_probe()
795 if (plug) { in dp_altmode_probe()
796 plug->desc = "Displayport"; in dp_altmode_probe()
797 plug->cable_ops = &dp_cable_ops; in dp_altmode_probe()
800 dp->plug_prime = plug; in dp_altmode_probe()
[all …]
/linux/sound/core/oss/
H A Dpcm_plugin.c3 * PCM Plug-In shared (kernel/library) code
20 #define snd_pcm_plug_first(plug) ((plug)->runtime->oss.plugin_first) argument
21 #define snd_pcm_plug_last(plug) ((plug)->runtime->oss.plugin_last) argument
93 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() argument
96 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) in snd_pcm_plug_alloc()
98 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_alloc()
99 struct snd_pcm_plugin *plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_alloc()
111 struct snd_pcm_plugin *plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_alloc()
135 snd_pcm_plugin_build(struct snd_pcm_substream * plug,const char * name,struct snd_pcm_plugin_format * src_format,struct snd_pcm_plugin_format * dst_format,size_t extra,struct snd_pcm_plugin ** ret) snd_pcm_plugin_build() argument
188 calc_dst_frames(struct snd_pcm_substream * plug,snd_pcm_sframes_t frames,bool check_size) calc_dst_frames() argument
210 calc_src_frames(struct snd_pcm_substream * plug,snd_pcm_sframes_t frames,bool check_size) calc_src_frames() argument
232 snd_pcm_plug_client_size(struct snd_pcm_substream * plug,snd_pcm_uframes_t drv_frames) snd_pcm_plug_client_size() argument
247 snd_pcm_plug_slave_size(struct snd_pcm_substream * plug,snd_pcm_uframes_t clt_frames) snd_pcm_plug_slave_size() argument
356 snd_pcm_plug_format_plugins(struct snd_pcm_substream * plug,struct snd_pcm_hw_params * params,struct snd_pcm_hw_params * slave_params) snd_pcm_plug_format_plugins() argument
542 snd_pcm_plug_client_channels_buf(struct snd_pcm_substream * plug,char * buf,snd_pcm_uframes_t count,struct snd_pcm_plugin_channel ** channels) snd_pcm_plug_client_channels_buf() argument
582 snd_pcm_plug_write_transfer(struct snd_pcm_substream * plug,struct snd_pcm_plugin_channel * src_channels,snd_pcm_uframes_t size) snd_pcm_plug_write_transfer() argument
624 snd_pcm_plug_read_transfer(struct snd_pcm_substream * plug,struct snd_pcm_plugin_channel * dst_channels_final,snd_pcm_uframes_t size) snd_pcm_plug_read_transfer() argument
[all...]
H A Dio.c3 * PCM I/O Plug-In Interface
13 #define pcm_write(plug,buf,count) snd_pcm_oss_write3(plug,buf,count,1) argument
14 #define pcm_writev(plug,vec,count) snd_pcm_oss_writev3(plug,vec,count) argument
15 #define pcm_read(plug,buf,count) snd_pcm_oss_read3(plug,buf,count,1) argument
16 #define pcm_readv(plug,vec,count) snd_pcm_oss_readv3(plug,vec,count) argument
32 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer()
44 return pcm_writev(plugin->plug, bufs, frames); in io_playback_transfer()
58 return pcm_read(plugin->plug, dst_channels->area.addr, frames); in io_capture_transfer()
70 return pcm_readv(plugin->plug, bufs, frames); in io_capture_transfer()
93 int snd_pcm_plugin_build_io(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_io() argument
[all …]
H A Dpcm_plugin.h12 #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);
H A Dcopy.c3 * Linear conversion Plug-In
46 int snd_pcm_plugin_build_copy(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_copy() argument
70 err = snd_pcm_plugin_build(plug, "copy", src_format, dst_format, in snd_pcm_plugin_build_copy()
H A Droute.c3 * Route Plug-In
72 int snd_pcm_plugin_build_route(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_route() argument
88 err = snd_pcm_plugin_build(plug, "route conversion", in snd_pcm_plugin_build_route()
/linux/drivers/tty/serial/8250/
H A D8250_pnp.c30 /* Archtek SmartLink Modem 3334BT Plug & Play */
33 /* SXPro 144 External Data Fax Modem Plug & Play */
35 /* SXPro 288 External Data Fax Modem Plug & Play */
79 /* Fujitsu 33600 PnP-I2 R Plug & Play */
81 /* Fujitsu FMV-FX431 Plug & Play */
83 /* Fujitsu 33600 PnP-I4 R Plug & Play */
85 /* Fujitsu Fax Voice 33600 PNP-I5 R Plug & Play */
88 /* Archtek SmartLink Modem 3334BT Plug & Play */
93 /* Hayes Optima 288 V.34-V.FC + FAX + Voice Plug & Play */
107 /* Hayes Optima 288 V.34 + FAX + Voice, Plug & Play */
[all …]
/linux/block/
H A Dblk-zoned.c43 * Per-zone write plug.
44 * @node: hlist_node structure for managing the plug using a hash table.
45 * @entry: list_head structure for listing the plug in the disk list of active
50 * @disk: The gendisk the plug belongs to.
51 * @lock: Spinlock to atomically manipulate the plug.
52 * @ref: Zone write plug reference counter. A zone write plug reference is
53 * always at least 1 when the plug is hashed in the disk plug hash table.
55 * submitted and when a function needs to manipulate a plug
[all...]
H A Dblk-core.c993 blk_flush_plug(current->plug, false); in iocb_bio_iopoll()
1165 void blk_start_plug_nr_ios(struct blk_plug *plug, unsigned short nr_ios)
1170 * If this is a nested plug, don't actually assign it.
1172 if (tsk->plug)
1175 plug->cur_ktime = 0;
1176 rq_list_init(&plug->mq_list);
1177 rq_list_init(&plug->cached_rqs);
1178 plug->nr_ios = min_t(unsigned short, nr_ios, BLK_MAX_REQUEST_COUNT); in blk_start_plug() argument
1179 plug->rq_count = 0; in blk_start_plug()
1180 plug in blk_start_plug()
630 struct blk_plug plug; __submit_bio() local
1129 blk_start_plug_nr_ios(struct blk_plug * plug,unsigned short nr_ios) blk_start_plug_nr_ios() argument
1184 flush_plug_callbacks(struct blk_plug * plug,bool from_schedule) flush_plug_callbacks() argument
1204 struct blk_plug *plug = current->plug; blk_check_plugged() local
1226 __blk_flush_plug(struct blk_plug * plug,bool from_schedule) __blk_flush_plug() argument
1254 blk_finish_plug(struct blk_plug * plug) blk_finish_plug() argument
[all...]
H A Dblk-mq.c598 struct blk_plug *plug, in blk_mq_rq_cache_fill() argument
608 .nr_tags = plug->nr_ios, in blk_mq_rq_cache_fill()
609 .cached_rqs = &plug->cached_rqs, in blk_mq_rq_cache_fill()
618 plug->nr_ios = 1; in blk_mq_rq_cache_fill()
630 struct blk_plug *plug = current->plug; in blk_mq_alloc_cached_request() local
633 if (!plug) in blk_mq_alloc_cached_request()
636 if (rq_list_empty(&plug->cached_rqs)) { in blk_mq_alloc_cached_request()
637 if (plug->nr_ios == 1) in blk_mq_alloc_cached_request()
639 rq = blk_mq_rq_cache_fill(q, plug, op in blk_mq_alloc_cached_request()
834 blk_mq_free_plug_rqs(struct blk_plug * plug) blk_mq_free_plug_rqs() argument
1401 blk_plug_max_rq_count(struct blk_plug * plug) blk_plug_max_rq_count() argument
1408 blk_add_rq_to_plug(struct blk_plug * plug,struct request * rq) blk_add_rq_to_plug() argument
2969 blk_mq_flush_plug_list(struct blk_plug * plug,bool from_schedule) blk_mq_flush_plug_list() argument
3047 blk_mq_get_new_requests(struct request_queue * q,struct blk_plug * plug,struct bio * bio) blk_mq_get_new_requests() argument
3080 blk_mq_get_cached_request(struct blk_plug * plug,struct request_queue * q,blk_opf_t opf) blk_mq_get_cached_request() argument
3127 struct blk_plug *plug = current->plug; blk_mq_submit_bio() local
[all...]
/linux/include/uapi/linux/
H A Dvirtio_mem.h55 * 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/arch/powerpc/platforms/ps3/
H A Dinterrupt.c31 * @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 …]
/linux/drivers/usb/typec/
H A Dclass.c256 /* Bind the port alt mode to the partner/plug alt mode. */ in typec_altmode_set_partner()
260 /* Bind the partner/plug alt mode to the port alt mode. */ in typec_altmode_set_partner()
262 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_set_partner() local
264 partner->plug[plug->index] = altmode; in typec_altmode_set_partner()
283 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_put_partner() local
285 partner->plug[plug->index] = NULL; in typec_altmode_put_partner()
297 * If a partner or cable plug executes Enter/Exit Mode command successfully, the
326 * Returns handle to the port that a cable plug or partner with @alt is
813 struct typec_plug *plug; in number_of_alternate_modes_show() local
820 plug = to_typec_plug(dev); in number_of_alternate_modes_show()
[all …]
/linux/drivers/thermal/renesas/
H A DKconfig9 Enable this to plug the R-Car thermal sensor driver into the Linux
18 Enable this to plug the R-Car Gen3/Gen4 or RZ/G2 thermal sensor
27 Enable this to plug the RZ/G2L thermal sensor driver into the Linux
34 Enable this to plug the RZ/G3E thermal sensor driver into the Linux
42 Enable this to plug the RZ/G3S thermal sensor driver into the Linux
/linux/sound/firewire/oxfw/
H A Doxfw-command.c24 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/net/sched/
H A Dsch_plug.c6 * 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 DKconfig3 # 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 DKconfig3 # 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 DKconfig3 # 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/Documentation/usb/
H A Dchipidea.rst38 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/Documentation/driver-api/usb/
H A Dtypec_bus.rst81 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
H A Dtypec.rst41 will be named port0-cable and the plug on the SOP Prime end (see USB Power
46 If the port, partner or cable plug supports Alternate Modes, every supported
106 Double Prime communication, should only have one plug registered. For more
113 typec_cable_desc and about a plug in struct typec_plug_desc. The class copies
157 If a partner or cable plug provides a list of SVIDs as response to USB Power
179 If a partner or cable plug enters or exits a mode, the port driver needs to
/linux/Documentation/devicetree/bindings/sound/
H A Dcirrus,cs42l42.yaml62 Sets the behaviour of the jack plug detect switch.
78 debounce, the tip sense pin might be noisy on a plug event.
181 headset plug is removed slowly. But on some platforms ESD voltage
182 will affect it causing plug detection to fail, especially with CTIA

12345678910>>...18