Searched refs:num_descs (Results 1 - 15 of 15) sorted by relevance

/linux-4.4.14/drivers/dma/ioat/
H A Dprep.c122 int num_descs, idx, i; ioat_dma_prep_memcpy_lock() local
127 num_descs = ioat_xferlen_to_descs(ioat_chan, len); ioat_dma_prep_memcpy_lock()
128 if (likely(num_descs) && ioat_dma_prep_memcpy_lock()
129 ioat_check_space_lock(ioat_chan, num_descs) == 0) ioat_dma_prep_memcpy_lock()
149 } while (++i < num_descs); ioat_dma_prep_memcpy_lock()
176 int num_descs, with_ext, idx, i; __ioat_prep_xor_lock() local
182 num_descs = ioat_xferlen_to_descs(ioat_chan, len); __ioat_prep_xor_lock()
188 num_descs *= 2; __ioat_prep_xor_lock()
197 if (likely(num_descs) && __ioat_prep_xor_lock()
198 ioat_check_space_lock(ioat_chan, num_descs+1) == 0) __ioat_prep_xor_lock()
232 } while ((i += 1 + with_ext) < num_descs); __ioat_prep_xor_lock()
367 int i, s, idx, with_ext, num_descs; __ioat_prep_pq_lock() local
376 num_descs = ioat_xferlen_to_descs(ioat_chan, len); __ioat_prep_pq_lock()
384 num_descs *= 2; __ioat_prep_pq_lock()
393 if (likely(num_descs) && __ioat_prep_pq_lock()
394 ioat_check_space_lock(ioat_chan, num_descs + cb32) == 0) __ioat_prep_pq_lock()
442 } while ((i += 1 + with_ext) < num_descs); __ioat_prep_pq_lock()
487 int i, s, idx, num_descs; __ioat_prep_pq16_lock() local
494 num_descs = ioat_xferlen_to_descs(ioat_chan, len); __ioat_prep_pq16_lock()
500 if (num_descs && ioat_check_space_lock(ioat_chan, num_descs) == 0) __ioat_prep_pq16_lock()
556 } while (++i < num_descs); __ioat_prep_pq16_lock()
H A Ddma.c476 * @num_descs: allocation length
478 int ioat_check_space_lock(struct ioatdma_chan *ioat_chan, int num_descs)
489 if (likely(ioat_ring_space(ioat_chan) > num_descs)) {
490 dev_dbg(to_dev(ioat_chan), "%s: num_descs: %d (%x:%x:%x)\n",
491 __func__, num_descs, ioat_chan->head, variable
493 ioat_chan->produce = num_descs;
515 "%s: ring full! num_descs: %d (%x:%x:%x)\n",
516 __func__, num_descs, ioat_chan->head,
H A Ddma.h369 u16 num_descs = len >> ioat_chan->xfercap_log; ioat_xferlen_to_descs() local
371 num_descs += !!(len & ((1 << ioat_chan->xfercap_log) - 1)); ioat_xferlen_to_descs()
372 return num_descs; ioat_xferlen_to_descs()
432 int ioat_check_space_lock(struct ioatdma_chan *ioat_chan, int num_descs);
/linux-4.4.14/drivers/dma/bestcomm/
H A Dfec.c173 int num_descs; self_modified_drd() local
177 num_descs = bcom_task_num_descs(tasknum); self_modified_drd()
178 desc = bcom_task_desc(tasknum) + num_descs - 1; self_modified_drd()
180 for (i=0; i<num_descs; i++, desc--) self_modified_drd()
H A Dbestcomm.c207 int num_descs; bcom_set_initiator() local
219 num_descs = bcom_task_num_descs(task); bcom_set_initiator()
221 for (i=0; i<num_descs; i++, desc++) { bcom_set_initiator()
/linux-4.4.14/drivers/net/ethernet/cavium/liquidio/
H A Drequest_manager.c72 u32 iq_no, u32 num_descs) octeon_init_instr_queue()
88 if (num_descs & (num_descs - 1)) { octeon_init_instr_queue()
95 q_size = (u32)conf->instr_type * num_descs; octeon_init_instr_queue()
107 iq->max_count = num_descs; octeon_init_instr_queue()
112 iq->request_list = vmalloc(sizeof(*iq->request_list) * num_descs); octeon_init_instr_queue()
120 memset(iq->request_list, 0, sizeof(*iq->request_list) * num_descs); octeon_init_instr_queue()
192 u32 num_descs, octeon_setup_iq()
210 if (octeon_init_instr_queue(oct, iq_no, num_descs)) { octeon_setup_iq()
71 octeon_init_instr_queue(struct octeon_device *oct, u32 iq_no, u32 num_descs) octeon_init_instr_queue() argument
190 octeon_setup_iq(struct octeon_device *oct, u32 iq_no, u32 num_descs, void *app_ctx) octeon_setup_iq() argument
H A Docteon_iq.h279 u32 num_descs);
317 u32 num_descs, void *app_ctx);
H A Docteon_droq.c238 u32 num_descs, octeon_init_droq()
258 c_num_descs = num_descs; octeon_init_droq()
948 u32 q_no, u32 num_descs, octeon_create_droq()
970 octeon_init_droq(oct, q_no, num_descs, desc_size, app_ctx); octeon_create_droq()
236 octeon_init_droq(struct octeon_device *oct, u32 q_no, u32 num_descs, u32 desc_size, void *app_ctx) octeon_init_droq() argument
947 octeon_create_droq(struct octeon_device *oct, u32 q_no, u32 num_descs, u32 desc_size, void *app_ctx) octeon_create_droq() argument
H A Docteon_device.c749 u32 num_descs = 0; octeon_setup_instr_queues() local
754 num_descs = octeon_setup_instr_queues()
770 if (octeon_init_instr_queue(oct, i, num_descs)) octeon_setup_instr_queues()
782 u32 num_descs = 0; octeon_setup_output_queues() local
789 num_descs = octeon_setup_output_queues()
804 if (octeon_init_droq(oct, i, num_descs, desc_size, NULL)) octeon_setup_output_queues()
H A Docteon_droq.h341 u32 num_descs,
417 u32 num_descs, u32 desc_size, void *app_ctx);
H A Dlio_main.c1676 * @param num_descs how many descriptors
1680 static int octeon_setup_droq(struct octeon_device *oct, int q_no, int num_descs, octeon_setup_droq() argument
1687 ret_val = octeon_create_droq(oct, q_no, num_descs, desc_size, app_ctx); octeon_setup_droq()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
H A Dacx.c892 mem_conf->rx_queue_config.num_descs = ACX_RX_DESC_DEF; wl1251_acx_mem_cfg()
898 mem_conf->tx_queue_config[i].num_descs = ACX_TX_DESC_DEF; wl1251_acx_mem_cfg()
H A Dacx.h1133 u8 num_descs; member in struct:wl1251_acx_rx_queue_config
1144 u8 num_descs; member in struct:wl1251_acx_tx_queue_config
/linux-4.4.14/drivers/net/wireless/ath/wil6210/
H A Ddebugfs.c714 int num_descs, desc_size; wil_write_pmccfg() local
726 rc = sscanf(kbuf, "%8s %d %d", cmd, &num_descs, &desc_size); wil_write_pmccfg()
742 wil_pmc_alloc(wil, num_descs, desc_size); wil_write_pmccfg()
/linux-4.4.14/drivers/pinctrl/
H A Dcore.c267 unsigned num_descs) pinctrl_register_pins()
272 for (i = 0; i < num_descs; i++) { pinctrl_register_pins()
265 pinctrl_register_pins(struct pinctrl_dev *pctldev, struct pinctrl_pin_desc const *pins, unsigned num_descs) pinctrl_register_pins() argument

Completed in 478 milliseconds