Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/huawei/hinic/
A Dhinic_sriov.c32 u16 out_size = sizeof(mac_info); in hinic_set_mac()
35 mac_info.func_idx = func_id; in hinic_set_mac()
36 mac_info.vlan_id = vlan_id; in hinic_set_mac()
40 sizeof(mac_info), &mac_info, &out_size); in hinic_set_mac()
42 (mac_info.status && mac_info.status != HINIC_MGMT_STATUS_EXIST)) { in hinic_set_mac()
333 mac_info->status = 0; in hinic_get_vf_mac_msg_handler()
334 *out_size = sizeof(*mac_info); in hinic_get_vf_mac_msg_handler()
532 mac_info.func_id = func_id; in hinic_update_mac()
533 mac_info.vlan_id = vlan_id; in hinic_update_mac()
538 sizeof(mac_info), &mac_info, &out_size); in hinic_update_mac()
[all …]
/linux/drivers/net/ethernet/hisilicon/hns/
A Dhns_dsaf_gmac.c488 static void hns_gmac_get_info(void *mac_drv, struct mac_info *mac_info) in hns_gmac_get_info() argument
501 mac_info->auto_neg = port_mode.an_enable; in hns_gmac_get_info()
504 mac_info->tx_pause_time = fc_tx_timer; in hns_gmac_get_info()
507 mac_info->port_en = rx && tx; in hns_gmac_get_info()
510 mac_info->duplex = duplex; in hns_gmac_get_info()
515 mac_info->speed = MAC_SPEED_10; in hns_gmac_get_info()
518 mac_info->speed = MAC_SPEED_100; in hns_gmac_get_info()
521 mac_info->speed = MAC_SPEED_1000; in hns_gmac_get_info()
524 mac_info->speed = 0; in hns_gmac_get_info()
529 mac_info->rx_pause_en = rx_pause; in hns_gmac_get_info()
[all …]
A Dhns_dsaf_xgmac.c425 static void hns_xgmac_get_info(void *mac_drv, struct mac_info *mac_info) in hns_xgmac_get_info() argument
431 mac_info->pad_and_crc_en = dsaf_get_bit(ctrl_val, XGMAC_CTL_TX_PAD_B); in hns_xgmac_get_info()
432 mac_info->auto_neg = 0; in hns_xgmac_get_info()
435 mac_info->tx_pause_time = pause_time; in hns_xgmac_get_info()
438 mac_info->port_en = dsaf_get_field(port_mode, XGMAC_PORT_MODE_TX_M, in hns_xgmac_get_info()
442 mac_info->duplex = 1; in hns_xgmac_get_info()
443 mac_info->speed = MAC_SPEED_10000; in hns_xgmac_get_info()
446 mac_info->rx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_info()
447 mac_info->tx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_info()
A Dhns_dsaf_mac.h193 struct mac_info { struct
389 void (*get_info)(void *mac_drv, struct mac_info *mac_info);
A Dhns_dsaf_mac.c95 struct mac_info info; in hns_mac_get_port_info()
/linux/drivers/net/wireless/quantenna/qtnfmac/
A Dcommands.c978 struct qtnf_mac_info *mac_info = &mac->macinfo; in qtnf_parse_wowlan_info() local
995 mac_info->wowlan = supp; in qtnf_parse_wowlan_info()
1218 struct qtnf_mac_info *mac_info; in qtnf_cmd_resp_proc_mac_info() local
1223 mac_info = &mac->macinfo; in qtnf_cmd_resp_proc_mac_info()
1225 mac_info->bands_cap = resp_info->bands_cap; in qtnf_cmd_resp_proc_mac_info()
1234 mac_info->num_tx_chain = resp_info->num_tx_chain; in qtnf_cmd_resp_proc_mac_info()
1238 mac_info->radar_detect_widths = in qtnf_cmd_resp_proc_mac_info()
1244 mac_info->sretry_limit = resp_info->retry_short; in qtnf_cmd_resp_proc_mac_info()
1245 mac_info->lretry_limit = resp_info->retry_long; in qtnf_cmd_resp_proc_mac_info()
1250 sizeof(mac_info->ht_cap_mod_mask)); in qtnf_cmd_resp_proc_mac_info()
[all …]
A Dcfg80211.c1092 qtnf_wiphy_setup_if_comb(struct wiphy *wiphy, struct qtnf_mac_info *mac_info) in qtnf_wiphy_setup_if_comb() argument
1099 if_comb = mac_info->if_comb; in qtnf_wiphy_setup_if_comb()
1100 n_if_comb = mac_info->n_if_comb; in qtnf_wiphy_setup_if_comb()
1106 if_comb[i].radar_detect_widths = mac_info->radar_detect_widths; in qtnf_wiphy_setup_if_comb()
/linux/drivers/net/ethernet/neterion/vxge/
A Dvxge-main.c727 struct macInfo mac_info; in vxge_learn_mac() local
752 mac_info.vpath_no = vpath_idx; in vxge_learn_mac()
763 mac_info.vpath_no = vpath_idx; in vxge_learn_mac()
1128 struct macInfo mac_info; in vxge_set_multicast() local
1206 mac_info.vpath_no = vpath_idx; in vxge_set_multicast()
1209 &mac_info); in vxge_set_multicast()
1220 mac_info.vpath_no = vpath_idx; in vxge_set_multicast()
1250 mac_info.vpath_no = vpath_idx; in vxge_set_multicast()
1446 struct macInfo mac_info; in vxge_restore_vpath_mac_addr() local
1462 &mac_info); in vxge_restore_vpath_mac_addr()
[all …]
/linux/drivers/net/fddi/skfp/h/
A Dfddi.h23 u_char mac_info[4478] ; member
A Dfplustm.h169 u_char mac_info[0x20] ; member
/linux/drivers/net/fddi/skfp/
A Dfplustm.c483 set_int((char *)mac->mac_info,(int)t_request) ; in build_claim_beacon()
498 set_int((char *) mac->mac_info,((int)BEACON_INFO<<24) + 0 ) ; in build_claim_beacon()
514 set_int((char *) mac->mac_info,((int)DBEACON_INFO<<24) + 0 ) ; in build_claim_beacon()
515 set_int((char *) mac->mac_info+4,0) ; in build_claim_beacon()
516 set_int((char *) mac->mac_info+8,0) ; in build_claim_beacon()
/linux/drivers/net/wireless/microchip/wilc1000/
A Dhif.c37 struct wilc_rcvd_mac_info mac_info; member
655 struct wilc_rcvd_mac_info *mac_info = &msg->body.mac_info; in handle_rcvd_gnrl_async_info() local
669 host_int_parse_assoc_resp_info(vif, mac_info->status); in handle_rcvd_gnrl_async_info()
670 } else if (mac_info->status == WILC_MAC_STATUS_DISCONNECTED) { in handle_rcvd_gnrl_async_info()
1652 msg->body.mac_info.status = buffer[7]; in wilc_gnrl_async_info_received()
/linux/drivers/net/ethernet/neterion/
A Ds2io.h794 struct mac_info { struct
865 struct mac_info mac_control;
A Ds2io.c575 struct mac_info *mac_control = &nic->mac_control; in init_shared_mem()
878 struct mac_info *mac_control; in free_shared_mem()
1199 struct mac_info *mac_control = &nic->mac_control; in init_nic()
2216 struct mac_info *mac_control = &nic->mac_control; in start_nic()
2668 struct mac_info *mac_control = &sp->mac_control; in free_rxd_blk()
2720 struct mac_info *mac_control = &sp->mac_control; in free_rx_buffers()
4020 struct mac_info *mac_control = &sp->mac_control; in s2io_xmit()
4669 struct mac_info *mac_control; in s2io_isr()
4796 struct mac_info *mac_control = &sp->mac_control; in s2io_get_stats()
7098 struct mac_info *mac_control; in s2io_card_up()
[all …]
/linux/drivers/net/ethernet/realtek/
A Dr8169_main.c1967 } mac_info[] = { in rtl8169_get_mac_version() local
2063 const struct rtl_mac_info *p = mac_info; in rtl8169_get_mac_version()

Completed in 67 milliseconds