Home
last modified time | relevance | path

Searched refs:owner_bit (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dpci.c236 static bool mlxsw_pci_elem_hw_owned(struct mlxsw_pci_queue *q, bool owner_bit) in mlxsw_pci_elem_hw_owned() argument
238 return owner_bit != !!(q->consumer_counter & q->count); in mlxsw_pci_elem_hw_owned()
246 bool owner_bit; in mlxsw_pci_queue_sw_elem_get() local
250 owner_bit = get_elem_owner_func(elem); in mlxsw_pci_queue_sw_elem_get()
251 if (mlxsw_pci_elem_hw_owned(q, owner_bit)) in mlxsw_pci_queue_sw_elem_get()
/linux-4.4.14/drivers/infiniband/hw/mlx4/
Dcq.c939 u8 owner_bit; in __mlx4_ib_cq_clean() local
969 owner_bit = dest->owner_sr_opcode & MLX4_CQE_OWNER_MASK; in __mlx4_ib_cq_clean()
971 dest->owner_sr_opcode = owner_bit | in __mlx4_ib_cq_clean()
/linux-4.4.14/drivers/infiniband/hw/mlx5/
Dcq.c874 u8 owner_bit; in __mlx5_ib_cq_clean() local
902 owner_bit = dest64->op_own & MLX5_CQE_OWNER_MASK; in __mlx5_ib_cq_clean()
904 dest64->op_own = owner_bit | in __mlx5_ib_cq_clean()