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