Lines Matching refs:sets
3446 for (set = 0; set < res->sets; set++) { in ti_sci_get_free_resource()
3478 for (set = 0; set < res->sets; set++) { in ti_sci_release_resource()
3502 for (set = 0; set < res->sets; set++) in ti_sci_get_num_resources()
3523 u32 sets) in devm_ti_sci_get_resource_sets() argument
3533 res->sets = sets; in devm_ti_sci_get_resource_sets()
3534 res->desc = devm_kcalloc(dev, res->sets, sizeof(*res->desc), in devm_ti_sci_get_resource_sets()
3539 for (i = 0; i < res->sets; i++) { in devm_ti_sci_get_resource_sets()
3586 int sets; in devm_ti_sci_get_of_resource() local
3588 sets = of_property_count_elems_of_size(dev_of_node(dev), of_prop, in devm_ti_sci_get_of_resource()
3590 if (sets < 0) { in devm_ti_sci_get_of_resource()
3592 return ERR_PTR(sets); in devm_ti_sci_get_of_resource()
3595 sub_types = kcalloc(sets, sizeof(*sub_types), GFP_KERNEL); in devm_ti_sci_get_of_resource()
3599 of_property_read_u32_array(dev_of_node(dev), of_prop, sub_types, sets); in devm_ti_sci_get_of_resource()
3601 sets); in devm_ti_sci_get_of_resource()