Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/ti/
Dam65-cpsw-nuss.c181 cpsw_sl_reset(port->slave.mac_sl, 100); in am65_cpsw_sl_ctl_reset()
878 cpsw_sl_ctl_set(port->slave.mac_sl, CPSW_SL_CTL_CMD_IDLE); in am65_cpsw_nuss_ndo_slave_open()
879 cpsw_sl_wait_for_idle(port->slave.mac_sl, 100); in am65_cpsw_nuss_ndo_slave_open()
880 cpsw_sl_ctl_reset(port->slave.mac_sl); in am65_cpsw_nuss_ndo_slave_open()
883 cpsw_sl_reg_write(port->slave.mac_sl, CPSW_SL_SOFT_RESET, 1); in am65_cpsw_nuss_ndo_slave_open()
885 reg = cpsw_sl_reg_read(port->slave.mac_sl, CPSW_SL_SOFT_RESET); in am65_cpsw_nuss_ndo_slave_open()
2069 cpsw_sl_ctl_set(port->slave.mac_sl, CPSW_SL_CTL_EXT_EN); in am65_cpsw_nuss_mac_config()
2071 cpsw_sl_ctl_clr(port->slave.mac_sl, CPSW_SL_CTL_EXT_EN); in am65_cpsw_nuss_mac_config()
2075 cpsw_sl_ctl_set(port->slave.mac_sl, in am65_cpsw_nuss_mac_config()
2078 cpsw_sl_ctl_clr(port->slave.mac_sl, in am65_cpsw_nuss_mac_config()
[all …]
Dcpsw.c489 cpsw_sl_ctl_set(slave->mac_sl, mac_control); in _cpsw_adjust_link()
508 cpsw_sl_wait_for_idle(slave->mac_sl, 100); in _cpsw_adjust_link()
510 cpsw_sl_ctl_reset(slave->mac_sl); in _cpsw_adjust_link()
568 cpsw_sl_reset(slave->mac_sl, 100); in cpsw_slave_open()
569 cpsw_sl_ctl_reset(slave->mac_sl); in cpsw_slave_open()
572 cpsw_sl_reg_write(slave->mac_sl, CPSW_SL_RX_PRI_MAP, in cpsw_slave_open()
599 cpsw_sl_reg_write(slave->mac_sl, CPSW_SL_RX_MAXLEN, in cpsw_slave_open()
726 cpsw_sl_reset(slave->mac_sl, 100); in cpsw_slave_stop()
727 cpsw_sl_ctl_reset(slave->mac_sl); in cpsw_slave_stop()
Dcpsw_new.c684 cpsw_sl_ctl_set(slave->mac_sl, mac_control); in cpsw_adjust_link()
704 cpsw_sl_wait_for_idle(slave->mac_sl, 100); in cpsw_adjust_link()
706 cpsw_sl_ctl_reset(slave->mac_sl); in cpsw_adjust_link()
723 cpsw_sl_reset(slave->mac_sl, 100); in cpsw_slave_open()
724 cpsw_sl_ctl_reset(slave->mac_sl); in cpsw_slave_open()
727 cpsw_sl_reg_write(slave->mac_sl, CPSW_SL_RX_PRI_MAP, in cpsw_slave_open()
754 cpsw_sl_reg_write(slave->mac_sl, CPSW_SL_RX_MAXLEN, in cpsw_slave_open()
Dam65-cpsw-nuss.h30 struct cpsw_sl *mac_sl; member
Dcpsw_priv.c494 slave->mac_sl = cpsw_sl_get("cpsw", dev, regs + sliver_offset); in cpsw_init_common()
495 if (IS_ERR(slave->mac_sl)) in cpsw_init_common()
496 return PTR_ERR(slave->mac_sl); in cpsw_init_common()
Dcpsw_priv.h313 struct cpsw_sl *mac_sl; member