Lines Matching defs:props
120 uint32_t props, int crittype, int powertype)
149 DPRINTF(("%s: units %d props 0x%04x upropset 0x%04x max_val %d"
150 " edata-flags 0x%04x\n", __func__, edata->units, props,
153 if (props)
158 if ((props & PROP_CAP_LIMITS) &&
161 (props & PROP_VAL_LIMITS) ||
163 props = 0;
165 if ((props & PROP_VAL_LIMITS) && (edata->upropset & PROP_CAP_LIMITS))
166 props = 0;
190 if (props & edata->upropset & (PROP_CRITMAX | PROP_BATTMAX)) {
194 props &= ~(PROP_CRITMAX | PROP_BATTMAX);
197 if (props & edata->upropset & (PROP_WARNMAX | PROP_BATTHIGH)) {
201 props &= ~(PROP_WARNMAX | PROP_BATTHIGH);
204 if (props & edata->upropset & (PROP_WARNMIN | PROP_BATTWARN)) {
208 props &= ~(PROP_WARNMIN | PROP_BATTWARN);
211 if (props & edata->upropset & (PROP_CRITMIN | PROP_BATTCAP)) {
215 props &= ~(PROP_CRITMIN | PROP_BATTCAP);
218 if (props && see->see_type == PENVSYS_EVENT_NULL)
278 if (props & op->prop) {
301 if (props & PROP_DRIVER_LIMITS)
308 " critmax=%" PRIu32 " props 0x%04x)\n", __func__,
508 uint32_t props;
519 props = 0;
524 &lims, &props);
530 props &= ~PROP_DRIVER_LIMITS;
540 &lims, props,
703 uint32_t props = 0;
729 (*sme->sme_get_limits)(sme, edata, &lims, &props);
732 sme_event_register(sdict, edata, sme, &lims, props,