/linux-6.3-rc2/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 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);
|
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-6.3-rc2/block/ |
A D | blk-core.c | 727 struct blk_plug *plug; in submit_bio_noacct() local 732 if (plug && plug->nowait) in submit_bio_noacct() 1062 if (tsk->plug) in blk_start_plug_nr_ios() 1065 plug->mq_list = NULL; in blk_start_plug_nr_ios() 1068 plug->rq_count = 0; in blk_start_plug_nr_ios() 1071 plug->nowait = false; in blk_start_plug_nr_ios() 1078 tsk->plug = plug; in blk_start_plug_nr_ios() 1130 struct blk_plug *plug = current->plug; in blk_check_plugged() local 1133 if (!plug) in blk_check_plugged() 1180 if (plug == current->plug) { in blk_finish_plug() [all …]
|
A D | blk-lib.c | 101 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()
|
A D | blk-mq.c | 561 plug->nr_ios = 1; in blk_mq_rq_cache_fill() 573 struct blk_plug *plug = current->plug; in blk_mq_alloc_cached_request() local 576 if (!plug) in blk_mq_alloc_cached_request() 1294 } else if (plug->rq_count >= blk_plug_max_rq_count(plug) || in blk_add_rq_to_plug() 1308 plug->rq_count++; in blk_add_rq_to_plug() 1335 if (current->plug) in blk_execute_rq_nowait() 2756 plug->rq_count = 0; in blk_mq_flush_plug_list() 2857 if (plug) { in blk_mq_get_new_requests() 2859 plug->nr_ios = 1; in blk_mq_get_new_requests() 2880 if (!plug) in blk_mq_get_cached_request() [all …]
|
A D | fops.c | 174 struct blk_plug plug; in __blkdev_direct_IO() local 210 blk_start_plug(&plug); in __blkdev_direct_IO() 237 blk_finish_plug(&plug); in __blkdev_direct_IO() 262 blk_finish_plug(&plug); in __blkdev_direct_IO() 523 struct blk_plug plug; in blkdev_write_iter() local 548 blk_start_plug(&plug); in blkdev_write_iter() 553 blk_finish_plug(&plug); in blkdev_write_iter()
|
A D | blk-mq.h | 126 void blk_mq_free_plug_rqs(struct blk_plug *plug); 127 void blk_mq_flush_plug_list(struct blk_plug *plug, bool from_schedule); 323 return current->plug; in blk_mq_plug()
|
/linux-6.3-rc2/mm/ |
A D | swap.h | 11 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
|
A D | page_io.c | 429 struct swap_iocb **plug) in swap_readpage_fs() argument 435 if (plug) in swap_readpage_fs() 436 sio = *plug; in swap_readpage_fs() 455 if (sio->pages == ARRAY_SIZE(sio->bvec) || !plug) { in swap_readpage_fs() 459 if (plug) in swap_readpage_fs() 460 *plug = sio; in swap_readpage_fs() 496 void swap_readpage(struct page *page, bool synchronous, struct swap_iocb **plug) in swap_readpage() argument 522 swap_readpage_fs(page, plug); in swap_readpage()
|
A D | swap_state.c | 518 struct swap_iocb **plug) in read_swap_cache_async() argument 525 swap_readpage(retpage, do_poll, plug); in read_swap_cache_async() 618 struct blk_plug plug; in swap_cluster_readahead() local 637 blk_start_plug(&plug); in swap_cluster_readahead() 654 blk_finish_plug(&plug); in swap_cluster_readahead() 781 struct blk_plug plug; in swap_vma_readahead() local 797 blk_start_plug(&plug); in swap_vma_readahead() 819 blk_finish_plug(&plug); in swap_vma_readahead()
|
/linux-6.3-rc2/drivers/usb/typec/ |
A D | class.c | 256 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 275 partner->plug[plug->index] = NULL; in typec_altmode_put_partner() 619 struct typec_plug *plug; in number_of_alternate_modes_show() local 916 kfree(plug); in typec_plug_release() 1018 struct typec_plug *plug; in typec_register_plug() local 1022 plug = kzalloc(sizeof(*plug), GFP_KERNEL); in typec_register_plug() 1023 if (!plug) in typec_register_plug() 1028 ida_init(&plug->mode_ids); in typec_register_plug() 1029 plug->num_altmodes = -1; in typec_register_plug() 1039 put_device(&plug->dev); in typec_register_plug() [all …]
|
A D | bus.c | 255 if (port->plug[index]) { in typec_altmode_get_plug() 256 get_device(&port->plug[index]->adev.dev); in typec_altmode_get_plug() 257 return &port->plug[index]->adev; in typec_altmode_get_plug() 268 void typec_altmode_put_plug(struct typec_altmode *plug) in typec_altmode_put_plug() argument 270 if (plug) in typec_altmode_put_plug() 271 put_device(&plug->dev); in typec_altmode_put_plug()
|
/linux-6.3-rc2/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-6.3-rc2/io_uring/ |
A D | opdef.c | 61 .plug = 1, 74 .plug = 1, 92 .plug = 1, 105 .plug = 1, 232 .plug = 1, 245 .plug = 1, 398 .plug = 1,
|
A D | opdef.h | 9 unsigned plug : 1; member
|
/linux-6.3-rc2/sound/firewire/ |
A D | fcp.h | 20 unsigned short plug); 23 unsigned short plug);
|
/linux-6.3-rc2/drivers/block/drbd/ |
A D | drbd_req.c | 1291 struct drbd_plug_cb *plug; in drbd_check_plugged() local 1297 plug = NULL; in drbd_check_plugged() 1298 return plug; in drbd_check_plugged() 1307 plug->most_recent_req = req; in drbd_update_plug() 1386 if (plug) in drbd_send_and_submit() 1438 struct blk_plug plug; in submit_fast_path() local 1441 blk_start_plug(&plug); in submit_fast_path() 1459 blk_finish_plug(&plug); in submit_fast_path() 1491 struct blk_plug plug; in send_and_submit_pending() local 1494 blk_start_plug(&plug); in send_and_submit_pending() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/include/linux/usb/ |
A D | typec.h | 148 int typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes); 150 *typec_plug_register_altmode(struct typec_plug *plug, 304 void typec_unregister_plug(struct typec_plug *plug);
|
/linux-6.3-rc2/fs/hpfs/ |
A 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-6.3-rc2/drivers/media/firewire/ |
A 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-6.3-rc2/Documentation/devicetree/bindings/sound/ |
A D | cirrus,cs42l42.yaml | 62 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
|