Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c263 int cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_get_link_ksettings() local
271 supported = bp->port.supported[cfg_idx] | in bnx2x_get_link_ksettings()
272 (bp->port.supported[cfg_idx ^ 1] & in bnx2x_get_link_ksettings()
274 advertising = bp->port.advertising[cfg_idx]; in bnx2x_get_link_ksettings()
298 if (bp->link_params.req_line_speed[cfg_idx] == SPEED_AUTO_NEG) in bnx2x_get_link_ksettings()
370 u32 advertising, cfg_idx, old_multi_phy_config, new_multi_phy_config; in bnx2x_set_link_ksettings() local
430 cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_set_link_ksettings()
478 cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_set_link_ksettings()
481 DP(BNX2X_MSG_ETHTOOL, "cfg_idx = %x\n", cfg_idx); in bnx2x_set_link_ksettings()
484 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()
8204 int idx, cfg_idx = 0; in bnx2x_get_edc_mode() local
8208 cfg_idx = LINK_CONFIG_IDX(idx); in bnx2x_get_edc_mode()
8213 phy->req_line_speed = params->req_line_speed[cfg_idx]; in bnx2x_get_edc_mode()
12903 u32 lfa_sts, cfg_idx, tmp_val; in bnx2x_cannot_avoid_link_flap() local
12923 for (cfg_idx = 0; cfg_idx < SHMEM_LINK_CONFIG_SIZE; cfg_idx++) { in bnx2x_cannot_avoid_link_flap()
[all …]
Dbnx2x_main.c2298 u8 cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_calc_fc_adv() local
2300 bp->port.advertising[cfg_idx] &= ~(ADVERTISED_Asym_Pause | in bnx2x_calc_fc_adv()
2305 bp->port.advertising[cfg_idx] |= (ADVERTISED_Asym_Pause | in bnx2x_calc_fc_adv()
2310 bp->port.advertising[cfg_idx] |= ADVERTISED_Asym_Pause; in bnx2x_calc_fc_adv()
/Linux-v4.19/sound/soc/intel/skylake/
Dskl-topology.c579 u8 cfg_idx; in skl_tplg_init_pipe_modules() local
595 cfg_idx = mconfig->pipe->cur_config_idx; in skl_tplg_init_pipe_modules()
596 mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; in skl_tplg_init_pipe_modules()
597 mconfig->res_idx = mconfig->mod_cfg[cfg_idx].res_idx; in skl_tplg_init_pipe_modules()
1679 u8 cfg_idx = mconfig->pipe->cur_config_idx; in skl_tplg_update_pipe_params() local
1682 mconfig->fmt_idx = mconfig->mod_cfg[cfg_idx].fmt_idx; in skl_tplg_update_pipe_params()
1683 mconfig->res_idx = mconfig->mod_cfg[cfg_idx].res_idx; in skl_tplg_update_pipe_params()
/Linux-v4.19/sound/pci/hda/
Dhda_generic.c3244 int cfg_idx, int num_adcs, in parse_capture_source() argument
3270 snd_hda_add_imux_item(codec, imux, label, cfg_idx, NULL); in parse_capture_source()