Home
last modified time | relevance | path

Searched refs:cpsw_sl_reg_read (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/ti/
H A Dcpsw_sl.c189 u32 cpsw_sl_reg_read(struct cpsw_sl *sl, enum cpsw_sl_regs reg) in cpsw_sl_reg_read() function
266 } while ((cpsw_sl_reg_read(sl, CPSW_SL_SOFT_RESET) & in cpsw_sl_reset()
270 if (cpsw_sl_reg_read(sl, CPSW_SL_SOFT_RESET) & CPSW_SL_SOFT_RESET_BIT) in cpsw_sl_reset()
284 val = cpsw_sl_reg_read(sl, CPSW_SL_MACCONTROL); in cpsw_sl_ctl_set()
301 val = cpsw_sl_reg_read(sl, CPSW_SL_MACCONTROL); in cpsw_sl_ctl_clr()
319 } while (!(cpsw_sl_reg_read(sl, CPSW_SL_MACSTATUS) & in cpsw_sl_wait_for_idle()
322 if (!(cpsw_sl_reg_read(sl, CPSW_SL_MACSTATUS) & sl->idle_mask)) { in cpsw_sl_wait_for_idle()
H A Dcpsw_sl.h70 u32 cpsw_sl_reg_read(struct cpsw_sl *sl, enum cpsw_sl_regs reg);
H A Dam65-cpsw-nuss.c586 reg = cpsw_sl_reg_read(port->slave.mac_sl, CPSW_SL_SOFT_RESET); in am65_cpsw_nuss_ndo_slave_open()
1549 cpsw_sl_reg_read(port->slave.mac_sl, CPSW_SL_MACSTATUS), tmo); in am65_cpsw_nuss_mac_link_down()