Searched refs:pargs (Results 1 – 2 of 2) sorted by relevance
222 struct dt_driver_phandle_args *pargs = NULL; in device_from_provider_prop() local226 pargs = calloc(1, prv->provider_cells * sizeof(uint32_t *) + in device_from_provider_prop()227 sizeof(*pargs)); in device_from_provider_prop()228 if (!pargs) { in device_from_provider_prop()233 pargs->args_count = prv->provider_cells; in device_from_provider_prop()235 pargs->args[n] = fdt32_to_cpu(prop[n + 1]); in device_from_provider_prop()237 device = prv->get_of_device(pargs, prv->priv_data, res); in device_from_provider_prop()239 free(pargs); in device_from_provider_prop()
1526 static struct clk *stm32mp1_clk_dt_get_clk(struct dt_driver_phandle_args *pargs, in stm32mp1_clk_dt_get_clk() argument1529 unsigned long clock_id = pargs->args[0]; in stm32mp1_clk_dt_get_clk()1534 if (pargs->args_count != 1) in stm32mp1_clk_dt_get_clk()
Completed in 6 milliseconds