Lines Matching refs:netsec_read
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()
1407 if (!netsec_read(priv, NETSEC_REG_ADDR_DIS_CORE)) { in netsec_reset_hardware()
1413 while (netsec_read(priv, NETSEC_REG_DMA_HM_CTRL) & in netsec_reset_hardware()
1417 while (netsec_read(priv, NETSEC_REG_DMA_MH_CTRL) & in netsec_reset_hardware()
1426 while (netsec_read(priv, NETSEC_REG_COM_INIT) != 0) in netsec_reset_hardware()
1462 if (!(netsec_read(priv, NETSEC_REG_TOP_STATUS) & in netsec_reset_hardware()
1479 while ((netsec_read(priv, NETSEC_REG_MODE_TRANS_COMP_STATUS) & in netsec_reset_hardware()
1592 u32 val, status = netsec_read(priv, NETSEC_REG_TOP_STATUS); in netsec_irq_handler()
1597 val = netsec_read(priv, NETSEC_REG_NRM_TX_STATUS); in netsec_irq_handler()
1601 val = netsec_read(priv, NETSEC_REG_NRM_RX_STATUS); in netsec_irq_handler()
2098 hw_ver = netsec_read(priv, NETSEC_REG_F_TAIKI_VER); in netsec_probe()