/drivers/dma/ioat/ |
D | prep.c | 122 int num_descs, idx, i; in ioat_dma_prep_memcpy_lock() local 127 num_descs = ioat_xferlen_to_descs(ioat_chan, len); in ioat_dma_prep_memcpy_lock() 128 if (likely(num_descs) && in ioat_dma_prep_memcpy_lock() 129 ioat_check_space_lock(ioat_chan, num_descs) == 0) in ioat_dma_prep_memcpy_lock() 149 } while (++i < num_descs); in ioat_dma_prep_memcpy_lock() 176 int num_descs, with_ext, idx, i; in __ioat_prep_xor_lock() local 182 num_descs = ioat_xferlen_to_descs(ioat_chan, len); in __ioat_prep_xor_lock() 188 num_descs *= 2; in __ioat_prep_xor_lock() 197 if (likely(num_descs) && in __ioat_prep_xor_lock() 198 ioat_check_space_lock(ioat_chan, num_descs+1) == 0) in __ioat_prep_xor_lock() [all …]
|
D | dma.h | 344 u16 num_descs = len >> ioat_chan->xfercap_log; in ioat_xferlen_to_descs() local 346 num_descs += !!(len & ((1 << ioat_chan->xfercap_log) - 1)); in ioat_xferlen_to_descs() 347 return num_descs; in ioat_xferlen_to_descs() 407 int ioat_check_space_lock(struct ioatdma_chan *ioat_chan, int num_descs);
|
D | dma.c | 454 int ioat_check_space_lock(struct ioatdma_chan *ioat_chan, int num_descs) in ioat_check_space_lock() argument 462 if (likely(ioat_ring_space(ioat_chan) > num_descs)) { in ioat_check_space_lock() 464 __func__, num_descs, ioat_chan->head, in ioat_check_space_lock() 466 ioat_chan->produce = num_descs; in ioat_check_space_lock() 473 __func__, num_descs, ioat_chan->head, in ioat_check_space_lock()
|
/drivers/dma/bestcomm/ |
D | fec.c | 173 int num_descs; in self_modified_drd() local 177 num_descs = bcom_task_num_descs(tasknum); in self_modified_drd() 178 desc = bcom_task_desc(tasknum) + num_descs - 1; in self_modified_drd() 180 for (i=0; i<num_descs; i++, desc--) in self_modified_drd()
|
D | bestcomm.c | 207 int num_descs; in bcom_set_initiator() local 219 num_descs = bcom_task_num_descs(task); in bcom_set_initiator() 221 for (i=0; i<num_descs; i++, desc++) { in bcom_set_initiator()
|
/drivers/net/ethernet/cavium/liquidio/ |
D | request_manager.c | 63 u32 num_descs) in octeon_init_instr_queue() argument 83 if (num_descs & (num_descs - 1)) { in octeon_init_instr_queue() 90 q_size = (u32)conf->instr_type * num_descs; in octeon_init_instr_queue() 109 iq->max_count = num_descs; in octeon_init_instr_queue() 114 iq->request_list = vmalloc_node((sizeof(*iq->request_list) * num_descs), in octeon_init_instr_queue() 118 num_descs); in octeon_init_instr_queue() 126 memset(iq->request_list, 0, sizeof(*iq->request_list) * num_descs); in octeon_init_instr_queue() 207 u32 num_descs, in octeon_setup_iq() argument 235 if (octeon_init_instr_queue(oct, txpciq, num_descs)) { in octeon_setup_iq()
|
D | octeon_device.c | 791 u32 num_descs = 0; in octeon_setup_instr_queues() local 797 num_descs = in octeon_setup_instr_queues() 800 num_descs = CFG_GET_NUM_DEF_TX_DESCS(CHIP_FIELD(oct, cn23xx_pf, in octeon_setup_instr_queues() 821 if (octeon_init_instr_queue(oct, txpciq, num_descs)) { in octeon_setup_instr_queues() 833 u32 num_descs = 0; in octeon_setup_output_queues() local 839 num_descs = in octeon_setup_output_queues() 844 num_descs = CFG_GET_NUM_DEF_RX_DESCS(CHIP_FIELD(oct, cn23xx_pf, in octeon_setup_output_queues() 856 if (octeon_init_droq(oct, oq_no, num_descs, desc_size, NULL)) in octeon_setup_output_queues()
|
D | octeon_droq.h | 365 u32 num_descs, 426 u32 num_descs, u32 desc_size, void *app_ctx);
|
D | octeon_iq.h | 333 u32 num_descs); 371 int q_index, union oct_txpciq iq_no, u32 num_descs,
|
D | octeon_droq.c | 236 u32 num_descs, in octeon_init_droq() argument 258 c_num_descs = num_descs; in octeon_init_droq() 974 u32 q_no, u32 num_descs, in octeon_create_droq() argument 999 octeon_init_droq(oct, q_no, num_descs, desc_size, app_ctx); in octeon_create_droq()
|
D | lio_main.c | 2144 static int octeon_setup_droq(struct octeon_device *oct, int q_no, int num_descs, in octeon_setup_droq() argument 2151 ret_val = octeon_create_droq(oct, q_no, num_descs, desc_size, app_ctx); in octeon_setup_droq()
|
/drivers/edac/ |
D | mce_amd.c | 288 unsigned int num_descs; member 875 if (xec < smca_mce_descs[bank_type].num_descs && in decode_smca_errors()
|
/drivers/net/wireless/ti/wl1251/ |
D | acx.h | 1133 u8 num_descs; member 1144 u8 num_descs; member
|
D | acx.c | 892 mem_conf->rx_queue_config.num_descs = ACX_RX_DESC_DEF; in wl1251_acx_mem_cfg() 898 mem_conf->tx_queue_config[i].num_descs = ACX_TX_DESC_DEF; in wl1251_acx_mem_cfg()
|
/drivers/net/wireless/ath/wil6210/ |
D | debugfs.c | 717 int num_descs, desc_size; in wil_write_pmccfg() local 729 rc = sscanf(kbuf, "%8s %d %d", cmd, &num_descs, &desc_size); in wil_write_pmccfg() 745 wil_pmc_alloc(wil, num_descs, desc_size); in wil_write_pmccfg()
|
/drivers/pinctrl/ |
D | core.c | 270 unsigned num_descs) in pinctrl_register_pins() argument 275 for (i = 0; i < num_descs; i++) { in pinctrl_register_pins()
|