Home
last modified time | relevance | path

Searched refs:nic_type (Results 1 – 15 of 15) sorted by relevance

/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_hw.c85 if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c) { in atl1c_get_permanent_address()
95 if (hw->nic_type == athr_l2c_b || hw->nic_type == athr_l2c_b2) { in atl1c_get_permanent_address()
119 if ((hw->nic_type == athr_l1c || hw->nic_type == athr_l2c)) { in atl1c_get_permanent_address()
313 if ((hw->nic_type == athr_l2c_b2 || hw->nic_type == athr_l1d_2) && in atl1c_read_phy_core()
361 if ((hw->nic_type == athr_l2c_b2 || hw->nic_type == athr_l1d_2) && in atl1c_write_phy_core()
522 if (hw->nic_type == athr_l2c_b) { in atl1c_phy_reset()
529 if (hw->nic_type == athr_l2c_b || hw->nic_type == athr_l2c_b2) { in atl1c_phy_reset()
537 if (hw->nic_type == athr_l2c_b || hw->nic_type == athr_l2c_b2) { in atl1c_phy_reset()
544 hw->nic_type == athr_l1d || hw->nic_type == athr_l1d_2 ? in atl1c_phy_reset()
561 if (hw->nic_type == athr_l1d || hw->nic_type == athr_l1d_2 || in atl1c_phy_reset()
[all …]
H A Datl1c_main.c98 if (hw->nic_type == athr_l1c || hw->nic_type == athr_l2c) { in atl1c_pcie_patch()
108 if (hw->nic_type == athr_l2c_b && hw->revision_id == L2CB_V10) { in atl1c_pcie_patch()
121 if (hw->nic_type == athr_l2c_b || hw->nic_type == athr_l1d) { in atl1c_pcie_patch()
507 if (hw->nic_type != athr_mt) { in atl1c_fix_features()
531 switch (hw->nic_type) { in atl1c_set_max_mtu()
702 if (hw->nic_type == athr_l1c || in atl1c_setup_mac_funcs()
703 hw->nic_type == athr_l1d || in atl1c_setup_mac_funcs()
704 hw->nic_type == athr_l1d_2) in atl1c_setup_mac_funcs()
1124 if (hw->nic_type == athr_l2c_b) { in atl1c_configure_des_ring()
1159 hw->nic_type == athr_l2c_b || hw->nic_type == athr_l2c_b2 ? in atl1c_configure_tx()
[all …]
H A Datl1c.h355 enum atl1c_nic_type nic_type; member
/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_hw.c319 if (hw->nic_type == athr_l1e) { in atl1e_phy_setup_autoneg_adv()
356 if (hw->nic_type == athr_l1e || hw->nic_type == athr_l2e_revA) { in atl1e_phy_setup_autoneg_adv()
626 if (hw->nic_type == athr_l1e || hw->nic_type == athr_l2e_revA) { in atl1e_restart_autoneg()
H A Datl1e_ethtool.c28 if (hw->nic_type == athr_l1e) in atl1e_get_link_ksettings()
77 if (hw->nic_type == athr_l1e) { in atl1e_set_link_ksettings()
H A Datl1e_main.c584 hw->nic_type = athr_l2e_revB; in atl1e_sw_init()
587 hw->nic_type = athr_l1e; in atl1e_sw_init()
589 hw->nic_type = athr_l2e_revA; in atl1e_sw_init()
938 if (hw->nic_type != athr_l2e_revB) { in atl1e_configure_tx()
962 if (hw->nic_type != athr_l2e_revB) in atl1e_configure_tx()
981 if (hw->nic_type != athr_l2e_revB) { in atl1e_configure_rx()
H A Datl1e.h305 enum atl1e_nic_type nic_type; member
/linux/drivers/net/ethernet/sfc/siena/
H A Dtx_common.c290 const struct efx_nic_type *nic_type = tx_queue->efx->type; in efx_siena_tx_map_chunk() local
298 if (nic_type->tx_limit_len) in efx_siena_tx_map_chunk()
299 dma_len = nic_type->tx_limit_len(tx_queue, dma_addr, len); in efx_siena_tx_map_chunk()
/linux/drivers/net/ethernet/sfc/
H A Dtx_common.c330 const struct efx_nic_type *nic_type = tx_queue->efx->type; in efx_tx_map_chunk() local
338 if (nic_type->tx_limit_len) in efx_tx_map_chunk()
339 dma_len = nic_type->tx_limit_len(tx_queue, dma_addr, len); in efx_tx_map_chunk()
/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/sws/
H A Ddr_rule.c15 enum mlx5dr_domain_nic_type nic_type, in dr_rule_append_to_miss_list() argument
28 ste_info_last = mlx5dr_send_info_alloc(dmn, nic_type); in dr_rule_append_to_miss_list()
1085 enum mlx5dr_domain_nic_type nic_type, in dr_rule_skip() argument
1090 bool rx = nic_type == DR_DOMAIN_NIC_TYPE_RX; in dr_rule_skip()
H A Ddr_action.c539 enum mlx5dr_domain_nic_type nic_type, in dr_actions_apply() argument
548 if (nic_type == DR_DOMAIN_NIC_TYPE_RX) in dr_actions_apply()
560 enum mlx5dr_domain_nic_type nic_type) in dr_action_get_action_domain() argument
568 if (nic_type == DR_DOMAIN_NIC_TYPE_RX) in dr_action_get_action_domain()
H A Ddr_types.h1405 enum mlx5dr_domain_nic_type nic_type,
1500 enum mlx5dr_domain_nic_type nic_type);
H A Ddr_send.c149 enum mlx5dr_domain_nic_type nic_type) in mlx5dr_send_info_alloc() argument
155 pool = nic_type == DR_DOMAIN_NIC_TYPE_RX ? dmn->send_info_pool_rx : in mlx5dr_send_info_alloc()
/linux/drivers/net/ethernet/sfc/falcon/
H A Dtx.c177 const struct ef4_nic_type *nic_type = tx_queue->efx->type; in ef4_tx_map_chunk() local
184 dma_len = nic_type->tx_limit_len(tx_queue, dma_addr, len); in ef4_tx_map_chunk()
/linux/drivers/net/wireless/intel/ipw2x00/
H A Dipw2200.c860 if (priv->config & CFG_NO_LED || priv->nic_type == EEPROM_NIC_TYPE_1) in ipw_led_link_on()
903 if (priv->config & CFG_NO_LED || priv->nic_type == EEPROM_NIC_TYPE_1) in ipw_led_link_off()
1026 priv->nic_type != EEPROM_NIC_TYPE_1 || !priv->assoc_network) in ipw_led_band_on()
1060 if (priv->config & CFG_NO_LED || priv->nic_type != EEPROM_NIC_TYPE_1) in ipw_led_band_off()
1105 priv->nic_type = priv->eeprom[EEPROM_NIC_TYPE]; in ipw_led_init()
1118 switch (priv->nic_type) { in ipw_led_init()
1141 priv->nic_type); in ipw_led_init()
1142 priv->nic_type = EEPROM_NIC_TYPE_0; in ipw_led_init()
1535 return sprintf(buf, "TYPE: %d\n", priv->nic_type); in nic_type_show()
1538 static DEVICE_ATTR_RO(nic_type);