Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_gmac.c100 *tx = dsaf_get_bit(porten, GMAC_PORT_TX_EN_B); in hns_gmac_get_en()
101 *rx = dsaf_get_bit(porten, GMAC_PORT_RX_EN_B); in hns_gmac_get_en()
226 port_mode->pad_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_PAD_EN_B); in hns_gmac_port_mode_get()
227 port_mode->crc_add = dsaf_get_bit(tx_ctrl, GMAC_TX_CRC_ADD_B); in hns_gmac_port_mode_get()
228 port_mode->an_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_AN_EN_B); in hns_gmac_port_mode_get()
231 dsaf_get_bit(recv_ctrl, GMAC_RECV_CTRL_RUNT_PKT_EN_B); in hns_gmac_port_mode_get()
233 dsaf_get_bit(recv_ctrl, GMAC_RECV_CTRL_STRIP_PAD_EN_B); in hns_gmac_port_mode_get()
256 *rx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_RX_FDFC_B); in hns_gmac_get_pausefrm_cfg()
257 *tx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_TX_FDFC_B); in hns_gmac_get_pausefrm_cfg()
477 u32 sta_addr_en = dsaf_get_bit(val, GMAC_ADDR_EN_B); in hns_gmac_set_mac_addr()
Dhns_dsaf_xgmac.c447 mac_info->pad_and_crc_en = dsaf_get_bit(ctrl_val, XGMAC_CTL_TX_PAD_B); in hns_xgmac_get_info()
462 mac_info->rx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_info()
463 mac_info->tx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_info()
478 *rx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_pausefrm_cfg()
479 *tx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_pausefrm_cfg()
Dhns_dsaf_main.c1009 = dsaf_get_bit(tcam_read_data4, in hns_dsaf_tcam_uc_get()
1012 = dsaf_get_bit(tcam_read_data4, DSAF_TBL_MCAST_CFG4_OLD_EN_S); in hns_dsaf_tcam_uc_get()
1014 = dsaf_get_bit(tcam_read_data0, in hns_dsaf_tcam_uc_get()
1021 = dsaf_get_bit(tcam_read_data0, DSAF_TBL_UCAST_CFG1_DVC_S); in hns_dsaf_tcam_uc_get()
1066 dsaf_get_bit(data_tmp, DSAF_TBL_MCAST_CFG4_ITEM_VLD_S); in hns_dsaf_tcam_mc_get()
1068 dsaf_get_bit(data_tmp, DSAF_TBL_MCAST_CFG4_OLD_EN_S); in hns_dsaf_tcam_mc_get()
Dhns_dsaf_reg.h1072 #define dsaf_get_bit(origin, shift) \ macro
Dhns_dsaf_misc.c534 if (dsaf_get_bit(mode, mac_cb->port_mode_off)) in hns_mac_get_phy_if()