Searched refs:netsec_read (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/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() 708 netsec_read(priv, NETSEC_REG_NRM_TX_DONE_PKTCNT); in netsec_clean_tx_dring() 981 netsec_read(priv, NETSEC_REG_NRM_RX_PKTCNT); in netsec_process_rx() 1409 if (!netsec_read(priv, NETSEC_REG_ADDR_DIS_CORE)) { in netsec_reset_hardware() 1415 while (netsec_read(priv, NETSEC_REG_DMA_HM_CTRL) & in netsec_reset_hardware() 1419 while (netsec_read(priv, NETSEC_REG_DMA_MH_CTRL) & in netsec_reset_hardware() 1428 while (netsec_read(priv, NETSEC_REG_COM_INIT) != 0) in netsec_reset_hardware() [all …]
|