/kernel/linux/linux-5.10/sound/soc/uniphier/ |
H A D | aio-core.c | 53 u64 aio_rb_cnt(struct uniphier_aio_sub *sub) in aio_rb_cnt() argument 55 return rb_cnt(sub->wr_offs, sub->rd_offs, sub->compr_bytes); in aio_rb_cnt() 58 u64 aio_rbt_cnt_to_end(struct uniphier_aio_sub *sub) in aio_rbt_cnt_to_end() argument 60 return rb_cnt_to_end(sub->wr_offs, sub->rd_offs, sub->compr_bytes); in aio_rbt_cnt_to_end() 63 u64 aio_rb_space(struct uniphier_aio_sub *sub) in aio_rb_space() argument 65 return rb_space(sub in aio_rb_space() 68 aio_rb_space_to_end(struct uniphier_aio_sub *sub) aio_rb_space_to_end() argument 200 aio_init(struct uniphier_aio_sub *sub) aio_init() argument 250 aio_port_reset(struct uniphier_aio_sub *sub) aio_port_reset() argument 277 aio_port_set_ch(struct uniphier_aio_sub *sub) aio_port_set_ch() argument 329 aio_port_set_rate(struct uniphier_aio_sub *sub, int rate) aio_port_set_rate() argument 448 aio_port_set_fmt(struct uniphier_aio_sub *sub) aio_port_set_fmt() argument 513 aio_port_set_clk(struct uniphier_aio_sub *sub) aio_port_set_clk() argument 612 aio_port_set_param(struct uniphier_aio_sub *sub, int pass_through, const struct snd_pcm_hw_params *params) aio_port_set_param() argument 674 aio_port_set_enable(struct uniphier_aio_sub *sub, int enable) aio_port_set_enable() argument 722 aio_port_get_volume(struct uniphier_aio_sub *sub) aio_port_get_volume() argument 741 aio_port_set_volume(struct uniphier_aio_sub *sub, int vol) aio_port_set_volume() argument 785 aio_if_set_param(struct uniphier_aio_sub *sub, int pass_through) aio_if_set_param() argument 835 aio_oport_set_stream_type(struct uniphier_aio_sub *sub, enum IEC61937_PC pc) aio_oport_set_stream_type() argument 896 aio_src_reset(struct uniphier_aio_sub *sub) aio_src_reset() argument 918 aio_src_set_param(struct uniphier_aio_sub *sub, const struct snd_pcm_hw_params *params) aio_src_set_param() argument 963 aio_srcif_set_param(struct uniphier_aio_sub *sub) aio_srcif_set_param() argument 977 aio_srcch_set_param(struct uniphier_aio_sub *sub) aio_srcch_set_param() argument 998 aio_srcch_set_enable(struct uniphier_aio_sub *sub, int enable) aio_srcch_set_enable() argument 1012 aiodma_ch_set_param(struct uniphier_aio_sub *sub) aiodma_ch_set_param() argument 1032 aiodma_ch_set_enable(struct uniphier_aio_sub *sub, int enable) aiodma_ch_set_enable() argument 1053 aiodma_rb_get_rp(struct uniphier_aio_sub *sub) aiodma_rb_get_rp() argument 1072 aiodma_rb_set_rp(struct uniphier_aio_sub *sub, u64 pos) aiodma_rb_set_rp() argument 1086 aiodma_rb_get_wp(struct uniphier_aio_sub *sub) aiodma_rb_get_wp() argument 1105 aiodma_rb_set_wp(struct uniphier_aio_sub *sub, u64 pos) aiodma_rb_set_wp() argument 1121 aiodma_rb_set_threshold(struct uniphier_aio_sub *sub, u64 size, u32 th) aiodma_rb_set_threshold() argument 1134 aiodma_rb_set_buffer(struct uniphier_aio_sub *sub, u64 start, u64 end, int period) aiodma_rb_set_buffer() argument 1187 aiodma_rb_sync(struct uniphier_aio_sub *sub, u64 start, u64 size, int period) aiodma_rb_sync() argument 1227 aiodma_rb_is_irq(struct uniphier_aio_sub *sub) aiodma_rb_is_irq() argument 1240 aiodma_rb_clear_irq(struct uniphier_aio_sub *sub) aiodma_rb_clear_irq() argument [all...] |
H A D | aio-compress.c | 29 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; in uniphier_aio_comprdma_new() local 37 sub->compr_area = kzalloc(size, GFP_KERNEL); in uniphier_aio_comprdma_new() 38 if (!sub->compr_area) in uniphier_aio_comprdma_new() 41 if (sub->swm->dir == PORT_DIR_OUTPUT) in uniphier_aio_comprdma_new() 44 sub->compr_addr = dma_map_single(dev, sub->compr_area, size, dma_dir); in uniphier_aio_comprdma_new() 45 if (dma_mapping_error(dev, sub->compr_addr)) { in uniphier_aio_comprdma_new() 46 kfree(sub->compr_area); in uniphier_aio_comprdma_new() 47 sub in uniphier_aio_comprdma_new() 62 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; uniphier_aio_comprdma_free() local 80 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_open() local 106 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_free() local 127 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_get_params() local 140 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_set_params() local 176 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_hw_free() local 189 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_prepare() local 228 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_trigger() local 262 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_pointer() local 286 aio_compr_send_to_hw(struct uniphier_aio_sub *sub, char __user *buf, size_t dstsize) aio_compr_send_to_hw() argument 337 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_copy() local [all...] |
H A D | aio-dma.c | 28 static void aiodma_pcm_irq(struct uniphier_aio_sub *sub) in aiodma_pcm_irq() argument 30 struct snd_pcm_runtime *runtime = sub->substream->runtime; in aiodma_pcm_irq() 35 spin_lock(&sub->lock); in aiodma_pcm_irq() 36 ret = aiodma_rb_set_threshold(sub, runtime->dma_bytes, in aiodma_pcm_irq() 37 sub->threshold + bytes); in aiodma_pcm_irq() 39 sub->threshold += bytes; in aiodma_pcm_irq() 41 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, bytes); in aiodma_pcm_irq() 42 aiodma_rb_clear_irq(sub); in aiodma_pcm_irq() 43 spin_unlock(&sub->lock); in aiodma_pcm_irq() 45 snd_pcm_period_elapsed(sub in aiodma_pcm_irq() 48 aiodma_compr_irq(struct uniphier_aio_sub *sub) aiodma_compr_irq() argument 78 struct uniphier_aio_sub *sub = &aio->sub[j]; aiodma_irq() local 113 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aiodma_prepare() local 140 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aiodma_trigger() local 176 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aiodma_pointer() local [all...] |
H A D | aio-cpu.c | 52 struct uniphier_aio_sub *sub = &chip->aios[i].sub[0]; in find_volume() local 54 if (!sub->swm) in find_volume() 57 if (sub->swm->oport.hw == oport_hw) in find_volume() 58 return sub; in find_volume() 258 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; in uniphier_aio_startup() local 261 sub->substream = substream; in uniphier_aio_startup() 262 sub->pass_through = 0; in uniphier_aio_startup() 263 sub in uniphier_aio_startup() 276 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aio_shutdown() local 286 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aio_hw_params() local 324 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aio_hw_free() local 335 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aio_prepare() local 392 struct uniphier_aio_sub *sub = &aio->sub[i]; uniphier_aio_dai_probe() local 471 struct uniphier_aio_sub *sub = &aio->sub[i]; uniphier_aio_dai_resume() local 526 struct uniphier_aio_sub *sub; uniphier_aio_vol_get() local 543 struct uniphier_aio_sub *sub; uniphier_aio_vol_put() local 679 struct uniphier_aio_sub *sub = &aio->sub[j]; uniphier_aio_probe() local [all...] |
H A D | aio.h | 232 /* Guard sub->rd_offs and wr_offs from IRQ handler. */ 269 struct uniphier_aio_sub sub[2]; member 316 u64 aio_rb_cnt(struct uniphier_aio_sub *sub); 317 u64 aio_rbt_cnt_to_end(struct uniphier_aio_sub *sub); 318 u64 aio_rb_space(struct uniphier_aio_sub *sub); 319 u64 aio_rb_space_to_end(struct uniphier_aio_sub *sub); 325 int aio_init(struct uniphier_aio_sub *sub); 326 void aio_port_reset(struct uniphier_aio_sub *sub); 327 int aio_port_set_param(struct uniphier_aio_sub *sub, int pass_through, 329 void aio_port_set_enable(struct uniphier_aio_sub *sub, in [all...] |
/kernel/linux/linux-6.6/sound/soc/uniphier/ |
H A D | aio-core.c | 53 u64 aio_rb_cnt(struct uniphier_aio_sub *sub) in aio_rb_cnt() argument 55 return rb_cnt(sub->wr_offs, sub->rd_offs, sub->compr_bytes); in aio_rb_cnt() 58 u64 aio_rbt_cnt_to_end(struct uniphier_aio_sub *sub) in aio_rbt_cnt_to_end() argument 60 return rb_cnt_to_end(sub->wr_offs, sub->rd_offs, sub->compr_bytes); in aio_rbt_cnt_to_end() 63 u64 aio_rb_space(struct uniphier_aio_sub *sub) in aio_rb_space() argument 65 return rb_space(sub in aio_rb_space() 68 aio_rb_space_to_end(struct uniphier_aio_sub *sub) aio_rb_space_to_end() argument 200 aio_init(struct uniphier_aio_sub *sub) aio_init() argument 250 aio_port_reset(struct uniphier_aio_sub *sub) aio_port_reset() argument 277 aio_port_set_ch(struct uniphier_aio_sub *sub) aio_port_set_ch() argument 330 aio_port_set_rate(struct uniphier_aio_sub *sub, int rate) aio_port_set_rate() argument 449 aio_port_set_fmt(struct uniphier_aio_sub *sub) aio_port_set_fmt() argument 514 aio_port_set_clk(struct uniphier_aio_sub *sub) aio_port_set_clk() argument 613 aio_port_set_param(struct uniphier_aio_sub *sub, int pass_through, const struct snd_pcm_hw_params *params) aio_port_set_param() argument 675 aio_port_set_enable(struct uniphier_aio_sub *sub, int enable) aio_port_set_enable() argument 723 aio_port_get_volume(struct uniphier_aio_sub *sub) aio_port_get_volume() argument 742 aio_port_set_volume(struct uniphier_aio_sub *sub, int vol) aio_port_set_volume() argument 786 aio_if_set_param(struct uniphier_aio_sub *sub, int pass_through) aio_if_set_param() argument 836 aio_oport_set_stream_type(struct uniphier_aio_sub *sub, enum IEC61937_PC pc) aio_oport_set_stream_type() argument 897 aio_src_reset(struct uniphier_aio_sub *sub) aio_src_reset() argument 919 aio_src_set_param(struct uniphier_aio_sub *sub, const struct snd_pcm_hw_params *params) aio_src_set_param() argument 964 aio_srcif_set_param(struct uniphier_aio_sub *sub) aio_srcif_set_param() argument 978 aio_srcch_set_param(struct uniphier_aio_sub *sub) aio_srcch_set_param() argument 999 aio_srcch_set_enable(struct uniphier_aio_sub *sub, int enable) aio_srcch_set_enable() argument 1013 aiodma_ch_set_param(struct uniphier_aio_sub *sub) aiodma_ch_set_param() argument 1033 aiodma_ch_set_enable(struct uniphier_aio_sub *sub, int enable) aiodma_ch_set_enable() argument 1054 aiodma_rb_get_rp(struct uniphier_aio_sub *sub) aiodma_rb_get_rp() argument 1073 aiodma_rb_set_rp(struct uniphier_aio_sub *sub, u64 pos) aiodma_rb_set_rp() argument 1087 aiodma_rb_get_wp(struct uniphier_aio_sub *sub) aiodma_rb_get_wp() argument 1106 aiodma_rb_set_wp(struct uniphier_aio_sub *sub, u64 pos) aiodma_rb_set_wp() argument 1122 aiodma_rb_set_threshold(struct uniphier_aio_sub *sub, u64 size, u32 th) aiodma_rb_set_threshold() argument 1135 aiodma_rb_set_buffer(struct uniphier_aio_sub *sub, u64 start, u64 end, int period) aiodma_rb_set_buffer() argument 1188 aiodma_rb_sync(struct uniphier_aio_sub *sub, u64 start, u64 size, int period) aiodma_rb_sync() argument 1228 aiodma_rb_is_irq(struct uniphier_aio_sub *sub) aiodma_rb_is_irq() argument 1241 aiodma_rb_clear_irq(struct uniphier_aio_sub *sub) aiodma_rb_clear_irq() argument [all...] |
H A D | aio-compress.c | 29 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; in uniphier_aio_comprdma_new() local 37 sub->compr_area = kzalloc(size, GFP_KERNEL); in uniphier_aio_comprdma_new() 38 if (!sub->compr_area) in uniphier_aio_comprdma_new() 41 if (sub->swm->dir == PORT_DIR_OUTPUT) in uniphier_aio_comprdma_new() 44 sub->compr_addr = dma_map_single(dev, sub->compr_area, size, dma_dir); in uniphier_aio_comprdma_new() 45 if (dma_mapping_error(dev, sub->compr_addr)) { in uniphier_aio_comprdma_new() 46 kfree(sub->compr_area); in uniphier_aio_comprdma_new() 47 sub in uniphier_aio_comprdma_new() 62 struct uniphier_aio_sub *sub = &aio->sub[compr->direction]; uniphier_aio_comprdma_free() local 80 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_open() local 106 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_free() local 127 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_get_params() local 140 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_set_params() local 171 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_hw_free() local 184 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_prepare() local 223 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_trigger() local 257 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_pointer() local 281 aio_compr_send_to_hw(struct uniphier_aio_sub *sub, char __user *buf, size_t dstsize) aio_compr_send_to_hw() argument 332 struct uniphier_aio_sub *sub = &aio->sub[cstream->direction]; uniphier_aio_compr_copy() local [all...] |
H A D | aio-dma.c | 28 static void aiodma_pcm_irq(struct uniphier_aio_sub *sub) in aiodma_pcm_irq() argument 30 struct snd_pcm_runtime *runtime = sub->substream->runtime; in aiodma_pcm_irq() 35 spin_lock(&sub->lock); in aiodma_pcm_irq() 36 ret = aiodma_rb_set_threshold(sub, runtime->dma_bytes, in aiodma_pcm_irq() 37 sub->threshold + bytes); in aiodma_pcm_irq() 39 sub->threshold += bytes; in aiodma_pcm_irq() 41 aiodma_rb_sync(sub, runtime->dma_addr, runtime->dma_bytes, bytes); in aiodma_pcm_irq() 42 aiodma_rb_clear_irq(sub); in aiodma_pcm_irq() 43 spin_unlock(&sub->lock); in aiodma_pcm_irq() 45 snd_pcm_period_elapsed(sub in aiodma_pcm_irq() 48 aiodma_compr_irq(struct uniphier_aio_sub *sub) aiodma_compr_irq() argument 78 struct uniphier_aio_sub *sub = &aio->sub[j]; aiodma_irq() local 113 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aiodma_prepare() local 140 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aiodma_trigger() local 176 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aiodma_pointer() local [all...] |
H A D | aio-cpu.c | 52 struct uniphier_aio_sub *sub = &chip->aios[i].sub[0]; in find_volume() local 54 if (!sub->swm) in find_volume() 57 if (sub->swm->oport.hw == oport_hw) in find_volume() 58 return sub; in find_volume() 258 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; in uniphier_aio_startup() local 260 sub->substream = substream; in uniphier_aio_startup() 261 sub->pass_through = 0; in uniphier_aio_startup() 262 sub in uniphier_aio_startup() 271 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aio_shutdown() local 281 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aio_hw_params() local 319 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aio_hw_free() local 330 struct uniphier_aio_sub *sub = &aio->sub[substream->stream]; uniphier_aio_prepare() local 364 struct uniphier_aio_sub *sub = &aio->sub[i]; uniphier_aio_dai_probe() local 573 struct uniphier_aio_sub *sub = &aio->sub[i]; uniphier_aio_dai_resume() local 628 struct uniphier_aio_sub *sub; uniphier_aio_vol_get() local 645 struct uniphier_aio_sub *sub; uniphier_aio_vol_put() local 781 struct uniphier_aio_sub *sub = &aio->sub[j]; uniphier_aio_probe() local [all...] |
H A D | aio.h | 232 /* Guard sub->rd_offs and wr_offs from IRQ handler. */ 269 struct uniphier_aio_sub sub[2]; member 318 u64 aio_rb_cnt(struct uniphier_aio_sub *sub); 319 u64 aio_rbt_cnt_to_end(struct uniphier_aio_sub *sub); 320 u64 aio_rb_space(struct uniphier_aio_sub *sub); 321 u64 aio_rb_space_to_end(struct uniphier_aio_sub *sub); 327 int aio_init(struct uniphier_aio_sub *sub); 328 void aio_port_reset(struct uniphier_aio_sub *sub); 329 int aio_port_set_param(struct uniphier_aio_sub *sub, int pass_through, 331 void aio_port_set_enable(struct uniphier_aio_sub *sub, in [all...] |
/kernel/linux/linux-5.10/net/tipc/ |
H A D | subscr.c | 41 static void tipc_sub_send_event(struct tipc_subscription *sub, in tipc_sub_send_event() argument 45 struct tipc_event *evt = &sub->evt; in tipc_sub_send_event() 47 if (sub->inactive) in tipc_sub_send_event() 54 tipc_topsrv_queue_evt(sub->net, sub->conid, event, evt); in tipc_sub_send_event() 75 void tipc_sub_report_overlap(struct tipc_subscription *sub, in tipc_sub_report_overlap() argument 80 struct tipc_subscr *s = &sub->evt.s; in tipc_sub_report_overlap() 97 spin_lock(&sub->lock); in tipc_sub_report_overlap() 98 tipc_sub_send_event(sub, found_lower, found_upper, in tipc_sub_report_overlap() 100 spin_unlock(&sub in tipc_sub_report_overlap() 105 struct tipc_subscription *sub = from_timer(sub, t, timer); tipc_sub_timeout() local 135 struct tipc_subscription *sub; tipc_sub_subscribe() local 167 tipc_sub_unsubscribe(struct tipc_subscription *sub) tipc_sub_unsubscribe() argument [all...] |
/kernel/linux/linux-6.6/net/tipc/ |
H A D | subscr.c | 42 static void tipc_sub_send_event(struct tipc_subscription *sub, in tipc_sub_send_event() argument 46 struct tipc_subscr *s = &sub->evt.s; in tipc_sub_send_event() 47 struct tipc_event *evt = &sub->evt; in tipc_sub_send_event() 49 if (sub->inactive) in tipc_sub_send_event() 63 tipc_topsrv_queue_evt(sub->net, sub->conid, event, evt); in tipc_sub_send_event() 86 void tipc_sub_report_overlap(struct tipc_subscription *sub, in tipc_sub_report_overlap() argument 90 struct tipc_service_range *sr = &sub->s.seq; in tipc_sub_report_overlap() 91 u32 filter = sub->s.filter; in tipc_sub_report_overlap() 101 spin_lock(&sub in tipc_sub_report_overlap() 108 struct tipc_subscription *sub = from_timer(sub, t, timer); tipc_sub_timeout() local 138 struct tipc_subscription *sub; tipc_sub_subscribe() local 176 tipc_sub_unsubscribe(struct tipc_subscription *sub) tipc_sub_unsubscribe() argument [all...] |
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/ |
H A D | bttv-gpio.c | 4 bttv-gpio.c -- gpio sub drivers 6 sysfs-based sub driver interface for bttv 33 struct bttv_sub_driver *sub = to_bttv_sub_drv(drv); in bttv_sub_bus_match() local 34 int len = strlen(sub->wanted); in bttv_sub_bus_match() 36 if (0 == strncmp(dev_name(dev), sub->wanted, len)) in bttv_sub_bus_match() 44 struct bttv_sub_driver *sub = to_bttv_sub_drv(dev->driver); in bttv_sub_probe() local 46 return sub->probe ? sub->probe(sdev) : -ENODEV; in bttv_sub_probe() 52 struct bttv_sub_driver *sub = to_bttv_sub_drv(dev->driver); in bttv_sub_remove() local 54 if (sub in bttv_sub_remove() 68 struct bttv_sub_device *sub = to_bttv_sub_dev(dev); release_sub_device() local 74 struct bttv_sub_device *sub; bttv_sub_add_device() local 99 struct bttv_sub_device *sub, *save; bttv_sub_del_devices() local 111 bttv_sub_register(struct bttv_sub_driver *sub, char *wanted) bttv_sub_register() argument 119 bttv_sub_unregister(struct bttv_sub_driver *sub) bttv_sub_unregister() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/ |
H A D | bttv-gpio.c | 4 bttv-gpio.c -- gpio sub drivers 6 sysfs-based sub driver interface for bttv 33 struct bttv_sub_driver *sub = to_bttv_sub_drv(drv); in bttv_sub_bus_match() local 34 int len = strlen(sub->wanted); in bttv_sub_bus_match() 36 if (0 == strncmp(dev_name(dev), sub->wanted, len)) in bttv_sub_bus_match() 44 struct bttv_sub_driver *sub = to_bttv_sub_drv(dev->driver); in bttv_sub_probe() local 46 return sub->probe ? sub->probe(sdev) : -ENODEV; in bttv_sub_probe() 52 struct bttv_sub_driver *sub = to_bttv_sub_drv(dev->driver); in bttv_sub_remove() local 54 if (sub in bttv_sub_remove() 67 struct bttv_sub_device *sub = to_bttv_sub_dev(dev); release_sub_device() local 73 struct bttv_sub_device *sub; bttv_sub_add_device() local 98 struct bttv_sub_device *sub, *save; bttv_sub_del_devices() local 110 bttv_sub_register(struct bttv_sub_driver *sub, char *wanted) bttv_sub_register() argument 118 bttv_sub_unregister(struct bttv_sub_driver *sub) bttv_sub_unregister() argument [all...] |
/kernel/linux/linux-5.10/sound/usb/6fire/ |
H A D | pcm.c | 192 static void usb6fire_pcm_capture(struct pcm_substream *sub, struct pcm_urb *urb) in usb6fire_pcm_capture() argument 198 struct pcm_runtime *rt = snd_pcm_substream_chip(sub->instance); in usb6fire_pcm_capture() 199 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; in usb6fire_pcm_capture() 201 u32 *dest = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_capture() 228 sub->dma_off++; in usb6fire_pcm_capture() 229 sub->period_off++; in usb6fire_pcm_capture() 231 sub->dma_off = 0; in usb6fire_pcm_capture() 239 static void usb6fire_pcm_playback(struct pcm_substream *sub, in usb6fire_pcm_playback() argument 245 struct pcm_runtime *rt = snd_pcm_substream_chip(sub->instance); in usb6fire_pcm_playback() 246 struct snd_pcm_runtime *alsa_rt = sub in usb6fire_pcm_playback() 291 struct pcm_substream *sub; usb6fire_pcm_in_urb_handler() local 389 struct pcm_substream *sub = NULL; usb6fire_pcm_open() local 425 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); usb6fire_pcm_close() local 452 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); usb6fire_pcm_prepare() local 496 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); usb6fire_pcm_trigger() local 528 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); usb6fire_pcm_pointer() local [all...] |
/kernel/linux/linux-6.6/sound/usb/6fire/ |
H A D | pcm.c | 192 static void usb6fire_pcm_capture(struct pcm_substream *sub, struct pcm_urb *urb) in usb6fire_pcm_capture() argument 198 struct pcm_runtime *rt = snd_pcm_substream_chip(sub->instance); in usb6fire_pcm_capture() 199 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; in usb6fire_pcm_capture() 201 u32 *dest = (u32 *) (alsa_rt->dma_area + sub->dma_off in usb6fire_pcm_capture() 228 sub->dma_off++; in usb6fire_pcm_capture() 229 sub->period_off++; in usb6fire_pcm_capture() 231 sub->dma_off = 0; in usb6fire_pcm_capture() 239 static void usb6fire_pcm_playback(struct pcm_substream *sub, in usb6fire_pcm_playback() argument 245 struct pcm_runtime *rt = snd_pcm_substream_chip(sub->instance); in usb6fire_pcm_playback() 246 struct snd_pcm_runtime *alsa_rt = sub in usb6fire_pcm_playback() 291 struct pcm_substream *sub; usb6fire_pcm_in_urb_handler() local 389 struct pcm_substream *sub = NULL; usb6fire_pcm_open() local 425 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); usb6fire_pcm_close() local 452 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); usb6fire_pcm_prepare() local 496 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); usb6fire_pcm_trigger() local 528 struct pcm_substream *sub = usb6fire_pcm_get_substream(alsa_sub); usb6fire_pcm_pointer() local [all...] |
/kernel/linux/linux-5.10/sound/usb/hiface/ |
H A D | pcm.c | 255 static bool hiface_pcm_playback(struct pcm_substream *sub, struct pcm_urb *urb) in hiface_pcm_playback() argument 257 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; in hiface_pcm_playback() 264 pcm_buffer_size = snd_pcm_lib_buffer_bytes(sub->instance); in hiface_pcm_playback() 266 if (sub->dma_off + PCM_PACKET_SIZE <= pcm_buffer_size) { in hiface_pcm_playback() 269 (unsigned int) sub->dma_off); in hiface_pcm_playback() 271 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback() 279 (unsigned int) sub->dma_off); in hiface_pcm_playback() 281 len = pcm_buffer_size - sub->dma_off; in hiface_pcm_playback() 283 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback() 290 sub in hiface_pcm_playback() 306 struct pcm_substream *sub; hiface_pcm_out_urb_handler() local 352 struct pcm_substream *sub = NULL; hiface_pcm_open() local 395 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_close() local 419 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_prepare() local 454 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_trigger() local 484 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_pointer() local [all...] |
/kernel/linux/linux-6.6/sound/usb/hiface/ |
H A D | pcm.c | 255 static bool hiface_pcm_playback(struct pcm_substream *sub, struct pcm_urb *urb) in hiface_pcm_playback() argument 257 struct snd_pcm_runtime *alsa_rt = sub->instance->runtime; in hiface_pcm_playback() 264 pcm_buffer_size = snd_pcm_lib_buffer_bytes(sub->instance); in hiface_pcm_playback() 266 if (sub->dma_off + PCM_PACKET_SIZE <= pcm_buffer_size) { in hiface_pcm_playback() 269 (unsigned int) sub->dma_off); in hiface_pcm_playback() 271 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback() 279 (unsigned int) sub->dma_off); in hiface_pcm_playback() 281 len = pcm_buffer_size - sub->dma_off; in hiface_pcm_playback() 283 source = alsa_rt->dma_area + sub->dma_off; in hiface_pcm_playback() 290 sub in hiface_pcm_playback() 306 struct pcm_substream *sub; hiface_pcm_out_urb_handler() local 352 struct pcm_substream *sub = NULL; hiface_pcm_open() local 395 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_close() local 419 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_prepare() local 454 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_trigger() local 484 struct pcm_substream *sub = hiface_pcm_get_substream(alsa_sub); hiface_pcm_pointer() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/vmw_vmci/ |
H A D | vmci_event.c | 134 struct vmci_subscription *sub; in vmci_event_subscribe() local 150 sub = kzalloc(sizeof(*sub), GFP_KERNEL); in vmci_event_subscribe() 151 if (!sub) in vmci_event_subscribe() 154 sub->id = VMCI_EVENT_MAX; in vmci_event_subscribe() 155 sub->event = event; in vmci_event_subscribe() 156 sub->callback = callback; in vmci_event_subscribe() 157 sub->callback_data = callback_data; in vmci_event_subscribe() 158 INIT_LIST_HEAD(&sub->node); in vmci_event_subscribe() 172 sub in vmci_event_subscribe() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.h | 53 #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \ 54 static ssize_t sub## _ ##name## _read(struct file *file, \ 64 stats->sub.name); \ 67 static const struct file_operations sub## _ ##name## _ops = { \ 68 .read = sub## _ ##name## _read, \ 73 #define DEBUGFS_FWSTATS_FILE_ARRAY(sub, name, len, struct_type) \ 74 static ssize_t sub## _ ##name## _read(struct file *file, \ 88 "[%d] = %d\n", i, stats->sub.name[i]); \ 93 static const struct file_operations sub## _ ##name## _ops = { \ 94 .read = sub## [all...] |
/kernel/linux/linux-6.6/drivers/misc/vmw_vmci/ |
H A D | vmci_event.c | 134 struct vmci_subscription *sub; in vmci_event_subscribe() local 150 sub = kzalloc(sizeof(*sub), GFP_KERNEL); in vmci_event_subscribe() 151 if (!sub) in vmci_event_subscribe() 154 sub->id = VMCI_EVENT_MAX; in vmci_event_subscribe() 155 sub->event = event; in vmci_event_subscribe() 156 sub->callback = callback; in vmci_event_subscribe() 157 sub->callback_data = callback_data; in vmci_event_subscribe() 158 INIT_LIST_HEAD(&sub->node); in vmci_event_subscribe() 172 sub in vmci_event_subscribe() [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ti/wlcore/ |
H A D | debugfs.h | 53 #define DEBUGFS_FWSTATS_FILE(sub, name, fmt, struct_type) \ 54 static ssize_t sub## _ ##name## _read(struct file *file, \ 64 stats->sub.name); \ 67 static const struct file_operations sub## _ ##name## _ops = { \ 68 .read = sub## _ ##name## _read, \ 73 #define DEBUGFS_FWSTATS_FILE_ARRAY(sub, name, len, struct_type) \ 74 static ssize_t sub## _ ##name## _read(struct file *file, \ 88 "[%d] = %d\n", i, stats->sub.name[i]); \ 93 static const struct file_operations sub## _ ##name## _ops = { \ 94 .read = sub## [all...] |
/kernel/linux/linux-5.10/sound/usb/caiaq/ |
H A D | audio.c | 52 struct snd_pcm_substream *sub) in activate_substream() 56 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in activate_substream() 57 cdev->sub_playback[sub->number] = sub; in activate_substream() 59 cdev->sub_capture[sub->number] = sub; in activate_substream() 66 struct snd_pcm_substream *sub) in deactivate_substream() 71 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in deactivate_substream() 72 cdev->sub_playback[sub->number] = NULL; in deactivate_substream() 74 cdev->sub_capture[sub in deactivate_substream() 51 activate_substream(struct snd_usb_caiaqdev *cdev, struct snd_pcm_substream *sub) activate_substream() argument 65 deactivate_substream(struct snd_usb_caiaqdev *cdev, struct snd_pcm_substream *sub) deactivate_substream() argument 170 snd_usb_caiaq_pcm_hw_free(struct snd_pcm_substream *sub) snd_usb_caiaq_pcm_hw_free() argument 271 snd_usb_caiaq_pcm_trigger(struct snd_pcm_substream *sub, int cmd) snd_usb_caiaq_pcm_trigger() argument 295 snd_usb_caiaq_pcm_pointer(struct snd_pcm_substream *sub) snd_usb_caiaq_pcm_pointer() argument 334 struct snd_pcm_substream *sub; check_for_elapsed_periods() local 358 struct snd_pcm_substream *sub; read_in_urb_mode0() local 387 struct snd_pcm_substream *sub; read_in_urb_mode2() local 442 struct snd_pcm_substream *sub = cdev->sub_capture[stream]; read_in_urb_mode3() local 521 struct snd_pcm_substream *sub; fill_out_urb_mode_0() local 559 struct snd_pcm_substream *sub = cdev->sub_playback[stream]; fill_out_urb_mode_3() local [all...] |
/kernel/linux/linux-6.6/sound/usb/caiaq/ |
H A D | audio.c | 52 struct snd_pcm_substream *sub) in activate_substream() 56 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in activate_substream() 57 cdev->sub_playback[sub->number] = sub; in activate_substream() 59 cdev->sub_capture[sub->number] = sub; in activate_substream() 66 struct snd_pcm_substream *sub) in deactivate_substream() 71 if (sub->stream == SNDRV_PCM_STREAM_PLAYBACK) in deactivate_substream() 72 cdev->sub_playback[sub->number] = NULL; in deactivate_substream() 74 cdev->sub_capture[sub in deactivate_substream() 51 activate_substream(struct snd_usb_caiaqdev *cdev, struct snd_pcm_substream *sub) activate_substream() argument 65 deactivate_substream(struct snd_usb_caiaqdev *cdev, struct snd_pcm_substream *sub) deactivate_substream() argument 170 snd_usb_caiaq_pcm_hw_free(struct snd_pcm_substream *sub) snd_usb_caiaq_pcm_hw_free() argument 271 snd_usb_caiaq_pcm_trigger(struct snd_pcm_substream *sub, int cmd) snd_usb_caiaq_pcm_trigger() argument 295 snd_usb_caiaq_pcm_pointer(struct snd_pcm_substream *sub) snd_usb_caiaq_pcm_pointer() argument 334 struct snd_pcm_substream *sub; check_for_elapsed_periods() local 358 struct snd_pcm_substream *sub; read_in_urb_mode0() local 387 struct snd_pcm_substream *sub; read_in_urb_mode2() local 442 struct snd_pcm_substream *sub = cdev->sub_capture[stream]; read_in_urb_mode3() local 521 struct snd_pcm_substream *sub; fill_out_urb_mode_0() local 559 struct snd_pcm_substream *sub = cdev->sub_playback[stream]; fill_out_urb_mode_3() local [all...] |
/kernel/linux/linux-5.10/arch/ia64/lib/ |
H A D | copy_user.S | 160 sub t1=8,src2 164 sub len1=len,t1 // set len1 166 sub lshift=64,rshift 172 sub t1=dst2,src2 175 (p14) sub word1=8,src2 // (8 - src offset) 176 (p15) sub t1=r0,t1 // absolute value 177 (p15) sub word1=8,dst2 // (8 - dst offset) 181 sub t2=8,t1 182 (p14) sub word1=word1,t1 184 sub len [all...] |