Home
last modified time | relevance | path

Searched refs:soc_data (Results 1 – 23 of 23) sorted by relevance

/sound/soc/tegra/
A Dtegra210_i2s.c311 i2s->tx_mask = (tx_mask > i2s->soc_data->slot_mask) ? in tegra210_i2s_set_tdm_slot()
312 i2s->soc_data->slot_mask : tx_mask; in tegra210_i2s_set_tdm_slot()
313 i2s->rx_mask = (rx_mask > i2s->soc_data->slot_mask) ? in tegra210_i2s_set_tdm_slot()
314 i2s->soc_data->slot_mask : rx_mask; in tegra210_i2s_set_tdm_slot()
380 i2s->soc_data->fsync_width_mask, in tegra210_i2s_put_fsync_width()
381 i2s->fsync_width << i2s->soc_data->fsync_width_shift); in tegra210_i2s_put_fsync_width()
718 if (i2s->soc_data->max_ch == TEGRA264_I2S_MAX_CHANNEL) in tegra210_i2s_hw_params()
1061 i2s->soc_data = of_device_get_match_data(&pdev->dev); in tegra210_i2s_probe()
1063 i2s->tx_mask = i2s->soc_data->slot_mask; in tegra210_i2s_probe()
1064 i2s->rx_mask = i2s->soc_data->slot_mask; in tegra210_i2s_probe()
[all …]
A Dtegra210_adx.c53 adx->soc_data->cya_offset, in tegra210_adx_write_map_ram()
58 for (i = 0; i < adx->soc_data->ram_depth; i++) in tegra210_adx_write_map_ram()
60 adx->soc_data->cya_offset, in tegra210_adx_write_map_ram()
63 for (i = 0; i < adx->soc_data->byte_mask_size; i++) in tegra210_adx_write_map_ram()
160 if (adx->soc_data->max_ch == 32) in tegra210_adx_set_audio_cif()
497 if (adx->soc_data->num_controls) { in tegra210_adx_component_probe()
499 adx->soc_data->num_controls); in tegra210_adx_component_probe()
674 struct tegra210_adx_soc_data *soc_data; in tegra210_adx_platform_probe() local
684 adx->soc_data = soc_data; in tegra210_adx_platform_probe()
693 soc_data->regmap_conf); in tegra210_adx_platform_probe()
[all …]
A Dtegra210_admaif.c122 unsigned int num_ch = admaif->soc_data->num_ch; in tegra_admaif_wr_reg()
123 unsigned int rx_base = admaif->soc_data->rx_base; in tegra_admaif_wr_reg()
124 unsigned int tx_base = admaif->soc_data->tx_base; in tegra_admaif_wr_reg()
156 unsigned int num_ch = admaif->soc_data->num_ch; in tegra_admaif_rd_reg()
200 unsigned int num_ch = admaif->soc_data->num_ch; in tegra_admaif_volatile_reg()
924 admaif->soc_data->num_ch, in tegra_admaif_probe()
932 admaif->soc_data->num_ch, in tegra_admaif_probe()
957 admaif->soc_data->regmap_conf); in tegra_admaif_probe()
1006 admaif->soc_data->cmpnt, in tegra_admaif_probe()
1007 admaif->soc_data->dais, in tegra_admaif_probe()
[all …]
A Dtegra210_amx.c70 for (i = 0; i < amx->soc_data->ram_depth; i++) in tegra210_amx_write_map_ram()
74 for (i = 0; i < amx->soc_data->byte_mask_size; i++) in tegra210_amx_write_map_ram()
174 if (amx->soc_data->max_ch == TEGRA264_AMX_MAX_CHANNEL) in tegra210_amx_set_audio_cif()
188 if (amx->soc_data->auto_disable) { in tegra210_amx_in_hw_params()
191 amx->soc_data->reg_offset), in tegra210_amx_in_hw_params()
508 if (amx->soc_data->num_controls) { in tegra210_amx_component_probe()
510 amx->soc_data->num_controls); in tegra210_amx_component_probe()
733 amx->soc_data = device_get_match_data(dev); in tegra210_amx_platform_probe()
742 amx->soc_data->regmap_conf); in tegra210_amx_platform_probe()
756 amx->soc_data->byte_mask_size * sizeof(*amx->byte_mask), in tegra210_amx_platform_probe()
[all …]
A Dtegra30_ahub.c149 ahub->soc_data->set_audio_cif(ahub->regmap_apbif, reg, &cif_conf); in tegra30_ahub_allocate_rx_fifo()
251 ahub->soc_data->set_audio_cif(ahub->regmap_apbif, reg, &cif_conf); in tegra30_ahub_allocate_tx_fifo()
515 const struct tegra30_ahub_soc_data *soc_data; in tegra30_ahub_probe() local
520 soc_data = of_device_get_match_data(&pdev->dev); in tegra30_ahub_probe()
521 if (!soc_data) in tegra30_ahub_probe()
533 ahub->nresets = soc_data->num_resets; in tegra30_ahub_probe()
534 ahub->soc_data = soc_data; in tegra30_ahub_probe()
A Dtegra30_i2s.c199 i2s->soc_data->set_audio_cif(i2s->regmap, reg, &cif_conf); in tegra30_i2s_hw_params()
409 const struct tegra30_i2s_soc_data *soc_data; in tegra30_i2s_platform_probe() local
421 soc_data = of_device_get_match_data(&pdev->dev); in tegra30_i2s_platform_probe()
422 if (!soc_data) { in tegra30_i2s_platform_probe()
427 i2s->soc_data = soc_data; in tegra30_i2s_platform_probe()
A Dtegra_isomgr_bw.c100 adma_isomgr->max_pcm_device = admaif->soc_data->num_ch; in tegra_isomgr_adma_register()
102 admaif->soc_data->max_stream_ch * adma_isomgr->max_pcm_device; in tegra_isomgr_adma_register()
A Dtegra210_ahub.c29 for (i = 0; i < ahub->soc_data->reg_count; i++) { in tegra_ahub_get_value_enum()
32 reg = e->reg + (ahub->soc_data->xbar_part_size * i); in tegra_ahub_get_value_enum()
34 reg_val &= ahub->soc_data->mask[i]; in tegra_ahub_get_value_enum()
82 for (i = 0; i < ahub->soc_data->reg_count; i++) { in tegra_ahub_put_value_enum()
85 update[i].mask = ahub->soc_data->mask[i]; in tegra_ahub_put_value_enum()
2201 ahub->soc_data = of_device_get_match_data(&pdev->dev); in tegra_ahub_probe()
2202 if (!ahub->soc_data) in tegra_ahub_probe()
2218 ahub->soc_data->regmap_config); in tegra_ahub_probe()
2227 ahub->soc_data->cmpnt_drv, in tegra_ahub_probe()
2228 ahub->soc_data->dai_drv, in tegra_ahub_probe()
[all …]
A Dtegra210_adx.h93 const struct tegra210_adx_soc_data *soc_data; member
A Dtegra210_amx.h107 const struct tegra210_amx_soc_data *soc_data; member
A Dtegra186_asrc.h111 const struct tegra_asrc_soc_data *soc_data; member
A Dtegra210_i2s.h161 const struct tegra_i2s_soc_data *soc_data; member
A Dtegra210_ahub.h166 const struct tegra_ahub_soc_data *soc_data; member
A Dtegra210_admaif.h234 const struct tegra_admaif_soc_data *soc_data; member
A Dtegra30_i2s.h224 const struct tegra30_i2s_soc_data *soc_data; member
A Dtegra30_ahub.h512 const struct tegra30_ahub_soc_data *soc_data; member
A Dtegra186_asrc.c101 asrc->soc_data->aram_start_addr); in tegra186_asrc_runtime_resume()
996 asrc->soc_data = of_device_get_match_data(&pdev->dev); in tegra186_asrc_platform_probe()
/sound/soc/fsl/
A Dfsl_sai.c89 unsigned int ofs = sai->soc_data->reg_offset; in fsl_sai_isr()
465 id = sai->soc_data->mclk0_is_mclk1 ? 1 : 0; in fsl_sai_set_bclk()
915 if (sai->soc_data->use_edma) in fsl_sai_startup()
1354 soc_dl = BIT(sai->soc_data->pins) - 1; in fsl_sai_read_dlcfg()
1356 cfg[0].pins[0] = sai->soc_data->pins; in fsl_sai_read_dlcfg()
1361 cfg[0].pins[1] = sai->soc_data->pins; in fsl_sai_read_dlcfg()
1439 if (sai->soc_data->reg_offset == 8) { in fsl_sai_probe()
1473 if (sai->soc_data->mclk0_is_mclk1) in fsl_sai_probe()
1560 sai->soc_data->max_burst[RX] ? sai->soc_data->max_burst[RX] : FSL_SAI_MAXBURST_RX; in fsl_sai_probe()
1562 sai->soc_data->max_burst[TX] ? sai->soc_data->max_burst[TX] : FSL_SAI_MAXBURST_TX; in fsl_sai_probe()
[all …]
A Dfsl_xcvr.c338 if (!xcvr->soc_data->use_phy) in fsl_xcvr_en_phy_pll()
465 if (!xcvr->soc_data->use_phy) in fsl_xcvr_en_aud_pll()
637 if (xcvr->soc_data->use_edma) in fsl_xcvr_startup()
1029 if (xcvr->soc_data->spdif_only) in fsl_xcvr_dai_probe()
1132 if (!xcvr->soc_data->use_phy) in fsl_xcvr_readable_reg()
1205 if (!xcvr->soc_data->use_phy) in fsl_xcvr_writeable_reg()
1602 if (xcvr->soc_data->use_phy) { in fsl_xcvr_probe()
1669 if (xcvr->soc_data->use_phy) { in fsl_xcvr_probe()
1722 if (xcvr->soc_data->use_phy) { in fsl_xcvr_runtime_suspend()
1785 if (xcvr->soc_data->use_phy) { in fsl_xcvr_runtime_resume()
[all …]
A Dfsl_rpmsg.c213 rpmsg->soc_data = of_device_get_match_data(&pdev->dev); in fsl_rpmsg_probe()
215 if (rpmsg->soc_data) { in fsl_rpmsg_probe()
216 dai_drv->playback.rates = rpmsg->soc_data->rates; in fsl_rpmsg_probe()
217 dai_drv->capture.rates = rpmsg->soc_data->rates; in fsl_rpmsg_probe()
218 dai_drv->playback.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe()
219 dai_drv->capture.formats = rpmsg->soc_data->formats; in fsl_rpmsg_probe()
A Dfsl_rpmsg.h41 const struct fsl_rpmsg_soc_data *soc_data; member
A Dfsl_sai.h303 const struct fsl_sai_soc_data *soc_data; member
/sound/soc/rockchip/
A Drockchip_i2s_tdm.c59 const struct rk_i2s_soc_data *soc_data; member
575 val <<= i2s_tdm->soc_data->grf_shift; in rockchip_i2s_io_multiplex()
576 val |= (I2S_IO_DIRECTION_MASK << i2s_tdm->soc_data->grf_shift) << 16; in rockchip_i2s_io_multiplex()
577 regmap_write(i2s_tdm->grf, i2s_tdm->soc_data->grf_reg_offset, val); in rockchip_i2s_io_multiplex()
932 const struct txrx_config *configs = i2s_tdm->soc_data->configs; in common_soc_init()
945 for (i = 0; i < i2s_tdm->soc_data->config_count; i++) { in common_soc_init()
1237 i2s_tdm->soc_data = device_get_match_data(&pdev->dev); in rockchip_i2s_tdm_probe()
1354 if (i2s_tdm->soc_data && i2s_tdm->soc_data->init) in rockchip_i2s_tdm_probe()
1355 i2s_tdm->soc_data->init(&pdev->dev, res->start); in rockchip_i2s_tdm_probe()

Completed in 66 milliseconds