Lines Matching defs:nval
1093 #define acpi_copy_property_array_uint(items, val, nval) \
1097 typeof(nval) __nval = nval; \
1125 char **val, size_t nval)
1129 for (i = 0; i < nval; i++) {
1135 return nval;
1141 void *val, size_t nval)
1147 if (nval == 1 || !val) {
1182 if (nval > obj->buffer.length)
1185 if (nval > obj->package.count)
1190 if (nval == 0)
1203 ret = acpi_copy_property_array_uint(items, (u8 *)val, nval);
1206 ret = acpi_copy_property_array_uint(items, (u16 *)val, nval);
1209 ret = acpi_copy_property_array_uint(items, (u32 *)val, nval);
1212 ret = acpi_copy_property_array_uint(items, (u64 *)val, nval);
1217 min_t(u32, nval, obj->package.count));
1232 * @nval: Size of the array pointed to by @val.
1235 * of the property. Otherwise, read at most @nval values to the array at the
1240 void *val, size_t nval)
1243 propname, proptype, val, nval);
1528 size_t nval)
1549 return acpi_node_prop_read(fwnode, propname, type, val, nval);
1555 size_t nval)
1558 val, nval);