Home
last modified time | relevance | path

Searched refs:plug (Results 1 – 25 of 237) sorted by relevance

12345678910

/OK3568_Linux_fs/kernel/sound/core/oss/
H A Dio.c28 #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 …]
H A Dpcm_plugin.c35 #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
107 int snd_pcm_plug_alloc(struct snd_pcm_substream *plug, snd_pcm_uframes_t frames) in snd_pcm_plug_alloc() argument
110 if (snd_BUG_ON(!snd_pcm_plug_first(plug))) in snd_pcm_plug_alloc()
112 if (snd_pcm_plug_stream(plug) == SNDRV_PCM_STREAM_PLAYBACK) { in snd_pcm_plug_alloc()
113 struct snd_pcm_plugin *plugin = snd_pcm_plug_first(plug); in snd_pcm_plug_alloc()
125 struct snd_pcm_plugin *plugin = snd_pcm_plug_last(plug); in snd_pcm_plug_alloc()
149 int snd_pcm_plugin_build(struct snd_pcm_substream *plug, in snd_pcm_plugin_build() argument
159 if (snd_BUG_ON(!plug)) in snd_pcm_plugin_build()
167 plugin->plug = plug; in snd_pcm_plugin_build()
[all …]
H A Dpcm_plugin.h12 #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);
H A Dcopy.c61 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()
H A Droute.c87 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()
/OK3568_Linux_fs/kernel/block/
H A Dblk-core.c816 struct blk_plug *plug; in submit_bio_checks() local
820 plug = blk_mq_plug(q, bio); in submit_bio_checks()
821 if (plug && plug->nowait) in submit_bio_checks()
1693 void blk_start_plug(struct blk_plug *plug) in blk_start_plug() argument
1700 if (tsk->plug) in blk_start_plug()
1703 INIT_LIST_HEAD(&plug->mq_list); in blk_start_plug()
1704 INIT_LIST_HEAD(&plug->cb_list); in blk_start_plug()
1705 plug->rq_count = 0; in blk_start_plug()
1706 plug->multiple_queues = false; in blk_start_plug()
1707 plug->nowait = false; in blk_start_plug()
[all …]
H A Dblk-lib.c135 struct blk_plug plug; in blkdev_issue_discard() local
138 blk_start_plug(&plug); in blkdev_issue_discard()
147 blk_finish_plug(&plug); in blkdev_issue_discard()
231 struct blk_plug plug; in blkdev_issue_write_same() local
234 blk_start_plug(&plug); in blkdev_issue_write_same()
241 blk_finish_plug(&plug); in blkdev_issue_write_same()
398 struct blk_plug plug; in blkdev_issue_zeroout() local
407 blk_start_plug(&plug); in blkdev_issue_zeroout()
422 blk_finish_plug(&plug); in blkdev_issue_zeroout()
H A Dblk-mq.c1946 void blk_mq_flush_plug_list(struct blk_plug *plug, bool from_schedule) in blk_mq_flush_plug_list() argument
1950 if (list_empty(&plug->mq_list)) in blk_mq_flush_plug_list()
1952 list_splice_init(&plug->mq_list, &list); in blk_mq_flush_plug_list()
1954 if (plug->rq_count > 2 && plug->multiple_queues) in blk_mq_flush_plug_list()
1957 plug->rq_count = 0; in blk_mq_flush_plug_list()
2162 static void blk_add_rq_to_plug(struct blk_plug *plug, struct request *rq) in blk_add_rq_to_plug() argument
2164 list_add_tail(&rq->queuelist, &plug->mq_list); in blk_add_rq_to_plug()
2165 plug->rq_count++; in blk_add_rq_to_plug()
2166 if (!plug->multiple_queues && !list_is_singular(&plug->mq_list)) { in blk_add_rq_to_plug()
2169 tmp = list_first_entry(&plug->mq_list, struct request, in blk_add_rq_to_plug()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/typec/
H A Dclass.c312 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_set_partner() local
314 partner->plug[plug->index] = altmode; in typec_altmode_set_partner()
331 struct typec_plug *plug = to_typec_plug(adev->dev.parent); in typec_altmode_put_partner() local
333 partner->plug[plug->index] = NULL; in typec_altmode_put_partner()
676 struct typec_plug *plug; in number_of_alternate_modes_show() local
683 plug = to_typec_plug(dev); in number_of_alternate_modes_show()
684 num_altmodes = plug->num_altmodes; in number_of_alternate_modes_show()
917 struct typec_plug *plug = to_typec_plug(dev); in typec_plug_release() local
919 ida_destroy(&plug->mode_ids); in typec_plug_release()
920 kfree(plug); in typec_plug_release()
[all …]
H A Dbus.c224 if (port->plug[index]) { in typec_altmode_get_plug()
225 get_device(&port->plug[index]->adev.dev); in typec_altmode_get_plug()
226 return &port->plug[index]->adev; in typec_altmode_get_plug()
237 void typec_altmode_put_plug(struct typec_altmode *plug) in typec_altmode_put_plug() argument
239 if (plug) in typec_altmode_put_plug()
240 put_device(&plug->dev); in typec_altmode_put_plug()
/OK3568_Linux_fs/kernel/Documentation/ide/
H A Dwarm-plug-howto.rst2 IDE warm-plug HOWTO
5 To warm-plug devices on a port 'idex'::
9 unplug old device(s) and plug new device(s)::
/OK3568_Linux_fs/kernel/arch/powerpc/platforms/ps3/
H A Dinterrupt.c705 unsigned int plug; in ps3_get_irq() local
712 asm volatile("cntlzd %0,%1" : "=r" (plug) : "r" (x)); in ps3_get_irq()
713 plug &= 0x3f; in ps3_get_irq()
715 if (unlikely(!plug)) { in ps3_get_irq()
724 if (unlikely(plug < NUM_ISA_INTERRUPTS || plug > PS3_PLUG_MAX)) { in ps3_get_irq()
733 if (test_bit(63 - plug, &pd->ipi_mask)) in ps3_get_irq()
734 lv1_end_of_interrupt_ext(pd->ppe_id, pd->thread_id, plug); in ps3_get_irq()
736 return plug; in ps3_get_irq()
/OK3568_Linux_fs/kernel/drivers/block/drbd/
H A Ddrbd_req.c1261 struct drbd_plug_cb *plug = container_of(cb, struct drbd_plug_cb, cb); in drbd_unplug() local
1262 struct drbd_resource *resource = plug->cb.data; in drbd_unplug()
1263 struct drbd_request *req = plug->most_recent_req; in drbd_unplug()
1283 struct drbd_plug_cb *plug; in drbd_check_plugged() local
1284 struct blk_plug_cb *cb = blk_check_plugged(drbd_unplug, resource, sizeof(*plug)); in drbd_check_plugged()
1287 plug = container_of(cb, struct drbd_plug_cb, cb); in drbd_check_plugged()
1289 plug = NULL; in drbd_check_plugged()
1290 return plug; in drbd_check_plugged()
1293 static void drbd_update_plug(struct drbd_plug_cb *plug, struct drbd_request *req) in drbd_update_plug() argument
1295 struct drbd_request *tmp = plug->most_recent_req; in drbd_update_plug()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/dist/
H A Dchanges-5.3.127 - Added PLUGIN_CLASS_NAME variable to all plug-in based projects. This
28 enables the automatic static linking and deployment of this plug-ins.
56 plug-ins when doing static builds on iOS.
/OK3568_Linux_fs/kernel/Documentation/usb/
H A Dchipidea.rst38 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,
/OK3568_Linux_fs/kernel/sound/firewire/
H A Dfcp.h20 unsigned short plug);
23 unsigned short plug);
/OK3568_Linux_fs/external/rockit/mpi/sdk/deps/etc/
H A Dasound.conf19 type plug
26 type plug
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Draid56.c1687 static void run_plug(struct btrfs_plug_cb *plug) in run_plug() argument
1697 list_sort(NULL, &plug->rbio_list, plug_cmp); in run_plug()
1698 while (!list_empty(&plug->rbio_list)) { in run_plug()
1699 cur = list_entry(plug->rbio_list.next, in run_plug()
1725 kfree(plug); in run_plug()
1734 struct btrfs_plug_cb *plug; in unplug_work() local
1735 plug = container_of(work, struct btrfs_plug_cb, work); in unplug_work()
1736 run_plug(plug); in unplug_work()
1741 struct btrfs_plug_cb *plug; in btrfs_raid_unplug() local
1742 plug = container_of(cb, struct btrfs_plug_cb, cb); in btrfs_raid_unplug()
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dblkdev.h1275 struct blk_plug *plug = tsk->plug; in blk_flush_plug() local
1277 if (plug) in blk_flush_plug()
1278 blk_flush_plug_list(plug, false); in blk_flush_plug()
1283 struct blk_plug *plug = tsk->plug; in blk_schedule_flush_plug() local
1285 if (plug) in blk_schedule_flush_plug()
1286 blk_flush_plug_list(plug, true); in blk_schedule_flush_plug()
1291 struct blk_plug *plug = tsk->plug; in blk_needs_flush_plug() local
1293 return plug && in blk_needs_flush_plug()
1294 (!list_empty(&plug->mq_list) || in blk_needs_flush_plug()
1295 !list_empty(&plug->cb_list)); in blk_needs_flush_plug()
[all …]
/OK3568_Linux_fs/buildroot/package/oracle-mysql/
H A D0000-ac_cache_check.patch10 storage/innodb_plugin/plug.in | 59 ++++++++++++++++++++++++++++--------------
13 Index: mysql-5.1.53/storage/innodb_plugin/plug.in
15 --- mysql-5.1.53.orig/storage/innodb_plugin/plug.in
16 +++ mysql-5.1.53/storage/innodb_plugin/plug.in
/OK3568_Linux_fs/external/alsa-config/alsa/cards/
H A Drockchip_rk809-.conf13 type plug
44 type plug
H A Drockchip_rk817-.conf13 type plug
44 type plug
/OK3568_Linux_fs/u-boot/include/power/power_delivery/
H A Dtypec.h135 int typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes);
137 *typec_plug_register_altmode(struct typec_plug *plug,
292 void typec_unregister_plug(struct typec_plug *plug);
/OK3568_Linux_fs/kernel/include/linux/usb/
H A Dtypec.h136 int typec_plug_set_num_altmodes(struct typec_plug *plug, int num_altmodes);
138 *typec_plug_register_altmode(struct typec_plug *plug,
295 void typec_unregister_plug(struct typec_plug *plug);
/OK3568_Linux_fs/buildroot/board/embest/riotboard/
H A Dreadme.txt20 Prepare an SD-card and plug it into your card reader. Always double
36 Now plug your prepared SD-card in slot J6. Connect a serial console

12345678910