/Linux-v5.15/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 105 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() argument 108 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) in snd_pcm_plug_alloc() 110 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_alloc() 111 struct snd_pcm_plugin *plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_alloc() 123 struct snd_pcm_plugin *plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_alloc() 147 int snd_pcm_plugin_build(struct snd_pcm_substream *plug, in snd_pcm_plugin_build() argument 157 if (snd_BUG_ON(!plug)) in snd_pcm_plugin_build() 165 plugin->plug = plug; in snd_pcm_plugin_build() [all …]
|
D | pcm_plugin.h | 12 #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);
|
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 | 87 int snd_pcm_plugin_build_route(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_route() argument 103 err = snd_pcm_plugin_build(plug, "route conversion", in snd_pcm_plugin_build_route()
|
/Linux-v5.15/block/ |
D | blk-core.c | 802 struct blk_plug *plug; in submit_bio_checks() local 806 plug = blk_mq_plug(q, bio); in submit_bio_checks() 807 if (plug && plug->nowait) in submit_bio_checks() 1655 void blk_start_plug(struct blk_plug *plug) in blk_start_plug() argument 1662 if (tsk->plug) in blk_start_plug() 1665 INIT_LIST_HEAD(&plug->mq_list); in blk_start_plug() 1666 INIT_LIST_HEAD(&plug->cb_list); in blk_start_plug() 1667 plug->rq_count = 0; in blk_start_plug() 1668 plug->multiple_queues = false; in blk_start_plug() 1669 plug->nowait = false; in blk_start_plug() [all …]
|
D | blk-lib.c | 136 struct blk_plug plug; in blkdev_issue_discard() local 139 blk_start_plug(&plug); in blkdev_issue_discard() 148 blk_finish_plug(&plug); in blkdev_issue_discard() 232 struct blk_plug plug; in blkdev_issue_write_same() local 235 blk_start_plug(&plug); in blkdev_issue_write_same() 242 blk_finish_plug(&plug); in blkdev_issue_write_same() 399 struct blk_plug plug; in blkdev_issue_zeroout() local 408 blk_start_plug(&plug); in blkdev_issue_zeroout() 423 blk_finish_plug(&plug); in blkdev_issue_zeroout()
|
D | blk-mq.c | 1916 void blk_mq_flush_plug_list(struct blk_plug *plug, bool from_schedule) in blk_mq_flush_plug_list() argument 1920 if (list_empty(&plug->mq_list)) in blk_mq_flush_plug_list() 1922 list_splice_init(&plug->mq_list, &list); in blk_mq_flush_plug_list() 1924 if (plug->rq_count > 2 && plug->multiple_queues) in blk_mq_flush_plug_list() 1927 plug->rq_count = 0; in blk_mq_flush_plug_list() 2136 static void blk_add_rq_to_plug(struct blk_plug *plug, struct request *rq) in blk_add_rq_to_plug() argument 2138 list_add_tail(&rq->queuelist, &plug->mq_list); in blk_add_rq_to_plug() 2139 plug->rq_count++; in blk_add_rq_to_plug() 2140 if (!plug->multiple_queues && !list_is_singular(&plug->mq_list)) { in blk_add_rq_to_plug() 2143 tmp = list_first_entry(&plug->mq_list, struct request, in blk_add_rq_to_plug() [all …]
|
D | fops.c | 197 struct blk_plug plug; in __blkdev_direct_IO() local 230 blk_start_plug(&plug); in __blkdev_direct_IO() 296 blk_finish_plug(&plug); in __blkdev_direct_IO() 493 struct blk_plug plug; in blkdev_write_iter() local 518 blk_start_plug(&plug); in blkdev_write_iter() 523 blk_finish_plug(&plug); in blkdev_write_iter()
|
/Linux-v5.15/drivers/usb/typec/ |
D | class.c | 252 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_set_partner() local 254 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 271 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_put_partner() local 273 partner->plug[plug->index] = NULL; in typec_altmode_put_partner() 616 struct typec_plug *plug; in number_of_alternate_modes_show() local 623 plug = to_typec_plug(dev); in number_of_alternate_modes_show() 624 num_altmodes = plug->num_altmodes; in number_of_alternate_modes_show() 858 struct typec_plug *plug = to_typec_plug(dev); in typec_plug_release() local 860 ida_destroy(&plug->mode_ids); in typec_plug_release() 861 kfree(plug); in typec_plug_release() [all …]
|
D | bus.c | 226 if (port->plug[index]) { in typec_altmode_get_plug() 227 get_device(&port->plug[index]->adev.dev); in typec_altmode_get_plug() 228 return &port->plug[index]->adev; in typec_altmode_get_plug() 239 void typec_altmode_put_plug(struct typec_altmode *plug) in typec_altmode_put_plug() argument 241 if (plug) in typec_altmode_put_plug() 242 put_device(&plug->dev); in typec_altmode_put_plug()
|
D | bus.h | 24 struct altmode *plug[2]; member
|
/Linux-v5.15/Documentation/ide/ |
D | warm-plug-howto.rst | 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 | index.rst | 12 warm-plug-howto
|
/Linux-v5.15/arch/powerpc/platforms/ps3/ |
D | interrupt.c | 706 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()
|
/Linux-v5.15/sound/firewire/ |
D | fcp.h | 20 unsigned short plug); 23 unsigned short plug);
|
/Linux-v5.15/drivers/block/drbd/ |
D | drbd_req.c | 1263 struct drbd_plug_cb *plug = container_of(cb, struct drbd_plug_cb, cb); in drbd_unplug() local 1264 struct drbd_resource *resource = plug->cb.data; in drbd_unplug() 1265 struct drbd_request *req = plug->most_recent_req; in drbd_unplug() 1285 struct drbd_plug_cb *plug; in drbd_check_plugged() local 1286 struct blk_plug_cb *cb = blk_check_plugged(drbd_unplug, resource, sizeof(*plug)); in drbd_check_plugged() 1289 plug = container_of(cb, struct drbd_plug_cb, cb); in drbd_check_plugged() 1291 plug = NULL; in drbd_check_plugged() 1292 return plug; in drbd_check_plugged() 1295 static void drbd_update_plug(struct drbd_plug_cb *plug, struct drbd_request *req) in drbd_update_plug() argument 1297 struct drbd_request *tmp = plug->most_recent_req; in drbd_update_plug() [all …]
|
/Linux-v5.15/Documentation/usb/ |
D | chipidea.rst | 38 2) Connect 2 boards with usb cable with 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. 65 5) Remove B-device(unplug micro B plug) and insert again in 10 seconds, 68 6) Remove B-device(unplug micro B plug) and insert again after 10 seconds,
|
/Linux-v5.15/include/linux/ |
D | blkdev.h | 1219 struct blk_plug *plug = tsk->plug; in blk_flush_plug() local 1221 if (plug) in blk_flush_plug() 1222 blk_flush_plug_list(plug, false); in blk_flush_plug() 1227 struct blk_plug *plug = tsk->plug; in blk_schedule_flush_plug() local 1229 if (plug) in blk_schedule_flush_plug() 1230 blk_flush_plug_list(plug, true); in blk_schedule_flush_plug() 1235 struct blk_plug *plug = tsk->plug; in blk_needs_flush_plug() local 1237 return plug && in blk_needs_flush_plug() 1238 (!list_empty(&plug->mq_list) || in blk_needs_flush_plug() 1239 !list_empty(&plug->cb_list)); in blk_needs_flush_plug() [all …]
|
/Linux-v5.15/fs/btrfs/ |
D | raid56.c | 1653 static void run_plug(struct btrfs_plug_cb *plug) in run_plug() argument 1663 list_sort(NULL, &plug->rbio_list, plug_cmp); in run_plug() 1664 while (!list_empty(&plug->rbio_list)) { in run_plug() 1665 cur = list_entry(plug->rbio_list.next, in run_plug() 1691 kfree(plug); in run_plug() 1700 struct btrfs_plug_cb *plug; in unplug_work() local 1701 plug = container_of(work, struct btrfs_plug_cb, work); in unplug_work() 1702 run_plug(plug); in unplug_work() 1707 struct btrfs_plug_cb *plug; in btrfs_raid_unplug() local 1708 plug = container_of(cb, struct btrfs_plug_cb, cb); in btrfs_raid_unplug() [all …]
|
/Linux-v5.15/include/linux/usb/ |
D | typec.h | 135 int typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes); 137 *typec_plug_register_altmode(struct typec_plug *plug, 284 void typec_unregister_plug(struct typec_plug *plug);
|
/Linux-v5.15/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-v5.15/drivers/media/firewire/ |
D | firedtv.h | 132 int cmp_establish_pp_connection(struct firedtv *fdtv, int plug, int channel); 133 void cmp_break_pp_connection(struct firedtv *fdtv, int plug, int channel);
|
/Linux-v5.15/mm/ |
D | swap_state.c | 622 struct blk_plug plug; in swap_cluster_readahead() local 640 blk_start_plug(&plug); in swap_cluster_readahead() 657 blk_finish_plug(&plug); in swap_cluster_readahead() 791 struct blk_plug plug; in swap_vma_readahead() local 806 blk_start_plug(&plug); in swap_vma_readahead() 830 blk_finish_plug(&plug); in swap_vma_readahead()
|
/Linux-v5.15/drivers/platform/chrome/ |
D | cros_ec_typec.c | 49 struct typec_plug *plug; member 247 typec_unregister_plug(port->plug); in cros_typec_remove_cable() 248 port->plug = NULL; in cros_typec_remove_cable() 700 amode = typec_plug_register_altmode(port->plug, &desc); in cros_typec_register_altmodes() 728 ret = typec_plug_set_num_altmodes(port->plug, num_altmodes); in cros_typec_register_altmodes() 821 port->plug = typec_register_plug(port->cable, &p_desc); in cros_typec_handle_sop_prime_disc() 822 if (IS_ERR(port->plug)) { in cros_typec_handle_sop_prime_disc() 823 ret = PTR_ERR(port->plug); in cros_typec_handle_sop_prime_disc() 824 port->plug = NULL; in cros_typec_handle_sop_prime_disc()
|