Home
last modified time | relevance | path

Searched refs:num_alloc (Results 1 – 4 of 4) sorted by relevance

/drivers/dma/qcom/
Dbam_dma.c608 unsigned int num_alloc = 0; in bam_prep_slave_sg() local
618 num_alloc += DIV_ROUND_UP(sg_dma_len(sg), BAM_FIFO_SIZE); in bam_prep_slave_sg()
621 async_desc = kzalloc(struct_size(async_desc, desc, num_alloc), in bam_prep_slave_sg()
633 async_desc->num_desc = num_alloc; in bam_prep_slave_sg()
/drivers/net/wireless/intel/iwlwifi/pcie/
Drx.c1074 int i, err, queue_size, allocator_pool_size, num_alloc; in _iwl_pcie_rx_init() local
1137 num_alloc = queue_size + allocator_pool_size; in _iwl_pcie_rx_init()
1139 for (i = 0; i < num_alloc; i++) { in _iwl_pcie_rx_init()
/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c1764 u16 num_alloc = 0; in atl1c_alloc_rx_buffer() local
1827 num_alloc++; in atl1c_alloc_rx_buffer()
1830 if (num_alloc) { in atl1c_alloc_rx_buffer()
1838 return num_alloc; in atl1c_alloc_rx_buffer()
/drivers/net/ethernet/atheros/atlx/
Datl1.c1838 u16 num_alloc = 0; in atl1_alloc_rx_buffers() local
1883 num_alloc++; in atl1_alloc_rx_buffers()
1886 if (num_alloc) { in atl1_alloc_rx_buffers()
1896 return num_alloc; in atl1_alloc_rx_buffers()