Lines Matching refs:nval
869 size_t nval) in acpi_copy_property_array_u8() argument
873 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u8()
885 u16 *val, size_t nval) in acpi_copy_property_array_u16() argument
889 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u16()
901 u32 *val, size_t nval) in acpi_copy_property_array_u32() argument
905 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u32()
917 u64 *val, size_t nval) in acpi_copy_property_array_u64() argument
921 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u64()
931 char **val, size_t nval) in acpi_copy_property_array_string() argument
935 for (i = 0; i < nval; i++) { in acpi_copy_property_array_string()
941 return nval; in acpi_copy_property_array_string()
947 void *val, size_t nval) in acpi_data_prop_read() argument
953 if (nval == 1 || !val) { in acpi_data_prop_read()
976 if (proptype != DEV_PROP_STRING && nval > obj->package.count) in acpi_data_prop_read()
978 else if (nval <= 0) in acpi_data_prop_read()
985 ret = acpi_copy_property_array_u8(items, (u8 *)val, nval); in acpi_data_prop_read()
988 ret = acpi_copy_property_array_u16(items, (u16 *)val, nval); in acpi_data_prop_read()
991 ret = acpi_copy_property_array_u32(items, (u32 *)val, nval); in acpi_data_prop_read()
994 ret = acpi_copy_property_array_u64(items, (u64 *)val, nval); in acpi_data_prop_read()
999 min_t(u32, nval, obj->package.count)); in acpi_data_prop_read()
1009 enum dev_prop_type proptype, void *val, size_t nval) in acpi_dev_prop_read() argument
1011 return adev ? acpi_data_prop_read(&adev->data, propname, proptype, val, nval) : -EINVAL; in acpi_dev_prop_read()
1028 void *val, size_t nval) in acpi_node_prop_read() argument
1031 propname, proptype, val, nval); in acpi_node_prop_read()
1297 size_t nval) in acpi_fwnode_property_read_int_array() argument
1318 return acpi_node_prop_read(fwnode, propname, type, val, nval); in acpi_fwnode_property_read_int_array()
1324 size_t nval) in acpi_fwnode_property_read_string_array() argument
1327 val, nval); in acpi_fwnode_property_read_string_array()