/third_party/ffmpeg/tests/fate/ |
H A D | subtitles.mak | 1 FATE_SUBTITLES_ASS-$(call ALLYES, AQTITLE_DEMUXER TEXT_DECODER ICONV) += fate-sub-aqtitle 2 fate-sub-aqtitle: CMD = fmtstdout ass -sub_charenc windows-1250 -i $(TARGET_SAMPLES)/sub/AQTitle_capability_tester.aqt 4 FATE_SUBTITLES_ASS-$(call ALLYES, AVDEVICE LAVFI_INDEV CCAPTION_DECODER MOVIE_FILTER MPEGTS_DEMUXER) += fate-sub-cc 5 fate-sub-cc: CMD = fmtstdout ass -f lavfi -i "movie=$(TARGET_SAMPLES)/sub/Closedcaption_rollup.m2v[out0+subcc]" 7 FATE_SUBTITLES_ASS-$(call ALLYES, AVDEVICE LAVFI_INDEV CCAPTION_DECODER MOVIE_FILTER MPEGTS_DEMUXER) += fate-sub-cc-realtime 8 fate-sub-cc-realtime: CMD = fmtstdout ass -real_time 1 -f lavfi -i "movie=$(TARGET_SAMPLES)/sub/Closedcaption_rollup.m2v[out0+subcc]" 10 FATE_SUBTITLES_ASS-$(call ALLYES, AVDEVICE LAVFI_INDEV CCAPTION_DECODER MOVIE_FILTER MPEGTS_DEMUXER) += fate-sub [all...] |
/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...] |
/third_party/node/deps/v8/tools/torque/ |
H A D | format-torque.py | 29 input = re.sub(r'%([A-Za-z])', kPercentEscape + r'\1', input) 32 input = re.sub(r'([^/])\*([a-zA-Z(])', r'\1' + kDerefEscape + r'\2', input) 33 input = re.sub(r'&([a-zA-Z(])', kAddressofEscape + r'\1', input) 36 input = re.sub(r'(if\s+)constexpr(\s*\()', r'\1/*COxp*/\2', input) 37 input = re.sub(r'(\s+)operator\s*(\'[^\']+\')', r'\1/*_OPE \2*/', input) 38 input = re.sub(r'\btypeswitch\s*(\([^{]*\))\s{', r' if /*tPsW*/ \1 {', input) 39 input = re.sub(r'\bcase\s*(\([^{]*\))\s*:\s*deferred\s*{', r' if /*cAsEdEfF*/ \1 {', input) 40 input = re.sub(r'\bcase\s*(\([^{]*\))\s*:\s*{', r' if /*cA*/ \1 {', input) 42 input = re.sub(r'\bgenerates\s+\'([^\']+)\'\s*', 44 input = re.sub( [all...] |
/third_party/skia/src/pathops/ |
H A D | SkPathOpsRect.cpp | 13 void SkDRect::setBounds(const SkDQuad& curve, const SkDQuad& sub, double startT, double endT) { in setBounds() argument 14 set(sub[0]); in setBounds() 15 add(sub[2]); in setBounds() 18 if (!sub.monotonicInX()) { in setBounds() 19 roots = SkDQuad::FindExtrema(&sub[0].fX, tValues); in setBounds() 21 if (!sub.monotonicInY()) { in setBounds() 22 roots += SkDQuad::FindExtrema(&sub[0].fY, &tValues[roots]); in setBounds() 30 void SkDRect::setBounds(const SkDConic& curve, const SkDConic& sub, double startT, double endT) { in setBounds() argument 31 set(sub[0]); in setBounds() 32 add(sub[ in setBounds() 47 setBounds(const SkDCubic& curve, const SkDCubic& sub, double startT, double endT) setBounds() argument [all...] |
/third_party/pulseaudio/src/modules/ |
H A D | module-rygel-media-server.c | 271 DBusMessageIter _iter, sub; in append_variant_string() local 281 pa_assert_se(dbus_message_iter_open_container(iter, DBUS_TYPE_VARIANT, "s", &sub)); in append_variant_string() 282 pa_assert_se(dbus_message_iter_append_basic(&sub, DBUS_TYPE_STRING, &s)); in append_variant_string() 283 pa_assert_se(dbus_message_iter_close_container(iter, &sub)); in append_variant_string() 287 DBusMessageIter _iter, sub; in append_variant_object() local 297 pa_assert_se(dbus_message_iter_open_container(iter, DBUS_TYPE_VARIANT, "o", &sub)); in append_variant_object() 298 pa_assert_se(dbus_message_iter_append_basic(&sub, DBUS_TYPE_OBJECT_PATH, &s)); in append_variant_object() 299 pa_assert_se(dbus_message_iter_close_container(iter, &sub)); in append_variant_object() 303 DBusMessageIter _iter, sub; in append_variant_unsigned() local 312 pa_assert_se(dbus_message_iter_open_container(iter, DBUS_TYPE_VARIANT, "u", &sub)); in append_variant_unsigned() 318 DBusMessageIter _iter, sub; append_variant_boolean() local 333 DBusMessageIter _iter, sub, array; append_variant_urls() local 382 DBusMessageIter sub; append_property_dict_entry_object_array() local 393 DBusMessageIter sub; append_property_dict_entry_string() local 404 DBusMessageIter sub; append_property_dict_entry_object() local 415 DBusMessageIter sub; append_property_dict_entry_unsigned() local 426 DBusMessageIter sub; append_property_dict_entry_boolean() local 437 DBusMessageIter sub; append_property_dict_entry_urls() local 449 DBusMessageIter sub; append_property_dict_entry_mime_type() local 461 DBusMessageIter sub; append_property_dict_entry_item_display_name() local 500 append_sink_or_source_container_mediaobject2_properties(DBusMessage *r, DBusMessageIter *sub, const char *path) append_sink_or_source_container_mediaobject2_properties() argument 515 DBusMessageIter sub; append_sink_or_source_container_properties() local 559 append_sink_or_source_item_mediaobject2_properties(DBusMessage *r, DBusMessageIter *sub, const char *path, pa_sink *sink, pa_source *source) append_sink_or_source_item_mediaobject2_properties() argument 572 DBusMessageIter sub; append_sink_or_source_item_properties() local 644 DBusMessageIter iter, sub; root_handler() local 658 DBusMessageIter iter, sub; root_handler() local 684 DBusMessageIter iter, sub; root_handler() local 711 DBusMessageIter iter, sub; root_handler() local 805 DBusMessageIter iter, sub; sinks_and_sources_handler() local 824 DBusMessageIter iter, sub; sinks_and_sources_handler() local 878 DBusMessageIter iter, sub; sinks_and_sources_handler() local 907 DBusMessageIter iter, sub; sinks_and_sources_handler() local 978 DBusMessageIter iter, sub; sinks_and_sources_handler() local 1000 DBusMessageIter iter, sub; sinks_and_sources_handler() local [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...] |
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | packet.c | 231 * WPACKET_fill_lengths() to close a sub-packet and write out its length if 235 static int wpacket_intern_close(WPACKET *pkt, WPACKET_SUB *sub, int doclose) in wpacket_intern_close() argument 237 size_t packlen = pkt->written - sub->pwritten; in wpacket_intern_close() 240 && (sub->flags & WPACKET_FLAGS_NON_ZERO_LENGTH) != 0) in wpacket_intern_close() 244 && sub->flags & WPACKET_FLAGS_ABANDON_ON_ZERO_LENGTH) { in wpacket_intern_close() 250 if ((pkt->curr - sub->lenbytes) == sub->packet_len) { in wpacket_intern_close() 251 pkt->written -= sub->lenbytes; in wpacket_intern_close() 252 pkt->curr -= sub->lenbytes; in wpacket_intern_close() 256 sub in wpacket_intern_close() 296 WPACKET_SUB *sub; WPACKET_fill_lengths() local 343 WPACKET_SUB *sub; WPACKET_start_sub_packet_len__() local 397 WPACKET_SUB *sub; WPACKET_set_max_size() local 505 WPACKET_SUB *sub, *parent; WPACKET_cleanup() local [all...] |
/third_party/openssl/crypto/ |
H A D | packet.c | 231 * WPACKET_fill_lengths() to close a sub-packet and write out its length if 235 static int wpacket_intern_close(WPACKET *pkt, WPACKET_SUB *sub, int doclose) in wpacket_intern_close() argument 237 size_t packlen = pkt->written - sub->pwritten; in wpacket_intern_close() 240 && (sub->flags & WPACKET_FLAGS_NON_ZERO_LENGTH) != 0) in wpacket_intern_close() 244 && sub->flags & WPACKET_FLAGS_ABANDON_ON_ZERO_LENGTH) { in wpacket_intern_close() 250 if ((pkt->curr - sub->lenbytes) == sub->packet_len) { in wpacket_intern_close() 251 pkt->written -= sub->lenbytes; in wpacket_intern_close() 252 pkt->curr -= sub->lenbytes; in wpacket_intern_close() 256 sub in wpacket_intern_close() 296 WPACKET_SUB *sub; WPACKET_fill_lengths() local 343 WPACKET_SUB *sub; WPACKET_start_sub_packet_len__() local 397 WPACKET_SUB *sub; WPACKET_set_max_size() local 505 WPACKET_SUB *sub, *parent; WPACKET_cleanup() local [all...] |
/third_party/skia/third_party/externals/freetype/src/gzip/ |
H A D | infblock.c | 75 ZFREE(z, s->sub.trees.blens); in inflate_blocks_reset() 77 inflate_codes_free(s->sub.decode.codes, z); in inflate_blocks_reset() 161 s->sub.decode.codes = inflate_codes_new(bl, bd, tl, td, z); in inflate_blocks() 162 if (s->sub.decode.codes == Z_NULL) in inflate_blocks() 194 s->sub.left = (uInt)b & 0xffff; in inflate_blocks() 196 Tracev((stderr, "inflate: stored length %u\n", s->sub.left)); in inflate_blocks() 197 s->mode = s->sub.left ? STORED : (s->last ? DRY : TYPE); in inflate_blocks() 203 t = s->sub.left; in inflate_blocks() 209 if ((s->sub.left -= t) != 0) in inflate_blocks() 218 s->sub in inflate_blocks() [all...] |