Searched refs:hnae_get_field (Results 1 – 3 of 3) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/hisilicon/hns/ |
D | hnae.h | 580 #define hnae_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro 583 hnae_get_field((origin), (0x1 << (shift)), (shift))
|
D | hns_enet.c | 243 if (hnae_get_field(flag, HNS_RXD_VLAN_M, HNS_RXD_VLAN_S) in hns_nic_get_headlen() 252 if (hnae_get_field(flag, HNS_RXD_L3ID_M, HNS_RXD_L3ID_S) in hns_nic_get_headlen() 266 } else if (hnae_get_field(flag, HNS_RXD_L3ID_M, HNS_RXD_L3ID_S) in hns_nic_get_headlen() 282 if (hnae_get_field(flag, HNS_RXD_L4ID_M, HNS_RXD_L4ID_S) in hns_nic_get_headlen() 296 } else if (hnae_get_field(flag, HNS_RXD_L4ID_M, HNS_RXD_L4ID_S) in hns_nic_get_headlen() 350 bnum = hnae_get_field(bnum_flag, HNS_RXD_BUFNUM_M, HNS_RXD_BUFNUM_S); in hns_nic_poll_rx_skb()
|
D | hns_ethtool.c | 85 mdix_ctrl = hnae_get_field(retval, PHY_MDIX_CTRL_M, PHY_MDIX_CTRL_S); in hns_get_mdix_mode()
|