Lines Matching refs:nval

78 				  u8 *val, size_t nval)  in device_property_read_u8_array()  argument
80 return fwnode_property_read_u8_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u8_array()
103 u16 *val, size_t nval) in device_property_read_u16_array() argument
105 return fwnode_property_read_u16_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u16_array()
128 u32 *val, size_t nval) in device_property_read_u32_array() argument
130 return fwnode_property_read_u32_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u32_array()
153 u64 *val, size_t nval) in device_property_read_u64_array() argument
155 return fwnode_property_read_u64_array(dev_fwnode(dev), propname, val, nval); in device_property_read_u64_array()
178 const char **val, size_t nval) in device_property_read_string_array() argument
180 return fwnode_property_read_string_array(dev_fwnode(dev), propname, val, nval); in device_property_read_string_array()
231 size_t nval) in fwnode_property_read_int_array() argument
236 elem_size, val, nval); in fwnode_property_read_int_array()
241 elem_size, val, nval); in fwnode_property_read_int_array()
265 const char *propname, u8 *val, size_t nval) in fwnode_property_read_u8_array() argument
268 val, nval); in fwnode_property_read_u8_array()
291 const char *propname, u16 *val, size_t nval) in fwnode_property_read_u16_array() argument
294 val, nval); in fwnode_property_read_u16_array()
317 const char *propname, u32 *val, size_t nval) in fwnode_property_read_u32_array() argument
320 val, nval); in fwnode_property_read_u32_array()
343 const char *propname, u64 *val, size_t nval) in fwnode_property_read_u64_array() argument
346 val, nval); in fwnode_property_read_u64_array()
370 size_t nval) in fwnode_property_read_string_array() argument
375 val, nval); in fwnode_property_read_string_array()
380 val, nval); in fwnode_property_read_string_array()
428 int nval, ret; in fwnode_property_match_string() local
430 nval = fwnode_property_read_string_array(fwnode, propname, NULL, 0); in fwnode_property_match_string()
431 if (nval < 0) in fwnode_property_match_string()
432 return nval; in fwnode_property_match_string()
434 if (nval == 0) in fwnode_property_match_string()
437 values = kcalloc(nval, sizeof(*values), GFP_KERNEL); in fwnode_property_match_string()
441 ret = fwnode_property_read_string_array(fwnode, propname, values, nval); in fwnode_property_match_string()
445 ret = match_string(values, nval, string); in fwnode_property_match_string()