Lines Matching refs:cpu_to_le32
367 d->prg_cpu[i]->control = cpu_to_le32(c | d->buf_size);
372 cpu_to_le32((d->prg_bus[i+1] & 0xfffffff0) | 0x1);
375 cpu_to_le32((d->prg_bus[0] & 0xfffffff0));
378 d->prg_cpu[i]->address = cpu_to_le32(d->buf_bus[i]);
379 d->prg_cpu[i]->status = cpu_to_le32(d->buf_size);
638 d->prg_cpu[idx]->begin.status = cpu_to_le32(
650 d->prg_cpu[idx]->data[0] = cpu_to_le32(OHCI1394_TCODE_PHY<<4);
651 d->prg_cpu[idx]->data[1] = cpu_to_le32(packet->header[0]);
652 d->prg_cpu[idx]->data[2] = cpu_to_le32(packet->header[1]);
674 cpu_to_le32(DMA_CTL_OUTPUT_MORE |
678 cpu_to_le32(DMA_CTL_OUTPUT_MORE |
682 cpu_to_le32(DMA_CTL_OUTPUT_LAST |
686 d->prg_cpu[idx]->end.address = cpu_to_le32(
695 cpu_to_le32(d->prg_bus[idx] | 0x3);
701 cpu_to_le32(DMA_CTL_OUTPUT_LAST |
708 cpu_to_le32(DMA_CTL_OUTPUT_LAST |
716 cpu_to_le32(d->prg_bus[idx] | 0x2);
728 cpu_to_le32(DMA_CTL_OUTPUT_MORE |
731 cpu_to_le32(DMA_CTL_OUTPUT_LAST |
736 d->prg_cpu[idx]->end.address = cpu_to_le32(
760 *(d->branchAddrPtr) = cpu_to_le32(d->prg_bus[idx] | 0x3);
1220 cmd->control = cpu_to_le32(control);
1221 cmd->address = cpu_to_le32(dma_region_offset_to_bus(&iso->data_buf, buf_offset));
1223 cmd->status = cpu_to_le32(recv->buf_stride);
1227 *prev_branch = cpu_to_le32(dma_prog_region_offset_to_bus(&recv->prog, prog_offset) | 1);
1333 cmd->control |= cpu_to_le32(DMA_CTL_WAIT);
1390 next->control |= cpu_to_le32(3 << 20);
1391 next->status = cpu_to_le32(recv->buf_stride);
1394 prev->branchAddress = cpu_to_le32(dma_prog_region_offset_to_bus(&recv->prog,
1400 prev->control |= cpu_to_le32(3 << 20); /* enable interrupt */
1402 prev->control &= cpu_to_le32(~(3<<20)); /* disable interrupt */
1905 next->output_more_immediate.control = cpu_to_le32(0x02000008);
1923 next->output_last.control = cpu_to_le32(1 << 28);
1924 next->output_last.control |= cpu_to_le32(1 << 27); /* update timeStamp */
1925 next->output_last.control |= cpu_to_le32(3 << 20); /* want interrupt */
1926 next->output_last.control |= cpu_to_le32(3 << 18); /* enable branch */
1927 next->output_last.control |= cpu_to_le32(len);
1930 next->output_last.address = cpu_to_le32(dma_region_offset_to_bus(&iso->data_buf, offset));
1937 prev->output_last.branchAddress = cpu_to_le32(
1952 prev->output_last.control &= cpu_to_le32(~(3 << 20)); /* no interrupt */
1954 prev->output_last.control |= cpu_to_le32(3 << 20); /* enable interrupt */
2410 d->prg_cpu[idx]->status = cpu_to_le32(d->buf_size);
2721 cpu_to_le32(d->prg_cpu[d->sent_ind]->end.address),