Home
last modified time | relevance | path

Searched refs:plug (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/openbmc/linux/sound/core/oss/
H A Dio.c28 #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
119 if (snd_BUG_ON(!plug || !params)) in snd_pcm_plugin_build_io()
[all …]
H A Dpcm_plugin.c35 #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()
168 plugin->plug = plug; in snd_pcm_plugin_build()
[all …]
H A Dpcm_plugin.h12 #define snd_pcm_plug_stream(plug) ((plug)->stream) argument
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);
/openbmc/linux/block/
H A Dblk-core.c892 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
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()
1078 plug->has_elevator = false; in blk_start_plug_nr_ios()
1079 INIT_LIST_HEAD(&plug->cb_list); in blk_start_plug_nr_ios()
[all …]
H A Dblk-lib.c101 struct blk_plug plug; in blkdev_issue_discard() local
104 blk_start_plug(&plug); in blkdev_issue_discard()
112 blk_finish_plug(&plug); in blkdev_issue_discard()
258 struct blk_plug plug; in blkdev_issue_zeroout() local
267 blk_start_plug(&plug); in blkdev_issue_zeroout()
282 blk_finish_plug(&plug); in blkdev_issue_zeroout()
309 struct blk_plug plug; in blkdev_issue_secure_erase() local
324 blk_start_plug(&plug); in blkdev_issue_secure_erase()
341 blk_finish_plug(&plug); in blkdev_issue_secure_erase()
H A Dblk-mq.c520 struct blk_plug *plug, in blk_mq_rq_cache_fill() argument
528 .nr_tags = plug->nr_ios, in blk_mq_rq_cache_fill()
529 .cached_rq = &plug->cached_rq, in blk_mq_rq_cache_fill()
536 plug->nr_ios = 1; in blk_mq_rq_cache_fill()
548 struct blk_plug *plug = current->plug; in blk_mq_alloc_cached_request() local
551 if (!plug) in blk_mq_alloc_cached_request()
554 if (rq_list_empty(plug->cached_rq)) { in blk_mq_alloc_cached_request()
555 if (plug->nr_ios == 1) in blk_mq_alloc_cached_request()
557 rq = blk_mq_rq_cache_fill(q, plug, opf, flags); in blk_mq_alloc_cached_request()
561 rq = rq_list_peek(&plug->cached_rq); in blk_mq_alloc_cached_request()
[all …]
/openbmc/linux/mm/
H A Dswap.h11 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
H A Dpage_io.c426 struct swap_iocb **plug) in swap_readpage_fs() argument
432 if (plug) in swap_readpage_fs()
433 sio = *plug; in swap_readpage_fs()
452 if (sio->pages == ARRAY_SIZE(sio->bvec) || !plug) { in swap_readpage_fs()
456 if (plug) in swap_readpage_fs()
457 *plug = sio; in swap_readpage_fs()
493 void swap_readpage(struct page *page, bool synchronous, struct swap_iocb **plug) in swap_readpage() argument
520 swap_readpage_fs(page, plug); in swap_readpage()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/ettercap/ettercap/
H A D0001-sslstrip-Enhance-the-libcurl-version-check-to-consid.patch13 TOPDIR/build/tmp/work/cortexa15t2hf-neon-yoe-linux-gnueabi/ettercap/0.8.3.1-r0/git/plug-ins/sslstri…
20 plug-ins/sslstrip/sslstrip.c | 2 +-
23 diff --git a/plug-ins/sslstrip/sslstrip.c b/plug-ins/sslstrip/sslstrip.c
25 --- a/plug-ins/sslstrip/sslstrip.c
26 +++ b/plug-ins/sslstrip/sslstrip.c
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend16 file://slot-hot-plug@.service \
31 file://slot-plug-in@.service \
32 file://slot-plug-in \
47 slot-hot-plug@.service \
58 slot-plug-in@.service \
72 …install -m 0644 ${UNPACKDIR}/slot-hot-plug@.service ${D}${systemd_system_unitdir}/slot-hot-plug@.s…
83 install -m 0644 ${UNPACKDIR}/slot-plug-in@.service ${D}${systemd_system_unitdir}/
97 install -m 0755 ${UNPACKDIR}/slot-plug-in ${D}${libexecdir}/${PN}/
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dslot-plug-in@.service2 Description=slot-plug-in %i
6 ExecStart=/usr/libexec/phosphor-gpio-monitor/slot-plug-in %i
7 SyslogIdentifier=slot-plug-in %i
/openbmc/linux/drivers/md/
H A Draid1-10.c136 struct raid1_plug_cb *plug = NULL; in raid1_add_bio_to_plug() local
148 cb = blk_check_plugged(unplug, mddev, sizeof(*plug)); in raid1_add_bio_to_plug()
152 plug = container_of(cb, struct raid1_plug_cb, cb); in raid1_add_bio_to_plug()
153 bio_list_add(&plug->pending, bio); in raid1_add_bio_to_plug()
154 if (++plug->count / MAX_PLUG_BIO >= copies) { in raid1_add_bio_to_plug()
/openbmc/qemu/docs/
H A Dpcie_pci_bridge.txt10 But due to its strict limitations - no support of hot-plug,
17 see 'PCIE-PCI bridge hot-plug' section),
18 and supports devices hot-plug into the bridge itself
21 Hot-plug of legacy PCI devices into the bridge
22 is provided by bridge's built-in Standard hot-plug Controller.
25 PCIE-PCI bridge hot-plug
27 Guest OSes require extra efforts to enable PCIE-PCI bridge hot-plug.
102 Windows 7 and older versions don't support hot-plug devices into the PCIE-PCI bridge.
103 To enable device hot-plug into the bridge on Linux there're 3 ways:
107 which allows the bridge to notify the OS about hot-plug event without having
/openbmc/linux/drivers/usb/typec/
H A Dclass.c253 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()
624 struct typec_plug *plug; in number_of_alternate_modes_show() local
631 plug = to_typec_plug(dev); in number_of_alternate_modes_show()
632 num_altmodes = plug->num_altmodes; in number_of_alternate_modes_show()
918 struct typec_plug *plug = to_typec_plug(dev); in typec_plug_release() local
920 ida_destroy(&plug->mode_ids); in typec_plug_release()
921 kfree(plug); in typec_plug_release()
[all …]
H A Dbus.c263 if (port->plug[index]) { in typec_altmode_get_plug()
264 get_device(&port->plug[index]->adev.dev); in typec_altmode_get_plug()
265 return &port->plug[index]->adev; in typec_altmode_get_plug()
276 void typec_altmode_put_plug(struct typec_altmode *plug) in typec_altmode_put_plug() argument
278 if (plug) in typec_altmode_put_plug()
279 put_device(&plug->dev); in typec_altmode_put_plug()
/openbmc/openbmc/meta-openembedded/meta-gnome/recipes-gimp/gimp/gimp/
H A D0001-metadata-shut-up-a-weird-warning.patch9 plug-ins/metadata/metadata-editor.c | 2 +-
12 --- a/plug-ins/metadata/metadata-editor.c
13 +++ b/plug-ins/metadata/metadata-editor.c
H A D0001-file-tiff-load-fix-mismatching-variable-type.patch9 plug-ins/file-tiff/file-tiff-load.c | 6 +++---
12 --- a/plug-ins/file-tiff/file-tiff-load.c
13 +++ b/plug-ins/file-tiff/file-tiff-load.c
/openbmc/linux/arch/powerpc/platforms/ps3/
H A Dinterrupt.c706 unsigned int plug; in ps3_get_irq() local
713 asm volatile("cntlzd %0,%1" : "=r" (plug) : "r" (x)); in ps3_get_irq()
714 plug &= 0x3f; in ps3_get_irq()
716 if (unlikely(!plug)) { in ps3_get_irq()
725 if (unlikely(plug < NR_IRQS_LEGACY || plug > PS3_PLUG_MAX)) { in ps3_get_irq()
734 if (test_bit(63 - plug, &pd->ipi_mask)) in ps3_get_irq()
735 lv1_end_of_interrupt_ext(pd->ppe_id, pd->thread_id, plug); in ps3_get_irq()
737 return plug; in ps3_get_irq()
/openbmc/linux/io_uring/
H A Dopdef.c61 .plug = 1,
74 .plug = 1,
92 .plug = 1,
105 .plug = 1,
232 .plug = 1,
245 .plug = 1,
398 .plug = 1,
/openbmc/linux/sound/firewire/
H A Dfcp.h20 unsigned short plug);
23 unsigned short plug);
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_req.c1274 struct drbd_plug_cb *plug = container_of(cb, struct drbd_plug_cb, cb); in drbd_unplug() local
1275 struct drbd_resource *resource = plug->cb.data; in drbd_unplug()
1276 struct drbd_request *req = plug->most_recent_req; in drbd_unplug()
1296 struct drbd_plug_cb *plug; in drbd_check_plugged() local
1297 struct blk_plug_cb *cb = blk_check_plugged(drbd_unplug, resource, sizeof(*plug)); in drbd_check_plugged()
1300 plug = container_of(cb, struct drbd_plug_cb, cb); in drbd_check_plugged()
1302 plug = NULL; in drbd_check_plugged()
1303 return plug; in drbd_check_plugged()
1306 static void drbd_update_plug(struct drbd_plug_cb *plug, struct drbd_request *req) in drbd_update_plug() argument
1308 struct drbd_request *tmp = plug->most_recent_req; in drbd_update_plug()
[all …]
/openbmc/qemu/tests/avocado/
H A Dhotplug_blk.py30 def plug(self) -> None: member in HotPlug
68 self.plug()
/openbmc/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;
/openbmc/qemu/hw/core/
H A Dhotplug.c33 if (hdc->plug) { in hotplug_handler_plug()
34 hdc->plug(plug_handler, plugged_dev, errp); in hotplug_handler_plug()
/openbmc/openbmc-test-automation/bin/plug_ins/Stop/
H A Dparm_def3 # "rest_fail" indicates that the Stop plug-in should fail if REST commands to the BMC are failing.
9 # Indicates that the test should be stopped when the Verify_hardware plug-in fails its analysis.

12345678910>>...12