Home
last modified time | relevance | path

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

/linux-5.19.10/sound/pci/hda/
Dcs35l41_hda.c61 if (cs35l41->hw_cfg.bst_type == CS35L41_EXT_BOOST) in cs35l41_hda_playback_hook()
65 ret = cs35l41_global_enable(reg, cs35l41->hw_cfg.bst_type, 1); in cs35l41_hda_playback_hook()
69 ret = cs35l41_global_enable(reg, cs35l41->hw_cfg.bst_type, 0); in cs35l41_hda_playback_hook()
74 if (cs35l41->hw_cfg.bst_type == CS35L41_EXT_BOOST) in cs35l41_hda_playback_hook()
230 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in cs35l41_hda_apply_properties() local
236 if (!cs35l41->hw_cfg.valid) in cs35l41_hda_apply_properties()
239 ret = cs35l41_init_boost(cs35l41->dev, cs35l41->regmap, hw_cfg); in cs35l41_hda_apply_properties()
243 if (hw_cfg->gpio1.valid) { in cs35l41_hda_apply_properties()
244 switch (hw_cfg->gpio1.func) { in cs35l41_hda_apply_properties()
248 hw_cfg->gpio1.func = CS35L41_GPIO1_GPIO; in cs35l41_hda_apply_properties()
[all …]
Dcs35l41_hda.h34 struct cs35l41_hw_cfg hw_cfg; member
/linux-5.19.10/sound/soc/codecs/
Dcs35l41.c522 cs35l41_global_enable(cs35l41->regmap, cs35l41->hw_cfg.bst_type, 1); in cs35l41_main_amp_event()
525 cs35l41_global_enable(cs35l41->regmap, cs35l41->hw_cfg.bst_type, 0); in cs35l41_main_amp_event()
926 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in cs35l41_set_pdata() local
929 if (!hw_cfg->valid) in cs35l41_set_pdata()
932 if (hw_cfg->bst_type == CS35L41_EXT_BOOST_NO_VSPK_SWITCH) in cs35l41_set_pdata()
936 ret = cs35l41_init_boost(cs35l41->dev, cs35l41->regmap, hw_cfg); in cs35l41_set_pdata()
941 if (hw_cfg->dout_hiz <= CS35L41_ASP_DOUT_HIZ_MASK && hw_cfg->dout_hiz >= 0) in cs35l41_set_pdata()
943 hw_cfg->dout_hiz); in cs35l41_set_pdata()
962 if (cs35l41->hw_cfg.bst_type == CS35L41_EXT_BOOST) { in cs35l41_component_probe()
1032 static int cs35l41_handle_pdata(struct device *dev, struct cs35l41_hw_cfg *hw_cfg) in cs35l41_handle_pdata() argument
[all …]
Dcs35l41.h29 struct cs35l41_hw_cfg hw_cfg; member
38 int cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg *hw_cfg);
Dcs35l41-i2c.c36 struct cs35l41_hw_cfg *hw_cfg = dev_get_platdata(dev); in cs35l41_i2c_probe() local
56 return cs35l41_probe(cs35l41, hw_cfg); in cs35l41_i2c_probe()
Dcs35l41-spi.c33 struct cs35l41_hw_cfg *hw_cfg = dev_get_platdata(&spi->dev); in cs35l41_spi_probe() local
55 return cs35l41_probe(cs35l41, hw_cfg); in cs35l41_spi_probe()
Dcs35l41-lib.c1118 struct cs35l41_hw_cfg *hw_cfg) in cs35l41_init_boost() argument
1122 switch (hw_cfg->bst_type) { in cs35l41_init_boost()
1124 ret = cs35l41_boost_config(dev, regmap, hw_cfg->bst_ind, in cs35l41_init_boost()
1125 hw_cfg->bst_cap, hw_cfg->bst_ipk); in cs35l41_init_boost()
1142 dev_err(dev, "Boost type %d not supported\n", hw_cfg->bst_type); in cs35l41_init_boost()
1196 int cs35l41_gpio_config(struct regmap *regmap, struct cs35l41_hw_cfg *hw_cfg) in cs35l41_gpio_config() argument
1198 struct cs35l41_gpio_cfg *gpio1 = &hw_cfg->gpio1; in cs35l41_gpio_config()
1199 struct cs35l41_gpio_cfg *gpio2 = &hw_cfg->gpio2; in cs35l41_gpio_config()
/linux-5.19.10/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_kms.c336 static int get_dsi_id_from_intf(const struct mdp5_cfg_hw *hw_cfg, int intf_num) in get_dsi_id_from_intf() argument
338 const enum mdp5_intf_type *intfs = hw_cfg->intf.connect; in get_dsi_id_from_intf()
339 const int intf_cnt = ARRAY_SIZE(hw_cfg->intf.connect); in get_dsi_id_from_intf()
388 const struct mdp5_cfg_hw *hw_cfg = in modeset_init_intf() local
390 int dsi_id = get_dsi_id_from_intf(hw_cfg, intf->num); in modeset_init_intf()
714 const struct mdp5_cfg_hw *hw_cfg; in hwpipe_init() local
717 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in hwpipe_init()
720 ret = construct_pipes(mdp5_kms, hw_cfg->pipe_rgb.count, rgb_planes, in hwpipe_init()
721 hw_cfg->pipe_rgb.base, hw_cfg->pipe_rgb.caps); in hwpipe_init()
726 ret = construct_pipes(mdp5_kms, hw_cfg->pipe_vig.count, vig_planes, in hwpipe_init()
[all …]
Dmdp5_ctl.c693 const struct mdp5_cfg_hw *hw_cfg = mdp5_cfg_get_hw_config(cfg_hnd); in mdp5_ctlm_init() local
696 const struct mdp5_ctl_block *ctl_cfg = &hw_cfg->ctl; in mdp5_ctlm_init()
716 ctl_mgr->nlm = hw_cfg->lm.count; in mdp5_ctlm_init()
745 for (c = 0; c < ARRAY_SIZE(hw_cfg->intf.connect); c++) in mdp5_ctlm_init()
746 if (hw_cfg->intf.connect[c] == INTF_DSI) in mdp5_ctlm_init()
Dmdp5_crtc.c705 const struct mdp5_cfg_hw *hw_cfg; in mdp5_crtc_atomic_check() local
745 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in mdp5_crtc_atomic_check()
751 if (mode->hdisplay > hw_cfg->lm.max_width) in mdp5_crtc_atomic_check()
772 if ((cnt + start - 1) >= hw_cfg->lm.nb_stages) { in mdp5_crtc_atomic_check()
780 pstates[i].state->stage = hw_cfg->lm.nb_stages; in mdp5_crtc_atomic_check()
/linux-5.19.10/sound/soc/qcom/qdsp6/
Daudioreach.c630 struct apm_module_hw_ep_mf_cfg *hw_cfg; in audioreach_codec_dma_set_media_format() local
650 hw_cfg = p; in audioreach_codec_dma_set_media_format()
651 param_data = &hw_cfg->param_data; in audioreach_codec_dma_set_media_format()
657 hw_cfg->mf.sample_rate = cfg->sample_rate; in audioreach_codec_dma_set_media_format()
658 hw_cfg->mf.bit_width = cfg->bit_width; in audioreach_codec_dma_set_media_format()
659 hw_cfg->mf.num_channels = cfg->num_channels; in audioreach_codec_dma_set_media_format()
660 hw_cfg->mf.data_format = module->data_format; in audioreach_codec_dma_set_media_format()
706 struct apm_module_hw_ep_mf_cfg *hw_cfg; in audioreach_i2s_set_media_format() local
747 hw_cfg = p; in audioreach_i2s_set_media_format()
748 param_data = &hw_cfg->param_data; in audioreach_i2s_set_media_format()
[all …]
/linux-5.19.10/sound/soc/intel/avs/
Ddsp.c157 if (core_id >= adev->hw_cfg.dsp_cores) { in avs_dsp_get_core()
198 if (core_id >= adev->hw_cfg.dsp_cores) { in avs_dsp_put_core()
Davs.h122 struct avs_hw_cfg hw_cfg; member
328 ((adev)->fw_cfg.trace_log_bytes / (adev)->hw_cfg.dsp_cores)
Dboard_selection.c326 num_ssps = adev->hw_cfg.i2s_caps.ctrl_count; in avs_register_i2s_board()
375 num_ssps = adev->hw_cfg.i2s_caps.ctrl_count; in avs_register_i2s_boards()
Dskl.c19 u32 size, num_cores = adev->hw_cfg.dsp_cores; in skl_enable_logs()
Dapl.c20 u32 size, num_cores = adev->hw_cfg.dsp_cores; in apl_enable_logs()
Dcore.c380 adev->hw_cfg.dsp_cores = hweight_long(AVS_MAIN_CORE_MASK); in avs_bus_init()
513 avs_dsp_core_disable(adev, GENMASK(adev->hw_cfg.dsp_cores - 1, 0)); in avs_pci_remove()
Dloader.c661 ret = avs_ipc_get_hw_config(adev, &adev->hw_cfg); in avs_dsp_first_boot_firmware()
673 adev->core_refs = devm_kcalloc(adev->dev, adev->hw_cfg.dsp_cores, in avs_dsp_first_boot_firmware()
Dipc.c133 core_mask = GENMASK(adev->hw_cfg.dsp_cores - 1, 0); in avs_dsp_recovery()
Dpcm.c934 ssp_count = adev->hw_cfg.i2s_caps.ctrl_count; in avs_i2s_platform_register()
/linux-5.19.10/include/sound/
Dcs35l41.h879 int cs35l41_gpio_config(struct regmap *regmap, struct cs35l41_hw_cfg *hw_cfg);
885 struct cs35l41_hw_cfg *hw_cfg);
/linux-5.19.10/drivers/net/ethernet/atheros/alx/
Dhw.c853 u32 cfg, hw_cfg; in alx_phy_configured() local
857 hw_cfg = alx_get_phy_config(hw); in alx_phy_configured()
859 if (hw_cfg == ALX_DRV_PHY_UNKNOWN) in alx_phy_configured()
862 return cfg == hw_cfg; in alx_phy_configured()
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_debugfs.c2281 u32 hw_cfg; in hclge_dbg_dump_ptp_info() local
2312 ret = hclge_ptp_cfg_qry(hdev, &hw_cfg); in hclge_dbg_dump_ptp_info()
2317 sw_cfg, hw_cfg); in hclge_dbg_dump_ptp_info()