Searched refs:fw_rec (Results 1 – 1 of 1) sorted by relevance
224 struct iqs62x_fw_rec *fw_rec; in iqs62x_firmware_parse() local233 if (pos + sizeof(*fw_rec) > fw->size) { in iqs62x_firmware_parse()237 fw_rec = (struct iqs62x_fw_rec *)(fw->data + pos); in iqs62x_firmware_parse()238 pos += sizeof(*fw_rec); in iqs62x_firmware_parse()240 if (pos + fw_rec->len - 1 > fw->size) { in iqs62x_firmware_parse()244 pos += fw_rec->len - 1; in iqs62x_firmware_parse()246 switch (fw_rec->type) { in iqs62x_firmware_parse()251 if (fw_rec->data == iqs62x->dev_desc->prod_num) in iqs62x_firmware_parse()256 fw_rec->data); in iqs62x_firmware_parse()282 if (hall_cal_index > fw_rec->len) { in iqs62x_firmware_parse()[all …]