Home
last modified time | relevance | path

Searched refs:cfg_idx (Results 1 – 6 of 6) sorted by relevance

/linux-6.15/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c274 (bp->port.supported[cfg_idx ^ 1] & in bnx2x_get_link_ksettings()
432 cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_set_link_ksettings()
480 cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_set_link_ksettings()
550 if (!(bp->port.supported[cfg_idx] & in bnx2x_set_link_ksettings()
560 if (!(bp->port.supported[cfg_idx] & in bnx2x_set_link_ksettings()
574 if (!(bp->port.supported[cfg_idx] & in bnx2x_set_link_ksettings()
603 if (bp->port.supported[cfg_idx] & in bnx2x_set_link_ksettings()
626 if (!(bp->port.supported[cfg_idx] in bnx2x_set_link_ksettings()
644 if ((bp->port.supported[cfg_idx] & in bnx2x_set_link_ksettings()
676 bp->port.advertising[cfg_idx]); in bnx2x_set_link_ksettings()
[all …]
H A Dbnx2x_link.c248 u32 link_status, cfg_idx, lfa_mask, cfg_size; in bnx2x_check_lfa() local
325 for (cfg_idx = 0; cfg_idx < cfg_size; cfg_idx++) { in bnx2x_check_lfa()
328 speed_cap_mask[cfg_idx])); in bnx2x_check_lfa()
333 params->speed_cap_mask[cfg_idx]); in bnx2x_check_lfa()
8205 int idx, cfg_idx = 0; in bnx2x_get_edc_mode() local
8209 cfg_idx = LINK_CONFIG_IDX(idx); in bnx2x_get_edc_mode()
8214 phy->req_line_speed = params->req_line_speed[cfg_idx]; in bnx2x_get_edc_mode()
12891 u32 lfa_sts, cfg_idx, tmp_val; in bnx2x_cannot_avoid_link_flap() local
12911 for (cfg_idx = 0; cfg_idx < SHMEM_LINK_CONFIG_SIZE; cfg_idx++) { in bnx2x_cannot_avoid_link_flap()
12914 speed_cap_mask[cfg_idx]), in bnx2x_cannot_avoid_link_flap()
[all …]
H A Dbnx2x_main.c2305 u8 cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_calc_fc_adv() local
2307 bp->port.advertising[cfg_idx] &= ~(ADVERTISED_Asym_Pause | in bnx2x_calc_fc_adv()
2312 bp->port.advertising[cfg_idx] |= (ADVERTISED_Asym_Pause | in bnx2x_calc_fc_adv()
2317 bp->port.advertising[cfg_idx] |= ADVERTISED_Asym_Pause; in bnx2x_calc_fc_adv()
/linux-6.15/drivers/gpu/drm/amd/display/dc/dml2/
H A Ddml2_dc_resource_mgmt.c802 unsigned int cfg_idx; in get_target_mpc_factor() local
808 cfg_idx = find_disp_cfg_idx_by_plane_id(mapping, plane_id); in get_target_mpc_factor()
809 mpc_factor = (unsigned int)disp_cfg->hw.DPPPerSurface[cfg_idx]; in get_target_mpc_factor()
836 cfg_idx = find_disp_cfg_idx_by_plane_id(mapping, plane_id); in get_target_mpc_factor()
837 mpc_factor = ctx->v21.mode_programming.programming->plane_programming[cfg_idx].num_dpps_required; in get_target_mpc_factor()
857 unsigned int cfg_idx; in get_target_odm_factor() local
860 cfg_idx = find_disp_cfg_idx_by_stream_id( in get_target_odm_factor()
862 switch (disp_cfg->hw.ODMMode[cfg_idx]) { in get_target_odm_factor()
882 cfg_idx = find_disp_cfg_idx_by_stream_id( in get_target_odm_factor()
885 cfg_idx = find_disp_cfg_idx_by_stream_id( in get_target_odm_factor()
[all …]
/linux-6.15/sound/soc/codecs/
H A Dwm8904.c2320 struct wm8904_pdata *pdata, int cfg_idx) in wm8904_parse_retune_cfg_regs() argument
2323 WM8904_EQ_REGS, cfg_idx, in wm8904_parse_retune_cfg_regs()
2324 &pdata->retune_mobile_cfgs[cfg_idx].regs[0]); in wm8904_parse_retune_cfg_regs()
2328 struct wm8904_pdata *pdata, int cfg_idx) in wm8904_parse_drc_cfg_regs() argument
2331 WM8904_DRC_REGS, cfg_idx, in wm8904_parse_drc_cfg_regs()
2332 &pdata->drc_cfgs[cfg_idx].regs[0]); in wm8904_parse_drc_cfg_regs()
/linux-6.15/sound/pci/hda/
H A Dhda_generic.c3255 int cfg_idx, int num_adcs, in parse_capture_source() argument
3281 snd_hda_add_imux_item(codec, imux, label, cfg_idx, NULL); in parse_capture_source()