Searched refs:netsec_read (Results 1 – 1 of 1) sorted by relevance
/drivers/net/ethernet/socionext/ |
D | netsec.c | 336 static u32 netsec_read(struct netsec_priv *priv, u32 reg_addr) in netsec_read() function 366 while (--timeout && netsec_read(priv, addr) & mask) in netsec_wait_while_busy() 372 while (--timeout && netsec_read(priv, addr) & mask) in netsec_wait_while_busy() 401 *read = netsec_read(priv, MAC_REG_DATA); in netsec_mac_read() 694 netsec_read(priv, NETSEC_REG_NRM_TX_DONE_PKTCNT); in netsec_clean_tx_dring() 969 netsec_read(priv, NETSEC_REG_NRM_RX_PKTCNT); in netsec_process_rx() 1399 if (!netsec_read(priv, NETSEC_REG_ADDR_DIS_CORE)) { in netsec_reset_hardware() 1405 while (netsec_read(priv, NETSEC_REG_DMA_HM_CTRL) & in netsec_reset_hardware() 1409 while (netsec_read(priv, NETSEC_REG_DMA_MH_CTRL) & in netsec_reset_hardware() 1418 while (netsec_read(priv, NETSEC_REG_COM_INIT) != 0) in netsec_reset_hardware() [all …]
|