Searched refs:n_consumers (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/platform/x86/intel/int3472/ |
H A D | tps68470.c | 108 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 …]
|
/openbmc/obmc-console/ |
H A D | ringbuffer.c | 47 while (rb->n_consumers) { in ringbuffer_fini() 66 n = rb->n_consumers++; in ringbuffer_consumer_register() 72 rb->consumers = reallocarray(rb->consumers, rb->n_consumers, in ringbuffer_consumer_register() 85 for (i = 0; i < rb->n_consumers; i++) { in ringbuffer_consumer_unregister() 91 assert(i < rb->n_consumers); in ringbuffer_consumer_unregister() 93 rb->n_consumers--; in ringbuffer_consumer_unregister() 101 sizeof(*rb->consumers) * (rb->n_consumers - i)); in ringbuffer_consumer_unregister() 103 if (rb->n_consumers == 0) { in ringbuffer_consumer_unregister() 108 rb->consumers, rb->n_consumers, in ringbuffer_consumer_unregister() 169 for (i = 0; i < rb->n_consumers; i++) { in ringbuffer_queue() [all …]
|
H A D | console-server.h | 212 int n_consumers; member
|
/openbmc/obmc-console/test/ |
H A D | ringbuffer-test-utils.c | 85 printf("---- ringbuffer (%d consumer%s)\n", rb->n_consumers, in ringbuffer_dump() 86 rb->n_consumers == 1 ? "" : "s"); in ringbuffer_dump() 97 for (j = 0; j < rb->n_consumers; j++) { in ringbuffer_dump()
|
/openbmc/linux/include/linux/platform_data/ |
H A D | tps68470.h | 36 unsigned int n_consumers; member
|
/openbmc/linux/drivers/clk/ |
H A D | clk-tps68470.c | 228 for (i = 0; i < pdata->n_consumers; i++) { in tps68470_clk_probe()
|