Searched refs:hnae_get_field (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/ |
D | hnae.h | 702 #define hnae_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro 705 hnae_get_field((origin), (0x1 << (shift)), (shift))
|
D | hns_enet.c | 462 *out_bnum = hnae_get_field(bnum_flag, in get_v2rx_desc_bnum() 468 *out_bnum = hnae_get_field(bnum_flag, in get_rx_desc_bnum() 508 l3id = hnae_get_field(flag, HNS_RXD_L3ID_M, HNS_RXD_L3ID_S); in hns_nic_rx_checksum() 509 l4id = hnae_get_field(flag, HNS_RXD_L4ID_M, HNS_RXD_L4ID_S); in hns_nic_rx_checksum()
|
D | hns_ethtool.c | 76 mdix_ctrl = hnae_get_field(retval, PHY_MDIX_CTRL_M, PHY_MDIX_CTRL_S); in hns_get_mdix_mode()
|