Home
last modified time | relevance | path

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

12

/openbmc/linux/sound/pci/hda/
H A Dcs35l41_hda_property.c23 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in lenovo_legion_no_acpi() local
32 hw_cfg->gpio2.valid = true; in lenovo_legion_no_acpi()
33 hw_cfg->valid = true; in lenovo_legion_no_acpi()
40 hw_cfg->gpio1.valid = true; in lenovo_legion_no_acpi()
55 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in hp_vision_acpi_fix() local
65 hw_cfg->gpio1.valid = true; in hp_vision_acpi_fix()
67 hw_cfg->gpio2.valid = true; in hp_vision_acpi_fix()
69 hw_cfg->bst_ind = 1000; in hp_vision_acpi_fix()
70 hw_cfg->bst_ipk = 4500; in hp_vision_acpi_fix()
71 hw_cfg->bst_cap = 24; in hp_vision_acpi_fix()
[all …]
H A Dcs35l41_hda.c1291 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in cs35l41_hda_apply_properties() local
1304 if (hw_cfg->gpio1.valid) { in cs35l41_hda_apply_properties()
1317 hw_cfg->gpio1.func); in cs35l41_hda_apply_properties()
1322 if (hw_cfg->gpio2.valid) { in cs35l41_hda_apply_properties()
1418 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in cs35l41_hda_read_acpi() local
1511 hw_cfg->bst_ipk = -1; in cs35l41_hda_read_acpi()
1518 hw_cfg->bst_ind = -1; in cs35l41_hda_read_acpi()
1525 hw_cfg->bst_cap = -1; in cs35l41_hda_read_acpi()
1529 if (hw_cfg->bst_ind > 0 || hw_cfg->bst_cap > 0 || hw_cfg->bst_ipk > 0) in cs35l41_hda_read_acpi()
1534 hw_cfg->valid = true; in cs35l41_hda_read_acpi()
[all …]
H A Dcs35l41_hda.h52 struct cs35l41_hw_cfg hw_cfg; member
/openbmc/linux/sound/soc/codecs/
H A Dcs35l41.c919 struct cs35l41_hw_cfg *hw_cfg = &cs35l41->hw_cfg; in cs35l41_set_pdata() local
922 if (!hw_cfg->valid) in cs35l41_set_pdata()
934 if (hw_cfg->dout_hiz <= CS35L41_ASP_DOUT_HIZ_MASK && hw_cfg->dout_hiz >= 0) in cs35l41_set_pdata()
1050 hw_cfg->bst_ipk = val; in cs35l41_handle_pdata()
1052 hw_cfg->bst_ipk = -1; in cs35l41_handle_pdata()
1056 hw_cfg->bst_ind = val; in cs35l41_handle_pdata()
1058 hw_cfg->bst_ind = -1; in cs35l41_handle_pdata()
1064 hw_cfg->bst_cap = -1; in cs35l41_handle_pdata()
1090 hw_cfg->valid = true; in cs35l41_handle_pdata()
1194 if (hw_cfg) { in cs35l41_probe()
[all …]
H A Dcs35l41.h29 struct cs35l41_hw_cfg hw_cfg; member
38 int cs35l41_probe(struct cs35l41_private *cs35l41, const struct cs35l41_hw_cfg *hw_cfg);
H A 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()
H A 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()
H A Dcs35l41-lib.c1138 struct cs35l41_hw_cfg *hw_cfg) in cs35l41_init_boost() argument
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()
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_kms.c388 const struct mdp5_cfg_hw *hw_cfg = in modeset_init_intf() local
696 const struct mdp5_cfg_hw *hw_cfg; in hwpipe_init() local
703 hw_cfg->pipe_rgb.base, hw_cfg->pipe_rgb.caps); in hwpipe_init()
709 hw_cfg->pipe_vig.base, hw_cfg->pipe_vig.caps); in hwpipe_init()
715 hw_cfg->pipe_dma.base, hw_cfg->pipe_dma.caps); in hwpipe_init()
721 cursor_planes, hw_cfg->pipe_cursor.base, in hwpipe_init()
722 hw_cfg->pipe_cursor.caps); in hwpipe_init()
732 const struct mdp5_cfg_hw *hw_cfg; in hwmixer_init() local
737 for (i = 0; i < hw_cfg->lm.count; i++) { in hwmixer_init()
758 const struct mdp5_cfg_hw *hw_cfg; in interface_init() local
[all …]
H A 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()
H A Dmdp5_crtc.c706 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()
/openbmc/linux/sound/soc/qcom/qdsp6/
H A Daudioreach.c598 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()
625 hw_cfg->mf.bit_width = cfg->bit_width; 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->param_data; in audioreach_codec_dma_set_media_format()
694 hw_cfg->mf.bit_width = cfg->bit_width; in audioreach_codec_dma_set_media_format()
986 hw_cfg = p; in audioreach_i2s_set_media_format()
987 param_data = &hw_cfg->param_data; in audioreach_i2s_set_media_format()
[all …]
/openbmc/linux/sound/soc/intel/avs/
H A Ddsp.c164 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 Dskl.c20 u32 size, num_cores = adev->hw_cfg.dsp_cores; in skl_enable_logs()
H A Davs.h120 struct avs_hw_cfg hw_cfg; member
340 ((adev)->fw_cfg.trace_log_bytes / (adev)->hw_cfg.dsp_cores)
H A Ddebugfs.c81 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 Dboard_selection.c476 num_ssps = adev->hw_cfg.i2s_caps.ctrl_count; in avs_register_i2s_board()
525 num_ssps = adev->hw_cfg.i2s_caps.ctrl_count; in avs_register_i2s_boards()
H A Dapl.c21 u32 size, num_cores = adev->hw_cfg.dsp_cores; in apl_enable_logs()
H A Dloader.c671 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()
H A Dcore.c386 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 Dipc.c136 core_mask = GENMASK(adev->hw_cfg.dsp_cores - 1, 0); in avs_dsp_recovery()
/openbmc/qemu/hw/net/
H A Dlan9118.c207 uint32_t hw_cfg; member
282 VMSTATE_UINT32(hw_cfg, lan9118_state),
432 s->hw_cfg = s->mode_16bit ? 0x00050000 : 0x00050004; in lan9118_reset()
1088 s->hw_cfg = (val & 0x003f300) | (s->hw_cfg & 0x4); in lan9118_writel()
1249 return s->hw_cfg; in lan9118_readl()
/openbmc/linux/include/sound/
H A Dcs35l41.h893 int cs35l41_gpio_config(struct regmap *regmap, struct cs35l41_hw_cfg *hw_cfg);
902 struct cs35l41_hw_cfg *hw_cfg);
/openbmc/linux/drivers/net/ethernet/atheros/alx/
H A 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()
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_main.c34 u32 hw_cfg; in pci11x1x_strap_get_status() local
48 hw_cfg = lan743x_csr_read(adapter, HW_CFG); in pci11x1x_strap_get_status()
51 hw_cfg & HW_CFG_RST_PROTECT_) { in pci11x1x_strap_get_status()
3649 adapter->hw_cfg = data; in lan743x_pm_suspend()
3676 lan743x_csr_write(adapter, HW_CFG, adapter->hw_cfg); in lan743x_pm_resume()

12