| /linux-6.15/sound/pci/hda/ |
| H A D | cs35l41_hda_property.c | 235 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in generic_dsd_config() local 348 hw_cfg->bst_ind = -1; in generic_dsd_config() 349 hw_cfg->bst_ipk = -1; in generic_dsd_config() 350 hw_cfg->bst_cap = -1; in generic_dsd_config() 357 hw_cfg->valid = true; in generic_dsd_config() 369 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in hp_i2c_int_2amp_dual_spkid() local 386 hw_cfg->valid = true; in hp_i2c_int_2amp_dual_spkid() 389 hw_cfg->bst_ind = 1000; in hp_i2c_int_2amp_dual_spkid() 391 hw_cfg->bst_cap = 24; in hp_i2c_int_2amp_dual_spkid() 408 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in lenovo_legion_no_acpi() local [all …]
|
| H A D | cs35l41_hda.c | 1637 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in cs35l41_hda_apply_properties() local 1649 if (hw_cfg->gpio1.valid) { in cs35l41_hda_apply_properties() 1662 hw_cfg->gpio1.func); in cs35l41_hda_apply_properties() 1667 if (hw_cfg->gpio2.valid) { in cs35l41_hda_apply_properties() 1745 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in cs35l41_hda_parse_acpi() local 1816 hw_cfg->bst_ipk = -1; in cs35l41_hda_parse_acpi() 1823 hw_cfg->bst_ind = -1; in cs35l41_hda_parse_acpi() 1830 hw_cfg->bst_cap = -1; in cs35l41_hda_parse_acpi() 1834 if (hw_cfg->bst_ind > 0 || hw_cfg->bst_cap > 0 || hw_cfg->bst_ipk > 0) in cs35l41_hda_parse_acpi() 1839 hw_cfg->valid = true; in cs35l41_hda_parse_acpi() [all …]
|
| H A D | cs35l41_hda.h | 64 struct cs35l41_hw_cfg hw_cfg; member
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | cs35l41.c | 898 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in cs35l41_set_pdata() local 901 if (!hw_cfg->valid) in cs35l41_set_pdata() 913 if (hw_cfg->dout_hiz <= CS35L41_ASP_DOUT_HIZ_MASK && hw_cfg->dout_hiz >= 0) in cs35l41_set_pdata() 1037 hw_cfg->bst_ipk = val; in cs35l41_handle_pdata() 1039 hw_cfg->bst_ipk = -1; in cs35l41_handle_pdata() 1043 hw_cfg->bst_ind = val; in cs35l41_handle_pdata() 1045 hw_cfg->bst_ind = -1; in cs35l41_handle_pdata() 1051 hw_cfg->bst_cap = -1; in cs35l41_handle_pdata() 1077 hw_cfg->valid = true; in cs35l41_handle_pdata() 1197 if (hw_cfg) { in cs35l41_probe() [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 53 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 | 1141 struct cs35l41_hw_cfg *hw_cfg) in cs35l41_init_boost() argument 1145 switch (hw_cfg->bst_type) { in cs35l41_init_boost() 1150 ret = cs35l41_boost_config(dev, regmap, hw_cfg->bst_ind, in cs35l41_init_boost() 1151 hw_cfg->bst_cap, hw_cfg->bst_ipk); in cs35l41_init_boost() 1172 dev_err(dev, "Boost type %d not supported\n", hw_cfg->bst_type); in cs35l41_init_boost() 1368 int cs35l41_gpio_config(struct regmap *regmap, struct cs35l41_hw_cfg *hw_cfg) in cs35l41_gpio_config() argument 1370 struct cs35l41_gpio_cfg *gpio1 = &hw_cfg->gpio1; in cs35l41_gpio_config() 1371 struct cs35l41_gpio_cfg *gpio2 = &hw_cfg->gpio2; in cs35l41_gpio_config()
|
| /linux-6.15/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_kms.c | 333 const struct mdp5_cfg_hw *hw_cfg = in modeset_init_intf() local 615 const struct mdp5_cfg_hw *hw_cfg; in hwpipe_init() local 622 hw_cfg->pipe_rgb.base, hw_cfg->pipe_rgb.caps); in hwpipe_init() 628 hw_cfg->pipe_vig.base, hw_cfg->pipe_vig.caps); in hwpipe_init() 634 hw_cfg->pipe_dma.base, hw_cfg->pipe_dma.caps); in hwpipe_init() 640 cursor_planes, hw_cfg->pipe_cursor.base, in hwpipe_init() 641 hw_cfg->pipe_cursor.caps); in hwpipe_init() 651 const struct mdp5_cfg_hw *hw_cfg; in hwmixer_init() local 656 for (i = 0; i < hw_cfg->lm.count; i++) { in hwmixer_init() 677 const struct mdp5_cfg_hw *hw_cfg; in interface_init() local [all …]
|
| H A D | mdp5_ctl.c | 689 const struct mdp5_cfg_hw *hw_cfg = mdp5_cfg_get_hw_config(cfg_hnd); in mdp5_ctlm_init() local 692 const struct mdp5_ctl_block *ctl_cfg = &hw_cfg->ctl; in mdp5_ctlm_init() 710 ctl_mgr->nlm = hw_cfg->lm.count; in mdp5_ctlm_init() 739 for (c = 0; c < ARRAY_SIZE(hw_cfg->intf.connect); c++) in mdp5_ctlm_init() 740 if (hw_cfg->intf.connect[c] == INTF_DSI) in mdp5_ctlm_init()
|
| H A D | mdp5_crtc.c | 703 const struct mdp5_cfg_hw *hw_cfg; in mdp5_crtc_atomic_check() local 743 hw_cfg = mdp5_cfg_get_hw_config(mdp5_kms->cfg); in mdp5_crtc_atomic_check() 749 if (mode->hdisplay > hw_cfg->lm.max_width) in mdp5_crtc_atomic_check() 770 if ((cnt + start - 1) >= hw_cfg->lm.nb_stages) { in mdp5_crtc_atomic_check() 778 pstates[i].state->stage = hw_cfg->lm.nb_stages; in mdp5_crtc_atomic_check()
|
| /linux-6.15/sound/soc/qcom/qdsp6/ |
| H A D | audioreach.c | 614 struct apm_module_hw_ep_mf_cfg *hw_cfg; in audioreach_display_port_set_media_format() local 633 hw_cfg = p; in audioreach_display_port_set_media_format() 634 param_data = &hw_cfg->param_data; in audioreach_display_port_set_media_format() 641 hw_cfg->mf.bit_width = cfg->bit_width; in audioreach_display_port_set_media_format() 682 struct apm_module_hw_ep_mf_cfg *hw_cfg; in audioreach_codec_dma_set_media_format() local 702 hw_cfg = p; in audioreach_codec_dma_set_media_format() 703 param_data = &hw_cfg->param_data; in audioreach_codec_dma_set_media_format() 710 hw_cfg->mf.bit_width = cfg->bit_width; in audioreach_codec_dma_set_media_format() 990 hw_cfg = p; in audioreach_i2s_set_media_format() 991 param_data = &hw_cfg->param_data; in audioreach_i2s_set_media_format() [all …]
|
| /linux-6.15/sound/soc/intel/avs/ |
| H A D | dsp.c | 165 if (core_id >= adev->hw_cfg.dsp_cores) { in avs_dsp_get_core() 206 if (core_id >= adev->hw_cfg.dsp_cores) { in avs_dsp_put_core()
|
| H A D | debugfs.c | 81 size = adev->hw_cfg.dsp_cores * AVS_WINDOW_CHUNK_SIZE; in debug_window_read() 260 num_cores = adev->hw_cfg.dsp_cores; in strace_release()
|
| H A D | avs.h | 139 struct avs_hw_cfg hw_cfg; member 356 ((adev)->fw_cfg.trace_log_bytes / (adev)->hw_cfg.dsp_cores)
|
| H A D | skl.c | 82 u32 size, num_cores = adev->hw_cfg.dsp_cores; in avs_skl_enable_logs()
|
| H A D | board_selection.c | 497 num_ssps = adev->hw_cfg.i2s_caps.ctrl_count; in avs_register_i2s_board() 546 num_ssps = adev->hw_cfg.i2s_caps.ctrl_count; in avs_register_i2s_boards()
|
| H A D | apl.c | 39 u32 size, num_cores = adev->hw_cfg.dsp_cores; in avs_apl_enable_logs()
|
| H A D | loader.c | 688 ret = avs_ipc_get_hw_config(adev, &adev->hw_cfg); in avs_dsp_alloc_resources() 696 adev->core_refs = devm_kcalloc(adev->dev, adev->hw_cfg.dsp_cores, in avs_dsp_alloc_resources()
|
| H A D | core.c | 404 adev->hw_cfg.dsp_cores = hweight_long(AVS_MAIN_CORE_MASK); in avs_bus_init() 572 avs_dsp_core_disable(adev, GENMASK(adev->hw_cfg.dsp_cores - 1, 0)); in avs_pci_remove()
|
| H A D | ipc.c | 136 core_mask = GENMASK(adev->hw_cfg.dsp_cores - 1, 0); in avs_dsp_recovery()
|
| /linux-6.15/include/sound/ |
| H A D | cs35l41.h | 901 int cs35l41_gpio_config(struct regmap *regmap, struct cs35l41_hw_cfg *hw_cfg); 910 struct cs35l41_hw_cfg *hw_cfg);
|
| /linux-6.15/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()
|
| /linux-6.15/drivers/net/ethernet/microchip/ |
| H A D | lan743x_main.c | 35 u32 hw_cfg; in pci11x1x_strap_get_status() local 49 hw_cfg = lan743x_csr_read(adapter, HW_CFG); in pci11x1x_strap_get_status() 52 hw_cfg & HW_CFG_RST_PROTECT_) { in pci11x1x_strap_get_status() 3900 adapter->hw_cfg = data; in lan743x_pm_suspend() 3927 lan743x_csr_write(adapter, HW_CFG, adapter->hw_cfg); in lan743x_pm_resume()
|
| /linux-6.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_debugfs.c | 3004 u32 hw_cfg; in hclge_dbg_dump_ptp_info() local 3034 ret = hclge_ptp_cfg_qry(hdev, &hw_cfg); in hclge_dbg_dump_ptp_info() 3039 sw_cfg, hw_cfg); in hclge_dbg_dump_ptp_info()
|