Lines Matching defs:fw_offset

1017 	__le16 fw_offset;
1039 __le16 fw_offset;
1054 * @fw_offset: offset of the firmware binary data. The start address of
1055 * the data would be the address of struct fw_mac + @fw_offset.
1075 __le16 fw_offset;
1110 * @fw_offset: offset of the firmware binary data. The start address of
1111 * the data would be the address of struct fw_phy_nc + @fw_offset.
1130 __le16 fw_offset;
4256 u16 fw_offset;
4281 fw_offset = __le16_to_cpu(phy->fw_offset);
4283 if (fw_offset < sizeof(*phy) || length <= fw_offset) {
4284 dev_err(&tp->intf->dev, "invalid fw_offset\n");
4288 length -= fw_offset;
4367 u16 fw_offset;
4382 fw_offset = __le16_to_cpu(phy->fw_offset);
4384 if (fw_offset < sizeof(*phy) || length <= fw_offset) {
4385 dev_err(&tp->intf->dev, "invalid fw_offset\n");
4389 length -= fw_offset;
4413 u16 fw_offset, fw_reg, ba_reg, patch_en_addr, mode_reg, bp_start;
4430 fw_offset = __le16_to_cpu(phy->fw_offset);
4431 if (fw_offset < sizeof(*phy)) {
4432 dev_err(&tp->intf->dev, "fw_offset too small\n");
4437 if (length < fw_offset) {
4438 dev_err(&tp->intf->dev, "invalid fw_offset\n");
4442 length -= __le16_to_cpu(phy->fw_offset);
4488 u16 fw_reg, bp_ba_addr, bp_en_addr, bp_start, fw_offset;
4566 fw_offset = __le16_to_cpu(mac->fw_offset);
4567 if (fw_offset < sizeof(*mac)) {
4568 dev_err(&tp->intf->dev, "fw_offset too small\n");
4573 if (length < fw_offset) {
4574 dev_err(&tp->intf->dev, "invalid fw_offset\n");
4578 length -= fw_offset;
4970 len -= __le16_to_cpu(phy->fw_offset);
4971 data = (u8 *)phy + __le16_to_cpu(phy->fw_offset);
5085 length -= __le16_to_cpu(phy->fw_offset);
5087 data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset));
5117 length -= __le16_to_cpu(phy->fw_offset);
5119 data = (__le16 *)((u8 *)phy + __le16_to_cpu(phy->fw_offset));
5175 length -= __le16_to_cpu(mac->fw_offset);
5178 data += __le16_to_cpu(mac->fw_offset);