Home
last modified time | relevance | path

Searched refs:slave_write (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw_priv.c273 slave_write(slave, mac_hi(priv->mac_addr), SA_HI); in cpsw_set_slave_mac()
274 slave_write(slave, mac_lo(priv->mac_addr), SA_LO); in cpsw_set_slave_mac()
559 slave_write(slave, 0, CPSW1_TS_CTL); in cpsw_hwtstamp_v1()
572 slave_write(slave, ts_en, CPSW1_TS_CTL); in cpsw_hwtstamp_v1()
573 slave_write(slave, seq_id, CPSW1_TS_SEQ_LTYPE); in cpsw_hwtstamp_v1()
609 slave_write(slave, mtype, CPSW2_TS_SEQ_MTYPE); in cpsw_hwtstamp_v2()
610 slave_write(slave, ctrl, CPSW2_CONTROL); in cpsw_hwtstamp_v2()
868 slave_write(slave, send_pct, SEND_PERCENT); in cpsw_set_fifo_bw()
918 slave_write(slave, val, tx_in_ctl_rg); in cpsw_set_fifo_rlimit()
1042 slave_write(slave, tx_prio_map, offset); in cpsw_set_mqprio()
[all …]
Dcpsw.c556 slave_write(slave, slave->port_vlan, CPSW1_PORT_VLAN); in cpsw_add_dual_emac_def_ale_entries()
558 slave_write(slave, slave->port_vlan, CPSW2_PORT_VLAN); in cpsw_add_dual_emac_def_ale_entries()
585 slave_write(slave, TX_PRIORITY_MAPPING, CPSW1_TX_PRI_MAP); in cpsw_slave_open()
589 slave_write(slave, in cpsw_slave_open()
596 slave_write(slave, TX_PRIORITY_MAPPING, CPSW2_TX_PRI_MAP); in cpsw_slave_open()
600 slave_write(slave, in cpsw_slave_open()
671 slave_write(cpsw->slaves + i, vlan, reg); in cpsw_add_default_vlan()
Dcpsw_new.c602 slave_write(slave, slave->port_vlan, reg); in cpsw_port_add_dual_emac_def_ale_entries()
651 slave_write(slave, slave->port_vlan, reg); in cpsw_port_add_switch_def_ale_entries()
738 slave_write(slave, TX_PRIORITY_MAPPING, CPSW1_TX_PRI_MAP); in cpsw_slave_open()
742 slave_write(slave, in cpsw_slave_open()
749 slave_write(slave, TX_PRIORITY_MAPPING, CPSW2_TX_PRI_MAP); in cpsw_slave_open()
753 slave_write(slave, in cpsw_slave_open()
Dcpsw_priv.h319 static inline void slave_write(struct cpsw_slave *slave, u32 val, u32 offset) in slave_write() function
Dcpsw_switchdev.c162 slave_write(cpsw->slaves + (priv->emac_port - 1), pvid, reg); in cpsw_set_pvid()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c283 &priv->mfunc.comm->slave_write); in mlx4_comm_cmd_post()
2262 &mfunc->comm[slave].slave_write)); in mlx4_master_comm_channel()
2298 wr_toggle = swab32(readl(&priv->mfunc.comm->slave_write)); in sync_toggles()
2321 slave_write)); in sync_toggles()
2341 __raw_writel((__force u32) 0, &priv->mfunc.comm->slave_write); in sync_toggles()
2402 &priv->mfunc.comm[i].slave_write); in mlx4_multi_func_init()
Dmlx4.h444 u32 slave_write; member