Lines Matching refs:nval
1030 #define acpi_copy_property_array_uint(items, val, nval) \ argument
1034 typeof(nval) __nval = nval; \
1062 char **val, size_t nval) in acpi_copy_property_array_string() argument
1066 for (i = 0; i < nval; i++) { in acpi_copy_property_array_string()
1072 return nval; in acpi_copy_property_array_string()
1078 void *val, size_t nval) in acpi_data_prop_read() argument
1084 if (nval == 1 || !val) { in acpi_data_prop_read()
1119 if (nval > obj->buffer.length) in acpi_data_prop_read()
1125 if (nval > obj->package.count) in acpi_data_prop_read()
1129 if (nval == 0) in acpi_data_prop_read()
1139 ret = acpi_copy_property_array_uint(items, (u8 *)val, nval); in acpi_data_prop_read()
1142 ret = acpi_copy_property_array_uint(items, (u16 *)val, nval); in acpi_data_prop_read()
1145 ret = acpi_copy_property_array_uint(items, (u32 *)val, nval); in acpi_data_prop_read()
1148 ret = acpi_copy_property_array_uint(items, (u64 *)val, nval); in acpi_data_prop_read()
1153 min_t(u32, nval, obj->package.count)); in acpi_data_prop_read()
1176 void *val, size_t nval) in acpi_node_prop_read() argument
1179 propname, proptype, val, nval); in acpi_node_prop_read()
1464 size_t nval) in acpi_fwnode_property_read_int_array() argument
1485 return acpi_node_prop_read(fwnode, propname, type, val, nval); in acpi_fwnode_property_read_int_array()
1491 size_t nval) in acpi_fwnode_property_read_string_array() argument
1494 val, nval); in acpi_fwnode_property_read_string_array()