Lines Matching refs:fwh
1607 struct at76_fw_header *fwh; in at76_load_firmware() local
1628 fwh = (struct at76_fw_header *)(fwe->fw->data); in at76_load_firmware()
1630 if (fwe->fw->size <= sizeof(*fwh)) { in at76_load_firmware()
1637 fwe->board_type = le32_to_cpu(fwh->board_type); in at76_load_firmware()
1645 fwe->fw_version.major = fwh->major; in at76_load_firmware()
1646 fwe->fw_version.minor = fwh->minor; in at76_load_firmware()
1647 fwe->fw_version.patch = fwh->patch; in at76_load_firmware()
1648 fwe->fw_version.build = fwh->build; in at76_load_firmware()
1650 str = (char *)fwh + le32_to_cpu(fwh->str_offset); in at76_load_firmware()
1651 fwe->intfw = (u8 *)fwh + le32_to_cpu(fwh->int_fw_offset); in at76_load_firmware()
1652 fwe->intfw_size = le32_to_cpu(fwh->int_fw_len); in at76_load_firmware()
1653 fwe->extfw = (u8 *)fwh + le32_to_cpu(fwh->ext_fw_offset); in at76_load_firmware()
1654 fwe->extfw_size = le32_to_cpu(fwh->ext_fw_len); in at76_load_firmware()
1660 fwe->fwname, fwh->major, fwh->minor, fwh->patch, fwh->build); in at76_load_firmware()
1663 le32_to_cpu(fwh->int_fw_offset), le32_to_cpu(fwh->int_fw_len), in at76_load_firmware()
1664 le32_to_cpu(fwh->ext_fw_offset), le32_to_cpu(fwh->ext_fw_len)); in at76_load_firmware()