Home
last modified time | relevance | path

Searched refs:size_mask (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c66 ring->size_mask = size - 1; in mlx4_en_create_tx_ring()
381 ring->cons & ring->size_mask, in mlx4_en_free_tx_buf()
410 wqe_index = be16_to_cpu(err_cqe->wqe_index) & ring->size_mask; in mlx4_en_handle_err_cqe()
437 u32 size_mask = ring->size_mask; in mlx4_en_process_tx_cq() local
452 index = cons_index & size_mask; in mlx4_en_process_tx_cq()
456 ring_index = ring_cons & size_mask; in mlx4_en_process_tx_cq()
477 new_index = be16_to_cpu(cqe->wqe_index) & size_mask; in mlx4_en_process_tx_cq()
483 ring_index = (ring_index + last_nr_txbb) & size_mask; in mlx4_en_process_tx_cq()
505 index = cons_index & size_mask; in mlx4_en_process_tx_cq()
936 index = ring->prod & ring->size_mask; in mlx4_en_xmit()
[all …]
Den_rx.c281 ring->size_mask = size - 1; in mlx4_en_create_rx_ring()
370 ring->size_mask = ring->actual_size - 1; in mlx4_en_activate_rx_rings()
557 ring->prod & ring->size_mask, in mlx4_en_refill_rx_buffers()
691 index = cq->mcq.cons_index & ring->size_mask; in mlx4_en_process_rx_cq()
906 index = (cq->mcq.cons_index) & ring->size_mask; in mlx4_en_process_rx_cq()
Dmlx4_en.h290 u32 size_mask; member
325 u32 size_mask; member
/drivers/net/ethernet/tehuti/
Dtehuti.h150 u16 size_mask; member
Dtehuti.c173 f->size_mask = memsz - 1; in bdx_fifo_init()
1708 f->m.rptr &= f->m.size_mask; in bdx_tx_cleanup()
/drivers/mtd/spi-nor/
Dcore.h209 u32 size_mask; member
Dsfdp.c793 if (region->size & erase[i].size_mask) { in spi_nor_region_check_overlay()
Dcore.c1152 *remainder = (u32)dividend & erase->size_mask; in spi_nor_div_by_erase_size()
2004 erase->size_mask = (1 << erase->size_shift) - 1; in spi_nor_set_erase_type()
/drivers/net/wireless/ath/ath10k/
Dhtt_rx.c152 idx &= htt->rx_ring.size_mask; in __ath10k_htt_rx_ring_fill_n()
197 idx &= htt->rx_ring.size_mask; in __ath10k_htt_rx_ring_fill_n()
335 idx &= htt->rx_ring.size_mask; in ath10k_htt_rx_netbuf_pop()
796 htt->rx_ring.size_mask = htt->rx_ring.size - 1; in ath10k_htt_rx_alloc()
827 htt->rx_ring.sw_rd_idx.msdu_payld = htt->rx_ring.size_mask; in ath10k_htt_rx_alloc()
Dhtt.h1827 unsigned int size_mask; member
/drivers/infiniband/hw/mlx5/
Dqp.c1864 static int atomic_size_to_mode(int size_mask) in atomic_size_to_mode() argument
1869 int supported_size_mask = size_mask & 0x1ff; in atomic_size_to_mode()