Lines Matching defs:unirom
598 static struct uni_table_desc *nx_get_table_desc(const u8 *unirom, int section)
601 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0];
608 __le32 tab_type = cpu_to_le32(*((u32 *)&unirom[offs] + 8));
611 return (struct uni_table_desc *) &unirom[offs];
622 const u8 *unirom = adapter->fw->data;
623 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0];
647 const u8 *unirom = adapter->fw->data;
648 __le32 idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] +
654 tab_desc = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_BOOTLD);
667 descr = (struct uni_data_desc *)&unirom[offs];
682 const u8 *unirom = adapter->fw->data;
683 __le32 idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] +
689 tab_desc = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_FW);
702 descr = (struct uni_data_desc *)&unirom[offs];
716 const u8 *unirom = adapter->fw->data;
724 ptab_descr = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_PRODUCT_TBL);
744 flags = cpu_to_le32(*((int *)&unirom[offs] + NX_UNI_FLAGS_OFF));
745 file_chiprev = cpu_to_le32(*((int *)&unirom[offs] +
798 const u8 *unirom = adapter->fw->data;
799 int idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] +
804 tab_desc = nx_get_table_desc(unirom, section);
812 return (struct uni_data_desc *)&unirom[offs];