Home
last modified time | relevance | path

Searched refs:nr_channels (Results 1 - 25 of 120) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/dma/dw/
H A Dof.c39 slave.channels >= BIT(dw->pdata->nr_channels))) in dw_dma_of_xlate()
55 u32 nr_channels; in dw_dma_parse_dt() local
62 if (of_property_read_u32(np, "dma-channels", &nr_channels)) in dw_dma_parse_dt()
64 if (nr_channels > DW_DMA_MAX_NR_CHANNELS) in dw_dma_parse_dt()
72 pdata->nr_channels = nr_channels; in dw_dma_parse_dt()
88 memset32(pdata->multi_block, 1, nr_channels); in dw_dma_parse_dt()
89 of_property_read_u32_array(np, "multi-block", pdata->multi_block, nr_channels); in dw_dma_parse_dt()
91 memset32(pdata->max_burst, DW_DMA_MAX_BURST, nr_channels); in dw_dma_parse_dt()
92 of_property_read_u32_array(np, "snps,max-burst-len", pdata->max_burst, nr_channels); in dw_dma_parse_dt()
[all...]
H A Dinternal.h62 .nr_channels = 8,
78 .nr_channels = 8,
/kernel/linux/linux-5.10/drivers/dma/dw/
H A Dof.c39 slave.channels >= BIT(dw->pdata->nr_channels))) in dw_dma_of_xlate()
55 u32 nr_channels; in dw_dma_parse_dt() local
67 if (of_property_read_u32(np, "dma-channels", &nr_channels)) in dw_dma_parse_dt()
69 if (nr_channels > DW_DMA_MAX_NR_CHANNELS) in dw_dma_parse_dt()
77 pdata->nr_channels = nr_channels; in dw_dma_parse_dt()
96 if (!of_property_read_u32_array(np, "multi-block", mb, nr_channels)) { in dw_dma_parse_dt()
97 for (tmp = 0; tmp < nr_channels; tmp++) in dw_dma_parse_dt()
100 for (tmp = 0; tmp < nr_channels; tmp++) in dw_dma_parse_dt()
105 nr_channels)) { in dw_dma_parse_dt()
[all...]
/kernel/linux/linux-5.10/arch/sh/drivers/dma/
H A Ddma-api.c34 (chan >= info->first_vchannel_nr + info->nr_channels)) in get_dma_info()
68 nr += info->nr_channels; in get_nr_channels()
82 for (i = 0; i < info->nr_channels; i++) { in get_dma_channel()
146 for (i = 0; i < info->nr_channels; i++) { in request_dma_bycap()
170 for (i = 0; i < info->nr_channels; i++) { in dmac_search_free_channel()
258 for (i = 0; i < info->nr_channels; i++, caps++) { in register_chan_caps()
325 for (i = 0; i < info->nr_channels; i++) { in dma_proc_show()
346 info->name, info->nr_channels, info->nr_channels > 1 ? "s" : ""); in register_dmac()
361 size = sizeof(struct dma_channel) * info->nr_channels; in register_dmac()
[all...]
/kernel/linux/linux-6.6/arch/sh/drivers/dma/
H A Ddma-api.c34 (chan >= info->first_vchannel_nr + info->nr_channels)) in get_dma_info()
68 nr += info->nr_channels; in get_nr_channels()
82 for (i = 0; i < info->nr_channels; i++) { in get_dma_channel()
146 for (i = 0; i < info->nr_channels; i++) { in request_dma_bycap()
170 for (i = 0; i < info->nr_channels; i++) { in dmac_search_free_channel()
258 for (i = 0; i < info->nr_channels; i++, caps++) { in register_chan_caps()
325 for (i = 0; i < info->nr_channels; i++) { in dma_proc_show()
346 info->name, info->nr_channels, info->nr_channels > 1 ? "s" : ""); in register_dmac()
361 size = sizeof(struct dma_channel) * info->nr_channels; in register_dmac()
[all...]
/kernel/linux/linux-6.6/drivers/irqchip/
H A Dirq-meson-gpio.c71 unsigned int nr_channels; member
95 .nr_channels = 8, \
106 .nr_channels = 8, \
117 .nr_channels = 12, \
245 idx = find_first_zero_bit(ctl->channel_map, ctl->params->nr_channels); in meson_gpio_irq_request_channel()
246 if (idx >= ctl->params->nr_channels) { in meson_gpio_irq_request_channel()
532 ctl->params->nr_channels, in meson_gpio_irq_parse_dt()
533 ctl->params->nr_channels); in meson_gpio_irq_parse_dt()
535 pr_err("can't get %d channel interrupts\n", ctl->params->nr_channels); in meson_gpio_irq_parse_dt()
589 ctl->params->nr_hwirq, ctl->params->nr_channels); in meson_gpio_irq_of_init()
[all...]
/kernel/linux/linux-5.10/drivers/hwtracing/stm/
H A Ddummy_stm.c56 static unsigned int nr_channels = STP_CHANNEL_MAX; variable
58 module_param(nr_channels, int, 0400);
78 nr_channels > STP_CHANNEL_MAX) in dummy_stm_init()
88 dummy_stm[i].sw_nchannels = nr_channels; in dummy_stm_init()
/kernel/linux/linux-6.6/drivers/hwtracing/stm/
H A Ddummy_stm.c56 static unsigned int nr_channels = STP_CHANNEL_MAX; variable
58 module_param(nr_channels, int, 0400);
78 nr_channels > STP_CHANNEL_MAX) in dummy_stm_init()
88 dummy_stm[i].sw_nchannels = nr_channels; in dummy_stm_init()
/kernel/linux/linux-5.10/drivers/edac/
H A Di3000_edac.c237 multi_chan = mci->csrows[0]->nr_channels - 1; in i3000_process_error_info()
316 int interleaved, nr_channels; in i3000_probe1() local
355 nr_channels = interleaved ? 2 : 1; in i3000_probe1()
358 layers[0].size = I3000_RANKS / nr_channels; in i3000_probe1()
361 layers[1].size = nr_channels; in i3000_probe1()
408 for (j = 0; j < nr_channels; j++) { in i3000_probe1()
411 dimm->nr_pages = nr_pages / nr_channels; in i3000_probe1()
H A Di3200_edac.c103 static int nr_channels; variable
199 if (nr_channels == 2) in i3200_get_and_clear_error_info()
212 if (nr_channels == 2) in i3200_get_and_clear_error_info()
234 for (channel = 0; channel < nr_channels; channel++) { in i3200_process_error_info()
354 nr_channels = how_many_channels(pdev); in i3200_probe1()
360 layers[1].size = nr_channels; in i3200_probe1()
394 for (j = 0; j < nr_channels; j++) { in i3200_probe1()
H A Die31200_edac.c172 static int nr_channels; variable
277 if (nr_channels == 2) in ie31200_get_and_clear_error_info()
290 if (nr_channels == 2) in ie31200_get_and_clear_error_info()
313 for (channel = 0; channel < nr_channels; channel++) { in ie31200_process_error_info()
420 nr_channels = how_many_channels(pdev); in ie31200_probe1()
425 layers[1].size = nr_channels; in ie31200_probe1()
/kernel/linux/linux-6.6/drivers/edac/
H A Di3000_edac.c237 multi_chan = mci->csrows[0]->nr_channels - 1; in i3000_process_error_info()
315 int interleaved, nr_channels; in i3000_probe1() local
354 nr_channels = interleaved ? 2 : 1; in i3000_probe1()
357 layers[0].size = I3000_RANKS / nr_channels; in i3000_probe1()
360 layers[1].size = nr_channels; in i3000_probe1()
407 for (j = 0; j < nr_channels; j++) { in i3000_probe1()
410 dimm->nr_pages = nr_pages / nr_channels; in i3000_probe1()
H A Di3200_edac.c103 static int nr_channels; variable
199 if (nr_channels == 2) in i3200_get_and_clear_error_info()
212 if (nr_channels == 2) in i3200_get_and_clear_error_info()
234 for (channel = 0; channel < nr_channels; channel++) { in i3200_process_error_info()
353 nr_channels = how_many_channels(pdev); in i3200_probe1()
359 layers[1].size = nr_channels; in i3200_probe1()
393 for (j = 0; j < nr_channels; j++) { in i3200_probe1()
H A Die31200_edac.c180 static int nr_channels; variable
285 if (nr_channels == 2) in ie31200_get_and_clear_error_info()
298 if (nr_channels == 2) in ie31200_get_and_clear_error_info()
321 for (channel = 0; channel < nr_channels; channel++) { in ie31200_process_error_info()
427 nr_channels = how_many_channels(pdev); in ie31200_probe1()
432 layers[1].size = nr_channels; in ie31200_probe1()
/kernel/linux/linux-5.10/drivers/dma/
H A Dtegra210-adma.c86 * @nr_channels: Number of DMA channels available.
99 unsigned int nr_channels; member
157 unsigned int nr_channels; member
724 for (i = 0; i < tdma->nr_channels; i++) { in tegra_adma_runtime_suspend()
762 for (i = 0; i < tdma->nr_channels; i++) { in tegra_adma_runtime_resume()
792 .nr_channels = 22,
807 .nr_channels = 32,
831 struct_size(tdma, channels, cdata->nr_channels), in tegra_adma_probe()
838 tdma->nr_channels = cdata->nr_channels; in tegra_adma_probe()
[all...]
/kernel/linux/linux-6.6/drivers/dma/
H A Dtegra210-adma.c79 * @nr_channels: Number of DMA channels available.
95 unsigned int nr_channels; member
155 unsigned int nr_channels; member
742 for (i = 0; i < tdma->nr_channels; i++) { in tegra_adma_runtime_suspend()
780 for (i = 0; i < tdma->nr_channels; i++) { in tegra_adma_runtime_resume()
808 .nr_channels = 22,
824 .nr_channels = 32,
850 struct_size(tdma, channels, cdata->nr_channels), in tegra_adma_probe()
857 tdma->nr_channels = cdata->nr_channels; in tegra_adma_probe()
[all...]
/kernel/linux/linux-5.10/drivers/dma/hsu/
H A Dhsu.c151 if (nr >= chip->hsu->nr_channels) in hsu_dma_get_status()
209 if (nr >= chip->hsu->nr_channels) in hsu_dma_do_irq()
429 /* Calculate nr_channels from the IO space length */ in hsu_dma_probe()
430 hsu->nr_channels = (chip->length - chip->offset) / HSU_DMA_CHAN_LENGTH; in hsu_dma_probe()
432 hsu->chan = devm_kcalloc(chip->dev, hsu->nr_channels, in hsu_dma_probe()
438 for (i = 0; i < hsu->nr_channels; i++) { in hsu_dma_probe()
477 dev_info(chip->dev, "Found HSU DMA, %d channels\n", hsu->nr_channels); in hsu_dma_probe()
489 for (i = 0; i < hsu->nr_channels; i++) { in hsu_dma_remove()
/kernel/linux/linux-6.6/drivers/dma/hsu/
H A Dhsu.c159 if (nr >= chip->hsu->nr_channels) in hsu_dma_get_status()
218 if (nr >= chip->hsu->nr_channels) in hsu_dma_do_irq()
440 /* Calculate nr_channels from the IO space length */ in hsu_dma_probe()
441 hsu->nr_channels = (chip->length - chip->offset) / HSU_DMA_CHAN_LENGTH; in hsu_dma_probe()
443 hsu->chan = devm_kcalloc(chip->dev, hsu->nr_channels, in hsu_dma_probe()
449 for (i = 0; i < hsu->nr_channels; i++) { in hsu_dma_probe()
488 dev_info(chip->dev, "Found HSU DMA, %d channels\n", hsu->nr_channels); in hsu_dma_probe()
500 for (i = 0; i < hsu->nr_channels; i++) { in hsu_dma_remove()
/kernel/linux/linux-5.10/drivers/reset/sti/
H A Dreset-stih407.c113 .nr_channels = ARRAY_SIZE(stih407_powerdowns),
120 .nr_channels = ARRAY_SIZE(stih407_softresets),
126 .nr_channels = ARRAY_SIZE(stih407_picophyresets),
H A Dreset-syscfg.c151 rc->channels = devm_kcalloc(dev, data->nr_channels, in syscfg_reset_controller_register()
158 rc->rst.nr_resets = data->nr_channels; in syscfg_reset_controller_register()
161 for (i = 0; i < data->nr_channels; i++) { in syscfg_reset_controller_register()
/kernel/linux/linux-6.6/drivers/reset/sti/
H A Dreset-stih407.c113 .nr_channels = ARRAY_SIZE(stih407_powerdowns),
120 .nr_channels = ARRAY_SIZE(stih407_softresets),
126 .nr_channels = ARRAY_SIZE(stih407_picophyresets),
H A Dreset-syscfg.c141 rc->channels = devm_kcalloc(dev, data->nr_channels, in syscfg_reset_controller_register()
148 rc->rst.nr_resets = data->nr_channels; in syscfg_reset_controller_register()
151 for (i = 0; i < data->nr_channels; i++) { in syscfg_reset_controller_register()
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dhpet.c36 unsigned int nr_channels; member
195 hd.hd_nirqs = hpet_base.nr_channels; in hpet_reserve_platform_timers()
205 for (i = 0; i < hpet_base.nr_channels; i++) { in hpet_reserve_platform_timers()
230 for (i = 0; i < hpet_base.nr_channels; i++) { in hpet_select_device_channel()
562 for (i = 0; i < hpet_base.nr_channels; i++) { in hpet_get_unused_clockevent()
610 for (i = 0; i < hpet_base.nr_channels; i++) { in hpet_select_clockevents()
635 hpet_base.nr_channels, hpet_base.nr_clockevents); in hpet_select_clockevents()
946 hpet_base.nr_channels = channels; in hpet_enable()
998 hpet_base.nr_channels = 0; in hpet_enable()
1071 for (i = 0; i < hpet_base.nr_channels; in hpet_disable()
[all...]
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dhpet.c37 unsigned int nr_channels; member
196 hd.hd_nirqs = hpet_base.nr_channels; in hpet_reserve_platform_timers()
206 for (i = 0; i < hpet_base.nr_channels; i++) { in hpet_reserve_platform_timers()
231 for (i = 0; i < hpet_base.nr_channels; i++) { in hpet_select_device_channel()
672 for (i = 0; i < hpet_base.nr_channels; i++) { in hpet_get_unused_clockevent()
720 for (i = 0; i < hpet_base.nr_channels; i++) { in hpet_select_clockevents()
745 hpet_base.nr_channels, hpet_base.nr_clockevents); in hpet_select_clockevents()
1056 hpet_base.nr_channels = channels; in hpet_enable()
1110 hpet_base.nr_channels = 0; in hpet_enable()
1183 for (i = 0; i < hpet_base.nr_channels; in hpet_disable()
[all...]
/kernel/linux/linux-5.10/drivers/dma/dw-axi-dmac/
H A Ddw-axi-dmac-platform.c179 for (i = 0; i < chip->dw->hdata->nr_channels; i++) { in axi_dma_hw_init()
613 for (i = 0; i < dw->hdata->nr_channels; i++) { in dw_axi_dma_interrupt()
767 chip->dw->hdata->nr_channels = tmp; in parse_device_properties()
786 chip->dw->hdata->nr_channels); in parse_device_properties()
789 for (tmp = 0; tmp < chip->dw->hdata->nr_channels; tmp++) { in parse_device_properties()
797 chip->dw->hdata->nr_channels); in parse_device_properties()
800 /* Priority value must be programmed within [0:nr_channels-1] range */ in parse_device_properties()
801 for (tmp = 0; tmp < chip->dw->hdata->nr_channels; tmp++) { in parse_device_properties()
802 if (carr[tmp] >= chip->dw->hdata->nr_channels) in parse_device_properties()
869 dw->chan = devm_kcalloc(chip->dev, hdata->nr_channels, in dw_probe()
[all...]

Completed in 21 milliseconds

12345