Lines Matching refs:fw_hdr

3668 			   const struct tg3_firmware_hdr *fw_hdr)  in tg3_fw_data_len()  argument
3687 fw_len = be32_to_cpu(fw_hdr->len); in tg3_fw_data_len()
3697 const struct tg3_firmware_hdr *fw_hdr) in tg3_load_firmware_cpu() argument
3736 fw_hdr++; in tg3_load_firmware_cpu()
3740 u32 *fw_data = (u32 *)(fw_hdr + 1); in tg3_load_firmware_cpu()
3741 for (i = 0; i < tg3_fw_data_len(tp, fw_hdr); i++) in tg3_load_firmware_cpu()
3743 (be32_to_cpu(fw_hdr->base_addr) & 0xffff) + in tg3_load_firmware_cpu()
3747 total_len -= be32_to_cpu(fw_hdr->len); in tg3_load_firmware_cpu()
3750 fw_hdr = (struct tg3_firmware_hdr *) in tg3_load_firmware_cpu()
3751 ((void *)fw_hdr + be32_to_cpu(fw_hdr->len)); in tg3_load_firmware_cpu()
3784 const struct tg3_firmware_hdr *fw_hdr; in tg3_load_5701_a0_firmware_fix() local
3787 fw_hdr = (struct tg3_firmware_hdr *)tp->fw->data; in tg3_load_5701_a0_firmware_fix()
3797 fw_hdr); in tg3_load_5701_a0_firmware_fix()
3803 fw_hdr); in tg3_load_5701_a0_firmware_fix()
3809 be32_to_cpu(fw_hdr->base_addr)); in tg3_load_5701_a0_firmware_fix()
3814 be32_to_cpu(fw_hdr->base_addr)); in tg3_load_5701_a0_firmware_fix()
3857 struct tg3_firmware_hdr *fw_hdr; in tg3_load_57766_firmware() local
3882 fw_hdr = (struct tg3_firmware_hdr *)tp->fw->data; in tg3_load_57766_firmware()
3883 if (be32_to_cpu(fw_hdr->base_addr) != TG3_57766_FW_BASE_ADDR) in tg3_load_57766_firmware()
3890 tg3_load_firmware_cpu(tp, 0, TG3_57766_FW_BASE_ADDR, 0, fw_hdr); in tg3_load_57766_firmware()
3898 const struct tg3_firmware_hdr *fw_hdr; in tg3_load_tso_firmware() local
3905 fw_hdr = (struct tg3_firmware_hdr *)tp->fw->data; in tg3_load_tso_firmware()
3926 fw_hdr); in tg3_load_tso_firmware()
3932 be32_to_cpu(fw_hdr->base_addr)); in tg3_load_tso_firmware()
3937 be32_to_cpu(fw_hdr->base_addr)); in tg3_load_tso_firmware()
11478 const struct tg3_firmware_hdr *fw_hdr; in tg3_request_firmware() local
11486 fw_hdr = (struct tg3_firmware_hdr *)tp->fw->data; in tg3_request_firmware()
11493 tp->fw_len = be32_to_cpu(fw_hdr->len); /* includes bss */ in tg3_request_firmware()