| /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 157 if (snd_BUG_ON(!plug)) in snd_pcm_plugin_build() 165 plugin->plug = plug; in snd_pcm_plugin_build() 206 plugin = snd_pcm_plug_first(plug); in calc_dst_frames() 228 plugin = snd_pcm_plug_last(plug); in calc_src_frames() 246 if (snd_BUG_ON(!plug)) in snd_pcm_plug_client_size() 261 if (snd_BUG_ON(!plug)) in snd_pcm_plug_slave_size() 571 plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_client_channels_buf() 601 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/block/ |
| A D | blk-core.c | 726 struct blk_plug *plug; in submit_bio_checks() local 731 if (plug && plug->nowait) in submit_bio_checks() 1039 if (current->plug) in bio_poll() 1498 if (tsk->plug) in blk_start_plug_nr_ios() 1501 plug->mq_list = NULL; in blk_start_plug_nr_ios() 1504 plug->rq_count = 0; in blk_start_plug_nr_ios() 1507 plug->nowait = false; in blk_start_plug_nr_ios() 1514 tsk->plug = plug; in blk_start_plug_nr_ios() 1566 struct blk_plug *plug = current->plug; in blk_check_plugged() local 1569 if (!plug) in blk_check_plugged() [all …]
|
| A 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()
|
| A D | blk-mq.c | 2256 plug->rq_count = 0; in blk_mq_flush_plug_list() 2258 if (!plug->multiple_queues && !plug->has_elevator && !from_schedule) { in blk_mq_flush_plug_list() 2481 plug->has_elevator = true; in blk_add_rq_to_plug() 2484 plug->rq_count++; in blk_add_rq_to_plug() 2494 if (plug->multiple_queues) in blk_plug_max_rq_count() 2530 if (plug) { in blk_mq_get_new_requests() 2532 plug->nr_ios = 1; in blk_mq_get_new_requests() 2567 if (plug) { in blk_mq_get_request() 2617 struct blk_plug *plug; in blk_mq_submit_bio() local 2632 plug = blk_mq_plug(q, bio); in blk_mq_submit_bio() [all …]
|
| A D | fops.c | 189 struct blk_plug plug; in __blkdev_direct_IO() local 223 blk_start_plug(&plug); in __blkdev_direct_IO() 264 blk_finish_plug(&plug); in __blkdev_direct_IO() 531 struct blk_plug plug; in blkdev_write_iter() local 556 blk_start_plug(&plug); in blkdev_write_iter() 561 blk_finish_plug(&plug); in blkdev_write_iter()
|
| A D | blk-mq.h | 128 void blk_mq_free_plug_rqs(struct blk_plug *plug); 129 void blk_mq_flush_plug_list(struct blk_plug *plug, bool from_schedule); 323 return current->plug; in blk_mq_plug()
|
| /linux/drivers/usb/typec/ |
| A D | class.c | 254 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 273 partner->plug[plug->index] = NULL; in typec_altmode_put_partner() 616 struct typec_plug *plug; in number_of_alternate_modes_show() local 861 kfree(plug); in typec_plug_release() 963 struct typec_plug *plug; in typec_register_plug() local 967 plug = kzalloc(sizeof(*plug), GFP_KERNEL); in typec_register_plug() 968 if (!plug) in typec_register_plug() 973 ida_init(&plug->mode_ids); in typec_register_plug() 974 plug->num_altmodes = -1; in typec_register_plug() 984 put_device(&plug->dev); in typec_register_plug() [all …]
|
| A 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()
|
| /linux/Documentation/ide/ |
| A 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)::
|
| /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/drivers/block/drbd/ |
| A D | drbd_req.c | 1285 struct drbd_plug_cb *plug; in drbd_check_plugged() local 1291 plug = NULL; in drbd_check_plugged() 1292 return plug; in drbd_check_plugged() 1301 plug->most_recent_req = req; in drbd_update_plug() 1380 if (plug) in drbd_send_and_submit() 1432 struct blk_plug plug; in submit_fast_path() local 1435 blk_start_plug(&plug); in submit_fast_path() 1453 blk_finish_plug(&plug); in submit_fast_path() 1485 struct blk_plug plug; in send_and_submit_pending() local 1488 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 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/sound/firewire/ |
| A D | fcp.h | 20 unsigned short plug); 23 unsigned short plug);
|
| /linux/fs/btrfs/ |
| A D | raid56.c | 1661 while (!list_empty(&plug->rbio_list)) { in run_plug() 1688 kfree(plug); in run_plug() 1697 struct btrfs_plug_cb *plug; in unplug_work() local 1699 run_plug(plug); in unplug_work() 1704 struct btrfs_plug_cb *plug; in btrfs_raid_unplug() local 1710 &plug->work); in btrfs_raid_unplug() 1713 run_plug(plug); in btrfs_raid_unplug() 1724 struct btrfs_plug_cb *plug = NULL; in raid56_parity_write() local 1754 if (!plug->info) { in raid56_parity_write() 1755 plug->info = fs_info; in raid56_parity_write() [all …]
|
| /linux/include/linux/ |
| A D | blkdev.h | 786 void blk_flush_plug(struct blk_plug *plug, bool from_schedule); 790 struct blk_plug *plug = tsk->plug; in blk_needs_flush_plug() local 792 return plug && in blk_needs_flush_plug() 793 (plug->mq_list || !list_empty(&plug->cb_list)); in blk_needs_flush_plug() 802 static inline void blk_start_plug_nr_ios(struct blk_plug *plug, in blk_start_plug_nr_ios() argument 807 static inline void blk_start_plug(struct blk_plug *plug) in blk_start_plug() argument 811 static inline void blk_finish_plug(struct blk_plug *plug) in blk_finish_plug() argument 815 static inline void blk_flush_plug(struct blk_plug *plug, bool async) in blk_flush_plug() argument
|
| /linux/include/linux/usb/ |
| A 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/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/mm/ |
| A 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/drivers/platform/chrome/ |
| A 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() 669 amode = typec_plug_register_altmode(port->plug, &desc); in cros_typec_register_altmodes() 697 ret = typec_plug_set_num_altmodes(port->plug, num_altmodes); in cros_typec_register_altmodes() 790 port->plug = typec_register_plug(port->cable, &p_desc); in cros_typec_handle_sop_prime_disc() 791 if (IS_ERR(port->plug)) { in cros_typec_handle_sop_prime_disc() 792 ret = PTR_ERR(port->plug); in cros_typec_handle_sop_prime_disc() 793 port->plug = NULL; in cros_typec_handle_sop_prime_disc()
|
| /linux/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/Documentation/devicetree/bindings/sound/ |
| A D | cs42l42.txt | 22 - cirrus,ts-inv : Boolean property. Sets the behaviour of the jack plug 32 debounce, the tip sense pin might be noisy on a plug event. 88 the potential pop noise during the headset plug out slowly. But on some
|