Lines Matching refs:unirom
752 struct uni_table_desc *qlcnic_get_table_desc(const u8 *unirom, int section) in qlcnic_get_table_desc() argument
755 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in qlcnic_get_table_desc()
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()
776 const u8 *unirom = adapter->fw->data; in qlcnic_validate_header() local
777 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in qlcnic_validate_header()
801 const u8 *unirom = adapter->fw->data; in qlcnic_validate_bootld() local
804 temp = *((__le32 *)&unirom[adapter->file_prd_off] + in qlcnic_validate_bootld()
807 tab_desc = qlcnic_get_table_desc(unirom, QLCNIC_UNI_DIR_SECT_BOOTLD); in qlcnic_validate_bootld()
820 descr = (struct uni_data_desc *)&unirom[offs]; in qlcnic_validate_bootld()
835 const u8 *unirom = adapter->fw->data; in qlcnic_validate_fw() local
839 temp = *((__le32 *)&unirom[adapter->file_prd_off] + in qlcnic_validate_fw()
842 tab_desc = qlcnic_get_table_desc(unirom, QLCNIC_UNI_DIR_SECT_FW); in qlcnic_validate_fw()
855 descr = (struct uni_data_desc *)&unirom[offs]; in qlcnic_validate_fw()
868 const u8 *unirom = adapter->fw->data; in qlcnic_validate_product_offs() local
873 ptab_descr = qlcnic_get_table_desc(unirom, 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()
948 const u8 *unirom = adapter->fw->data; in qlcnic_get_data_desc() local
953 temp = *((__le32 *)&unirom[adapter->file_prd_off] + idx_offset); in qlcnic_get_data_desc()
956 tab_desc = qlcnic_get_table_desc(unirom, section); in qlcnic_get_data_desc()
964 return (struct uni_data_desc *)&unirom[offs]; in qlcnic_get_data_desc()
999 const u8 *unirom = adapter->fw->data; in qlcnic_get_fw_size() local
1007 return le32_to_cpu(*(__le32 *)&unirom[QLCNIC_FW_SIZE_OFFSET]); in qlcnic_get_fw_size()