Searched refs:size_mask (Results 1 – 7 of 7) sorted by relevance
67 ring->size_mask = size - 1; in mlx4_en_create_tx_ring()371 ring->cons & ring->size_mask, in mlx4_en_free_tx_buf()398 u32 size_mask = ring->size_mask; in mlx4_en_process_tx_cq() local413 index = cons_index & size_mask; in mlx4_en_process_tx_cq()417 ring_index = ring_cons & size_mask; in mlx4_en_process_tx_cq()439 new_index = be16_to_cpu(cqe->wqe_index) & size_mask; in mlx4_en_process_tx_cq()445 ring_index = (ring_index + last_nr_txbb) & size_mask; in mlx4_en_process_tx_cq()466 index = cons_index & size_mask; in mlx4_en_process_tx_cq()768 index = ring->prod & ring->size_mask; in mlx4_en_xmit()
324 index = ring->cons & ring->size_mask; in mlx4_en_free_rx_buf()373 ring->size_mask = size - 1; in mlx4_en_create_rx_ring()478 ring->size_mask = ring->actual_size - 1; in mlx4_en_activate_rx_rings()668 int index = ring->prod & ring->size_mask; in mlx4_en_refill_rx_buffers()675 index = ring->prod & ring->size_mask; in mlx4_en_refill_rx_buffers()794 index = cq->mcq.cons_index & ring->size_mask; in mlx4_en_process_rx_cq()1033 index = (cq->mcq.cons_index) & ring->size_mask; in mlx4_en_process_rx_cq()
284 u32 size_mask; member314 u32 size_mask; member
105 idx &= htt->rx_ring.size_mask; in __ath10k_htt_rx_ring_fill_n()150 idx &= htt->rx_ring.size_mask; in __ath10k_htt_rx_ring_fill_n()279 idx &= htt->rx_ring.size_mask; in ath10k_htt_rx_netbuf_pop()534 htt->rx_ring.size_mask = htt->rx_ring.size - 1; in ath10k_htt_rx_alloc()565 htt->rx_ring.sw_rd_idx.msdu_payld = htt->rx_ring.size_mask; in ath10k_htt_rx_alloc()
1448 unsigned size_mask; member
151 u16 size_mask; member
174 f->size_mask = memsz - 1; in bdx_fifo_init()1744 f->m.rptr &= f->m.size_mask; in bdx_tx_cleanup()