Searched refs:dsaf_get_bit (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_gmac.c | 102 *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() 212 port_mode->pad_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_PAD_EN_B); in hns_gmac_port_mode_get() 213 port_mode->crc_add = dsaf_get_bit(tx_ctrl, GMAC_TX_CRC_ADD_B); in hns_gmac_port_mode_get() 214 port_mode->an_enable = dsaf_get_bit(tx_ctrl, GMAC_TX_AN_EN_B); in hns_gmac_port_mode_get() 217 dsaf_get_bit(recv_ctrl, GMAC_RECV_CTRL_RUNT_PKT_EN_B); in hns_gmac_port_mode_get() 219 dsaf_get_bit(recv_ctrl, GMAC_RECV_CTRL_STRIP_PAD_EN_B); in hns_gmac_port_mode_get() 242 *rx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_RX_FDFC_B); in hns_gmac_get_pausefrm_cfg() 243 *tx_pause_en = dsaf_get_bit(pause_en, GMAC_PAUSE_EN_TX_FDFC_B); in hns_gmac_get_pausefrm_cfg() 463 u32 sta_addr_en = dsaf_get_bit(val, GMAC_ADDR_EN_B); in hns_gmac_set_mac_addr()
|
D | hns_dsaf_xgmac.c | 431 mac_info->pad_and_crc_en = dsaf_get_bit(ctrl_val, XGMAC_CTL_TX_PAD_B); in hns_xgmac_get_info() 446 mac_info->rx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_info() 447 mac_info->tx_pause_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_info() 462 *rx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_RX_B); in hns_xgmac_get_pausefrm_cfg() 463 *tx_en = dsaf_get_bit(pause_ctrl, XGMAC_PAUSE_CTL_TX_B); in hns_xgmac_get_pausefrm_cfg()
|
D | hns_dsaf_main.c | 1064 = 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()
|
D | hns_dsaf_misc.c | 536 if (dsaf_get_bit(mode, mac_cb->port_mode_off)) in hns_mac_get_phy_if()
|
D | hns_dsaf_reg.h | 1069 #define dsaf_get_bit(origin, shift) \ macro
|