/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | cs35l41_hda_property.c | 23 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in lenovo_legion_no_acpi() local 30 hw_cfg->spk_pos = cs35l41->index; in lenovo_legion_no_acpi() 31 hw_cfg->gpio2.func = CS35L41_INTERRUPT; in lenovo_legion_no_acpi() 32 hw_cfg->gpio2.valid = true; in lenovo_legion_no_acpi() 33 hw_cfg->valid = true; in lenovo_legion_no_acpi() 36 hw_cfg->bst_type = CS35L41_EXT_BOOST_NO_VSPK_SWITCH; in lenovo_legion_no_acpi() 38 hw_cfg->bst_type = CS35L41_EXT_BOOST; in lenovo_legion_no_acpi() 39 hw_cfg->gpio1.func = CS35l41_VSPK_SWITCH; in lenovo_legion_no_acpi() 40 hw_cfg in lenovo_legion_no_acpi() 55 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; hp_vision_acpi_fix() local [all...] |
H A D | cs35l41_hda.c | 561 if (cs35l41->hw_cfg.bst_type == CS35L41_EXT_BOOST) in cs35l41_hda_play_start() 573 cs35l41_global_enable(dev, reg, cs35l41->hw_cfg.bst_type, 1, in cs35l41_hda_play_done() 592 cs35l41_global_enable(dev, reg, cs35l41->hw_cfg.bst_type, 0, in cs35l41_hda_pause_start() 604 if (cs35l41->hw_cfg.bst_type == CS35L41_EXT_BOOST) in cs35l41_hda_pause_done() 735 if (cs35l41->hw_cfg.bst_type == CS35L41_EXT_BOOST) in cs35l41_ready_for_reset() 736 cs35l41_init_boost(cs35l41->dev, cs35l41->regmap, &cs35l41->hw_cfg); in cs35l41_ready_for_reset() 739 cs35l41_safe_reset(cs35l41->regmap, cs35l41->hw_cfg.bst_type); in cs35l41_ready_for_reset() 756 if (cs35l41->hw_cfg.bst_type == CS35L41_EXT_BOOST_NO_VSPK_SWITCH) { in cs35l41_system_suspend_prep() 776 if (cs35l41->hw_cfg.bst_type == CS35L41_EXT_BOOST_NO_VSPK_SWITCH) { in cs35l41_system_suspend() 812 if (cs35l41->hw_cfg in cs35l41_system_resume() 1291 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; cs35l41_hda_apply_properties() local 1418 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; cs35l41_hda_read_acpi() local [all...] |
H A D | cs35l41_hda.h | 52 struct cs35l41_hw_cfg hw_cfg; member
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | cs35l41.c | 362 switch (cs35l41->hw_cfg.bst_type) { in cs35l41_boost_enable() 471 if (cs35l41->hw_cfg.bst_type == CS35L41_SHD_BOOST_ACTV || in cs35l41_irq() 472 cs35l41->hw_cfg.bst_type == CS35L41_SHD_BOOST_PASS) { in cs35l41_irq() 522 ret = cs35l41_global_enable(cs35l41->dev, cs35l41->regmap, cs35l41->hw_cfg.bst_type, in cs35l41_main_amp_event() 526 ret = cs35l41_global_enable(cs35l41->dev, cs35l41->regmap, cs35l41->hw_cfg.bst_type, in cs35l41_main_amp_event() 919 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in cs35l41_set_pdata() local 922 if (!hw_cfg->valid) in cs35l41_set_pdata() 925 if (hw_cfg->bst_type == CS35L41_EXT_BOOST_NO_VSPK_SWITCH) in cs35l41_set_pdata() 929 ret = cs35l41_init_boost(cs35l41->dev, cs35l41->regmap, hw_cfg); in cs35l41_set_pdata() 1025 cs35l41_handle_pdata(struct device *dev, struct cs35l41_hw_cfg *hw_cfg) cs35l41_handle_pdata() argument 1174 cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg *hw_cfg) cs35l41_probe() argument [all...] |
H A D | cs35l41.h | 29 struct cs35l41_hw_cfg hw_cfg; member 38 int cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg *hw_cfg);
|
H A D | cs35l41-i2c.c | 36 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()
|
H A D | cs35l41-spi.c | 33 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()
|
H A D | cs35l41-lib.c | 1138 struct cs35l41_hw_cfg *hw_cfg) in cs35l41_init_boost() 1142 switch (hw_cfg->bst_type) { in cs35l41_init_boost() 1147 ret = cs35l41_boost_config(dev, regmap, hw_cfg->bst_ind, in cs35l41_init_boost() 1148 hw_cfg->bst_cap, hw_cfg->bst_ipk); in cs35l41_init_boost() 1169 dev_err(dev, "Boost type %d not supported\n", hw_cfg->bst_type); in cs35l41_init_boost() 1365 int cs35l41_gpio_config(struct regmap *regmap, struct cs35l41_hw_cfg *hw_cfg) in cs35l41_gpio_config() argument 1367 struct cs35l41_gpio_cfg *gpio1 = &hw_cfg->gpio1; in cs35l41_gpio_config() 1368 struct cs35l41_gpio_cfg *gpio2 = &hw_cfg->gpio2; in cs35l41_gpio_config() 1137 cs35l41_init_boost(struct device *dev, struct regmap *regmap, struct cs35l41_hw_cfg *hw_cfg) cs35l41_init_boost() argument
|
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_kms.c | 355 static int get_dsi_id_from_intf(const struct mdp5_cfg_hw *hw_cfg, int intf_num) in get_dsi_id_from_intf() argument 357 const enum mdp5_intf_type *intfs = hw_cfg->intf.connect; in get_dsi_id_from_intf() 358 const int intf_cnt = ARRAY_SIZE(hw_cfg->intf.connect); in get_dsi_id_from_intf() 422 const struct mdp5_cfg_hw *hw_cfg = in modeset_init_intf() local 424 int dsi_id = get_dsi_id_from_intf(hw_cfg, intf->num); in modeset_init_intf() 735 const struct mdp5_cfg_hw *hw_cfg; in hwpipe_init() local 738 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in hwpipe_init() 741 ret = construct_pipes(mdp5_kms, hw_cfg->pipe_rgb.count, rgb_planes, in hwpipe_init() 742 hw_cfg->pipe_rgb.base, hw_cfg in hwpipe_init() 771 const struct mdp5_cfg_hw *hw_cfg; hwmixer_init() local 797 const struct mdp5_cfg_hw *hw_cfg; interface_init() local [all...] |
H A D | mdp5_ctl.c | 684 const struct mdp5_cfg_hw *hw_cfg = mdp5_cfg_get_hw_config(cfg_hnd); in mdp5_ctlm_init() local 687 const struct mdp5_ctl_block *ctl_cfg = &hw_cfg->ctl; in mdp5_ctlm_init() 707 ctl_mgr->nlm = hw_cfg->lm.count; in mdp5_ctlm_init() 736 for (c = 0; c < ARRAY_SIZE(hw_cfg->intf.connect); c++) in mdp5_ctlm_init() 737 if (hw_cfg->intf.connect[c] == INTF_DSI) in mdp5_ctlm_init()
|
H A D | mdp5_crtc.c | 697 const struct mdp5_cfg_hw *hw_cfg; in mdp5_crtc_atomic_check() local 731 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in mdp5_crtc_atomic_check() 737 if (mode->hdisplay > hw_cfg->lm.max_width) in mdp5_crtc_atomic_check() 758 if ((cnt + start - 1) >= hw_cfg->lm.nb_stages) { in mdp5_crtc_atomic_check() 766 pstates[i].state->stage = hw_cfg->lm.nb_stages; in mdp5_crtc_atomic_check()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_kms.c | 336 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() 696 const struct mdp5_cfg_hw *hw_cfg; in hwpipe_init() local 699 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in hwpipe_init() 702 ret = construct_pipes(mdp5_kms, hw_cfg->pipe_rgb.count, rgb_planes, in hwpipe_init() 703 hw_cfg->pipe_rgb.base, hw_cfg in hwpipe_init() 732 const struct mdp5_cfg_hw *hw_cfg; hwmixer_init() local 758 const struct mdp5_cfg_hw *hw_cfg; interface_init() local [all...] |
H A D | mdp5_ctl.c | 693 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()
|
H A D | mdp5_crtc.c | 706 const struct mdp5_cfg_hw *hw_cfg; in mdp5_crtc_atomic_check() local 746 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in mdp5_crtc_atomic_check() 752 if (mode->hdisplay > hw_cfg->lm.max_width) in mdp5_crtc_atomic_check() 773 if ((cnt + start - 1) >= hw_cfg->lm.nb_stages) { in mdp5_crtc_atomic_check() 781 pstates[i].state->stage = hw_cfg->lm.nb_stages; in mdp5_crtc_atomic_check()
|
/kernel/linux/linux-6.6/sound/soc/qcom/qdsp6/ |
H A D | audioreach.c | 598 struct apm_module_hw_ep_mf_cfg *hw_cfg; in audioreach_display_port_set_media_format() local 617 hw_cfg = p; in audioreach_display_port_set_media_format() 618 param_data = &hw_cfg->param_data; in audioreach_display_port_set_media_format() 624 hw_cfg->mf.sample_rate = cfg->sample_rate; in audioreach_display_port_set_media_format() 625 hw_cfg->mf.bit_width = cfg->bit_width; in audioreach_display_port_set_media_format() 626 hw_cfg->mf.num_channels = cfg->num_channels; in audioreach_display_port_set_media_format() 627 hw_cfg->mf.data_format = module->data_format; in audioreach_display_port_set_media_format() 666 struct apm_module_hw_ep_mf_cfg *hw_cfg; in audioreach_codec_dma_set_media_format() local 686 hw_cfg = p; in audioreach_codec_dma_set_media_format() 687 param_data = &hw_cfg in audioreach_codec_dma_set_media_format() 945 struct apm_module_hw_ep_mf_cfg *hw_cfg; audioreach_i2s_set_media_format() local [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/avs/ |
H A D | dsp.c | 164 if (core_id >= adev->hw_cfg.dsp_cores) { in avs_dsp_get_core() 205 if (core_id >= adev->hw_cfg.dsp_cores) { in avs_dsp_put_core()
|
H A D | skl.c | 20 u32 size, num_cores = adev->hw_cfg.dsp_cores; in skl_enable_logs()
|
H A D | avs.h | 104 * @hw_cfg: Hardware configuration, obtained through HW_CONFIG message 120 struct avs_hw_cfg hw_cfg; member 340 ((adev)->fw_cfg.trace_log_bytes / (adev)->hw_cfg.dsp_cores)
|
H A D | board_selection.c | 391 num_ssps = adev->hw_cfg.i2s_caps.ctrl_count; in avs_register_i2s_board() 440 num_ssps = adev->hw_cfg.i2s_caps.ctrl_count; in avs_register_i2s_boards()
|
H A D | debugfs.c | 81 size = adev->hw_cfg.dsp_cores * AVS_WINDOW_CHUNK_SIZE; in debug_window_read() 259 num_cores = adev->hw_cfg.dsp_cores; in strace_release()
|
H A D | apl.c | 21 u32 size, num_cores = adev->hw_cfg.dsp_cores; in apl_enable_logs()
|
H A D | core.c | 386 adev->hw_cfg.dsp_cores = hweight_long(AVS_MAIN_CORE_MASK); in avs_bus_init() 539 avs_dsp_core_disable(adev, GENMASK(adev->hw_cfg.dsp_cores - 1, 0)); in avs_pci_remove()
|
H A D | loader.c | 671 ret = avs_ipc_get_hw_config(adev, &adev->hw_cfg); in avs_dsp_first_boot_firmware() 683 adev->core_refs = devm_kcalloc(adev->dev, adev->hw_cfg.dsp_cores, in avs_dsp_first_boot_firmware()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/alx/ |
H A D | hw.c | 853 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/atheros/alx/ |
H A D | hw.c | 853 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()
|