Searched refs:unirom (Results 1 – 3 of 3) sorted by relevance
590 static struct uni_table_desc *nx_get_table_desc(const u8 *unirom, int section) in nx_get_table_desc() argument593 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in nx_get_table_desc()600 __le32 tab_type = cpu_to_le32(*((u32 *)&unirom[offs] + 8)); in nx_get_table_desc()603 return (struct uni_table_desc *) &unirom[offs]; in nx_get_table_desc()614 const u8 *unirom = adapter->fw->data; in netxen_nic_validate_header() local615 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in netxen_nic_validate_header()639 const u8 *unirom = adapter->fw->data; in netxen_nic_validate_bootld() local640 __le32 idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] + in netxen_nic_validate_bootld()646 tab_desc = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_BOOTLD); in netxen_nic_validate_bootld()659 descr = (struct uni_data_desc *)&unirom[offs]; in netxen_nic_validate_bootld()[all …]
779 struct uni_table_desc *qlcnic_get_table_desc(const u8 *unirom, int section) in qlcnic_get_table_desc() argument782 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in qlcnic_get_table_desc()789 __le32 tab_type = cpu_to_le32(*((u32 *)&unirom[offs] + 8)); in qlcnic_get_table_desc()792 return (struct uni_table_desc *) &unirom[offs]; in qlcnic_get_table_desc()803 const u8 *unirom = adapter->fw->data; in qlcnic_validate_header() local804 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in qlcnic_validate_header()828 const u8 *unirom = adapter->fw->data; in qlcnic_validate_bootld() local829 int idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] + in qlcnic_validate_bootld()835 tab_desc = qlcnic_get_table_desc(unirom, QLCNIC_UNI_DIR_SECT_BOOTLD); in qlcnic_validate_bootld()848 descr = (struct uni_data_desc *)&unirom[offs]; in qlcnic_validate_bootld()[all …]
1527 qla82xx_get_table_desc(const u8 *unirom, int section) in qla82xx_get_table_desc() argument1531 (struct qla82xx_uri_table_desc *)&unirom[0]; in qla82xx_get_table_desc()1539 tab_type = cpu_to_le32(*((u32 *)&unirom[offset] + 8)); in qla82xx_get_table_desc()1542 return (struct qla82xx_uri_table_desc *)&unirom[offset]; in qla82xx_get_table_desc()1552 const u8 *unirom = ha->hablob->fw->data; in qla82xx_get_data_desc() local1553 int idx = cpu_to_le32(*((int *)&unirom[ha->file_prd_off] + idx_offset)); in qla82xx_get_data_desc()1557 tab_desc = qla82xx_get_table_desc(unirom, section); in qla82xx_get_data_desc()1564 return (struct qla82xx_uri_data_desc *)&unirom[offset]; in qla82xx_get_data_desc()1844 const uint8_t *unirom = ha->hablob->fw->data; in qla82xx_set_product_offset() local1853 ptab_desc = qla82xx_get_table_desc(unirom, in qla82xx_set_product_offset()[all …]