Lines Matching defs:fw_offset
901 * @fw_offset: offset of the firmware binary data. The start address of
902 * the data would be the address of struct fw_mac + @fw_offset.
921 __le16 fw_offset;
953 * @fw_offset: offset of the firmware binary data. The start address of
954 * the data would be the address of struct fw_phy_nc + @fw_offset.
972 __le16 fw_offset;
3532 u16 fw_offset, fw_reg, ba_reg, patch_en_addr, mode_reg, bp_start;
3549 fw_offset = __le16_to_cpu(phy->fw_offset);
3550 if (fw_offset < sizeof(*phy)) {
3551 dev_err(&tp->intf->dev, "fw_offset too small\n");
3556 if (length < fw_offset) {
3557 dev_err(&tp->intf->dev, "invalid fw_offset\n");
3561 length -= __le16_to_cpu(phy->fw_offset);
3607 u16 fw_reg, bp_ba_addr, bp_en_addr, bp_start, fw_offset;
3669 fw_offset = __le16_to_cpu(mac->fw_offset);
3670 if (fw_offset < sizeof(*mac)) {
3671 dev_err(&tp->intf->dev, "fw_offset too small\n");
3676 if (length < fw_offset) {
3677 dev_err(&tp->intf->dev, "invalid fw_offset\n");
3681 length -= fw_offset;
3923 length -= __le16_to_cpu(phy->fw_offset);
3925 data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset));
3976 length -= __le16_to_cpu(mac->fw_offset);
3979 data += __le16_to_cpu(mac->fw_offset);