Home
last modified time | relevance | path

Searched refs:stream_cnt (Results 1 – 24 of 24) sorted by relevance

/OK3568_Linux_fs/kernel/sound/xen/
H A Dxen_snd_front_cfg.c334 int *stream_cnt) in cfg_stream() argument
367 stream->index = (*stream_cnt)++; in cfg_stream()
386 const char *path, int node_index, int *stream_cnt) in cfg_device() argument
464 &cur_pb, &cur_cap, stream_cnt); in cfg_device()
476 int *stream_cnt) in xen_snd_front_cfg_card() argument
483 *stream_cnt = 0; in xen_snd_front_cfg_card()
512 &cfg->pcm_hw, xb_dev->nodename, i, stream_cnt); in xen_snd_front_cfg_card()
H A Dxen_snd_front_cfg.h44 int *stream_cnt);
/OK3568_Linux_fs/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-samsung-dcphy.h25 atomic_t stream_cnt; member
H A Dphy-rockchip-csi2-dphy-common.h123 atomic_t stream_cnt; member
H A Dphy-rockchip-csi2-dphy-hw.c843 atomic_inc(&hw->stream_cnt); in csi2_dphy_hw_stream_on()
855 if (atomic_dec_return(&hw->stream_cnt)) in csi2_dphy_hw_stream_off()
1053 atomic_set(&dphy_hw->stream_cnt, 0); in rockchip_csi2_dphy_hw_probe()
H A Dphy-rockchip-samsung-dcphy.c1747 if (atomic_read(&samsung->stream_cnt)) { in samsung_mipi_dcphy_power_on()
2223 atomic_inc(&samsung->stream_cnt); in samsung_dcphy_rx_stream_on()
2249 if (atomic_dec_return(&samsung->stream_cnt)) in samsung_dcphy_rx_stream_off()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/cif/
H A Dsubdev-itf.h82 atomic_t stream_cnt; member
H A Ddev.c1106 if ((on && atomic_inc_return(&p->stream_cnt) > 1) || in rkcif_pipeline_set_stream()
1107 (!on && atomic_dec_return(&p->stream_cnt) > 0)) in rkcif_pipeline_set_stream()
1172 if (!on && atomic_dec_return(&p->stream_cnt) > 0) in rkcif_pipeline_set_stream()
1176 atomic_inc(&p->stream_cnt); in rkcif_pipeline_set_stream()
1178 if (atomic_read(&p->stream_cnt) == 1) { in rkcif_pipeline_set_stream()
1181 } else if (atomic_read(&p->stream_cnt) == 2) { in rkcif_pipeline_set_stream()
1185 if (atomic_read(&p->stream_cnt) == 1) { in rkcif_pipeline_set_stream()
1188 } else if (atomic_read(&p->stream_cnt) == 3) { in rkcif_pipeline_set_stream()
1928 atomic_set(&cif_dev->pipe.stream_cnt, 0); in rkcif_plat_init()
H A Ddev.h175 atomic_t stream_cnt; member
822 atomic_t stream_cnt; member
H A Dsubdev-itf.c701 if (!on && atomic_dec_return(&priv->stream_cnt)) in sditf_s_stream()
704 if (on && atomic_inc_return(&priv->stream_cnt) > 1) in sditf_s_stream()
1170 atomic_set(&priv->stream_cnt, 0); in rkcif_subdev_media_init()
H A Dprocfs.c256 if (atomic_read(&pipe->stream_cnt) < 1) in rkcif_show_format()
H A Dhw.c1497 if (atomic_read(&cif_dev->pipe.stream_cnt)) { in rkcif_hw_shutdown()
H A Dcapture.c4192 if (atomic_read(&cif_dev->pipe.stream_cnt) == 1) { in rkcif_stream_stop()
4875 (atomic_read(&cif_dev->pipe.stream_cnt) != 0)) in rkcif_detach_sync_mode()
5050 if (atomic_read(&hw_dev->cif_dev[i]->pipe.stream_cnt) != 0) { in rkcif_do_stop_stream()
5816 if (atomic_read(&dev->pipe.stream_cnt) <= 1) in rkcif_stream_start()
6151 if (atomic_read(&dev->pipe.stream_cnt) == 0 && in rkcif_do_start_stream()
/OK3568_Linux_fs/kernel/tools/perf/util/
H A Ddata-convert-bt.c62 int stream_cnt; member
767 if (cpu > cw->stream_cnt) { in get_sample_cpu()
769 cpu, cw->stream_cnt); in get_sample_cpu()
1349 cw->stream_cnt = ncpus; in setup_streams()
1357 for (cpu = 0; cpu < cw->stream_cnt; cpu++) in free_streams()
1579 for (cpu = 0; cpu < cw->stream_cnt && !ret; cpu++) in ctf_writer__flush_streams()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp1/
H A Ddev.h102 atomic_t stream_cnt; member
H A Ddev.c251 if ((on && atomic_inc_return(&p->stream_cnt) > 1) || in rkisp1_pipeline_set_stream()
252 (!on && atomic_dec_return(&p->stream_cnt) > 0)) in rkisp1_pipeline_set_stream()
1052 atomic_set(&isp_dev->pipe.stream_cnt, 0);
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/
H A Ddev.c316 if ((on && atomic_inc_return(&p->stream_cnt) > 1) || in rkisp_pipeline_set_stream()
317 (!on && atomic_dec_return(&p->stream_cnt) > 0)) in rkisp_pipeline_set_stream()
364 atomic_dec_return(&p->stream_cnt); in rkisp_pipeline_set_stream()
872 atomic_set(&isp_dev->pipe.stream_cnt, 0); in rkisp_plat_probe()
H A Ddev.h119 atomic_t stream_cnt; member
/OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/
H A Dvehicle-csi2-dphy-common.h373 atomic_t stream_cnt; member
H A Dvehicle_samsung_dcphy_common.h27 atomic_t stream_cnt; member
H A Dvehicle_cif.c1753 atomic_inc(&hw->stream_cnt); in vehicle_csi2_dphy_stream_start()
2030 atomic_inc(&hw->stream_cnt); in vehicle_csi2_dcphy_stream_start()
2049 if (atomic_dec_return(&hw->stream_cnt)) in vehicle_csi2_dcphy_stream_stop()
/OK3568_Linux_fs/kernel/sound/soc/intel/atom/sst/
H A Dsst_drv_interface.c182 ctx->stream_cnt++; in sst_open_pcm_stream()
471 ctx->stream_cnt--; in sst_close_pcm_stream()
H A Dsst.h393 unsigned int stream_cnt; member
H A Dsst.c285 ctx->stream_cnt = 0; in sst_context_init()