Lines Matching refs:elem_count
515 u32 elem_count; in check_wobj() local
521 elem_count = wobj->package.count; in check_wobj()
522 if (elem_count != last_prop + 1) in check_wobj()
582 u32 elem_count; in check_numeric_sensor_wobj() local
600 elem_count = wobj->package.count; in check_numeric_sensor_wobj()
601 if (elem_count <= HP_WMI_PROPERTY_SIZE || in check_numeric_sensor_wobj()
602 elem_count > HP_WMI_MAX_PROPERTIES) in check_numeric_sensor_wobj()
626 if (elem_count < last_prop - !is_new + 1) in check_numeric_sensor_wobj()
629 count = elem_count - (last_prop - !is_new); in check_numeric_sensor_wobj()
631 for (i = 0; i < elem_count && prop <= last_prop; i++, prop++) { in check_numeric_sensor_wobj()
652 for (j = 0; i + 1 < elem_count && j + 1 < count; j++) { in check_numeric_sensor_wobj()