Home
last modified time | relevance | path

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

/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_catas.c99 u32 comm_flags; in mlx4_reset_slave() local
108 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave()
110 if (comm_flags == 0xffffffff) { in mlx4_reset_slave()
120 rst_req = (comm_flags & (u32)(1 << COM_CHAN_RST_REQ_OFFSET)) >> in mlx4_reset_slave()
122 rst_ack = (comm_flags & (u32)(1 << COM_CHAN_RST_ACK_OFFSET)) >> in mlx4_reset_slave()
131 comm_flags = rst_req << COM_CHAN_RST_REQ_OFFSET; in mlx4_reset_slave()
132 __raw_writel((__force u32)cpu_to_be32(comm_flags), in mlx4_reset_slave()
141 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_reset_slave()
143 rst_ack = (comm_flags & (u32)(1 << COM_CHAN_RST_ACK_OFFSET)) >> in mlx4_reset_slave()
150 rst_req = (comm_flags & (u32)(1 << COM_CHAN_RST_REQ_OFFSET)) >> in mlx4_reset_slave()
H A Dmlx4_main.c1925 u32 comm_flags; in mlx4_comm_check_offline() local
1932 comm_flags = swab32(readl((__iomem char *)priv->mfunc.comm + in mlx4_comm_check_offline()
1934 offline_bit = (comm_flags & in mlx4_comm_check_offline()