Home
last modified time | relevance | path

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

/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()
215 port_mode->pad_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_PAD_EN_B); in hns_gmac_port_mode_get()
216 port_mode->crc_add = dsaf_get_bit(tx_ctrl, GMAC_TX_CRC_ADD_B); in hns_gmac_port_mode_get()
217 port_mode->an_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_AN_EN_B); in hns_gmac_port_mode_get()
220 dsaf_get_bit(recv_ctrl, GMAC_RECV_CTRL_RUNT_PKT_EN_B); in hns_gmac_port_mode_get()
222 dsaf_get_bit(recv_ctrl, GMAC_RECV_CTRL_STRIP_PAD_EN_B); in hns_gmac_port_mode_get()
245 *rx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_RX_FDFC_B); in hns_gmac_get_pausefrm_cfg()
246 *tx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_TX_FDFC_B); in hns_gmac_get_pausefrm_cfg()
430 u32 sta_addr_en = dsaf_get_bit(val, GMAC_ADDR_EN_B); in hns_gmac_set_mac_addr()
Dhns_dsaf_xgmac.c442 mac_info->pad_and_crc_en = dsaf_get_bit(ctrl_val, XGMAC_CTL_TX_PAD_B); in hns_xgmac_get_info()
457 mac_info->rx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_info()
458 mac_info->tx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_info()
473 *rx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_pausefrm_cfg()
474 *tx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_pausefrm_cfg()
Dhns_dsaf_main.c983 = dsaf_get_bit(tcam_read_data4, in hns_dsaf_tcam_uc_get()
986 = dsaf_get_bit(tcam_read_data4, DSAF_TBL_MCAST_CFG4_OLD_EN_S); in hns_dsaf_tcam_uc_get()
988 = dsaf_get_bit(tcam_read_data0, in hns_dsaf_tcam_uc_get()
995 = dsaf_get_bit(tcam_read_data0, DSAF_TBL_UCAST_CFG1_DVC_S); in hns_dsaf_tcam_uc_get()
1040 dsaf_get_bit(data_tmp, DSAF_TBL_MCAST_CFG4_ITEM_VLD_S); in hns_dsaf_tcam_mc_get()
1042 dsaf_get_bit(data_tmp, DSAF_TBL_MCAST_CFG4_OLD_EN_S); in hns_dsaf_tcam_mc_get()
Dhns_dsaf_misc.c444 if (dsaf_get_bit(mode, mac_cb->port_mode_off)) in hns_mac_get_phy_if()
Dhns_dsaf_reg.h1063 #define dsaf_get_bit(origin, shift) \ macro