Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c265 int cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_get_link_ksettings() local
273 supported = bp->port.supported[cfg_idx] | in bnx2x_get_link_ksettings()
274 (bp->port.supported[cfg_idx ^ 1] & in bnx2x_get_link_ksettings()
276 advertising = bp->port.advertising[cfg_idx]; in bnx2x_get_link_ksettings()
300 if (bp->link_params.req_line_speed[cfg_idx] == SPEED_AUTO_NEG) in bnx2x_get_link_ksettings()
372 u32 advertising, cfg_idx, old_multi_phy_config, new_multi_phy_config; in bnx2x_set_link_ksettings() local
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()
483 DP(BNX2X_MSG_ETHTOOL, "cfg_idx = %x\n", cfg_idx); in bnx2x_set_link_ksettings()
486 u32 an_supported_speed = bp->port.supported[cfg_idx]; in bnx2x_set_link_ksettings()
[all …]
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()
330 if (cur_speed_cap_mask != params->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()
[all …]
Dbnx2x_main.c2306 u8 cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_calc_fc_adv() local
2308 bp->port.advertising[cfg_idx] &= ~(ADVERTISED_Asym_Pause | in bnx2x_calc_fc_adv()
2313 bp->port.advertising[cfg_idx] |= (ADVERTISED_Asym_Pause | in bnx2x_calc_fc_adv()
2318 bp->port.advertising[cfg_idx] |= ADVERTISED_Asym_Pause; in bnx2x_calc_fc_adv()
/linux-6.1.9/sound/soc/intel/skylake/
Dskl-topology.c482 u8 cfg_idx; in skl_tplg_init_pipe_modules() local
498 cfg_idx = mconfig->pipe->cur_config_idx; in skl_tplg_init_pipe_modules()
499 mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; in skl_tplg_init_pipe_modules()
500 mconfig->res_idx = mconfig->mod_cfg[cfg_idx].res_idx; in skl_tplg_init_pipe_modules()
1643 u8 cfg_idx = mconfig->pipe->cur_config_idx; in skl_tplg_update_pipe_params() local
1647 mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; in skl_tplg_update_pipe_params()
1648 mconfig->res_idx = mconfig->mod_cfg[cfg_idx].res_idx; in skl_tplg_update_pipe_params()
/linux-6.1.9/sound/pci/hda/
Dhda_generic.c3250 int cfg_idx, int num_adcs, in parse_capture_source() argument
3276 snd_hda_add_imux_item(codec, imux, label, cfg_idx, NULL); in parse_capture_source()