Lines Matching full:header

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