Searched refs:mac_sl (Results 1 – 6 of 6) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.c | 152 cpsw_sl_reset(port->slave.mac_sl, 100); in am65_cpsw_sl_ctl_reset() 579 cpsw_sl_ctl_set(port->slave.mac_sl, CPSW_SL_CTL_CMD_IDLE); in am65_cpsw_nuss_ndo_slave_open() 580 cpsw_sl_wait_for_idle(port->slave.mac_sl, 100); in am65_cpsw_nuss_ndo_slave_open() 581 cpsw_sl_ctl_reset(port->slave.mac_sl); in am65_cpsw_nuss_ndo_slave_open() 584 cpsw_sl_reg_write(port->slave.mac_sl, CPSW_SL_SOFT_RESET, 1); in am65_cpsw_nuss_ndo_slave_open() 586 reg = cpsw_sl_reg_read(port->slave.mac_sl, CPSW_SL_SOFT_RESET); in am65_cpsw_nuss_ndo_slave_open() 1513 cpsw_sl_ctl_set(port->slave.mac_sl, CPSW_SL_CTL_EXT_EN); in am65_cpsw_nuss_mac_config() 1515 cpsw_sl_ctl_clr(port->slave.mac_sl, CPSW_SL_CTL_EXT_EN); in am65_cpsw_nuss_mac_config() 1519 cpsw_sl_ctl_set(port->slave.mac_sl, in am65_cpsw_nuss_mac_config() 1522 cpsw_sl_ctl_clr(port->slave.mac_sl, in am65_cpsw_nuss_mac_config() [all …]
|
D | cpsw.c | 489 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() 724 cpsw_sl_reset(slave->mac_sl, 100); in cpsw_slave_stop() 725 cpsw_sl_ctl_reset(slave->mac_sl); in cpsw_slave_stop()
|
D | am65-cpsw-nuss.h | 31 struct cpsw_sl *mac_sl; member
|
D | cpsw_new.c | 684 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()
|
D | cpsw_priv.c | 494 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()
|
D | cpsw_priv.h | 313 struct cpsw_sl *mac_sl; member
|