Home
last modified time | relevance | path

Searched refs:comm_flags (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx4/
Dcatas.c97 u32 comm_flags; in mlx4_reset_slave() local
106 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave()
108 if (comm_flags == 0xffffffff) { in mlx4_reset_slave()
118 rst_req = (comm_flags & (u32)(1 << COM_CHAN_RST_REQ_OFFSET)) >> in mlx4_reset_slave()
120 rst_ack = (comm_flags & (u32)(1 << COM_CHAN_RST_ACK_OFFSET)) >> in mlx4_reset_slave()
129 comm_flags = rst_req << COM_CHAN_RST_REQ_OFFSET; in mlx4_reset_slave()
130 __raw_writel((__force u32)cpu_to_be32(comm_flags), in mlx4_reset_slave()
135 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave()
137 rst_ack = (comm_flags & (u32)(1 << COM_CHAN_RST_ACK_OFFSET)) >> in mlx4_reset_slave()
144 rst_req = (comm_flags & (u32)(1 << COM_CHAN_RST_REQ_OFFSET)) >> in mlx4_reset_slave()
Dmain.c2000 u32 comm_flags; in mlx4_comm_check_offline() local
2007 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_comm_check_offline()
2009 offline_bit = (comm_flags & in mlx4_comm_check_offline()