Lines Matching refs:fw_hdr

13367 	struct bnx2x_fw_file_hdr *fw_hdr;  in bnx2x_check_firmware()  local
13379 fw_hdr = (struct bnx2x_fw_file_hdr *)firmware->data; in bnx2x_check_firmware()
13380 sections = (struct bnx2x_fw_file_section *)fw_hdr; in bnx2x_check_firmware()
13384 for (i = 0; i < sizeof(*fw_hdr) / sizeof(*sections); i++) { in bnx2x_check_firmware()
13394 offset = be32_to_cpu(fw_hdr->init_ops_offsets.offset); in bnx2x_check_firmware()
13396 num_ops = be32_to_cpu(fw_hdr->init_ops.len) / sizeof(struct raw_op); in bnx2x_check_firmware()
13398 for (i = 0; i < be32_to_cpu(fw_hdr->init_ops_offsets.len) / 2; i++) { in bnx2x_check_firmware()
13406 offset = be32_to_cpu(fw_hdr->fw_version.offset); in bnx2x_check_firmware()
13487 u32 len = be32_to_cpu(fw_hdr->arr.len); \
13491 func(bp->firmware->data + be32_to_cpu(fw_hdr->arr.offset), \
13498 struct bnx2x_fw_file_hdr *fw_hdr; in bnx2x_init_firmware() local
13529 fw_hdr = (struct bnx2x_fw_file_hdr *)bp->firmware->data; in bnx2x_init_firmware()
13545 be32_to_cpu(fw_hdr->tsem_int_table_data.offset); in bnx2x_init_firmware()
13547 be32_to_cpu(fw_hdr->tsem_pram_data.offset); in bnx2x_init_firmware()
13549 be32_to_cpu(fw_hdr->usem_int_table_data.offset); in bnx2x_init_firmware()
13551 be32_to_cpu(fw_hdr->usem_pram_data.offset); in bnx2x_init_firmware()
13553 be32_to_cpu(fw_hdr->xsem_int_table_data.offset); in bnx2x_init_firmware()
13555 be32_to_cpu(fw_hdr->xsem_pram_data.offset); in bnx2x_init_firmware()
13557 be32_to_cpu(fw_hdr->csem_int_table_data.offset); in bnx2x_init_firmware()
13559 be32_to_cpu(fw_hdr->csem_pram_data.offset); in bnx2x_init_firmware()