Lines Matching refs:cpu_to_le32
1477 __le32 entries = cpu_to_le32(directory->num_entries);
1480 offset = cpu_to_le32(directory->findex) +
1481 (i * cpu_to_le32(directory->entry_size));
1482 tab_type = cpu_to_le32(*((u32 *)&unirom[offset] + 8));
1496 int idx = cpu_to_le32(*((int *)&unirom[ha->file_prd_off] + idx_offset));
1504 offset = cpu_to_le32(tab_desc->findex) +
1505 (cpu_to_le32(tab_desc->entry_size) * idx);
1520 offset = cpu_to_le32(uri_desc->findex);
1535 return cpu_to_le32(uri_desc->size);
1538 return cpu_to_le32(*(u32 *)&ha->hablob->fw->data[FW_SIZE_OFFSET]);
1551 offset = cpu_to_le32(uri_desc->findex);
1710 icb->request_q_address[0] = cpu_to_le32(LSD(req->dma));
1711 icb->request_q_address[1] = cpu_to_le32(MSD(req->dma));
1712 icb->response_q_address[0] = cpu_to_le32(LSD(rsp->dma));
1713 icb->response_q_address[1] = cpu_to_le32(MSD(rsp->dma));
1791 entries = cpu_to_le32(ptab_desc->num_entries);
1794 offset = cpu_to_le32(ptab_desc->findex) +
1795 (i * cpu_to_le32(ptab_desc->entry_size));
1796 flags = cpu_to_le32(*((int *)&unirom[offset] +
1798 file_chiprev = cpu_to_le32(*((int *)&unirom[offset] +
1827 val = cpu_to_le32(*(u32 *)&fw->data[QLA82XX_FW_MAGIC_OFFSET]);
2520 *dsd_seg++ = cpu_to_le32(LSD(dsd_ptr->dsd_list_dma));
2521 *dsd_seg++ = cpu_to_le32(MSD(dsd_ptr->dsd_list_dma));
2524 *cur_dsd++ = cpu_to_le32(LSD(dsd_ptr->dsd_list_dma));
2525 *cur_dsd++ = cpu_to_le32(MSD(dsd_ptr->dsd_list_dma));
2533 *cur_dsd++ = cpu_to_le32(LSD(sle_dma));
2534 *cur_dsd++ = cpu_to_le32(MSD(sle_dma));
2535 *cur_dsd++ = cpu_to_le32(sg_dma_len(cur_seg));
2763 cpu_to_le32(LSD(ctx->fcp_cmnd_dma));
2765 cpu_to_le32(MSD(ctx->fcp_cmnd_dma));
2768 cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd));
2814 cmd_pkt->byte_count = cpu_to_le32((uint32_t)scsi_bufflen(cmd));
3087 cpu_to_le32(*dwptr));