Home
last modified time | relevance | path

Searched refs:dsaf_get_bit (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c102 *tx = dsaf_get_bit(porten, GMAC_PORT_TX_EN_B); in hns_gmac_get_en()
103 *rx = dsaf_get_bit(porten, GMAC_PORT_RX_EN_B); in hns_gmac_get_en()
228 port_mode->pad_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_PAD_EN_B); in hns_gmac_port_mode_get()
229 port_mode->crc_add = dsaf_get_bit(tx_ctrl, GMAC_TX_CRC_ADD_B); in hns_gmac_port_mode_get()
230 port_mode->an_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_AN_EN_B); in hns_gmac_port_mode_get()
233 dsaf_get_bit(recv_ctrl, GMAC_RECV_CTRL_RUNT_PKT_EN_B); in hns_gmac_port_mode_get()
235 dsaf_get_bit(recv_ctrl, GMAC_RECV_CTRL_STRIP_PAD_EN_B); in hns_gmac_port_mode_get()
258 *rx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_RX_FDFC_B); in hns_gmac_get_pausefrm_cfg()
259 *tx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_TX_FDFC_B); in hns_gmac_get_pausefrm_cfg()
479 u32 sta_addr_en = dsaf_get_bit(val, GMAC_ADDR_EN_B); in hns_gmac_set_mac_addr()
Dhns_dsaf_xgmac.c444 mac_info->pad_and_crc_en = dsaf_get_bit(ctrl_val, XGMAC_CTL_TX_PAD_B); in hns_xgmac_get_info()
459 mac_info->rx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_info()
460 mac_info->tx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_info()
475 *rx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_pausefrm_cfg()
476 *tx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_pausefrm_cfg()
Dhns_dsaf_main.c1064 = dsaf_get_bit(tcam_read_data4, in hns_dsaf_tcam_uc_get()
1067 = dsaf_get_bit(tcam_read_data4, DSAF_TBL_MCAST_CFG4_OLD_EN_S); in hns_dsaf_tcam_uc_get()
1069 = dsaf_get_bit(tcam_read_data0, in hns_dsaf_tcam_uc_get()
1076 = dsaf_get_bit(tcam_read_data0, DSAF_TBL_UCAST_CFG1_DVC_S); in hns_dsaf_tcam_uc_get()
1121 dsaf_get_bit(data_tmp, DSAF_TBL_MCAST_CFG4_ITEM_VLD_S); in hns_dsaf_tcam_mc_get()
1123 dsaf_get_bit(data_tmp, DSAF_TBL_MCAST_CFG4_OLD_EN_S); in hns_dsaf_tcam_mc_get()
Dhns_dsaf_misc.c536 if (dsaf_get_bit(mode, mac_cb->port_mode_off)) in hns_mac_get_phy_if()
Dhns_dsaf_reg.h1069 #define dsaf_get_bit(origin, shift) \ macro