Home
last modified time | relevance | path

Searched refs:n_consumers (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/platform/x86/intel/int3472/
Dtps68470.c108 unsigned int n_consumers = 0; in skl_int3472_fill_clk_pdata() local
113 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() local
155 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 …]
/linux-6.1.9/include/linux/platform_data/
Dtps68470.h36 unsigned int n_consumers; member
/linux-6.1.9/drivers/clk/
Dclk-tps68470.c228 for (i = 0; i < pdata->n_consumers; i++) { in tps68470_clk_probe()