Lines Matching defs:header
29 struct occ_poll_response_header *header;
36 header = (struct occ_poll_response_header *)occ->resp.data;
40 val = !!(header->status & OCC_STAT_MASTER);
43 val = !!(header->status & OCC_STAT_ACTIVE);
46 val = !!(header->ext_status & OCC_EXT_STAT_DVFS_OT);
49 val = !!(header->ext_status & OCC_EXT_STAT_DVFS_POWER);
52 val = !!(header->ext_status & OCC_EXT_STAT_MEM_THROTTLE);
55 val = !!(header->ext_status & OCC_EXT_STAT_QUICK_DROP);
58 val = header->occ_state;
61 if (header->status & OCC_STAT_MASTER)
62 val = hweight8(header->occs_present);
113 struct occ_poll_response_header *header =
123 if ((header->status & OCC_STAT_MASTER) !=
129 if ((header->status & OCC_STAT_ACTIVE) !=
135 if ((header->ext_status & OCC_EXT_STAT_DVFS_OT) !=
141 if ((header->ext_status & OCC_EXT_STAT_DVFS_POWER) !=
147 if ((header->ext_status & OCC_EXT_STAT_MEM_THROTTLE) !=
153 if ((header->ext_status & OCC_EXT_STAT_QUICK_DROP) !=
159 if ((header->status & OCC_STAT_MASTER) &&
160 header->occs_present != occ->prev_occs_present) {
174 occ->prev_stat = header->status;
175 occ->prev_ext_stat = header->ext_status;
176 occ->prev_occs_present = header->occs_present;