Searched refs:mac_sl (Results 1 – 6 of 6) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.c | 142 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 …]
|
D | cpsw.c | 497 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()
|
D | am65-cpsw-nuss.h | 26 struct cpsw_sl *mac_sl; member
|
D | cpsw_new.c | 690 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()
|
D | cpsw_priv.c | 493 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()
|
D | cpsw_priv.h | 311 struct cpsw_sl *mac_sl; member
|