Home
last modified time | relevance | path

Searched refs:hnae_get_field (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/hisilicon/hns/
Dhnae.h702 #define hnae_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro
705 hnae_get_field((origin), (0x1 << (shift)), (shift))
Dhns_enet.c487 *out_bnum = hnae_get_field(bnum_flag, in get_v2rx_desc_bnum()
493 *out_bnum = hnae_get_field(bnum_flag, in get_rx_desc_bnum()
533 l3id = hnae_get_field(flag, HNS_RXD_L3ID_M, HNS_RXD_L3ID_S); in hns_nic_rx_checksum()
534 l4id = hnae_get_field(flag, HNS_RXD_L4ID_M, HNS_RXD_L4ID_S); in hns_nic_rx_checksum()
Dhns_ethtool.c76 mdix_ctrl = hnae_get_field(retval, PHY_MDIX_CTRL_M, PHY_MDIX_CTRL_S); in hns_get_mdix_mode()