Home
last modified time | relevance | path

Searched refs:slave_read (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/
Dcatas.c157 int mlx4_comm_internal_err(u32 slave_read) in mlx4_comm_internal_err() argument
160 (slave_read & (u32)COMM_CHAN_EVENT_INTERNAL_ERR) ? 1 : 0; in mlx4_comm_internal_err()
241 u32 slave_read; in poll_catas() local
244 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in poll_catas()
245 if (mlx4_comm_internal_err(slave_read)) { in poll_catas()
Dintf.c366 u32 slave_read = in mlx4_unregister_device() local
367 swab32(readl(&mlx4_priv(dev)->mfunc.comm->slave_read)); in mlx4_unregister_device()
369 if (mlx4_comm_internal_err(slave_read)) { in mlx4_unregister_device()
Dcmd.c258 u32 status = readl(&priv->mfunc.comm->slave_read); in comm_pending()
2190 &priv->mfunc.comm[slave].slave_read); in mlx4_master_do_cmd()
2218 &priv->mfunc.comm[slave].slave_read); in mlx4_master_do_cmd()
2263 slt = swab32(readl(&mfunc->comm[slave].slave_read)) >> 31; in mlx4_master_comm_channel()
2304 rd_toggle = swab32(readl(&priv->mfunc.comm->slave_read)); in sync_toggles()
2339 __raw_writel((__force u32) 0, &priv->mfunc.comm->slave_read); in sync_toggles()
2405 &priv->mfunc.comm[i].slave_read); in mlx4_multi_func_init()
2553 u32 slave_read; in mlx4_report_internal_err_comm_event() local
2566 slave_read = swab32(readl(&priv->mfunc.comm[slave].slave_read)); in mlx4_report_internal_err_comm_event()
2567 slave_read |= (u32)COMM_CHAN_EVENT_INTERNAL_ERR; in mlx4_report_internal_err_comm_event()
[all …]
Dmlx4.h447 u32 slave_read; member
1240 int mlx4_comm_internal_err(u32 slave_read);
Dmain.c2074 u32 slave_read; in mlx4_init_slave() local
2106 slave_read = swab32(readl(&priv->mfunc.comm->slave_read)); in mlx4_init_slave()
2110 MLX4_COMM_GET_IF_REV(slave_read)) { in mlx4_init_slave()
/linux-6.12.1/drivers/net/ethernet/ti/
Dcpsw_priv.c586 ctrl = slave_read(slave, CPSW2_CONTROL); in cpsw_hwtstamp_v2()
836 send_pct = slave_read(slave, SEND_PERCENT); in cpsw_set_fifo_bw()
900 val = slave_read(slave, tx_in_ctl_rg); in cpsw_set_fifo_rlimit()
Dcpsw_switchdev.c130 pvid = slave_read(cpsw->slaves + (priv->emac_port - 1), reg); in cpsw_get_pvid()
Dcpsw_priv.h316 static inline u32 slave_read(struct cpsw_slave *slave, u32 offset) in slave_read() function