Lines Matching refs:offs
760 u32 offs = le32_to_cpu(directory->findex) + in qlcnic_get_table_desc() local
762 u32 tab_type = le32_to_cpu(*((__le32 *)&unirom[offs] + 8)); in qlcnic_get_table_desc()
765 return (struct uni_table_desc *) &unirom[offs]; in qlcnic_get_table_desc()
800 u32 offs, tab_size, data_size, idx; in qlcnic_validate_bootld() local
818 offs = le32_to_cpu(tab_desc->findex) + in qlcnic_validate_bootld()
820 descr = (struct uni_data_desc *)&unirom[offs]; in qlcnic_validate_bootld()
836 u32 offs, tab_size, data_size, idx; in qlcnic_validate_fw() local
853 offs = le32_to_cpu(tab_desc->findex) + in qlcnic_validate_fw()
855 descr = (struct uni_data_desc *)&unirom[offs]; in qlcnic_validate_fw()
888 u32 flags, file_chiprev, offs; in qlcnic_validate_product_offs() local
892 offs = le32_to_cpu(ptab_descr->findex) + in qlcnic_validate_product_offs()
894 temp = *((__le32 *)&unirom[offs] + QLCNIC_UNI_FLAGS_OFF); in qlcnic_validate_product_offs()
896 temp = *((__le32 *)&unirom[offs] + QLCNIC_UNI_CHIP_REV_OFF); in qlcnic_validate_product_offs()
903 adapter->file_prd_off = offs; in qlcnic_validate_product_offs()
950 u32 offs, idx; in qlcnic_get_data_desc() local
961 offs = le32_to_cpu(tab_desc->findex) + in qlcnic_get_data_desc()
964 return (struct uni_data_desc *)&unirom[offs]; in qlcnic_get_data_desc()
970 u32 offs = QLCNIC_BOOTLD_START; in qlcnic_get_bootld_offs() local
977 offs = le32_to_cpu(data_desc->findex); in qlcnic_get_bootld_offs()
979 return (u8 *)&adapter->fw->data[offs]; in qlcnic_get_bootld_offs()
985 u32 offs = QLCNIC_IMAGE_START; in qlcnic_get_fw_offs() local
991 offs = le32_to_cpu(data_desc->findex); in qlcnic_get_fw_offs()
993 return (u8 *)&adapter->fw->data[offs]; in qlcnic_get_fw_offs()