Lines Matching refs:index
114 struct ppc440spe_rxor *cursor, int index,
118 int index, dma_addr_t addr);
121 int index, u8 mult);
1230 dma_addr_t addr, int index);
1233 dma_addr_t addr, int index);
1240 dma_addr_t addr, int index);
1243 unsigned char mult, int index, int dst_pos);
1419 * ppc440spe_get_group_entry - get group entry with index idx
2786 dma_addr_t addr, int index)
2790 BUG_ON(index >= sw_desc->dst_cnt);
2801 chan, 0, addr, index);
2804 sw_desc = ppc440spe_get_group_entry(sw_desc, index);
2806 chan, 0, addr, index);
2815 * (P or Q depending on index) as follows:
2839 int index = 0, i;
2865 index++;
2867 index++;
2869 iter = ppc440spe_get_group_entry(sw_desc, index);
2887 if (index) {
2891 index = 0;
2895 sw_desc, index++);
2903 sw_desc, index++);
2926 iter = ppc440spe_get_group_entry(sw_desc, index++);
2933 index++);
2943 index);
3099 dma_addr_t addr, int index)
3117 if (index == 0) {
3142 } else if (index < iskip) {
3154 index - iskip + sw_desc->dst_cnt);
3169 index + znum);
3175 if (!index &&
3193 ppc440spe_adma_dma2rxor_set_src(iter, index, addr);
3199 ppc440spe_adma_dma2rxor_set_src(iter, index, addr);
3209 dma_addr_t addr, int index)
3217 ppc440spe_desc_set_src_addr(sw_desc, chan, index, 0, addr);
3225 struct ppc440spe_rxor *cursor, int index, int src_cnt)
3228 if (index == src_cnt - 1) {
3242 struct ppc440spe_rxor *cursor, int index,
3262 if (index == src_cnt-1) {
3267 desc, cursor, index, src_cnt);
3274 if (index == src_cnt-1) {
3279 desc, cursor, index, src_cnt);
3291 if (index == src_cnt-2 || (sign == -1
3300 desc, cursor, index, src_cnt);
3307 if (index == src_cnt-1) {
3309 desc, cursor, index, src_cnt);
3317 if (index == src_cnt-1) {
3319 desc, cursor, index, src_cnt);
3327 if (index == src_cnt-1) {
3329 desc, cursor, index, src_cnt);
3339 desc, cursor, index, src_cnt);
3346 if (index) {
3348 desc, cursor, index, src_cnt);
3362 int index, dma_addr_t addr)
3367 /* get the RXOR operand which corresponds to index addr */
3368 while (op <= index) {
3388 if (index == op - 1)
3392 if (index == lop)
3403 int index, u8 mult)
3408 /* get the RXOR operand which corresponds to index mult */
3409 while (op <= index) {
3429 ppc440spe_rxor_set_mult(desc, k - 1, op - index - 1, mult);
3432 ppc440spe_rxor_set_mult(desc, k - 1, index - lop, mult);
3451 unsigned char mult, int index, int dst_pos)
3466 if (index < region) {
3474 mult_idx = DMA_CUED_MULT1_OFF + (index << 3);
3479 index - region +
3497 iter = ppc440spe_get_group_entry(sw_desc, index + znum);
3521 ppc440spe_adma_dma2rxor_set_mult(iter, index, 1);
3527 ppc440spe_adma_dma2rxor_set_mult(iter, index, mult);
4029 idx = of_get_property(np, "cell-index", &len);
4032 "or invalid cell-index property\n",