Searched refs:cfg_idx (Results 1 – 7 of 7) sorted by relevance
| /linux/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_ethtool.c | 265 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 …]
|
| H A D | bnx2x_link.c | 248 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 …]
|
| H A D | bnx2x_main.c | 2308 u8 cfg_idx = bnx2x_get_link_cfg_idx(bp); in bnx2x_calc_fc_adv() local 2310 bp->port.advertising[cfg_idx] &= ~(ADVERTISED_Asym_Pause | in bnx2x_calc_fc_adv() 2315 bp->port.advertising[cfg_idx] |= (ADVERTISED_Asym_Pause | in bnx2x_calc_fc_adv() 2320 bp->port.advertising[cfg_idx] |= ADVERTISED_Asym_Pause; in bnx2x_calc_fc_adv()
|
| /linux/drivers/net/ethernet/ti/icssg/ |
| H A D | icssg_config.c | 323 int cfg_idx = i + PRUETH_NUM_FWD_BUF_POOLS_PER_SLICE; in prueth_fw_offload_buffer_setup() local 330 writel(addr, &bpool_cfg[cfg_idx].addr); in prueth_fw_offload_buffer_setup() 332 &bpool_cfg[cfg_idx].len); in prueth_fw_offload_buffer_setup() 335 writel(0, &bpool_cfg[cfg_idx].addr); in prueth_fw_offload_buffer_setup() 336 writel(0, &bpool_cfg[cfg_idx].len); in prueth_fw_offload_buffer_setup() 410 int cfg_idx = i + PRUETH_NUM_FWD_BUF_POOLS_PER_SLICE; in prueth_emac_buffer_setup() local 416 writel(addr, &bpool_cfg[cfg_idx].addr); in prueth_emac_buffer_setup() 418 &bpool_cfg[cfg_idx].len); in prueth_emac_buffer_setup() 421 writel(0, &bpool_cfg[cfg_idx].addr); in prueth_emac_buffer_setup() 422 writel(0, &bpool_cfg[cfg_idx].len); in prueth_emac_buffer_setup()
|
| /linux/drivers/gpu/drm/amd/display/dc/dml2_0/ |
| H A D | dml2_dc_resource_mgmt.c | 800 unsigned int cfg_idx; in get_target_mpc_factor() local 806 cfg_idx = find_disp_cfg_idx_by_plane_id(mapping, plane_id); in get_target_mpc_factor() 807 mpc_factor = (unsigned int)disp_cfg->hw.DPPPerSurface[cfg_idx]; in get_target_mpc_factor() 834 cfg_idx = find_disp_cfg_idx_by_plane_id(mapping, plane_id); in get_target_mpc_factor() 835 mpc_factor = ctx->v21.mode_programming.programming->plane_programming[cfg_idx].num_dpps_required; in get_target_mpc_factor() 855 unsigned int cfg_idx; in get_target_odm_factor() local 858 cfg_idx = find_disp_cfg_idx_by_stream_id( in get_target_odm_factor() 860 switch (disp_cfg->hw.ODMMode[cfg_idx]) { in get_target_odm_factor() 880 cfg_idx = find_disp_cfg_idx_by_stream_id( in get_target_odm_factor() 883 cfg_idx = find_disp_cfg_idx_by_stream_id( in get_target_odm_factor() [all …]
|
| /linux/sound/soc/codecs/ |
| H A D | wm8904.c | 2321 struct wm8904_pdata *pdata, int cfg_idx) in wm8904_parse_retune_cfg_regs() argument 2324 WM8904_EQ_REGS, cfg_idx, in wm8904_parse_retune_cfg_regs() 2325 &pdata->retune_mobile_cfgs[cfg_idx].regs[0]); in wm8904_parse_retune_cfg_regs() 2329 struct wm8904_pdata *pdata, int cfg_idx) in wm8904_parse_drc_cfg_regs() argument 2332 WM8904_DRC_REGS, cfg_idx, in wm8904_parse_drc_cfg_regs() 2333 &pdata->drc_cfgs[cfg_idx].regs[0]); in wm8904_parse_drc_cfg_regs()
|
| /linux/sound/hda/codecs/ |
| H A D | generic.c | 3246 int cfg_idx, int num_adcs, in parse_capture_source() argument 3272 snd_hda_add_imux_item(codec, imux, label, cfg_idx, NULL); in parse_capture_source()
|