| /linux/sound/core/oss/ |
| H A D | io.c | 13 #define pcm_write(plug,buf,count) snd_pcm_oss_write3(plug,buf,count,1) argument 14 #define pcm_writev(plug,vec,count) snd_pcm_oss_writev3(plug,vec,count) argument 15 #define pcm_read(plug,buf,count) snd_pcm_oss_read3(plug,buf,count,1) argument 16 #define pcm_readv(plug,vec,count) snd_pcm_oss_readv3(plug,vec,count) argument 32 return pcm_write(plugin->plug, src_channels->area.addr, frames); in io_playback_transfer() 44 return pcm_writev(plugin->plug, bufs, frames); in io_playback_transfer() 58 return pcm_read(plugin->plug, dst_channels->area.addr, frames); in io_capture_transfer() 70 return pcm_readv(plugin->plug, bufs, frames); in io_capture_transfer() 93 int snd_pcm_plugin_build_io(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_io() argument 104 if (snd_BUG_ON(!plug || !params)) in snd_pcm_plugin_build_io() [all …]
|
| H A D | pcm_plugin.c | 20 #define snd_pcm_plug_first(plug) ((plug)->runtime->oss.plugin_first) argument 21 #define snd_pcm_plug_last(plug) ((plug)->runtime->oss.plugin_last) argument 93 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() argument 96 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) in snd_pcm_plug_alloc() 98 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_alloc() 99 struct snd_pcm_plugin *plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_alloc() 111 struct snd_pcm_plugin *plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_alloc() 135 int snd_pcm_plugin_build(struct snd_pcm_substream *plug, in snd_pcm_plugin_build() argument 145 if (snd_BUG_ON(!plug)) in snd_pcm_plugin_build() 153 plugin->plug = plug; in snd_pcm_plugin_build() [all …]
|
| H 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);
|
| H A D | copy.c | 46 int snd_pcm_plugin_build_copy(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_copy() argument 70 err = snd_pcm_plugin_build(plug, "copy", src_format, dst_format, in snd_pcm_plugin_build_copy()
|
| H A D | route.c | 72 int snd_pcm_plugin_build_route(struct snd_pcm_substream *plug, in snd_pcm_plugin_build_route() argument 88 err = snd_pcm_plugin_build(plug, "route conversion", in snd_pcm_plugin_build_route()
|
| /linux/drivers/thermal/renesas/ |
| H 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/Gen4 or RZ/G2 thermal sensor 27 Enable this to plug the RZ/G2L thermal sensor driver into the Linux 34 Enable this to plug the RZ/G3E thermal sensor driver into the Linux 42 Enable this to plug the RZ/G3S thermal sensor driver into the Linux
|
| /linux/mm/ |
| H A D | swap.h | 216 void swap_read_folio(struct folio *folio, struct swap_iocb **plug); 217 void __swap_read_unplug(struct swap_iocb *plug); 218 static inline void swap_read_unplug(struct swap_iocb *plug) 220 if (unlikely(plug)) 221 __swap_read_unplug(plug); 295 struct swap_iocb **plug); in swap_zeromap_batch() 399 static inline void swap_read_folio(struct folio *folio, struct swap_iocb **plug) 191 swap_read_unplug(struct swap_iocb * plug) swap_read_unplug() argument 356 swap_read_folio(struct folio * folio,struct swap_iocb ** plug) swap_read_folio() argument
|
| H A D | page_io.c | 538 static void swap_read_folio_fs(struct folio *folio, struct swap_iocb **plug) in swap_read_folio_fs() argument 544 if (plug) in swap_read_folio_fs() 545 sio = *plug; in swap_read_folio_fs() 564 if (sio->pages == ARRAY_SIZE(sio->bvec) || !plug) { in swap_read_folio_fs() 568 if (plug) in swap_read_folio_fs() 569 *plug = sio; in swap_read_folio_fs() 609 void swap_read_folio(struct folio *folio, struct swap_iocb **plug) in swap_read_folio() argument 644 swap_read_folio_fs(folio, plug); in swap_read_folio()
|
| H A D | swap_state.c | 618 struct swap_iocb **plug) in swap_cluster_readahead() 636 swap_read_folio(folio, plug); in swap_cluster_readahead() 730 struct blk_plug plug; in swap_vma_readahead() 746 blk_start_plug(&plug); in swap_vma_readahead() 763 blk_finish_plug(&plug); in swap_vma_readahead() 832 struct blk_plug plug; in vma_ra_enabled_store() 847 blk_start_plug(&plug); 890 blk_finish_plug(&plug); 514 read_swap_cache_async(swp_entry_t entry,gfp_t gfp_mask,struct vm_area_struct * vma,unsigned long addr,struct swap_iocb ** plug) read_swap_cache_async() argument 626 struct blk_plug plug; swap_cluster_readahead() local 728 struct blk_plug plug; swap_vma_readahead() local
|
| /linux/drivers/usb/typec/ |
| H A D | class.c | 262 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_set_partner() local 264 partner->plug[plug->index] = altmode; in typec_altmode_set_partner() 283 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_put_partner() local 285 partner->plug[plug->index] = NULL; in typec_altmode_put_partner() 817 struct typec_plug *plug; in number_of_alternate_modes_show() local 824 plug = to_typec_plug(dev); in number_of_alternate_modes_show() 825 num_altmodes = plug->num_altmodes; in number_of_alternate_modes_show() 1207 struct typec_plug *plug = to_typec_plug(dev); in typec_plug_release() local 1209 ida_destroy(&plug->mode_ids); in typec_plug_release() 1210 kfree(plug); in typec_plug_release() [all …]
|
| /linux/arch/powerpc/platforms/ps3/ |
| H 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/block/ |
| H A D | blk-mq.c | 598 struct blk_plug *plug, in blk_mq_rq_cache_fill() argument 608 .nr_tags = plug->nr_ios, in blk_mq_rq_cache_fill() 609 .cached_rqs = &plug->cached_rqs, in blk_mq_rq_cache_fill() 618 plug->nr_ios = 1; in blk_mq_rq_cache_fill() 630 struct blk_plug *plug = current->plug; in blk_mq_alloc_cached_request() local 633 if (!plug) in blk_mq_alloc_cached_request() 636 if (rq_list_empty(&plug->cached_rqs)) { in blk_mq_alloc_cached_request() 637 if (plug->nr_ios == 1) in blk_mq_alloc_cached_request() 639 rq = blk_mq_rq_cache_fill(q, plug, opf, flags); in blk_mq_alloc_cached_request() 643 rq = rq_list_peek(&plug->cached_rqs); in blk_mq_alloc_cached_request() [all …]
|
| H A D | fops.c | 178 struct blk_plug plug; in __blkdev_direct_IO() local 209 blk_start_plug(&plug); in __blkdev_direct_IO() 265 blk_finish_plug(&plug); in __blkdev_direct_IO() 289 blk_finish_plug(&plug); in __blkdev_direct_IO() 481 struct blk_plug plug; in blkdev_writepages() local 484 blk_start_plug(&plug); in blkdev_writepages() 487 blk_finish_plug(&plug); in blkdev_writepages()
|
| /linux/drivers/block/drbd/ |
| H A D | drbd_req.c | 1274 struct drbd_plug_cb *plug = container_of(cb, struct drbd_plug_cb, cb); in drbd_unplug() local 1275 struct drbd_resource *resource = plug->cb.data; in drbd_unplug() 1276 struct drbd_request *req = plug->most_recent_req; in drbd_unplug() 1296 struct drbd_plug_cb *plug; in drbd_check_plugged() local 1297 struct blk_plug_cb *cb = blk_check_plugged(drbd_unplug, resource, sizeof(*plug)); in drbd_check_plugged() 1300 plug = container_of(cb, struct drbd_plug_cb, cb); in drbd_check_plugged() 1302 plug = NULL; in drbd_check_plugged() 1303 return plug; in drbd_check_plugged() 1306 static void drbd_update_plug(struct drbd_plug_cb *plug, struct drbd_request *req) in drbd_update_plug() argument 1308 struct drbd_request *tmp = plug->most_recent_req; in drbd_update_plug() [all …]
|
| /linux/sound/firewire/ |
| H A D | fcp.h | 20 unsigned short plug); 23 unsigned short plug);
|
| /linux/drivers/usb/typec/altmodes/ |
| H A D | displayport.c | 757 struct typec_altmode *plug = typec_altmode_get_plug(alt, TYPEC_PLUG_SOP_P); in dp_altmode_probe() local 770 typec_altmode_put_plug(plug); in dp_altmode_probe() 776 typec_altmode_put_plug(plug); in dp_altmode_probe() 788 if (plug) { in dp_altmode_probe() 789 plug->desc = "Displayport"; in dp_altmode_probe() 790 plug->cable_ops = &dp_cable_ops; in dp_altmode_probe() 793 dp->plug_prime = plug; in dp_altmode_probe() 804 if (plug) in dp_altmode_probe() 805 typec_altmode_set_drvdata(plug, dp); in dp_altmode_probe() 808 dp->state = plug ? DP_STATE_ENTER_PRIME : DP_STATE_ENTER; in dp_altmode_probe()
|
| /linux/Documentation/usb/ |
| H 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/fs/xfs/ |
| H A D | xfs_discard.c | 118 struct blk_plug plug; in xfs_discard_extents() local 120 blk_start_plug(&plug); in xfs_discard_extents() 141 blk_finish_plug(&plug); in xfs_discard_extents() 474 struct blk_plug plug; in xfs_discard_rtdev_extents() local 478 blk_start_plug(&plug); in xfs_discard_rtdev_extents() 505 blk_finish_plug(&plug); in xfs_discard_rtdev_extents()
|
| H A D | xfs_buf.c | 1336 struct blk_plug plug; in xfs_buf_submit_bio() local 1353 blk_start_plug(&plug); in xfs_buf_submit_bio() 1365 blk_finish_plug(&plug); in xfs_buf_submit_bio() 2011 struct blk_plug plug; in xfs_buf_delwri_submit_nowait() local 2015 blk_start_plug(&plug); in xfs_buf_delwri_submit_nowait() 2030 blk_finish_plug(&plug); in xfs_buf_delwri_submit_nowait() 2050 struct blk_plug plug; in xfs_buf_delwri_submit() local 2054 blk_start_plug(&plug); in xfs_buf_delwri_submit() 2063 blk_finish_plug(&plug); in xfs_buf_delwri_submit()
|
| /linux/fs/hpfs/ |
| H 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/include/linux/usb/ |
| H A D | typec.h | 148 * Description of an Alternate Mode which a connector, cable plug or partner 166 int typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes); 168 *typec_plug_register_altmode(struct typec_plug *plug, 197 * @index: SOP Prime for the plug connected to DFP and SOP Double Prime for the 198 * plug connected to UFP 208 * @type: The plug type from USB PD Cable VDO 343 void typec_unregister_plug(struct typec_plug *plug);
|
| /linux/drivers/media/firewire/ |
| H 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/drivers/usb/typec/ucsi/ |
| H A D | ucsi.c | 470 alt = typec_plug_register_altmode(con->plug, desc); in ucsi_register_altmode() 920 struct typec_plug *plug; in ucsi_register_plug() local 923 plug = typec_register_plug(con->cable, &desc); in ucsi_register_plug() 924 if (IS_ERR(plug)) { in ucsi_register_plug() 927 PTR_ERR(plug)); in ucsi_register_plug() 928 return PTR_ERR(plug); in ucsi_register_plug() 931 con->plug = plug; in ucsi_register_plug() 937 if (!con->plug) in ucsi_unregister_plug() 941 typec_unregister_plug(con->plug); in ucsi_unregister_plug() 942 con->plug = NULL; in ucsi_unregister_plug() [all …]
|
| /linux/Documentation/driver-api/usb/ |
| H A D | typec.rst | 41 will be named port0-cable and the plug on the SOP Prime end (see USB Power 46 If the port, partner or cable plug supports Alternate Modes, every supported 106 Double Prime communication, should only have one plug registered. For more 113 typec_cable_desc and about a plug in struct typec_plug_desc. The class copies 157 If a partner or cable plug provides a list of SVIDs as response to USB Power 179 If a partner or cable plug enters or exits a mode, the port driver needs to
|
| /linux/Documentation/firmware-guide/acpi/ |
| H A D | intel-pmc-mux.rst | 20 configure the cable plug orientation and mode (with Alternate Modes). The driver 95 should not configure them according to the cable plug orientation. This can 96 happen for example if a retimer on the platform handles the cable plug
|