• Home
  • Raw
  • Download

Lines Matching refs:link_params

2321 		bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_TX;  in bnx2x_set_requested_fc()
2323 bp->link_params.req_fc_auto_adv = BNX2X_FLOW_CTRL_BOTH; in bnx2x_set_requested_fc()
2346 u16 req_line_speed = bp->link_params.req_line_speed[cfx_idx]; in bnx2x_initial_phy_init()
2353 struct link_params *lp = &bp->link_params; in bnx2x_initial_phy_init()
2372 struct link_params *lp = &bp->link_params; in bnx2x_initial_phy_init()
2376 rc = bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_initial_phy_init()
2389 bp->link_params.req_line_speed[cfx_idx] = req_line_speed; in bnx2x_initial_phy_init()
2400 bnx2x_phy_init(&bp->link_params, &bp->link_vars); in bnx2x_link_set()
2414 bnx2x_lfa_reset(&bp->link_params, &bp->link_vars); in bnx2x__link_reset()
2423 bnx2x_link_reset(&bp->link_params, &bp->link_vars, 1); in bnx2x_force_link_reset()
2433 rc = bnx2x_test_link(&bp->link_params, &bp->link_vars, in bnx2x_link_test()
2644 bnx2x_link_update(&bp->link_params, &bp->link_vars); in bnx2x_link_attn()
2679 bnx2x_link_status_update(&bp->link_params, &bp->link_vars); in bnx2x__link_status_update()
2702 bp->link_params.bp = bp; in bnx2x__link_status_update()
2703 bp->link_params.port = BP_PORT(bp); in bnx2x__link_status_update()
2704 bp->link_params.req_duplex[0] = DUPLEX_FULL; in bnx2x__link_status_update()
2705 bp->link_params.req_flow_ctrl[0] = BNX2X_FLOW_CTRL_NONE; in bnx2x__link_status_update()
2706 bp->link_params.req_line_speed[0] = SPEED_10000; in bnx2x__link_status_update()
2707 bp->link_params.speed_cap_mask[0] = 0x7f0000; in bnx2x__link_status_update()
2708 bp->link_params.switch_cfg = SWITCH_CFG_10G; in bnx2x__link_status_update()
4165 bnx2x_hw_reset_phy(&bp->link_params); in bnx2x_attn_int_deasserted0()
4171 bnx2x_handle_module_detect_int(&bp->link_params); in bnx2x_attn_int_deasserted0()
7840 bnx2x_set_rx_filter(&bp->link_params, 0); in bnx2x_reset_nic_mode()
7878 bnx2x_set_rx_filter(&bp->link_params, 1); in bnx2x_reset_nic_mode()
8251 bnx2x_phy_probe(&bp->link_params); in bnx2x_init_hw_func()
10360 bnx2x_period_func(&bp->link_params, &bp->link_vars); in bnx2x_period_task()
10759 bnx2x_set_rx_filter(&bp->link_params, 0); in bnx2x_prev_unload_common()
10760 bp->link_params.port ^= 1; in bnx2x_prev_unload_common()
10761 bnx2x_set_rx_filter(&bp->link_params, 0); in bnx2x_prev_unload_common()
10762 bp->link_params.port ^= 1; in bnx2x_prev_unload_common()
10904 bp->link_params.feature_config_flags |= in bnx2x_prev_unload()
10969 bp->link_params.chip_id = bp->common.chip_id; in bnx2x_get_common_hwinfo()
10991 bp->link_params.shmem_base = bp->common.shmem_base; in bnx2x_get_common_hwinfo()
10992 bp->link_params.shmem2_base = bp->common.shmem2_base; in bnx2x_get_common_hwinfo()
10995 bp->link_params.lfa_base = in bnx2x_get_common_hwinfo()
11000 bp->link_params.lfa_base = 0; in bnx2x_get_common_hwinfo()
11013 bp->link_params.hw_led_mode = ((bp->common.hw_config & in bnx2x_get_common_hwinfo()
11017 bp->link_params.feature_config_flags = 0; in bnx2x_get_common_hwinfo()
11020 bp->link_params.feature_config_flags |= in bnx2x_get_common_hwinfo()
11023 bp->link_params.feature_config_flags &= in bnx2x_get_common_hwinfo()
11035 bp->link_params.feature_config_flags |= in bnx2x_get_common_hwinfo()
11039 bp->link_params.feature_config_flags |= in bnx2x_get_common_hwinfo()
11042 bp->link_params.feature_config_flags |= in bnx2x_get_common_hwinfo()
11045 bp->link_params.feature_config_flags |= in bnx2x_get_common_hwinfo()
11049 bp->link_params.feature_config_flags |= in bnx2x_get_common_hwinfo()
11167 switch (bp->link_params.num_phys) { in bnx2x_link_settings_supported()
11169 bp->port.supported[0] = bp->link_params.phy[INT_PHY].supported; in bnx2x_link_settings_supported()
11173 bp->port.supported[0] = bp->link_params.phy[EXT_PHY1].supported; in bnx2x_link_settings_supported()
11177 if (bp->link_params.multi_phy_config & in bnx2x_link_settings_supported()
11180 bp->link_params.phy[EXT_PHY1].supported; in bnx2x_link_settings_supported()
11182 bp->link_params.phy[EXT_PHY2].supported; in bnx2x_link_settings_supported()
11185 bp->link_params.phy[EXT_PHY1].supported; in bnx2x_link_settings_supported()
11187 bp->link_params.phy[EXT_PHY2].supported; in bnx2x_link_settings_supported()
11223 if (!(bp->link_params.speed_cap_mask[idx] & in bnx2x_link_settings_supported()
11227 if (!(bp->link_params.speed_cap_mask[idx] & in bnx2x_link_settings_supported()
11231 if (!(bp->link_params.speed_cap_mask[idx] & in bnx2x_link_settings_supported()
11235 if (!(bp->link_params.speed_cap_mask[idx] & in bnx2x_link_settings_supported()
11239 if (!(bp->link_params.speed_cap_mask[idx] & in bnx2x_link_settings_supported()
11244 if (!(bp->link_params.speed_cap_mask[idx] & in bnx2x_link_settings_supported()
11248 if (!(bp->link_params.speed_cap_mask[idx] & in bnx2x_link_settings_supported()
11252 if (!(bp->link_params.speed_cap_mask[idx] & in bnx2x_link_settings_supported()
11266 switch (bp->link_params.num_phys) { in bnx2x_link_settings_requested()
11276 bp->link_params.req_duplex[idx] = DUPLEX_FULL; in bnx2x_link_settings_requested()
11281 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11285 if (bp->link_params.phy[EXT_PHY1].type == in bnx2x_link_settings_requested()
11292 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11303 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11311 bp->link_params.speed_cap_mask[idx]); in bnx2x_link_settings_requested()
11318 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11320 bp->link_params.req_duplex[idx] = in bnx2x_link_settings_requested()
11328 bp->link_params.speed_cap_mask[idx]); in bnx2x_link_settings_requested()
11336 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11344 bp->link_params.speed_cap_mask[idx]); in bnx2x_link_settings_requested()
11352 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11354 bp->link_params.req_duplex[idx] = in bnx2x_link_settings_requested()
11362 bp->link_params.speed_cap_mask[idx]); in bnx2x_link_settings_requested()
11370 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11377 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11384 bp->link_params.speed_cap_mask[idx]); in bnx2x_link_settings_requested()
11392 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11400 bp->link_params.speed_cap_mask[idx]); in bnx2x_link_settings_requested()
11408 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11415 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11423 bp->link_params.speed_cap_mask[idx]); in bnx2x_link_settings_requested()
11428 bp->link_params.req_line_speed[idx] = SPEED_20000; in bnx2x_link_settings_requested()
11434 bp->link_params.req_line_speed[idx] = in bnx2x_link_settings_requested()
11441 bp->link_params.req_flow_ctrl[idx] = (link_config & in bnx2x_link_settings_requested()
11443 if (bp->link_params.req_flow_ctrl[idx] == in bnx2x_link_settings_requested()
11446 bp->link_params.req_flow_ctrl[idx] = in bnx2x_link_settings_requested()
11453 bp->link_params.req_line_speed[idx], in bnx2x_link_settings_requested()
11454 bp->link_params.req_duplex[idx], in bnx2x_link_settings_requested()
11455 bp->link_params.req_flow_ctrl[idx], in bnx2x_link_settings_requested()
11474 bp->link_params.bp = bp; in bnx2x_get_port_hwinfo()
11475 bp->link_params.port = port; in bnx2x_get_port_hwinfo()
11477 bp->link_params.lane_config = in bnx2x_get_port_hwinfo()
11480 bp->link_params.speed_cap_mask[0] = in bnx2x_get_port_hwinfo()
11484 bp->link_params.speed_cap_mask[1] = in bnx2x_get_port_hwinfo()
11494 bp->link_params.multi_phy_config = in bnx2x_get_port_hwinfo()
11511 bp->link_params.lane_config, in bnx2x_get_port_hwinfo()
11512 bp->link_params.speed_cap_mask[0], in bnx2x_get_port_hwinfo()
11515 bp->link_params.switch_cfg = (bp->port.link_config[0] & in bnx2x_get_port_hwinfo()
11517 bnx2x_phy_probe(&bp->link_params); in bnx2x_get_port_hwinfo()
11518 bnx2x_link_settings_supported(bp, bp->link_params.switch_cfg); in bnx2x_get_port_hwinfo()
11544 bp->link_params.eee_mode = EEE_MODE_ADV_LPI | in bnx2x_get_port_hwinfo()
11548 bp->link_params.eee_mode = 0; in bnx2x_get_port_hwinfo()
11846 memcpy(bp->link_params.mac_addr, bp->dev->dev_addr, ETH_ALEN); in bnx2x_get_mac_hwinfo()
12751 rc = bnx2x_phy_read(&bp->link_params, prtad, devad, addr, &value); in bnx2x_mdio_read()
12775 rc = bnx2x_phy_write(&bp->link_params, prtad, devad, addr, value); in bnx2x_mdio_write()