Lines Matching refs:nval
845 size_t nval) in acpi_copy_property_array_u8() argument
849 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u8()
861 u16 *val, size_t nval) in acpi_copy_property_array_u16() argument
865 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u16()
877 u32 *val, size_t nval) in acpi_copy_property_array_u32() argument
881 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u32()
893 u64 *val, size_t nval) in acpi_copy_property_array_u64() argument
897 for (i = 0; i < nval; i++) { in acpi_copy_property_array_u64()
907 char **val, size_t nval) in acpi_copy_property_array_string() argument
911 for (i = 0; i < nval; i++) { in acpi_copy_property_array_string()
917 return nval; in acpi_copy_property_array_string()
923 void *val, size_t nval) in acpi_data_prop_read() argument
929 if (nval == 1 || !val) { in acpi_data_prop_read()
952 if (proptype != DEV_PROP_STRING && nval > obj->package.count) in acpi_data_prop_read()
954 else if (nval <= 0) in acpi_data_prop_read()
961 ret = acpi_copy_property_array_u8(items, (u8 *)val, nval); in acpi_data_prop_read()
964 ret = acpi_copy_property_array_u16(items, (u16 *)val, nval); in acpi_data_prop_read()
967 ret = acpi_copy_property_array_u32(items, (u32 *)val, nval); in acpi_data_prop_read()
970 ret = acpi_copy_property_array_u64(items, (u64 *)val, nval); in acpi_data_prop_read()
975 min_t(u32, nval, obj->package.count)); in acpi_data_prop_read()
998 void *val, size_t nval) in acpi_node_prop_read() argument
1001 propname, proptype, val, nval); in acpi_node_prop_read()
1267 size_t nval) in acpi_fwnode_property_read_int_array() argument
1288 return acpi_node_prop_read(fwnode, propname, type, val, nval); in acpi_fwnode_property_read_int_array()
1294 size_t nval) in acpi_fwnode_property_read_string_array() argument
1297 val, nval); in acpi_fwnode_property_read_string_array()