src_cnt 14 arch/powerpc/include/asm/async_tx.h int src_cnt, size_t src_sz); src_cnt 17 arch/powerpc/include/asm/async_tx.h src_cnt, src_sz) \ src_cnt 19 arch/powerpc/include/asm/async_tx.h src_cnt, src_sz) src_cnt 46 crypto/async_tx/async_pq.c int src_cnt = disks - 2; src_cnt 51 crypto/async_tx/async_pq.c while (src_cnt > 0) { src_cnt 53 crypto/async_tx/async_pq.c pq_src_cnt = min(src_cnt, dma_maxpq(dma, dma_flags)); src_cnt 58 crypto/async_tx/async_pq.c if (src_cnt > pq_src_cnt) { src_cnt 94 crypto/async_tx/async_pq.c src_cnt -= pq_src_cnt; src_cnt 166 crypto/async_tx/async_pq.c int src_cnt = disks - 2; src_cnt 169 crypto/async_tx/async_pq.c blocks, src_cnt, len); src_cnt 180 crypto/async_tx/async_pq.c (src_cnt <= dma_maxpq(device, 0) || src_cnt 196 crypto/async_tx/async_pq.c for (i = 0, j = 0; i < src_cnt; i++) { src_cnt 301 crypto/async_tx/async_pq.c int i, j = 0, src_cnt = 0; src_cnt 314 crypto/async_tx/async_pq.c src_cnt++; src_cnt 344 crypto/async_tx/async_pq.c src_cnt, src_cnt 32 crypto/async_tx/async_xor.c int src_cnt = unmap->to_cnt; src_cnt 37 crypto/async_tx/async_xor.c while (src_cnt) { src_cnt 41 crypto/async_tx/async_xor.c xor_src_cnt = min(src_cnt, (int)dma->max_xor); src_cnt 45 crypto/async_tx/async_xor.c if (src_cnt > xor_src_cnt) { src_cnt 86 crypto/async_tx/async_xor.c if (src_cnt > xor_src_cnt) { src_cnt 88 crypto/async_tx/async_xor.c src_cnt -= xor_src_cnt; src_cnt 90 crypto/async_tx/async_xor.c src_cnt++; src_cnt 101 crypto/async_tx/async_xor.c int src_cnt, size_t len, struct async_submit_ctl *submit) src_cnt 115 crypto/async_tx/async_xor.c for (i = 0; i < src_cnt; i++) src_cnt 118 crypto/async_tx/async_xor.c src_cnt = xor_src_cnt; src_cnt 125 crypto/async_tx/async_xor.c while (src_cnt > 0) { src_cnt 127 crypto/async_tx/async_xor.c xor_src_cnt = min(src_cnt, MAX_XOR_BLOCKS); src_cnt 131 crypto/async_tx/async_xor.c src_cnt -= xor_src_cnt; src_cnt 161 crypto/async_tx/async_xor.c int src_cnt, size_t len, struct async_submit_ctl *submit) src_cnt 165 crypto/async_tx/async_xor.c src_cnt, len); src_cnt 169 crypto/async_tx/async_xor.c BUG_ON(src_cnt <= 1); src_cnt 172 crypto/async_tx/async_xor.c unmap = dmaengine_get_unmap_data(device->dev, src_cnt+1, GFP_NOWAIT); src_cnt 182 crypto/async_tx/async_xor.c for (i = 0, j = 0; i < src_cnt; i++) { src_cnt 209 crypto/async_tx/async_xor.c src_cnt--; src_cnt 216 crypto/async_tx/async_xor.c do_sync_xor(dest, src_list, offset, src_cnt, len, submit); src_cnt 230 crypto/async_tx/async_xor.c struct page **src_list, int src_cnt, size_t len) src_cnt 236 crypto/async_tx/async_xor.c src_cnt, len); src_cnt 257 crypto/async_tx/async_xor.c int src_cnt, size_t len, enum sum_check_flags *result, src_cnt 260 crypto/async_tx/async_xor.c struct dma_chan *chan = xor_val_chan(submit, dest, src_list, src_cnt, len); src_cnt 265 crypto/async_tx/async_xor.c BUG_ON(src_cnt <= 1); src_cnt 268 crypto/async_tx/async_xor.c unmap = dmaengine_get_unmap_data(device->dev, src_cnt, GFP_NOWAIT); src_cnt 270 crypto/async_tx/async_xor.c if (unmap && src_cnt <= device->max_xor && src_cnt 282 crypto/async_tx/async_xor.c for (i = 0; i < src_cnt; i++) { src_cnt 289 crypto/async_tx/async_xor.c tx = device->device_prep_dma_xor_val(chan, unmap->addr, src_cnt, src_cnt 298 crypto/async_tx/async_xor.c unmap->addr, src_cnt, len, result, src_cnt 308 crypto/async_tx/async_xor.c WARN_ONCE(device && src_cnt <= device->max_xor, src_cnt 315 crypto/async_tx/async_xor.c tx = async_xor(dest, src_list, offset, src_cnt, len, submit); src_cnt 549 drivers/crypto/hifn_795x.c volatile __le16 src_cnt; /* 15:0 of source count */ src_cnt 772 drivers/dma/bcm-sba-raid.c dma_addr_t dst, dma_addr_t *src, u32 src_cnt) src_cnt 798 drivers/dma/bcm-sba-raid.c for (i = 1; i < src_cnt; i++) { src_cnt 852 drivers/dma/bcm-sba-raid.c u32 src_cnt, size_t len, unsigned long flags) src_cnt 865 drivers/dma/bcm-sba-raid.c off, len, dst, src, src_cnt); src_cnt 876 drivers/dma/bcm-sba-raid.c u32 src_cnt, size_t len, unsigned long flags) src_cnt 884 drivers/dma/bcm-sba-raid.c if (unlikely(src_cnt > sba->max_xor_srcs)) src_cnt 891 drivers/dma/bcm-sba-raid.c req = sba_prep_dma_xor_req(sba, off, dst, src, src_cnt, src_cnt 917 drivers/dma/bcm-sba-raid.c const u8 *scf, dma_addr_t *src, u32 src_cnt) src_cnt 978 drivers/dma/bcm-sba-raid.c for (i = 0; i < src_cnt; i++) { src_cnt 1063 drivers/dma/bcm-sba-raid.c u32 src_cnt, const u8 *scf, size_t len, unsigned long flags) src_cnt 1077 drivers/dma/bcm-sba-raid.c off, len, dst_p, dst_q, scf, src, src_cnt); src_cnt 1343 drivers/dma/bcm-sba-raid.c u32 src_cnt, const u8 *scf, size_t len, unsigned long flags) src_cnt 1354 drivers/dma/bcm-sba-raid.c if (unlikely(src_cnt > sba->max_pq_srcs)) src_cnt 1356 drivers/dma/bcm-sba-raid.c for (i = 0; i < src_cnt; i++) src_cnt 1371 drivers/dma/bcm-sba-raid.c dst_q_index = src_cnt; src_cnt 1374 drivers/dma/bcm-sba-raid.c for (i = 0; i < src_cnt; i++) { src_cnt 1382 drivers/dma/bcm-sba-raid.c if (dst_q_index < src_cnt) { src_cnt 1398 drivers/dma/bcm-sba-raid.c for (i = 0; i < src_cnt; i++) { src_cnt 1417 drivers/dma/bcm-sba-raid.c dst_p, dst_q, src, src_cnt, src_cnt 318 drivers/dma/fsl_raid.c unsigned int src_cnt, const unsigned char *scf, size_t len, src_cnt 327 drivers/dma/fsl_raid.c unsigned int save_src_cnt = src_cnt; src_cnt 343 drivers/dma/fsl_raid.c src_cnt += 1; src_cnt 348 drivers/dma/fsl_raid.c cdb |= (src_cnt - 1) << FSL_RE_CDB_NRCS_SHIFT; src_cnt 363 drivers/dma/fsl_raid.c for (i = 0; i < src_cnt; i++) src_cnt 393 drivers/dma/fsl_raid.c unsigned int src_cnt, size_t len, unsigned long flags) src_cnt 396 drivers/dma/fsl_raid.c return fsl_re_prep_dma_genq(chan, dest, src, src_cnt, NULL, len, flags); src_cnt 405 drivers/dma/fsl_raid.c unsigned int src_cnt, const unsigned char *scf, size_t len, src_cnt 415 drivers/dma/fsl_raid.c unsigned int save_src_cnt = src_cnt; src_cnt 429 drivers/dma/fsl_raid.c if (src_cnt == 1) { src_cnt 455 drivers/dma/fsl_raid.c return fsl_re_prep_dma_genq(chan, dest[1], src, src_cnt, src_cnt 459 drivers/dma/fsl_raid.c src_cnt += 3; src_cnt 467 drivers/dma/fsl_raid.c cdb |= (src_cnt - 1) << FSL_RE_CDB_NRCS_SHIFT; src_cnt 477 drivers/dma/fsl_raid.c for (i = 0; i < src_cnt; i++) src_cnt 481 drivers/dma/fsl_raid.c gfmq_len = ALIGN(src_cnt, 4); src_cnt 485 drivers/dma/fsl_raid.c for (i = 0; i < src_cnt; i++) src_cnt 502 drivers/dma/fsl_raid.c if (src_cnt - save_src_cnt == 3) { src_cnt 492 drivers/dma/ioat/dma.c if (src_cnt_to_sw(xor->ctl_f.src_cnt) > 5) src_cnt 498 drivers/dma/ioat/dma.c if (src_cnt_to_sw(pq->ctl_f.src_cnt) > 3) src_cnt 364 drivers/dma/ioat/dma.h unsigned int src_cnt, size_t len, unsigned long flags); src_cnt 367 drivers/dma/ioat/dma.h unsigned int src_cnt, size_t len, src_cnt 371 drivers/dma/ioat/dma.h unsigned int src_cnt, const unsigned char *scf, size_t len, src_cnt 375 drivers/dma/ioat/dma.h unsigned int src_cnt, const unsigned char *scf, size_t len, src_cnt 379 drivers/dma/ioat/dma.h unsigned int src_cnt, size_t len, unsigned long flags); src_cnt 382 drivers/dma/ioat/dma.h unsigned int src_cnt, size_t len, src_cnt 115 drivers/dma/ioat/hw.h unsigned int src_cnt:3; src_cnt 162 drivers/dma/ioat/hw.h unsigned int src_cnt:3; src_cnt 211 drivers/dma/ioat/hw.h unsigned int src_cnt:3; src_cnt 153 drivers/dma/ioat/prep.c dma_addr_t dest, dma_addr_t *src, unsigned int src_cnt, src_cnt 168 drivers/dma/ioat/prep.c BUG_ON(src_cnt < 2); src_cnt 174 drivers/dma/ioat/prep.c if (src_cnt > 5) { src_cnt 209 drivers/dma/ioat/prep.c for (s = 0; s < src_cnt; s++) src_cnt 215 drivers/dma/ioat/prep.c xor->ctl_f.src_cnt = src_cnt_to_hw(src_cnt); src_cnt 246 drivers/dma/ioat/prep.c unsigned int src_cnt, size_t len, unsigned long flags) src_cnt 253 drivers/dma/ioat/prep.c return __ioat_prep_xor_lock(chan, NULL, dest, src, src_cnt, len, flags); src_cnt 258 drivers/dma/ioat/prep.c unsigned int src_cnt, size_t len, src_cnt 272 drivers/dma/ioat/prep.c src_cnt - 1, len, flags); src_cnt 283 drivers/dma/ioat/prep.c int src_cnt = src_cnt_to_sw(pq->ctl_f.src_cnt); src_cnt 294 drivers/dma/ioat/prep.c pq->ctl_f.src_cnt); src_cnt 295 drivers/dma/ioat/prep.c for (i = 0; i < src_cnt; i++) src_cnt 311 drivers/dma/ioat/prep.c int src_cnt = src16_cnt_to_sw(pq->ctl_f.src_cnt); src_cnt 328 drivers/dma/ioat/prep.c pq->ctl_f.src_cnt); src_cnt 329 drivers/dma/ioat/prep.c for (i = 0; i < src_cnt; i++) { src_cnt 341 drivers/dma/ioat/prep.c unsigned int src_cnt, const unsigned char *scf, src_cnt 362 drivers/dma/ioat/prep.c BUG_ON(src_cnt + dmaf_continue(flags) < 2); src_cnt 369 drivers/dma/ioat/prep.c if (src_cnt + dmaf_p_disabled_continue(flags) > 3 || src_cnt 405 drivers/dma/ioat/prep.c for (s = 0; s < src_cnt; s++) src_cnt 424 drivers/dma/ioat/prep.c pq->ctl_f.src_cnt = src_cnt_to_hw(s); src_cnt 465 drivers/dma/ioat/prep.c unsigned int src_cnt, const unsigned char *scf, src_cnt 505 drivers/dma/ioat/prep.c desc->sed = ioat3_alloc_sed(ioat_dma, (src_cnt-2) >> 3); src_cnt 518 drivers/dma/ioat/prep.c for (s = 0; s < src_cnt; s++) src_cnt 535 drivers/dma/ioat/prep.c pq->ctl_f.src_cnt = src16_cnt_to_hw(s); src_cnt 563 drivers/dma/ioat/prep.c static int src_cnt_flags(unsigned int src_cnt, unsigned long flags) src_cnt 566 drivers/dma/ioat/prep.c return src_cnt + 1; src_cnt 568 drivers/dma/ioat/prep.c return src_cnt + 3; src_cnt 570 drivers/dma/ioat/prep.c return src_cnt; src_cnt 575 drivers/dma/ioat/prep.c unsigned int src_cnt, const unsigned char *scf, size_t len, src_cnt 592 drivers/dma/ioat/prep.c if ((flags & DMA_PREP_PQ_DISABLE_P) && src_cnt == 1) { src_cnt 602 drivers/dma/ioat/prep.c return src_cnt_flags(src_cnt, flags) > 8 ? src_cnt 610 drivers/dma/ioat/prep.c return src_cnt_flags(src_cnt, flags) > 8 ? src_cnt 611 drivers/dma/ioat/prep.c __ioat_prep_pq16_lock(chan, NULL, dst, src, src_cnt, src_cnt 613 drivers/dma/ioat/prep.c __ioat_prep_pq_lock(chan, NULL, dst, src, src_cnt, src_cnt 620 drivers/dma/ioat/prep.c unsigned int src_cnt, const unsigned char *scf, size_t len, src_cnt 639 drivers/dma/ioat/prep.c return src_cnt_flags(src_cnt, flags) > 8 ? src_cnt 640 drivers/dma/ioat/prep.c __ioat_prep_pq16_lock(chan, pqres, pq, src, src_cnt, scf, len, src_cnt 642 drivers/dma/ioat/prep.c __ioat_prep_pq_lock(chan, pqres, pq, src, src_cnt, scf, len, src_cnt 648 drivers/dma/ioat/prep.c unsigned int src_cnt, size_t len, unsigned long flags) src_cnt 657 drivers/dma/ioat/prep.c if (src_cnt > MAX_SCF) src_cnt 660 drivers/dma/ioat/prep.c memset(scf, 0, src_cnt); src_cnt 665 drivers/dma/ioat/prep.c return src_cnt_flags(src_cnt, flags) > 8 ? src_cnt 666 drivers/dma/ioat/prep.c __ioat_prep_pq16_lock(chan, NULL, pq, src, src_cnt, scf, len, src_cnt 668 drivers/dma/ioat/prep.c __ioat_prep_pq_lock(chan, NULL, pq, src, src_cnt, scf, len, src_cnt 674 drivers/dma/ioat/prep.c unsigned int src_cnt, size_t len, src_cnt 684 drivers/dma/ioat/prep.c if (src_cnt > MAX_SCF) src_cnt 692 drivers/dma/ioat/prep.c memset(scf, 0, src_cnt); src_cnt 697 drivers/dma/ioat/prep.c return src_cnt_flags(src_cnt, flags) > 8 ? src_cnt 698 drivers/dma/ioat/prep.c __ioat_prep_pq16_lock(chan, result, pq, &src[1], src_cnt - 1, src_cnt 700 drivers/dma/ioat/prep.c __ioat_prep_pq_lock(chan, result, pq, &src[1], src_cnt - 1, src_cnt 538 drivers/dma/iop-adma.c dma_addr_t *dma_src, unsigned int src_cnt, size_t len, src_cnt 551 drivers/dma/iop-adma.c __func__, src_cnt, len, flags); src_cnt 554 drivers/dma/iop-adma.c slot_cnt = iop_chan_xor_slot_count(len, src_cnt, &slots_per_op); src_cnt 558 drivers/dma/iop-adma.c iop_desc_init_xor(grp_start, src_cnt, flags); src_cnt 562 drivers/dma/iop-adma.c while (src_cnt--) src_cnt 563 drivers/dma/iop-adma.c iop_desc_set_xor_src_addr(grp_start, src_cnt, src_cnt 564 drivers/dma/iop-adma.c dma_src[src_cnt]); src_cnt 573 drivers/dma/iop-adma.c unsigned int src_cnt, size_t len, u32 *result, src_cnt 584 drivers/dma/iop-adma.c __func__, src_cnt, len); src_cnt 587 drivers/dma/iop-adma.c slot_cnt = iop_chan_zero_sum_slot_count(len, src_cnt, &slots_per_op); src_cnt 591 drivers/dma/iop-adma.c iop_desc_init_zero_sum(grp_start, src_cnt, flags); src_cnt 597 drivers/dma/iop-adma.c while (src_cnt--) src_cnt 598 drivers/dma/iop-adma.c iop_desc_set_zero_sum_src_addr(grp_start, src_cnt, src_cnt 599 drivers/dma/iop-adma.c dma_src[src_cnt]); src_cnt 608 drivers/dma/iop-adma.c unsigned int src_cnt, const unsigned char *scf, size_t len, src_cnt 622 drivers/dma/iop-adma.c __func__, src_cnt, len, flags); src_cnt 625 drivers/dma/iop-adma.c continue_srcs = 1+src_cnt; src_cnt 627 drivers/dma/iop-adma.c continue_srcs = 3+src_cnt; src_cnt 629 drivers/dma/iop-adma.c continue_srcs = 0+src_cnt; src_cnt 649 drivers/dma/iop-adma.c for (i = 0; i < src_cnt; i++) src_cnt 672 drivers/dma/iop-adma.c unsigned int src_cnt, const unsigned char *scf, src_cnt 685 drivers/dma/iop-adma.c __func__, src_cnt, len); src_cnt 688 drivers/dma/iop-adma.c slot_cnt = iop_chan_pq_zero_sum_slot_count(len, src_cnt + 2, &slots_per_op); src_cnt 694 drivers/dma/iop-adma.c int pq_idx = src_cnt; src_cnt 697 drivers/dma/iop-adma.c iop_desc_init_pq_zero_sum(g, src_cnt+2, flags); src_cnt 703 drivers/dma/iop-adma.c while (src_cnt--) src_cnt 704 drivers/dma/iop-adma.c iop_desc_set_pq_zero_sum_src_addr(g, src_cnt, src_cnt 705 drivers/dma/iop-adma.c src[src_cnt], src_cnt 706 drivers/dma/iop-adma.c scf[src_cnt]); src_cnt 174 drivers/dma/iop-adma.h iop_chan_pq_slot_count(size_t len, int src_cnt, int *slots_per_op) src_cnt 181 drivers/dma/iop-adma.h iop_desc_init_pq(struct iop_adma_desc_slot *desc, int src_cnt, src_cnt 201 drivers/dma/iop-adma.h iop_chan_pq_zero_sum_slot_count(size_t len, int src_cnt, int *slots_per_op) src_cnt 208 drivers/dma/iop-adma.h iop_desc_init_pq_zero_sum(struct iop_adma_desc_slot *desc, int src_cnt, src_cnt 305 drivers/dma/iop-adma.h static inline int iop3xx_aau_xor_slot_count(size_t len, int src_cnt, src_cnt 318 drivers/dma/iop-adma.h *slots_per_op = slot_count_table[src_cnt - 1]; src_cnt 337 drivers/dma/iop-adma.h static inline int iop_chan_xor_slot_count(size_t len, int src_cnt, src_cnt 340 drivers/dma/iop-adma.h int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); src_cnt 359 drivers/dma/iop-adma.h static inline int iop_chan_zero_sum_slot_count(size_t len, int src_cnt, src_cnt 362 drivers/dma/iop-adma.h int slot_cnt = iop3xx_aau_xor_slot_count(len, src_cnt, slots_per_op); src_cnt 477 drivers/dma/iop-adma.h iop3xx_desc_init_xor(struct iop3xx_desc_aau *hw_desc, int src_cnt, src_cnt 488 drivers/dma/iop-adma.h switch (src_cnt) { src_cnt 493 drivers/dma/iop-adma.h for (i = 24; i < src_cnt; i++) { src_cnt 498 drivers/dma/iop-adma.h src_cnt = 24; src_cnt 507 drivers/dma/iop-adma.h for (i = 16; i < src_cnt; i++) { src_cnt 512 drivers/dma/iop-adma.h src_cnt = 16; src_cnt 519 drivers/dma/iop-adma.h for (i = 8; i < src_cnt; i++) { src_cnt 524 drivers/dma/iop-adma.h src_cnt = 8; src_cnt 528 drivers/dma/iop-adma.h for (i = 0; i < src_cnt; i++) { src_cnt 533 drivers/dma/iop-adma.h if (!u_desc_ctrl.field.blk_ctrl && src_cnt > 4) src_cnt 546 drivers/dma/iop-adma.h iop_desc_init_xor(struct iop_adma_desc_slot *desc, int src_cnt, src_cnt 549 drivers/dma/iop-adma.h iop3xx_desc_init_xor(desc->hw_desc, src_cnt, flags); src_cnt 554 drivers/dma/iop-adma.h iop_desc_init_zero_sum(struct iop_adma_desc_slot *desc, int src_cnt, src_cnt 570 drivers/dma/iop-adma.h u_desc_ctrl.value = iop3xx_desc_init_xor(iter, src_cnt, flags); src_cnt 591 drivers/dma/iop-adma.h iop_desc_init_null_xor(struct iop_adma_desc_slot *desc, int src_cnt, src_cnt 601 drivers/dma/iop-adma.h switch (src_cnt) { src_cnt 619 drivers/dma/iop-adma.h if (!u_desc_ctrl.field.blk_ctrl && src_cnt > 4) src_cnt 556 drivers/dma/mv_xor.c unsigned int src_cnt, size_t len, unsigned long flags) src_cnt 569 drivers/dma/mv_xor.c __func__, src_cnt, len, &dest, flags); src_cnt 583 drivers/dma/mv_xor.c while (src_cnt--) { src_cnt 585 drivers/dma/mv_xor.c ret = mv_xor_add_io_win(mv_chan, src[src_cnt]); src_cnt 588 drivers/dma/mv_xor.c mv_desc_set_src_addr(sw_desc, src_cnt, src[src_cnt]); src_cnt 428 drivers/dma/mv_xor_v2.c unsigned int src_cnt, size_t len, unsigned long flags) src_cnt 436 drivers/dma/mv_xor_v2.c if (src_cnt > MV_XOR_V2_CMD_LINE_NUM_MAX_D_BUF || src_cnt < 1) src_cnt 441 drivers/dma/mv_xor_v2.c __func__, src_cnt, len, &dest, flags); src_cnt 464 drivers/dma/mv_xor_v2.c for (i = 0; i < src_cnt; i++) src_cnt 468 drivers/dma/mv_xor_v2.c src_cnt << DESC_NUM_ACTIVE_D_BUF_SHIFT; src_cnt 115 drivers/dma/ppc4xx/adma.c int src_cnt, u32 addr); src_cnt 181 drivers/dma/ppc4xx/adma.c unsigned int src_cnt) src_cnt 186 drivers/dma/ppc4xx/adma.c for (i = 0; i < src_cnt; i++) src_cnt 192 drivers/dma/ppc4xx/adma.c unsigned int src_cnt) src_cnt 197 drivers/dma/ppc4xx/adma.c for (i = 0; i < src_cnt; i++) src_cnt 205 drivers/dma/ppc4xx/adma.c unsigned int src_cnt, src_cnt 212 drivers/dma/ppc4xx/adma.c for (i = 0; i < src_cnt; i++) src_cnt 215 drivers/dma/ppc4xx/adma.c for (i = 0; i < src_cnt; i++) src_cnt 221 drivers/dma/ppc4xx/adma.c pr_debug("\t0x%016llx ", src[src_cnt + i]); src_cnt 264 drivers/dma/ppc4xx/adma.c desc->src_cnt = 0; src_cnt 272 drivers/dma/ppc4xx/adma.c int src_cnt, unsigned long flags) src_cnt 278 drivers/dma/ppc4xx/adma.c desc->src_cnt = src_cnt; src_cnt 281 drivers/dma/ppc4xx/adma.c hw_desc->cbc = XOR_CBCR_TGT_BIT | src_cnt; src_cnt 292 drivers/dma/ppc4xx/adma.c int dst_cnt, int src_cnt, unsigned long flags) src_cnt 298 drivers/dma/ppc4xx/adma.c desc->src_cnt = src_cnt; src_cnt 318 drivers/dma/ppc4xx/adma.c int dst_cnt, int src_cnt, unsigned long flags, src_cnt 327 drivers/dma/ppc4xx/adma.c desc->src_cnt = src_cnt; src_cnt 432 drivers/dma/ppc4xx/adma.c int dst_cnt, int src_cnt) src_cnt 458 drivers/dma/ppc4xx/adma.c iter->src_cnt = 0; src_cnt 466 drivers/dma/ppc4xx/adma.c if (i++ < src_cnt) src_cnt 494 drivers/dma/ppc4xx/adma.c desc->src_cnt = src_cnt; src_cnt 508 drivers/dma/ppc4xx/adma.c desc->src_cnt = 1; src_cnt 793 drivers/dma/ppc4xx/adma.c static int ppc440spe_chan_xor_slot_count(size_t len, int src_cnt, src_cnt 799 drivers/dma/ppc4xx/adma.c slot_cnt = *slots_per_op = (src_cnt + XOR_MAX_OPS - 1)/XOR_MAX_OPS; src_cnt 815 drivers/dma/ppc4xx/adma.c int src_cnt, size_t len) src_cnt 821 drivers/dma/ppc4xx/adma.c for (i = 1; i < src_cnt; i++) { src_cnt 830 drivers/dma/ppc4xx/adma.c if (i == src_cnt-1) src_cnt 836 drivers/dma/ppc4xx/adma.c if (i == src_cnt-1) src_cnt 843 drivers/dma/ppc4xx/adma.c if (i == src_cnt-2 || (order == -1 src_cnt 850 drivers/dma/ppc4xx/adma.c if (i == src_cnt-1) src_cnt 854 drivers/dma/ppc4xx/adma.c if (i == src_cnt-1) src_cnt 858 drivers/dma/ppc4xx/adma.c if (i == src_cnt-1) src_cnt 875 drivers/dma/ppc4xx/adma.c if (src_cnt <= 1 || (state != 1 && state != 2)) { src_cnt 877 drivers/dma/ppc4xx/adma.c __func__, src_cnt, state, addr_count, order); src_cnt 878 drivers/dma/ppc4xx/adma.c for (i = 0; i < src_cnt; i++) src_cnt 1253 drivers/dma/ppc4xx/adma.c static int ppc440spe_can_rxor(struct page **srcs, int src_cnt, size_t len) src_cnt 1258 drivers/dma/ppc4xx/adma.c if (unlikely(!(src_cnt > 1))) src_cnt 1261 drivers/dma/ppc4xx/adma.c BUG_ON(src_cnt > ARRAY_SIZE(ppc440spe_rxor_srcs)); src_cnt 1264 drivers/dma/ppc4xx/adma.c for (i = 0; i < src_cnt; i++) { src_cnt 1269 drivers/dma/ppc4xx/adma.c src_cnt = idx; src_cnt 1271 drivers/dma/ppc4xx/adma.c for (i = 1; i < src_cnt; i++) { src_cnt 1289 drivers/dma/ppc4xx/adma.c if ((i == src_cnt - 2) || src_cnt 1330 drivers/dma/ppc4xx/adma.c struct page **src_lst, int src_cnt, size_t src_sz) src_cnt 1353 drivers/dma/ppc4xx/adma.c if (dst_cnt == 1 && src_cnt == 2 && dst_lst[0] == src_lst[1]) src_cnt 1355 drivers/dma/ppc4xx/adma.c else if (ppc440spe_can_rxor(src_lst, src_cnt, src_sz)) src_cnt 1372 drivers/dma/ppc4xx/adma.c int src_cnt, size_t src_sz) src_cnt 1388 drivers/dma/ppc4xx/adma.c if (src_cnt == 1 && dst_lst[1] == src_lst[0]) src_cnt 1390 drivers/dma/ppc4xx/adma.c if (src_cnt == 2 && dst_lst[1] == src_lst[1]) src_cnt 1406 drivers/dma/ppc4xx/adma.c dst_cnt, src_lst, src_cnt, src_sz); src_cnt 1428 drivers/dma/ppc4xx/adma.c if (entry_idx < 0 || entry_idx >= (tdesc->src_cnt + tdesc->dst_cnt)) { src_cnt 1430 drivers/dma/ppc4xx/adma.c __func__, entry_idx, tdesc->src_cnt, tdesc->dst_cnt); src_cnt 2020 drivers/dma/ppc4xx/adma.c dma_addr_t *dma_src, u32 src_cnt, size_t len, src_cnt 2030 drivers/dma/ppc4xx/adma.c dma_dest, dma_src, src_cnt)); src_cnt 2037 drivers/dma/ppc4xx/adma.c ppc440spe_chan->device->id, __func__, src_cnt, len, src_cnt 2041 drivers/dma/ppc4xx/adma.c slot_cnt = ppc440spe_chan_xor_slot_count(len, src_cnt, &slots_per_op); src_cnt 2046 drivers/dma/ppc4xx/adma.c ppc440spe_desc_init_xor(group_start, src_cnt, flags); src_cnt 2048 drivers/dma/ppc4xx/adma.c while (src_cnt--) src_cnt 2050 drivers/dma/ppc4xx/adma.c dma_src[src_cnt], src_cnt); src_cnt 2062 drivers/dma/ppc4xx/adma.c int src_cnt); src_cnt 2070 drivers/dma/ppc4xx/adma.c dma_addr_t *src, int src_cnt) src_cnt 2075 drivers/dma/ppc4xx/adma.c for (i = 0; i < src_cnt; i++) { src_cnt 2077 drivers/dma/ppc4xx/adma.c desc->src_cnt, (u32)src[i]); src_cnt 2087 drivers/dma/ppc4xx/adma.c dma_addr_t *dst, int dst_cnt, dma_addr_t *src, int src_cnt, src_cnt 2108 drivers/dma/ppc4xx/adma.c sw_desc->src_cnt = src_cnt; src_cnt 2173 drivers/dma/ppc4xx/adma.c dma_addr_t *dst, dma_addr_t *src, int src_cnt, src_cnt 2194 drivers/dma/ppc4xx/adma.c sw_desc->src_cnt = src_cnt; src_cnt 2277 drivers/dma/ppc4xx/adma.c dma_addr_t *dst, int dst_cnt, dma_addr_t *src, int src_cnt, src_cnt 2286 drivers/dma/ppc4xx/adma.c __func__, dst_cnt, src_cnt, len); src_cnt 2299 drivers/dma/ppc4xx/adma.c if (src_cnt > 1 && src_cnt 2304 drivers/dma/ppc4xx/adma.c if (src_cnt != 2) { src_cnt 2344 drivers/dma/ppc4xx/adma.c slot_cnt = src_cnt; src_cnt 2367 drivers/dma/ppc4xx/adma.c slot_cnt += src_cnt - 2; src_cnt 2369 drivers/dma/ppc4xx/adma.c slot_cnt += src_cnt - 3; src_cnt 2383 drivers/dma/ppc4xx/adma.c ppc440spe_desc_init_dma01pq(sw_desc, dst_cnt, src_cnt, src_cnt 2390 drivers/dma/ppc4xx/adma.c while (src_cnt--) { src_cnt 2391 drivers/dma/ppc4xx/adma.c ppc440spe_adma_pq_set_src(sw_desc, src[src_cnt], src_cnt 2392 drivers/dma/ppc4xx/adma.c src_cnt); src_cnt 2401 drivers/dma/ppc4xx/adma.c mult = scf[src_cnt]; src_cnt 2403 drivers/dma/ppc4xx/adma.c mult, src_cnt, dst_cnt - 1); src_cnt 2422 drivers/dma/ppc4xx/adma.c dma_addr_t *dst, int dst_cnt, dma_addr_t *src, int src_cnt, src_cnt 2435 drivers/dma/ppc4xx/adma.c descs_per_op = ppc440spe_dma2_pq_slot_count(src, src_cnt, len); src_cnt 2449 drivers/dma/ppc4xx/adma.c ppc440spe_desc_init_dma2pq(iter, dst_cnt, src_cnt, src_cnt 2464 drivers/dma/ppc4xx/adma.c src_cnt); src_cnt 2489 drivers/dma/ppc4xx/adma.c while (src_cnt--) { src_cnt 2493 drivers/dma/ppc4xx/adma.c ppc440spe_adma_pq_set_src(sw_desc, src[src_cnt], src_cnt 2494 drivers/dma/ppc4xx/adma.c src_cnt); src_cnt 2496 drivers/dma/ppc4xx/adma.c mult = scf[src_cnt]; src_cnt 2498 drivers/dma/ppc4xx/adma.c mult, src_cnt, dst_cnt - 1); src_cnt 2511 drivers/dma/ppc4xx/adma.c unsigned int src_cnt, const unsigned char *scf, src_cnt 2521 drivers/dma/ppc4xx/adma.c dst, src, src_cnt)); src_cnt 2524 drivers/dma/ppc4xx/adma.c BUG_ON(!src_cnt); src_cnt 2526 drivers/dma/ppc4xx/adma.c if (src_cnt == 1 && dst[1] == src[0]) { src_cnt 2534 drivers/dma/ppc4xx/adma.c dest, 2, src, src_cnt, scf, len, flags); src_cnt 2538 drivers/dma/ppc4xx/adma.c if (src_cnt == 2 && dst[1] == src[1]) { src_cnt 2560 drivers/dma/ppc4xx/adma.c ppc440spe_chan->device->id, __func__, src_cnt, len, src_cnt 2567 drivers/dma/ppc4xx/adma.c dst, dst_cnt, src, src_cnt, scf, src_cnt 2573 drivers/dma/ppc4xx/adma.c dst, dst_cnt, src, src_cnt, scf, src_cnt 2587 drivers/dma/ppc4xx/adma.c unsigned int src_cnt, const unsigned char *scf, size_t len, src_cnt 2608 drivers/dma/ppc4xx/adma.c src, src_cnt, scf)); src_cnt 2618 drivers/dma/ppc4xx/adma.c slot_cnt = src_cnt + dst_cnt * 2; src_cnt 2625 drivers/dma/ppc4xx/adma.c ppc440spe_desc_init_dma01pqzero_sum(sw_desc, dst_cnt, src_cnt); src_cnt 2647 drivers/dma/ppc4xx/adma.c iter->src_cnt = 0; src_cnt 2679 drivers/dma/ppc4xx/adma.c iter->src_cnt = 0; src_cnt 2743 drivers/dma/ppc4xx/adma.c src[src_cnt - 1]); src_cnt 2750 drivers/dma/ppc4xx/adma.c scf[src_cnt - 1]); src_cnt 2752 drivers/dma/ppc4xx/adma.c if (!(--src_cnt)) src_cnt 2765 drivers/dma/ppc4xx/adma.c struct dma_chan *chan, dma_addr_t *src, unsigned int src_cnt, src_cnt 2777 drivers/dma/ppc4xx/adma.c src_cnt - 1, 0, len, src_cnt 3087 drivers/dma/ppc4xx/adma.c int src_cnt) src_cnt 3092 drivers/dma/ppc4xx/adma.c hw_desc->cbc |= src_cnt; src_cnt 3225 drivers/dma/ppc4xx/adma.c struct ppc440spe_rxor *cursor, int index, int src_cnt) src_cnt 3228 drivers/dma/ppc4xx/adma.c if (index == src_cnt - 1) { src_cnt 3243 drivers/dma/ppc4xx/adma.c int src_cnt, u32 addr) src_cnt 3262 drivers/dma/ppc4xx/adma.c if (index == src_cnt-1) { src_cnt 3267 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); src_cnt 3274 drivers/dma/ppc4xx/adma.c if (index == src_cnt-1) { src_cnt 3279 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); src_cnt 3291 drivers/dma/ppc4xx/adma.c if (index == src_cnt-2 || (sign == -1 src_cnt 3300 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); src_cnt 3307 drivers/dma/ppc4xx/adma.c if (index == src_cnt-1) { src_cnt 3309 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); src_cnt 3317 drivers/dma/ppc4xx/adma.c if (index == src_cnt-1) { src_cnt 3319 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); src_cnt 3327 drivers/dma/ppc4xx/adma.c if (index == src_cnt-1) { src_cnt 3329 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); src_cnt 3339 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); src_cnt 3348 drivers/dma/ppc4xx/adma.c desc, cursor, index, src_cnt); src_cnt 159 drivers/dma/ppc4xx/adma.h u8 src_cnt; src_cnt 356 drivers/dma/xgene-dma.c static u8 xgene_dma_encode_xor_flyby(u32 src_cnt) src_cnt 367 drivers/dma/xgene-dma.c return flyby_type[src_cnt]; src_cnt 414 drivers/dma/xgene-dma.c u32 src_cnt, size_t *nbytes, src_cnt 435 drivers/dma/xgene-dma.c desc1->m2 |= cpu_to_le64(xgene_dma_encode_xor_flyby(src_cnt)); src_cnt 438 drivers/dma/xgene-dma.c for (i = 0; i < src_cnt; i++) { src_cnt 837 drivers/dma/xgene-dma.c u32 src_cnt, size_t len, unsigned long flags) src_cnt 857 drivers/dma/xgene-dma.c src_cnt, &len, multi); src_cnt 885 drivers/dma/xgene-dma.c u32 src_cnt, const u8 *scf, size_t len, unsigned long flags) src_cnt 903 drivers/dma/xgene-dma.c memcpy(_src, src, sizeof(*src) * src_cnt); src_cnt 932 drivers/dma/xgene-dma.c src_cnt, &len, multi); src_cnt 942 drivers/dma/xgene-dma.c src_cnt, &_len, scf); src_cnt 510 fs/btrfs/raid56.c static void run_xor(void **pages, int src_cnt, ssize_t len) src_cnt 514 fs/btrfs/raid56.c void *dest = pages[src_cnt]; src_cnt 516 fs/btrfs/raid56.c while(src_cnt > 0) { src_cnt 517 fs/btrfs/raid56.c xor_src_cnt = min(src_cnt, MAX_XOR_BLOCKS); src_cnt 520 fs/btrfs/raid56.c src_cnt -= xor_src_cnt; src_cnt 163 include/linux/async_tx.h int src_cnt, size_t len, struct async_submit_ctl *submit); src_cnt 167 include/linux/async_tx.h int src_cnt, size_t len, enum sum_check_flags *result, src_cnt 178 include/linux/async_tx.h async_gen_syndrome(struct page **blocks, unsigned int offset, int src_cnt, src_cnt 182 include/linux/async_tx.h async_syndrome_val(struct page **blocks, unsigned int offset, int src_cnt, src_cnt 758 include/linux/dmaengine.h unsigned int src_cnt, size_t len, unsigned long flags); src_cnt 760 include/linux/dmaengine.h struct dma_chan *chan, dma_addr_t *src, unsigned int src_cnt, src_cnt 764 include/linux/dmaengine.h unsigned int src_cnt, const unsigned char *scf, src_cnt 768 include/linux/dmaengine.h unsigned int src_cnt, const unsigned char *scf, size_t len,