Searched refs:n_consumers (Results 1 – 3 of 3) sorted by relevance
108 unsigned int n_consumers = 0; in skl_int3472_fill_clk_pdata() local113 n_consumers++; in skl_int3472_fill_clk_pdata()115 if (!n_consumers) { in skl_int3472_fill_clk_pdata()120 *clk_pdata = devm_kzalloc(dev, struct_size(*clk_pdata, consumers, n_consumers), in skl_int3472_fill_clk_pdata()125 (*clk_pdata)->n_consumers = n_consumers; in skl_int3472_fill_clk_pdata()140 return n_consumers; in skl_int3472_fill_clk_pdata()150 int n_consumers; in skl_int3472_tps68470_probe() local155 n_consumers = skl_int3472_fill_clk_pdata(&client->dev, &clk_pdata); in skl_int3472_tps68470_probe()156 if (n_consumers < 0) in skl_int3472_tps68470_probe()157 return n_consumers; in skl_int3472_tps68470_probe()[all …]
36 unsigned int n_consumers; member
228 for (i = 0; i < pdata->n_consumers; i++) { in tps68470_clk_probe()