Home
last modified time | relevance | path

Searched refs:mac_sl (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c142 cpsw_sl_reset(port->slave.mac_sl, 100); in am65_cpsw_sl_ctl_reset()
192 cpsw_sl_ctl_set(port->slave.mac_sl, mac_control); in am65_cpsw_nuss_adjust_link()
207 cpsw_sl_ctl_set(port->slave.mac_sl, CPSW_SL_CTL_CMD_IDLE); in am65_cpsw_nuss_adjust_link()
209 tmo = cpsw_sl_wait_for_idle(port->slave.mac_sl, 100); in am65_cpsw_nuss_adjust_link()
211 cpsw_sl_reg_read(port->slave.mac_sl, CPSW_SL_MACSTATUS), in am65_cpsw_nuss_adjust_link()
214 cpsw_sl_ctl_reset(port->slave.mac_sl); in am65_cpsw_nuss_adjust_link()
1424 cpsw_sl_reset(port->slave.mac_sl, 100); in am65_cpsw_nuss_slave_disable_unused()
1425 cpsw_sl_ctl_reset(port->slave.mac_sl); in am65_cpsw_nuss_slave_disable_unused()
1777 port->slave.mac_sl = cpsw_sl_get("am65", dev, port->port_base); in am65_cpsw_nuss_init_slave_ports()
1778 if (IS_ERR(port->slave.mac_sl)) in am65_cpsw_nuss_init_slave_ports()
[all …]
Dcpsw.c497 cpsw_sl_ctl_set(slave->mac_sl, mac_control); in _cpsw_adjust_link()
516 cpsw_sl_wait_for_idle(slave->mac_sl, 100); in _cpsw_adjust_link()
518 cpsw_sl_ctl_reset(slave->mac_sl); in _cpsw_adjust_link()
576 cpsw_sl_reset(slave->mac_sl, 100); in cpsw_slave_open()
577 cpsw_sl_ctl_reset(slave->mac_sl); in cpsw_slave_open()
580 cpsw_sl_reg_write(slave->mac_sl, CPSW_SL_RX_PRI_MAP, in cpsw_slave_open()
607 cpsw_sl_reg_write(slave->mac_sl, CPSW_SL_RX_MAXLEN, in cpsw_slave_open()
732 cpsw_sl_reset(slave->mac_sl, 100); in cpsw_slave_stop()
733 cpsw_sl_ctl_reset(slave->mac_sl); in cpsw_slave_stop()
Dam65-cpsw-nuss.h26 struct cpsw_sl *mac_sl; member
Dcpsw_new.c690 cpsw_sl_ctl_set(slave->mac_sl, mac_control); in cpsw_adjust_link()
710 cpsw_sl_wait_for_idle(slave->mac_sl, 100); in cpsw_adjust_link()
712 cpsw_sl_ctl_reset(slave->mac_sl); in cpsw_adjust_link()
729 cpsw_sl_reset(slave->mac_sl, 100); in cpsw_slave_open()
730 cpsw_sl_ctl_reset(slave->mac_sl); in cpsw_slave_open()
733 cpsw_sl_reg_write(slave->mac_sl, CPSW_SL_RX_PRI_MAP, in cpsw_slave_open()
760 cpsw_sl_reg_write(slave->mac_sl, CPSW_SL_RX_MAXLEN, in cpsw_slave_open()
Dcpsw_priv.c493 slave->mac_sl = cpsw_sl_get("cpsw", dev, regs + sliver_offset); in cpsw_init_common()
494 if (IS_ERR(slave->mac_sl)) in cpsw_init_common()
495 return PTR_ERR(slave->mac_sl); in cpsw_init_common()
Dcpsw_priv.h311 struct cpsw_sl *mac_sl; member