Home
last modified time | relevance | path

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

/drivers/staging/gdm724x/
Dgdm_lte.c77 static int gdm_lte_rx(struct sk_buff *skb, struct nic *nic, int nic_type) in gdm_lte_rx() argument
93 static int gdm_lte_emulate_arp(struct sk_buff *skb_in, u32 nic_type) in gdm_lte_emulate_arp() argument
169 gdm_lte_rx(skb_out, nic, nic_type); in gdm_lte_emulate_arp()
213 static int gdm_lte_emulate_ndp(struct sk_buff *skb_in, u32 nic_type) in gdm_lte_emulate_ndp() argument
331 gdm_lte_rx(skb_out, nic, nic_type); in gdm_lte_emulate_ndp()
345 u32 nic_type; in gdm_lte_tx_nic_type() local
348 nic_type = 0x00000010 | nic->nic_id; in gdm_lte_tx_nic_type()
356 nic_type |= NIC_TYPE_F_VLAN; in gdm_lte_tx_nic_type()
365 nic_type |= NIC_TYPE_ARP; in gdm_lte_tx_nic_type()
368 nic_type |= NIC_TYPE_F_IPV4; in gdm_lte_tx_nic_type()
[all …]
Dhci_packet.h45 __dev32 nic_type; member
53 __dev32 nic_type; member
70 __dev32 nic_type; member
Dgdm_lte.h31 u32 nic_type; member
44 int dev_idx, int nic_type);
Dgdm_usb.c707 int dev_idx, int nic_type) in gdm_usb_sdu_send() argument
733 if (nic_type == NIC_TYPE_ARP) { in gdm_usb_sdu_send()
745 sdu->nic_type = gdm_cpu_to_dev32(udev->gdm_ed, nic_type); in gdm_usb_sdu_send()
/drivers/net/ethernet/atheros/atl1c/
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 …]
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()
517 if (hw->nic_type != athr_mt) { in atl1c_fix_features()
541 switch (hw->nic_type) { in atl1c_set_max_mtu()
712 if (hw->nic_type == athr_l1c || in atl1c_setup_mac_funcs()
713 hw->nic_type == athr_l1d || in atl1c_setup_mac_funcs()
714 hw->nic_type == athr_l1d_2) in atl1c_setup_mac_funcs()
1133 if (hw->nic_type == athr_l2c_b) { in atl1c_configure_des_ring()
1168 hw->nic_type == athr_l2c_b || hw->nic_type == athr_l2c_b2 ? in atl1c_configure_tx()
[all …]
Datl1c.h355 enum atl1c_nic_type nic_type; member
/drivers/staging/rtl8192e/rtl8192e/
Drtl_pci.c44 priv->card_8192 = priv->ops->nic_type; in rtl92e_check_adapter()
69 if (priv->ops->nic_type != priv->card_8192) { in rtl92e_check_adapter()
72 priv->ops->nic_type, priv->card_8192); in rtl92e_check_adapter()
Drtl_core.h272 enum nic_t nic_type; member
Drtl_core.c30 .nic_type = NIC_8192E,
2009 stats.nic_type = NIC_8192E; in _rtl92e_rx_normal()
/drivers/net/ethernet/atheros/atl1e/
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()
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()
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()
Datl1e.h305 enum atl1e_nic_type nic_type; member
/drivers/net/ethernet/sfc/
Dtx_common.c292 const struct efx_nic_type *nic_type = tx_queue->efx->type; in efx_tx_map_chunk() local
300 if (nic_type->tx_limit_len) in efx_tx_map_chunk()
301 dma_len = nic_type->tx_limit_len(tx_queue, dma_addr, len); in efx_tx_map_chunk()
/drivers/net/ethernet/sfc/falcon/
Dtx.c184 const struct ef4_nic_type *nic_type = tx_queue->efx->type; in ef4_tx_map_chunk() local
191 dma_len = nic_type->tx_limit_len(tx_queue, dma_addr, len); in ef4_tx_map_chunk()
/drivers/net/ethernet/mellanox/mlx5/core/steering/
Ddr_action.c437 enum mlx5dr_domain_nic_type nic_type, in dr_actions_apply() argument
446 if (nic_type == DR_DOMAIN_NIC_TYPE_RX) in dr_actions_apply()
458 enum mlx5dr_domain_nic_type nic_type) in dr_action_get_action_domain() argument
466 if (nic_type == DR_DOMAIN_NIC_TYPE_RX) in dr_action_get_action_domain()
Ddr_rule.c1034 enum mlx5dr_domain_nic_type nic_type, in dr_rule_skip() argument
1039 bool rx = nic_type == DR_DOMAIN_NIC_TYPE_RX; in dr_rule_skip()
Ddr_ste.c383 enum mlx5dr_domain_nic_type nic_type, in mlx5dr_ste_set_formatted_ste() argument
388 bool is_rx = nic_type == DR_DOMAIN_NIC_TYPE_RX; in mlx5dr_ste_set_formatted_ste()
Ddr_types.h1247 enum mlx5dr_domain_nic_type nic_type,
/drivers/net/wireless/intel/ipw2x00/
Dipw2200.c873 if (priv->config & CFG_NO_LED || priv->nic_type == EEPROM_NIC_TYPE_1) in ipw_led_link_on()
916 if (priv->config & CFG_NO_LED || priv->nic_type == EEPROM_NIC_TYPE_1) in ipw_led_link_off()
1039 priv->nic_type != EEPROM_NIC_TYPE_1 || !priv->assoc_network) in ipw_led_band_on()
1073 if (priv->config & CFG_NO_LED || priv->nic_type != EEPROM_NIC_TYPE_1) in ipw_led_band_off()
1118 priv->nic_type = priv->eeprom[EEPROM_NIC_TYPE]; in ipw_led_init()
1131 switch (priv->nic_type) { in ipw_led_init()
1154 priv->nic_type); in ipw_led_init()
1155 priv->nic_type = EEPROM_NIC_TYPE_0; in ipw_led_init()
1564 return sprintf(buf, "TYPE: %d\n", priv->nic_type); in show_nic_type()
1567 static DEVICE_ATTR(nic_type, 0444, show_nic_type, NULL);
Dipw2200.h1309 u8 nic_type; member
/drivers/staging/rtl8192e/
Drtllib.h580 u8 nic_type; member
/drivers/staging/rtl8192u/ieee80211/
Dieee80211.h700 u8 nic_type; member
/drivers/net/wireless/realtek/rtlwifi/
Dwifi.h2089 u8 nic_type; member