Lines Matching refs:fw_hdr

13279 	struct bnx2x_fw_file_hdr *fw_hdr;  in bnx2x_check_firmware()  local
13291 fw_hdr = (struct bnx2x_fw_file_hdr *)firmware->data; in bnx2x_check_firmware()
13292 sections = (struct bnx2x_fw_file_section *)fw_hdr; in bnx2x_check_firmware()
13296 for (i = 0; i < sizeof(*fw_hdr) / sizeof(*sections); i++) { in bnx2x_check_firmware()
13306 offset = be32_to_cpu(fw_hdr->init_ops_offsets.offset); in bnx2x_check_firmware()
13308 num_ops = be32_to_cpu(fw_hdr->init_ops.len) / sizeof(struct raw_op); in bnx2x_check_firmware()
13310 for (i = 0; i < be32_to_cpu(fw_hdr->init_ops_offsets.len) / 2; i++) { in bnx2x_check_firmware()
13318 offset = be32_to_cpu(fw_hdr->fw_version.offset); in bnx2x_check_firmware()
13399 u32 len = be32_to_cpu(fw_hdr->arr.len); \
13403 func(bp->firmware->data + be32_to_cpu(fw_hdr->arr.offset), \
13410 struct bnx2x_fw_file_hdr *fw_hdr; in bnx2x_init_firmware() local
13441 fw_hdr = (struct bnx2x_fw_file_hdr *)bp->firmware->data; in bnx2x_init_firmware()
13457 be32_to_cpu(fw_hdr->tsem_int_table_data.offset); in bnx2x_init_firmware()
13459 be32_to_cpu(fw_hdr->tsem_pram_data.offset); in bnx2x_init_firmware()
13461 be32_to_cpu(fw_hdr->usem_int_table_data.offset); in bnx2x_init_firmware()
13463 be32_to_cpu(fw_hdr->usem_pram_data.offset); in bnx2x_init_firmware()
13465 be32_to_cpu(fw_hdr->xsem_int_table_data.offset); in bnx2x_init_firmware()
13467 be32_to_cpu(fw_hdr->xsem_pram_data.offset); in bnx2x_init_firmware()
13469 be32_to_cpu(fw_hdr->csem_int_table_data.offset); in bnx2x_init_firmware()
13471 be32_to_cpu(fw_hdr->csem_pram_data.offset); in bnx2x_init_firmware()