Lines Matching refs:cpu_to_le32
344 d->ir_prg[n][0].status = cpu_to_le32(4);
345 d->ir_prg[n][1].status = cpu_to_le32(PAGE_SIZE-4);
347 d->ir_prg[n][i].status = cpu_to_le32(PAGE_SIZE);
348 d->ir_prg[n][i].status = cpu_to_le32(d->left_size);
359 ir_prg[0].address = cpu_to_le32(dma_region_offset_to_bus(&d->dma, buf -
361 ir_prg[1].address = cpu_to_le32(dma_region_offset_to_bus(&d->dma,
365 ir_prg[i].address = cpu_to_le32(dma_region_offset_to_bus(&d->dma,
370 ir_prg[i].control = cpu_to_le32(DMA_CTL_INPUT_MORE | DMA_CTL_UPDATE |
372 ir_prg[i].address = cpu_to_le32(dma_region_offset_to_bus(&d->dma,
384 ir_prg[0].control = cpu_to_le32(DMA_CTL_INPUT_MORE | DMA_CTL_UPDATE |
389 ir_prg[0].control |= cpu_to_le32(DMA_CTL_WAIT);
391 ir_prg[0].address = cpu_to_le32(dma_region_offset_to_bus(&d->dma, buf -
393 ir_prg[0].branchAddress = cpu_to_le32((dma_prog_region_offset_to_bus(ir_reg,
399 ir_prg[1].control = cpu_to_le32(DMA_CTL_INPUT_MORE | DMA_CTL_UPDATE |
401 ir_prg[1].address = cpu_to_le32(dma_region_offset_to_bus(&d->dma, (buf + 4) -
403 ir_prg[1].branchAddress = cpu_to_le32((dma_prog_region_offset_to_bus(ir_reg,
407 ir_prg[i].control = cpu_to_le32(DMA_CTL_INPUT_MORE | DMA_CTL_UPDATE |
409 ir_prg[i].address = cpu_to_le32(dma_region_offset_to_bus(&d->dma,
414 cpu_to_le32((dma_prog_region_offset_to_bus(ir_reg,
419 ir_prg[i].control = cpu_to_le32(DMA_CTL_INPUT_MORE | DMA_CTL_UPDATE |
421 ir_prg[i].address = cpu_to_le32(dma_region_offset_to_bus(&d->dma,
427 ir_prg[1].control = cpu_to_le32(DMA_CTL_INPUT_MORE | DMA_CTL_UPDATE |
429 ir_prg[1].address = cpu_to_le32(dma_region_offset_to_bus(&d->dma,
488 if (d->ir_prg[i][d->nb_cmd-1].status & cpu_to_le32(0xFFFF0000)) {
562 cpu_to_le32(0xFFFF0000)) {
585 cpu_to_le32(dma_region_offset_to_bus(&d->dma,
599 it_prg[i].begin.control = cpu_to_le32(DMA_CTL_OUTPUT_MORE |
605 it_prg[i].data[0] = cpu_to_le32(
610 if (i==0) it_prg[i].data[0] |= cpu_to_le32(sync_tag);
611 it_prg[i].data[1] = cpu_to_le32(d->packet_size << 16);
615 it_prg[i].end.control = cpu_to_le32(DMA_CTL_OUTPUT_LAST |
618 cpu_to_le32(dma_region_offset_to_bus(&d->dma, (buf+i*d->packet_size) -
622 it_prg[i].end.control |= cpu_to_le32(d->packet_size);
624 cpu_to_le32((dma_prog_region_offset_to_bus(it_reg, (i + 1) *
627 cpu_to_le32((dma_prog_region_offset_to_bus(it_reg, (i + 1) *
631 it_prg[i].end.control |= cpu_to_le32(DMA_CTL_UPDATE |
658 it_prg[i].data[1] = cpu_to_le32(size << 16);
659 it_prg[i].end.control = cpu_to_le32(DMA_CTL_OUTPUT_LAST | DMA_CTL_BRANCH);
662 it_prg[i].end.control |= cpu_to_le32(size);
664 cpu_to_le32((dma_prog_region_offset_to_bus(it_reg, (i + 1) *
667 cpu_to_le32((dma_prog_region_offset_to_bus(it_reg, (i + 1) *
671 it_prg[i].end.control |= cpu_to_le32(DMA_CTL_UPDATE |
907 cpu_to_le32((dma_prog_region_offset_to_bus(&d->prg_reg[next_prg], 0)
1065 cpu_to_le32((dma_prog_region_offset_to_bus(&d->prg_reg[next_prg],
1070 cpu_to_le32((dma_prog_region_offset_to_bus(&d->prg_reg[next_prg],