Searched refs:num_alloc (Results 1 – 4 of 4) sorted by relevance
626 unsigned int num_alloc = 0; in bam_prep_slave_sg() local636 num_alloc += DIV_ROUND_UP(sg_dma_len(sg), BAM_FIFO_SIZE); in bam_prep_slave_sg()640 (num_alloc * sizeof(struct bam_desc_hw)), GFP_NOWAIT); in bam_prep_slave_sg()651 async_desc->num_desc = num_alloc; in bam_prep_slave_sg()
1010 int i, err, queue_size, allocator_pool_size, num_alloc; in _iwl_pcie_rx_init() local1066 num_alloc = queue_size + allocator_pool_size; in _iwl_pcie_rx_init()1069 for (i = 0; i < num_alloc; i++) { in _iwl_pcie_rx_init()
1706 u16 num_alloc = 0; in atl1c_alloc_rx_buffer() local1756 num_alloc++; in atl1c_alloc_rx_buffer()1759 if (num_alloc) { in atl1c_alloc_rx_buffer()1767 return num_alloc; in atl1c_alloc_rx_buffer()
1859 u16 num_alloc = 0; in atl1_alloc_rx_buffers() local1904 num_alloc++; in atl1_alloc_rx_buffers()1907 if (num_alloc) { in atl1_alloc_rx_buffers()1917 return num_alloc; in atl1_alloc_rx_buffers()