/Linux-v4.19/sound/core/oss/ |
D | io.c | 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 119 if (snd_BUG_ON(!plug || !params)) in snd_pcm_plugin_build_io() [all …]
|
D | pcm_plugin.c | 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() 164 plugin->plug = plug; in snd_pcm_plugin_build() [all …]
|
D | pcm_plugin.h | 27 #define snd_pcm_plug_stream(plug) ((plug)->stream) argument 76 struct snd_pcm_substream *plug; member 93 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames); 157 void *snd_pcm_plug_buf_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t size); 158 void snd_pcm_plug_buf_unlock(struct snd_pcm_substream *plug, void *ptr);
|
D | copy.c | 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()
|
D | route.c | 85 int snd_pcm_plugin_build_route(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_route() argument 101 err = snd_pcm_plugin_build(plug, "route conversion", in snd_pcm_plugin_build_route()
|
D | linear.c | 147 int snd_pcm_plugin_build_linear(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_linear() argument 168 err = snd_pcm_plugin_build(plug, "linear format conversion", in snd_pcm_plugin_build_linear()
|
/Linux-v4.19/block/ |
D | blk-lib.c | 112 struct blk_plug plug; in blkdev_issue_discard() local 115 blk_start_plug(&plug); in blkdev_issue_discard() 124 blk_finish_plug(&plug); in blkdev_issue_discard() 208 struct blk_plug plug; in blkdev_issue_write_same() local 211 blk_start_plug(&plug); in blkdev_issue_write_same() 218 blk_finish_plug(&plug); in blkdev_issue_write_same() 375 struct blk_plug plug; in blkdev_issue_zeroout() local 384 blk_start_plug(&plug); in blkdev_issue_zeroout() 399 blk_finish_plug(&plug); in blkdev_issue_zeroout()
|
D | blk-core.c | 1894 struct blk_plug *plug; in blk_attempt_plug_merge() local 1898 plug = current->plug; in blk_attempt_plug_merge() 1899 if (!plug) in blk_attempt_plug_merge() 1904 plug_list = &plug->mq_list; in blk_attempt_plug_merge() 1906 plug_list = &plug->list; in blk_attempt_plug_merge() 1948 struct blk_plug *plug; in blk_plug_queued_count() local 1953 plug = current->plug; in blk_plug_queued_count() 1954 if (!plug) in blk_plug_queued_count() 1958 plug_list = &plug->mq_list; in blk_plug_queued_count() 1960 plug_list = &plug->list; in blk_plug_queued_count() [all …]
|
/Linux-v4.19/drivers/usb/typec/ |
D | class.c | 179 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_set_partner() local 181 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 198 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_put_partner() local 200 partner->plug[plug->index] = NULL; in typec_altmode_put_partner() 696 struct typec_plug *plug = to_typec_plug(dev); in typec_plug_release() local 698 ida_destroy(&plug->mode_ids); in typec_plug_release() 699 kfree(plug); in typec_plug_release() 720 typec_plug_register_altmode(struct typec_plug *plug, in typec_plug_register_altmode() argument 723 return typec_register_altmode(&plug->dev, desc); in typec_plug_register_altmode() 741 struct typec_plug *plug; in typec_register_plug() local [all …]
|
D | bus.c | 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() 228 void typec_altmode_put_plug(struct typec_altmode *plug) in typec_altmode_put_plug() argument 230 if (plug) in typec_altmode_put_plug() 231 put_device(&plug->dev); in typec_altmode_put_plug()
|
D | bus.h | 24 struct altmode *plug[2]; member
|
/Linux-v4.19/Documentation/ide/ |
D | warm-plug-howto.txt | 2 IDE warm-plug HOWTO 5 To warm-plug devices on a port 'idex': 9 unplug old device(s) and plug new device(s)
|
D | 00-INDEX | 13 warm-plug-howto.txt
|
/Linux-v4.19/arch/powerpc/platforms/ps3/ |
D | interrupt.c | 717 unsigned int plug; in ps3_get_irq() local 724 asm volatile("cntlzd %0,%1" : "=r" (plug) : "r" (x)); in ps3_get_irq() 725 plug &= 0x3f; in ps3_get_irq() 727 if (unlikely(!plug)) { in ps3_get_irq() 736 if (unlikely(plug < NUM_ISA_INTERRUPTS || plug > PS3_PLUG_MAX)) { in ps3_get_irq() 745 if (test_bit(63 - plug, &pd->ipi_mask)) in ps3_get_irq() 746 lv1_end_of_interrupt_ext(pd->ppe_id, pd->thread_id, plug); in ps3_get_irq() 748 return plug; in ps3_get_irq()
|
/Linux-v4.19/sound/firewire/ |
D | fcp.h | 20 unsigned short plug); 23 unsigned short plug);
|
/Linux-v4.19/drivers/block/drbd/ |
D | drbd_req.c | 1290 struct drbd_plug_cb *plug = container_of(cb, struct drbd_plug_cb, cb); in drbd_unplug() local 1291 struct drbd_resource *resource = plug->cb.data; in drbd_unplug() 1292 struct drbd_request *req = plug->most_recent_req; in drbd_unplug() 1312 struct drbd_plug_cb *plug; in drbd_check_plugged() local 1313 struct blk_plug_cb *cb = blk_check_plugged(drbd_unplug, resource, sizeof(*plug)); in drbd_check_plugged() 1316 plug = container_of(cb, struct drbd_plug_cb, cb); in drbd_check_plugged() 1318 plug = NULL; in drbd_check_plugged() 1319 return plug; in drbd_check_plugged() 1322 static void drbd_update_plug(struct drbd_plug_cb *plug, struct drbd_request *req) in drbd_update_plug() argument 1324 struct drbd_request *tmp = plug->most_recent_req; in drbd_update_plug() [all …]
|
/Linux-v4.19/Documentation/usb/ |
D | chipidea.txt | 23 2) Connect 2 boards with usb cable with one end is micro A plug, the other end 24 is micro B plug. 26 The A-device(with micro A plug inserted) should enumerate B-device. 45 5) Remove B-device(unplug micro B plug) and insert again in 10 seconds, 48 6) Remove B-device(unplug micro B plug) and insert again after 10 seconds,
|
/Linux-v4.19/fs/btrfs/ |
D | raid56.c | 1672 static void run_plug(struct btrfs_plug_cb *plug) in run_plug() argument 1682 list_sort(NULL, &plug->rbio_list, plug_cmp); in run_plug() 1683 while (!list_empty(&plug->rbio_list)) { in run_plug() 1684 cur = list_entry(plug->rbio_list.next, in run_plug() 1710 kfree(plug); in run_plug() 1719 struct btrfs_plug_cb *plug; in unplug_work() local 1720 plug = container_of(work, struct btrfs_plug_cb, work); in unplug_work() 1721 run_plug(plug); in unplug_work() 1726 struct btrfs_plug_cb *plug; in btrfs_raid_unplug() local 1727 plug = container_of(cb, struct btrfs_plug_cb, cb); in btrfs_raid_unplug() [all …]
|
/Linux-v4.19/include/linux/ |
D | blkdev.h | 1341 struct blk_plug *plug = tsk->plug; in blk_flush_plug() local 1343 if (plug) in blk_flush_plug() 1344 blk_flush_plug_list(plug, false); in blk_flush_plug() 1349 struct blk_plug *plug = tsk->plug; in blk_schedule_flush_plug() local 1351 if (plug) in blk_schedule_flush_plug() 1352 blk_flush_plug_list(plug, true); in blk_schedule_flush_plug() 1357 struct blk_plug *plug = tsk->plug; in blk_needs_flush_plug() local 1359 return plug && in blk_needs_flush_plug() 1360 (!list_empty(&plug->list) || in blk_needs_flush_plug() 1361 !list_empty(&plug->mq_list) || in blk_needs_flush_plug() [all …]
|
/Linux-v4.19/mm/ |
D | swap_state.c | 575 struct blk_plug plug; in swap_cluster_readahead() local 593 blk_start_plug(&plug); in swap_cluster_readahead() 610 blk_finish_plug(&plug); in swap_cluster_readahead() 735 struct blk_plug plug; in swap_vma_readahead() local 748 blk_start_plug(&plug); in swap_vma_readahead() 772 blk_finish_plug(&plug); in swap_vma_readahead()
|
/Linux-v4.19/include/linux/usb/ |
D | typec.h | 114 *typec_plug_register_altmode(struct typec_plug *plug, 232 void typec_unregister_plug(struct typec_plug *plug);
|
/Linux-v4.19/fs/hpfs/ |
D | buffer.c | 41 struct blk_plug plug; in hpfs_prefetch_sectors() local 58 blk_start_plug(&plug); in hpfs_prefetch_sectors() 66 blk_finish_plug(&plug); in hpfs_prefetch_sectors()
|
/Linux-v4.19/drivers/media/firewire/ |
D | firedtv.h | 134 int cmp_establish_pp_connection(struct firedtv *fdtv, int plug, int channel); 135 void cmp_break_pp_connection(struct firedtv *fdtv, int plug, int channel);
|
/Linux-v4.19/Documentation/dev-tools/ |
D | kselftest.rst | 10 On some systems, hot-plug tests could hang forever waiting for cpu and 11 memory to be ready to be offlined. A special hot-plug target is created 12 to run full range of hot-plug tests. In default mode, hot-plug tests run
|
/Linux-v4.19/drivers/md/ |
D | raid1.c | 812 struct blk_plug plug; in flush_pending_writes() local 829 blk_start_plug(&plug); in flush_pending_writes() 831 blk_finish_plug(&plug); in flush_pending_writes() 1143 struct raid1_plug_cb *plug = container_of(cb, struct raid1_plug_cb, in raid1_unplug() local 1145 struct mddev *mddev = plug->cb.data; in raid1_unplug() 1151 bio_list_merge(&conf->pending_bio_list, &plug->pending); in raid1_unplug() 1152 conf->pending_count += plug->pending_cnt; in raid1_unplug() 1156 kfree(plug); in raid1_unplug() 1161 bio = bio_list_get(&plug->pending); in raid1_unplug() 1163 kfree(plug); in raid1_unplug() [all …]
|