Lines Matching refs:unirom

583 static struct uni_table_desc *nx_get_table_desc(const u8 *unirom, int section)  in nx_get_table_desc()  argument
586 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in nx_get_table_desc()
593 __le32 tab_type = cpu_to_le32(*((u32 *)&unirom[offs] + 8)); in nx_get_table_desc()
596 return (struct uni_table_desc *) &unirom[offs]; in nx_get_table_desc()
607 const u8 *unirom = adapter->fw->data; in netxen_nic_validate_header() local
608 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in netxen_nic_validate_header()
632 const u8 *unirom = adapter->fw->data; in netxen_nic_validate_bootld() local
633 __le32 idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] + in netxen_nic_validate_bootld()
639 tab_desc = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_BOOTLD); in netxen_nic_validate_bootld()
652 descr = (struct uni_data_desc *)&unirom[offs]; in netxen_nic_validate_bootld()
667 const u8 *unirom = adapter->fw->data; in netxen_nic_validate_fw() local
668 __le32 idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] + in netxen_nic_validate_fw()
674 tab_desc = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_FW); in netxen_nic_validate_fw()
687 descr = (struct uni_data_desc *)&unirom[offs]; in netxen_nic_validate_fw()
701 const u8 *unirom = adapter->fw->data; in netxen_nic_validate_product_offs() local
709 ptab_descr = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_PRODUCT_TBL); in netxen_nic_validate_product_offs()
729 flags = cpu_to_le32(*((int *)&unirom[offs] + NX_UNI_FLAGS_OFF)); in netxen_nic_validate_product_offs()
730 file_chiprev = cpu_to_le32(*((int *)&unirom[offs] + in netxen_nic_validate_product_offs()
783 const u8 *unirom = adapter->fw->data; in nx_get_data_desc() local
784 int idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] + in nx_get_data_desc()
789 tab_desc = nx_get_table_desc(unirom, section); in nx_get_data_desc()
797 return (struct uni_data_desc *)&unirom[offs]; in nx_get_data_desc()