Searched refs:dsaf_get_field (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_reg.h | 1067 #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()
|
D | hns_dsaf_xgmac.c | 451 mac_info->port_en = dsaf_get_field(port_mode, XGMAC_PORT_MODE_TX_M, in hns_xgmac_get_info() 453 dsaf_get_field(port_mode, XGMAC_PORT_MODE_RX_M, in hns_xgmac_get_info()
|
D | hns_dsaf_ppe.c | 172 if (!dsaf_get_field(qid_mod, PPE_CFG_QID_MODE_DEF_QID_M, in hns_ppe_set_qid()
|
D | hns_dsaf_main.c | 1072 = 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()
|