Lines Matching refs:cpu_to_le32
398 *(__le32 *)bytes = cpu_to_le32(v);
612 __le32 entries = cpu_to_le32(directory->num_entries);
616 __le32 offs = cpu_to_le32(directory->findex) +
617 (i * cpu_to_le32(directory->entry_size));
618 __le32 tab_type = cpu_to_le32(*((u32 *)&unirom[offs] + 8));
642 entries = cpu_to_le32(directory->num_entries);
643 entry_size = cpu_to_le32(directory->entry_size);
644 tab_size = cpu_to_le32(directory->findex) + (entries * entry_size);
658 int idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] +
669 tab_size = cpu_to_le32(tab_desc->findex) +
670 (cpu_to_le32(tab_desc->entry_size) * (idx + 1));
675 offs = cpu_to_le32(tab_desc->findex) +
676 (cpu_to_le32(tab_desc->entry_size) * (idx));
679 data_size = cpu_to_le32(descr->findex) + cpu_to_le32(descr->size);
693 int idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] +
704 tab_size = cpu_to_le32(tab_desc->findex) +
705 (cpu_to_le32(tab_desc->entry_size) * (idx + 1));
710 offs = cpu_to_le32(tab_desc->findex) +
711 (cpu_to_le32(tab_desc->entry_size) * (idx));
713 data_size = cpu_to_le32(descr->findex) + cpu_to_le32(descr->size);
737 entries = cpu_to_le32(ptab_descr->num_entries);
738 entry_size = cpu_to_le32(ptab_descr->entry_size);
739 tab_size = cpu_to_le32(ptab_descr->findex) + (entries * entry_size);
751 offs = cpu_to_le32(ptab_descr->findex) +
752 (i * cpu_to_le32(ptab_descr->entry_size));
753 flags = cpu_to_le32(*((int *)&unirom[offs] +
755 file_chiprev = cpu_to_le32(*((int *)&unirom[offs] +
808 int idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] +
818 offs = cpu_to_le32(tab_desc->findex) +
819 (cpu_to_le32(tab_desc->entry_size) * idx);
830 offs = cpu_to_le32((qlcnic_get_data_desc(adapter,
843 offs = cpu_to_le32((qlcnic_get_data_desc(adapter,
854 return cpu_to_le32((qlcnic_get_data_desc(adapter,
858 return cpu_to_le32(
872 return cpu_to_le32(*(u32 *)&fw->data[QLCNIC_FW_VERSION_OFFSET]);
876 ver_str = fw->data + cpu_to_le32(fw_data_desc->findex) +
877 cpu_to_le32(fw_data_desc->size) - 17;
900 return cpu_to_le32(
903 bios_ver = cpu_to_le32(*((u32 *) (&fw->data[prd_off])
1064 val = cpu_to_le32(*(u32 *)&fw->data[QLCNIC_FW_MAGIC_OFFSET]);
1608 pdesc->buffer_length = cpu_to_le32(rds_ring->dma_size);
1651 pdesc->buffer_length = cpu_to_le32(rds_ring->dma_size);