Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/net/ethernet/huawei/hinic/
H A Dhinic_sriov.c30 struct hinic_port_mac_cmd mac_info = {0}; in hinic_set_mac() local
31 u16 out_size = sizeof(mac_info); in hinic_set_mac()
34 mac_info.func_idx = func_id; in hinic_set_mac()
35 mac_info.vlan_id = vlan_id; in hinic_set_mac()
36 memcpy(mac_info.mac, mac_addr, ETH_ALEN); in hinic_set_mac()
38 err = hinic_port_msg_cmd(hwdev, HINIC_PORT_CMD_SET_MAC, &mac_info, in hinic_set_mac()
39 sizeof(mac_info), &mac_info, &out_size); in hinic_set_mac()
40 if (err || out_size != sizeof(mac_info) || in hinic_set_mac()
41 (mac_info.status && mac_info.status != HINIC_MGMT_STATUS_EXIST)) { in hinic_set_mac()
43 err, mac_info.status, out_size); in hinic_set_mac()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_gmac.c504 static void hns_gmac_get_info(void *mac_drv, struct mac_info *mac_info) in hns_gmac_get_info() argument
516 mac_info->pad_and_crc_en = port_mode.crc_add && port_mode.pad_enable; in hns_gmac_get_info()
517 mac_info->auto_neg = port_mode.an_enable; in hns_gmac_get_info()
520 mac_info->tx_pause_time = fc_tx_timer; in hns_gmac_get_info()
523 mac_info->port_en = rx && tx; in hns_gmac_get_info()
526 mac_info->duplex = duplex; in hns_gmac_get_info()
531 mac_info->speed = MAC_SPEED_10; in hns_gmac_get_info()
534 mac_info->speed = MAC_SPEED_100; in hns_gmac_get_info()
537 mac_info->speed = MAC_SPEED_1000; in hns_gmac_get_info()
540 mac_info->speed = 0; in hns_gmac_get_info()
[all …]
H A Dhns_dsaf_xgmac.c438 static void hns_xgmac_get_info(void *mac_drv, struct mac_info *mac_info) in hns_xgmac_get_info() argument
444 mac_info->pad_and_crc_en = dsaf_get_bit(ctrl_val, XGMAC_CTL_TX_PAD_B); in hns_xgmac_get_info()
445 mac_info->auto_neg = 0; in hns_xgmac_get_info()
448 mac_info->tx_pause_time = pause_time; in hns_xgmac_get_info()
451 mac_info->port_en = dsaf_get_field(port_mode, XGMAC_PORT_MODE_TX_M, in hns_xgmac_get_info()
455 mac_info->duplex = 1; in hns_xgmac_get_info()
456 mac_info->speed = MAC_SPEED_10000; in hns_xgmac_get_info()
459 mac_info->rx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_info()
460 mac_info->tx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_info()
H A Dhns_dsaf_mac.h193 struct mac_info { struct
393 void (*get_info)(void *mac_drv, struct mac_info *mac_info);
H A Dhns_dsaf_mac.c95 struct mac_info info; in hns_mac_get_port_info()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/
H A Dhal_api_mac.c33 struct mac_ax_hw_info *mac_info = mac->hw_info; in hal_mac_get_hwinfo() local
37 mac_info = ops->get_hw_info(mac); in hal_mac_get_hwinfo()
39 hal_spec->macid_num = mac_info->macid_num; in hal_mac_get_hwinfo()
41 hal->hal_com->cv = mac_info->cv; in hal_mac_get_hwinfo()
42 PHL_INFO("[MAC-INFO]- CV : %d\n", mac_info->cv); in hal_mac_get_hwinfo()
43 PHL_INFO("[MAC-INFO]- tx_ch_num: %d\n", mac_info->tx_ch_num); in hal_mac_get_hwinfo()
45 PHL_INFO("[MAC-INFO]- tx_data_ch_num: %d\n", mac_info->tx_data_ch_num); in hal_mac_get_hwinfo()
46 PHL_INFO("[MAC-INFO]- wd_body_len: %d\n", mac_info->wd_body_len); in hal_mac_get_hwinfo()
47 PHL_INFO("[MAC-INFO]- wd_info_len: %d\n", mac_info->wd_info_len); in hal_mac_get_hwinfo()
49 PHL_INFO("[MAC-INFO]- pwr_seq_ver: %d\n", mac_info->pwr_seq_ver); in hal_mac_get_hwinfo()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/
H A Dhal_api_mac.c33 struct mac_ax_hw_info *mac_info = mac->hw_info; in hal_mac_get_hwinfo() local
37 mac_info = ops->get_hw_info(mac); in hal_mac_get_hwinfo()
39 hal_spec->macid_num = mac_info->macid_num; in hal_mac_get_hwinfo()
41 hal->hal_com->cv = mac_info->cv; in hal_mac_get_hwinfo()
42 PHL_INFO("[MAC-INFO]- CV : %d\n", mac_info->cv); in hal_mac_get_hwinfo()
43 PHL_INFO("[MAC-INFO]- tx_ch_num: %d\n", mac_info->tx_ch_num); in hal_mac_get_hwinfo()
45 PHL_INFO("[MAC-INFO]- tx_data_ch_num: %d\n", mac_info->tx_data_ch_num); in hal_mac_get_hwinfo()
46 PHL_INFO("[MAC-INFO]- wd_body_len: %d\n", mac_info->wd_body_len); in hal_mac_get_hwinfo()
47 PHL_INFO("[MAC-INFO]- wd_info_len: %d\n", mac_info->wd_info_len); in hal_mac_get_hwinfo()
49 PHL_INFO("[MAC-INFO]- pwr_seq_ver: %d\n", mac_info->pwr_seq_ver); in hal_mac_get_hwinfo()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/quantenna/qtnfmac/
H A Dcommands.c992 struct qtnf_mac_info *mac_info = &mac->macinfo; in qtnf_parse_wowlan_info() local
1009 mac_info->wowlan = supp; in qtnf_parse_wowlan_info()
1232 struct qtnf_mac_info *mac_info; in qtnf_cmd_resp_proc_mac_info() local
1237 mac_info = &mac->macinfo; in qtnf_cmd_resp_proc_mac_info()
1239 mac_info->bands_cap = resp_info->bands_cap; in qtnf_cmd_resp_proc_mac_info()
1248 mac_info->num_tx_chain = resp_info->num_tx_chain; in qtnf_cmd_resp_proc_mac_info()
1249 mac_info->num_rx_chain = resp_info->num_rx_chain; in qtnf_cmd_resp_proc_mac_info()
1251 mac_info->max_ap_assoc_sta = le16_to_cpu(resp_info->max_ap_assoc_sta); in qtnf_cmd_resp_proc_mac_info()
1252 mac_info->radar_detect_widths = in qtnf_cmd_resp_proc_mac_info()
1255 mac_info->max_acl_mac_addrs = le16_to_cpu(resp_info->max_acl_mac_addrs); in qtnf_cmd_resp_proc_mac_info()
[all …]
H A Dcfg80211.c1107 qtnf_wiphy_setup_if_comb(struct wiphy *wiphy, struct qtnf_mac_info *mac_info) in qtnf_wiphy_setup_if_comb() argument
1114 if_comb = mac_info->if_comb; in qtnf_wiphy_setup_if_comb()
1115 n_if_comb = mac_info->n_if_comb; in qtnf_wiphy_setup_if_comb()
1121 if_comb[i].radar_detect_widths = mac_info->radar_detect_widths; in qtnf_wiphy_setup_if_comb()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/neterion/vxge/
H A Dvxge-main.c727 struct macInfo mac_info; in vxge_learn_mac() local
744 memset(&mac_info, 0, sizeof(struct macInfo)); in vxge_learn_mac()
745 memcpy(mac_info.macaddr, mac_header, ETH_ALEN); in vxge_learn_mac()
752 mac_info.vpath_no = vpath_idx; in vxge_learn_mac()
753 mac_info.state = VXGE_LL_MAC_ADDR_IN_DA_TABLE; in vxge_learn_mac()
754 status = vxge_add_mac_addr(vdev, &mac_info); in vxge_learn_mac()
761 mac_info.state = VXGE_LL_MAC_ADDR_IN_LIST; in vxge_learn_mac()
763 mac_info.vpath_no = vpath_idx; in vxge_learn_mac()
768 if (FALSE == vxge_mac_list_add(vpath, &mac_info)) in vxge_learn_mac()
789 if (FALSE == vxge_mac_list_add(vpath, &mac_info)) in vxge_learn_mac()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/mac_ax/
H A Dphy_rpt.h66 u8 *buf, u32 ppdu_len, u8 mac_info,
H A Dphy_rpt.c610 u8 *buf, u32 ppdu_len, u8 mac_info, in mac_parse_ppdu() argument
617 if (mac_info) { in mac_parse_ppdu()
H A Dtrx_desc.c531 info->u.ppdu.mac_info = !!(hdr_val & AX_RXD_MAC_INFO_VLD); in rxdes_parse_ppdu()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/mac_ax/
H A Dphy_rpt.h66 u8 *buf, u32 ppdu_len, u8 mac_info,
H A Dphy_rpt.c610 u8 *buf, u32 ppdu_len, u8 mac_info, in mac_parse_ppdu() argument
617 if (mac_info) { in mac_parse_ppdu()
H A Dtrx_desc.c531 info->u.ppdu.mac_info = !!(hdr_val & AX_RXD_MAC_INFO_VLD); in rxdes_parse_ppdu()
/OK3568_Linux_fs/kernel/drivers/net/fddi/skfp/h/
H A Dfddi.h23 u_char mac_info[4478] ; member
H A Dfplustm.h169 u_char mac_info[0x20] ; member
/OK3568_Linux_fs/kernel/drivers/net/fddi/skfp/
H 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()
/OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/
H A Dhif.c33 struct wilc_rcvd_mac_info mac_info; member
661 struct wilc_rcvd_mac_info *mac_info = &msg->body.mac_info; in handle_rcvd_gnrl_async_info() local
675 host_int_parse_assoc_resp_info(vif, mac_info->status); in handle_rcvd_gnrl_async_info()
676 } else if (mac_info->status == WILC_MAC_STATUS_DISCONNECTED) { in handle_rcvd_gnrl_async_info()
1629 msg->body.mac_info.status = buffer[7]; in wilc_gnrl_async_info_received()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/neterion/
H A Ds2io.h794 struct mac_info { struct
865 struct mac_info mac_control;
H 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()
1197 struct mac_info *mac_control = &nic->mac_control; in init_nic()
2214 struct mac_info *mac_control = &nic->mac_control; in start_nic()
2372 struct mac_info *mac_control = &nic->mac_control; in free_tx_buffers()
2666 struct mac_info *mac_control = &sp->mac_control; in free_rxd_blk()
2718 struct mac_info *mac_control = &sp->mac_control; in free_rx_buffers()
2795 struct mac_info *mac_control = &nic->mac_control; in s2io_poll_inta()
2836 struct mac_info *mac_control = &nic->mac_control; in s2io_netpoll()
4016 struct mac_info *mac_control = &sp->mac_control; in s2io_xmit()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/
H A Dr8169_main.c1962 } mac_info[] = { in rtl8169_get_mac_version() local
2051 const struct rtl_mac_info *p = mac_info; in rtl8169_get_mac_version()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/mac/
H A Dmac_def.h7771 u8 mac_info; member
15042 u8 *buf, u32 ppdu_len, u8 mac_info,
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/mac/
H A Dmac_def.h7771 u8 mac_info; member
15042 u8 *buf, u32 ppdu_len, u8 mac_info,