Home
last modified time | relevance | path

Searched refs:dsaf_get_field (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/hisilicon/hns/
H A Dhns_dsaf_reg.h1067 #define dsaf_get_field(origin, mask, shift) (((origin) & (mask)) >> (shift)) macro
1070 dsaf_get_field((origin), (1ull << (shift)), (shift))
1078 return dsaf_get_field(origin, mask, shift); in dsaf_get_reg_field()
H A Dhns_dsaf_xgmac.c438 mac_info->port_en = dsaf_get_field(port_mode, XGMAC_PORT_MODE_TX_M, in hns_xgmac_get_info()
440 dsaf_get_field(port_mode, XGMAC_PORT_MODE_RX_M, in hns_xgmac_get_info()
H A Dhns_dsaf_ppe.c169 if (!dsaf_get_field(qid_mod, PPE_CFG_QID_MODE_DEF_QID_M, in hns_ppe_set_qid()
H A Dhns_dsaf_main.c1072 = dsaf_get_field(tcam_read_data0, in hns_dsaf_tcam_uc_get()
1125 dsaf_get_field(data_tmp, DSAF_TBL_MCAST_CFG4_VM128_112_M, in hns_dsaf_tcam_mc_get()
2036 port = dsaf_get_field( in hns_dsaf_clr_mac_mc_port()
2052 mac_entry.in_vlan_id = dsaf_get_field( in hns_dsaf_clr_mac_mc_port()