Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/i2c/muxes/
Di2c-demux-pinctrl.c33 int num_chan; member
170 for (i = 0; i < priv->num_chan && count < PAGE_SIZE; i++) in available_masters_show()
173 i == priv->num_chan - 1 ? '\n' : ' '); in available_masters_show()
200 if (val >= priv->num_chan) in current_master_store()
214 int num_chan, i, j, err; in i2c_demux_pinctrl_probe() local
216 num_chan = of_count_phandle_with_args(np, "i2c-parent", NULL); in i2c_demux_pinctrl_probe()
217 if (num_chan < 2) { in i2c_demux_pinctrl_probe()
223 + num_chan * sizeof(struct i2c_demux_pinctrl_chan), GFP_KERNEL); in i2c_demux_pinctrl_probe()
225 props = devm_kcalloc(&pdev->dev, num_chan, sizeof(*props), GFP_KERNEL); in i2c_demux_pinctrl_probe()
234 for (i = 0; i < num_chan; i++) { in i2c_demux_pinctrl_probe()
[all …]
/linux-4.19.296/drivers/misc/mic/bus/
Dscif_bus.c144 void __iomem *rdp, struct dma_chan **chan, int num_chan, in scif_register_device() argument
171 sdev->num_dma_ch = num_chan; in scif_register_device()
Dscif_bus.h120 struct dma_chan **chan, int num_chan,