| /linux/sound/core/oss/ |
| A 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() 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() 124 err = snd_pcm_plugin_build(plug, "I/O io", in snd_pcm_plugin_build_io() [all …]
|
| A 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 160 if (snd_BUG_ON(!plug)) in snd_pcm_plugin_build() 168 plugin->plug = plug; in snd_pcm_plugin_build() 209 plugin = snd_pcm_plug_first(plug); in calc_dst_frames() 231 plugin = snd_pcm_plug_last(plug); in calc_src_frames() 249 if (snd_BUG_ON(!plug)) in snd_pcm_plug_client_size() 264 if (snd_BUG_ON(!plug)) in snd_pcm_plug_slave_size() 574 plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_client_channels_buf() 604 plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_write_transfer() [all …]
|
| A D | pcm_plugin.h | 12 #define snd_pcm_plug_stream(plug) ((plug)->stream) argument 61 struct snd_pcm_substream *plug; member 77 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames);
|
| A 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()
|
| A 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/block/ |
| A D | blk-core.c | 607 struct blk_plug plug; in __submit_bio() local 612 blk_start_plug(&plug); in __submit_bio() 1105 if (tsk->plug) in blk_start_plug_nr_ios() 1108 plug->cur_ktime = 0; in blk_start_plug_nr_ios() 1109 plug->mq_list = NULL; in blk_start_plug_nr_ios() 1112 plug->rq_count = 0; in blk_start_plug_nr_ios() 1121 tsk->plug = plug; in blk_start_plug_nr_ios() 1173 struct blk_plug *plug = current->plug; in blk_check_plugged() local 1176 if (!plug) in blk_check_plugged() 1209 plug->cur_ktime = 0; in __blk_flush_plug() [all …]
|
| 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() 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() 249 blk_finish_plug(&plug); in blkdev_issue_zero_pages() 335 struct blk_plug plug; in blkdev_issue_secure_erase() local [all …]
|
| A D | blk-mq.c | 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() 1287 } else if (plug->rq_count >= blk_plug_max_rq_count(plug) || in blk_add_rq_to_plug() 1305 plug->rq_count++; in blk_add_rq_to_plug() 2769 plug->rq_count = 0; in blk_mq_flush_plug_list() 2861 if (plug) { in blk_mq_get_new_requests() 2863 plug->nr_ios = 1; in blk_mq_get_new_requests() 2885 if (!plug) in blk_mq_peek_cached_request() 2943 struct blk_plug *plug = current->plug; in blk_mq_submit_bio() local [all …]
|
| A D | blk.h | 663 struct blk_plug *plug = current->plug; in blk_time_get_ns() local 665 if (!plug || !in_task()) in blk_time_get_ns() 673 if (!plug->cur_ktime) { in blk_time_get_ns() 674 plug->cur_ktime = ktime_get_ns(); in blk_time_get_ns() 677 return plug->cur_ktime; in blk_time_get_ns()
|
| /linux/mm/ |
| 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
|
| A D | page_io.c | 541 static void swap_read_folio_fs(struct folio *folio, struct swap_iocb **plug) in swap_read_folio_fs() argument 547 if (plug) in swap_read_folio_fs() 548 sio = *plug; in swap_read_folio_fs() 567 if (sio->pages == ARRAY_SIZE(sio->bvec) || !plug) { in swap_read_folio_fs() 571 if (plug) in swap_read_folio_fs() 572 *plug = sio; in swap_read_folio_fs() 608 void swap_read_folio(struct folio *folio, struct swap_iocb **plug) in swap_read_folio() argument 643 swap_read_folio_fs(folio, plug); in swap_read_folio()
|
| A D | swap_state.c | 560 struct swap_iocb **plug) in read_swap_cache_async() argument 573 swap_read_folio(folio, plug); in read_swap_cache_async() 665 struct blk_plug plug; in swap_cluster_readahead() local 681 blk_start_plug(&plug); in swap_cluster_readahead() 698 blk_finish_plug(&plug); in swap_cluster_readahead() 802 struct blk_plug plug; in swap_vma_readahead() local 818 blk_start_plug(&plug); in swap_vma_readahead() 848 blk_finish_plug(&plug); in swap_vma_readahead()
|
| /linux/drivers/usb/typec/ |
| A D | class.c | 256 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 277 partner->plug[plug->index] = NULL; in typec_altmode_put_partner() 641 struct typec_plug *plug; in number_of_alternate_modes_show() local 983 kfree(plug); in typec_plug_release() 1085 struct typec_plug *plug; in typec_register_plug() local 1089 plug = kzalloc(sizeof(*plug), GFP_KERNEL); in typec_register_plug() 1090 if (!plug) in typec_register_plug() 1095 ida_init(&plug->mode_ids); in typec_register_plug() 1096 plug->num_altmodes = -1; in typec_register_plug() 1106 put_device(&plug->dev); in typec_register_plug() [all …]
|
| A D | bus.c | 337 if (!altmode->plug[sop]) in typec_cable_altmode_vdm() 339 pdev = &altmode->plug[sop]->adev; in typec_cable_altmode_vdm() 365 if (port->plug[index]) { in typec_altmode_get_plug() 366 get_device(&port->plug[index]->adev.dev); in typec_altmode_get_plug() 367 return &port->plug[index]->adev; in typec_altmode_get_plug() 378 void typec_altmode_put_plug(struct typec_altmode *plug) in typec_altmode_put_plug() argument 380 if (plug) in typec_altmode_put_plug() 381 put_device(&plug->dev); in typec_altmode_put_plug()
|
| /linux/drivers/md/ |
| A D | raid1-10.c | 136 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()
|
| /linux/drivers/thermal/renesas/ |
| 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/arch/powerpc/platforms/ps3/ |
| A 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/sound/firewire/ |
| A D | fcp.h | 20 unsigned short plug); 23 unsigned short plug);
|
| /linux/io_uring/ |
| A D | opdef.c | 64 .plug = 1, 79 .plug = 1, 99 .plug = 1, 113 .plug = 1, 244 .plug = 1, 258 .plug = 1, 414 .plug = 1,
|
| /linux/drivers/block/drbd/ |
| A D | drbd_req.c | 1296 struct drbd_plug_cb *plug; in drbd_check_plugged() local 1302 plug = NULL; in drbd_check_plugged() 1303 return plug; in drbd_check_plugged() 1312 plug->most_recent_req = req; in drbd_update_plug() 1392 if (plug) in drbd_send_and_submit() 1444 struct blk_plug plug; in submit_fast_path() local 1447 blk_start_plug(&plug); in submit_fast_path() 1465 blk_finish_plug(&plug); in submit_fast_path() 1497 struct blk_plug plug; in send_and_submit_pending() local 1500 blk_start_plug(&plug); in send_and_submit_pending() [all …]
|
| /linux/Documentation/usb/ |
| 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/usb/typec/altmodes/ |
| A D | displayport.c | 726 struct typec_altmode *plug = typec_altmode_get_plug(alt, TYPEC_PLUG_SOP_P); in dp_altmode_probe() local 751 if (plug) { in dp_altmode_probe() 752 plug->desc = "Displayport"; in dp_altmode_probe() 753 plug->cable_ops = &dp_cable_ops; in dp_altmode_probe() 756 dp->plug_prime = plug; in dp_altmode_probe() 767 if (plug) in dp_altmode_probe() 768 typec_altmode_set_drvdata(plug, dp); in dp_altmode_probe() 770 dp->state = plug ? DP_STATE_ENTER_PRIME : DP_STATE_ENTER; in dp_altmode_probe()
|
| /linux/include/linux/ |
| A D | blkdev.h | 1030 void __blk_flush_plug(struct blk_plug *plug, bool from_schedule); 1031 static inline void blk_flush_plug(struct blk_plug *plug, bool async) in blk_flush_plug() argument 1033 if (plug) in blk_flush_plug() 1034 __blk_flush_plug(plug, async); in blk_flush_plug() 1042 struct blk_plug *plug = tsk->plug; in blk_plug_invalidate_ts() local 1044 if (plug) in blk_plug_invalidate_ts() 1045 plug->cur_ktime = 0; in blk_plug_invalidate_ts() 1055 static inline void blk_start_plug_nr_ios(struct blk_plug *plug, in blk_start_plug_nr_ios() argument 1060 static inline void blk_start_plug(struct blk_plug *plug) in blk_start_plug() argument 1064 static inline void blk_finish_plug(struct blk_plug *plug) in blk_finish_plug() argument [all …]
|
| /linux/fs/xfs/ |
| A D | xfs_discard.c | 115 struct blk_plug plug; in xfs_discard_extents() local 118 blk_start_plug(&plug); in xfs_discard_extents() 144 blk_finish_plug(&plug); in xfs_discard_extents() 469 struct blk_plug plug; in xfs_discard_rtdev_extents() local 473 blk_start_plug(&plug); in xfs_discard_rtdev_extents() 502 blk_finish_plug(&plug); in xfs_discard_rtdev_extents()
|
| /linux/include/linux/usb/ |
| A D | typec.h | 149 int typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes); 151 *typec_plug_register_altmode(struct typec_plug *plug, 316 void typec_unregister_plug(struct typec_plug *plug);
|