Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c451 static void hns_gmac_get_info(void *mac_drv, struct mac_info *mac_info) in hns_gmac_get_info() argument
463 mac_info->pad_and_crc_en = port_mode.crc_add && port_mode.pad_enable; in hns_gmac_get_info()
464 mac_info->auto_neg = port_mode.an_enable; in hns_gmac_get_info()
467 mac_info->tx_pause_time = fc_tx_timer; in hns_gmac_get_info()
470 mac_info->port_en = rx && tx; in hns_gmac_get_info()
473 mac_info->duplex = duplex; in hns_gmac_get_info()
478 mac_info->speed = MAC_SPEED_10; in hns_gmac_get_info()
481 mac_info->speed = MAC_SPEED_100; in hns_gmac_get_info()
484 mac_info->speed = MAC_SPEED_1000; in hns_gmac_get_info()
487 mac_info->speed = 0; in hns_gmac_get_info()
[all …]
Dhns_dsaf_xgmac.c436 static void hns_xgmac_get_info(void *mac_drv, struct mac_info *mac_info) in hns_xgmac_get_info() argument
442 mac_info->pad_and_crc_en = dsaf_get_bit(ctrl_val, XGMAC_CTL_TX_PAD_B); in hns_xgmac_get_info()
443 mac_info->auto_neg = 0; in hns_xgmac_get_info()
446 mac_info->tx_pause_time = pause_time; in hns_xgmac_get_info()
449 mac_info->port_en = dsaf_get_field(port_mode, XGMAC_PORT_MODE_TX_M, in hns_xgmac_get_info()
453 mac_info->duplex = 1; in hns_xgmac_get_info()
454 mac_info->speed = MAC_SPEED_10000; in hns_xgmac_get_info()
457 mac_info->rx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_info()
458 mac_info->tx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_info()
Dhns_dsaf_mac.h197 struct mac_info { struct
389 void (*get_info)(void *mac_drv, struct mac_info *mac_info);
Dhns_dsaf_mac.c118 struct mac_info info; in hns_mac_get_port_info()
/drivers/net/ethernet/neterion/vxge/
Dvxge-main.c726 struct macInfo mac_info; in vxge_learn_mac() local
743 memset(&mac_info, 0, sizeof(struct macInfo)); in vxge_learn_mac()
744 memcpy(mac_info.macaddr, mac_header, ETH_ALEN); in vxge_learn_mac()
751 mac_info.vpath_no = vpath_idx; in vxge_learn_mac()
752 mac_info.state = VXGE_LL_MAC_ADDR_IN_DA_TABLE; in vxge_learn_mac()
753 status = vxge_add_mac_addr(vdev, &mac_info); in vxge_learn_mac()
760 mac_info.state = VXGE_LL_MAC_ADDR_IN_LIST; in vxge_learn_mac()
762 mac_info.vpath_no = vpath_idx; in vxge_learn_mac()
767 if (FALSE == vxge_mac_list_add(vpath, &mac_info)) in vxge_learn_mac()
788 if (FALSE == vxge_mac_list_add(vpath, &mac_info)) in vxge_learn_mac()
[all …]
/drivers/net/fddi/skfp/h/
Dfddi.h27 u_char mac_info[4478] ; member
Dfplustm.h173 u_char mac_info[0x20] ; member
/drivers/net/fddi/skfp/
Dfplustm.c491 set_int((char *)mac->mac_info,(int)t_request) ; in build_claim_beacon()
506 set_int((char *) mac->mac_info,((int)BEACON_INFO<<24) + 0 ) ; in build_claim_beacon()
522 set_int((char *) mac->mac_info,((int)DBEACON_INFO<<24) + 0 ) ; in build_claim_beacon()
523 set_int((char *) mac->mac_info+4,0) ; in build_claim_beacon()
524 set_int((char *) mac->mac_info+8,0) ; in build_claim_beacon()
/drivers/net/ethernet/neterion/
Ds2io.h793 struct mac_info { struct
864 struct mac_info mac_control;
Ds2io.c583 struct mac_info *mac_control = &nic->mac_control; in init_shared_mem()
886 struct mac_info *mac_control; in free_shared_mem()
1206 struct mac_info *mac_control = &nic->mac_control; in init_nic()
2218 struct mac_info *mac_control = &nic->mac_control; in start_nic()
2372 struct mac_info *mac_control = &nic->mac_control; in free_tx_buffers()
2673 struct mac_info *mac_control = &sp->mac_control; in free_rxd_blk()
2728 struct mac_info *mac_control = &sp->mac_control; in free_rx_buffers()
2805 struct mac_info *mac_control = &nic->mac_control; in s2io_poll_inta()
2846 struct mac_info *mac_control = &nic->mac_control; in s2io_netpoll()
4028 struct mac_info *mac_control = &sp->mac_control; in s2io_xmit()
[all …]
/drivers/staging/wilc1000/
Dhost_interface.c185 struct sta_inactive_t mac_info; member
2933 Handle_Get_InActiveTime(msg.drv, &msg.body.mac_info); in hostIFthread()
3757 memcpy(msg.body.mac_info.mac, mac, ETH_ALEN); in host_int_get_inactive_time()
/drivers/net/ethernet/realtek/
Dr8169.c2358 } mac_info[] = { in rtl8169_get_mac_version() local
2447 const struct rtl_mac_info *p = mac_info; in rtl8169_get_mac_version()