Lines Matching refs:index

114 		struct ppc440spe_rxor *cursor, int index,
118 int index, dma_addr_t addr);
121 int index, u8 mult);
1228 dma_addr_t addr, int index);
1231 dma_addr_t addr, int index);
1238 dma_addr_t addr, int index);
1241 unsigned char mult, int index, int dst_pos);
1417 * ppc440spe_get_group_entry - get group entry with index idx
2784 dma_addr_t addr, int index)
2788 BUG_ON(index >= sw_desc->dst_cnt);
2799 chan, 0, addr, index);
2802 sw_desc = ppc440spe_get_group_entry(sw_desc, index);
2804 chan, 0, addr, index);
2813 * (P or Q depending on index) as follows:
2837 int index = 0, i;
2863 index++;
2865 index++;
2867 iter = ppc440spe_get_group_entry(sw_desc, index);
2885 if (index) {
2889 index = 0;
2893 sw_desc, index++);
2901 sw_desc, index++);
2924 iter = ppc440spe_get_group_entry(sw_desc, index++);
2931 index++);
2941 index);
3097 dma_addr_t addr, int index)
3115 if (index == 0) {
3140 } else if (index < iskip) {
3152 index - iskip + sw_desc->dst_cnt);
3167 index + znum);
3173 if (!index &&
3191 ppc440spe_adma_dma2rxor_set_src(iter, index, addr);
3197 ppc440spe_adma_dma2rxor_set_src(iter, index, addr);
3207 dma_addr_t addr, int index)
3215 ppc440spe_desc_set_src_addr(sw_desc, chan, index, 0, addr);
3223 struct ppc440spe_rxor *cursor, int index, int src_cnt)
3226 if (index == src_cnt - 1) {
3240 struct ppc440spe_rxor *cursor, int index,
3259 if (index == src_cnt-1) {
3264 desc, cursor, index, src_cnt);
3271 if (index == src_cnt-1) {
3276 desc, cursor, index, src_cnt);
3288 if (index == src_cnt-2 || (sign == -1
3297 desc, cursor, index, src_cnt);
3304 if (index == src_cnt-1) {
3306 desc, cursor, index, src_cnt);
3314 if (index == src_cnt-1) {
3316 desc, cursor, index, src_cnt);
3324 if (index == src_cnt-1) {
3326 desc, cursor, index, src_cnt);
3336 desc, cursor, index, src_cnt);
3343 if (index) {
3345 desc, cursor, index, src_cnt);
3359 int index, dma_addr_t addr)
3364 /* get the RXOR operand which corresponds to index addr */
3365 while (op <= index) {
3385 if (index == op - 1)
3389 if (index == lop)
3400 int index, u8 mult)
3405 /* get the RXOR operand which corresponds to index mult */
3406 while (op <= index) {
3426 ppc440spe_rxor_set_mult(desc, k - 1, op - index - 1, mult);
3429 ppc440spe_rxor_set_mult(desc, k - 1, index - lop, mult);
3448 unsigned char mult, int index, int dst_pos)
3463 if (index < region) {
3471 mult_idx = DMA_CUED_MULT1_OFF + (index << 3);
3476 index - region +
3494 iter = ppc440spe_get_group_entry(sw_desc, index + znum);
3518 ppc440spe_adma_dma2rxor_set_mult(iter, index, 1);
3524 ppc440spe_adma_dma2rxor_set_mult(iter, index, mult);
4026 idx = of_get_property(np, "cell-index", &len);
4029 "or invalid cell-index property\n",