Home
last modified time | relevance | path

Searched refs:unirom (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_init.c744 struct uni_table_desc *qlcnic_get_table_desc(const u8 *unirom, int section) in qlcnic_get_table_desc() argument
747 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in qlcnic_get_table_desc()
754 u32 tab_type = le32_to_cpu(*((__le32 *)&unirom[offs] + 8)); in qlcnic_get_table_desc()
757 return (struct uni_table_desc *) &unirom[offs]; in qlcnic_get_table_desc()
768 const u8 *unirom = adapter->fw->data; in qlcnic_validate_header() local
769 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in qlcnic_validate_header()
793 const u8 *unirom = adapter->fw->data; in qlcnic_validate_bootld() local
796 temp = *((__le32 *)&unirom[adapter->file_prd_off] + in qlcnic_validate_bootld()
799 tab_desc = qlcnic_get_table_desc(unirom, QLCNIC_UNI_DIR_SECT_BOOTLD); in qlcnic_validate_bootld()
812 descr = (struct uni_data_desc *)&unirom[offs]; in qlcnic_validate_bootld()
[all …]
/Linux-v6.6/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_init.c565 static struct uni_table_desc *nx_get_table_desc(const u8 *unirom, int section) in nx_get_table_desc() argument
568 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in nx_get_table_desc()
575 __le32 tab_type = cpu_to_le32(*((u32 *)&unirom[offs] + 8)); in nx_get_table_desc()
578 return (struct uni_table_desc *) &unirom[offs]; in nx_get_table_desc()
589 const u8 *unirom = adapter->fw->data; in netxen_nic_validate_header() local
590 struct uni_table_desc *directory = (struct uni_table_desc *) &unirom[0]; in netxen_nic_validate_header()
614 const u8 *unirom = adapter->fw->data; in netxen_nic_validate_bootld() local
615 __le32 idx = cpu_to_le32(*((int *)&unirom[adapter->file_prd_off] + in netxen_nic_validate_bootld()
621 tab_desc = nx_get_table_desc(unirom, NX_UNI_DIR_SECT_BOOTLD); in netxen_nic_validate_bootld()
634 descr = (struct uni_data_desc *)&unirom[offs]; in netxen_nic_validate_bootld()
[all …]
/Linux-v6.6/drivers/scsi/qla2xxx/
Dqla_nx.c1511 qla82xx_get_table_desc(const u8 *unirom, int section) in qla82xx_get_table_desc() argument
1515 (struct qla82xx_uri_table_desc *)&unirom[0]; in qla82xx_get_table_desc()
1523 tab_type = get_unaligned_le32((u32 *)&unirom[offset] + 8); in qla82xx_get_table_desc()
1526 return (struct qla82xx_uri_table_desc *)&unirom[offset]; in qla82xx_get_table_desc()
1536 const u8 *unirom = ha->hablob->fw->data; in qla82xx_get_data_desc() local
1537 int idx = get_unaligned_le32((u32 *)&unirom[ha->file_prd_off] + in qla82xx_get_data_desc()
1542 tab_desc = qla82xx_get_table_desc(unirom, section); in qla82xx_get_data_desc()
1549 return (struct qla82xx_uri_data_desc *)&unirom[offset]; in qla82xx_get_data_desc()
1801 const uint8_t *unirom = ha->hablob->fw->data; in qla82xx_set_product_offset() local
1810 ptab_desc = qla82xx_get_table_desc(unirom, in qla82xx_set_product_offset()
[all …]