/linux-6.6.21/arch/sh/drivers/dma/ |
D | dma-g2.c | 75 unsigned int chan_nr = chan->chan; in g2_enable_dma() local 77 g2_dma->channel[chan_nr].chan_enable = 1; in g2_enable_dma() 78 g2_dma->channel[chan_nr].xfer_enable = 1; in g2_enable_dma() 85 unsigned int chan_nr = chan->chan; in g2_disable_dma() local 87 g2_dma->channel[chan_nr].chan_enable = 0; in g2_disable_dma() 88 g2_dma->channel[chan_nr].xfer_enable = 0; in g2_disable_dma() 95 unsigned int chan_nr = chan->chan; in g2_xfer_dma() local 121 g2_dma->channel[chan_nr].g2_addr = chan->dar & 0x1fffffe0; in g2_xfer_dma() 122 g2_dma->channel[chan_nr].root_addr = chan->sar & 0x1fffffe0; in g2_xfer_dma() 123 g2_dma->channel[chan_nr].size = (chan->count & ~31) | 0x80000000; in g2_xfer_dma() [all …]
|
/linux-6.6.21/drivers/leds/ |
D | leds-lp55xx-common.c | 216 led->chan_nr = pdata->led_config[chan].chan_nr; in lp55xx_init_led() 218 if (led->chan_nr >= max_channel) { in lp55xx_init_led() 568 int led_number, int *chan_nr) in lp55xx_parse_common_child() argument 579 ret = of_property_read_u32(np, "reg", chan_nr); in lp55xx_parse_common_child() 583 if (*chan_nr < 0 || *chan_nr > cfg->max_channel) in lp55xx_parse_common_child() 593 int chan_nr, color_id, ret; in lp55xx_parse_multi_led_child() local 595 ret = lp55xx_parse_common_child(child, cfg, child_number, &chan_nr); in lp55xx_parse_multi_led_child() 604 cfg[child_number].output_num[color_number] = chan_nr; in lp55xx_parse_multi_led_child() 636 int chan_nr = 0; in lp55xx_parse_logical_led() local 648 ret = lp55xx_parse_common_child(np, cfg, child_number, &chan_nr); in lp55xx_parse_logical_led() [all …]
|
D | leds-lp5523.c | 124 lp55xx_write(led->chip, LP5523_REG_LED_CURRENT_BASE + led->chan_nr, in lp5523_set_led_current() 625 lp55xx_write(chip, LP5523_REG_LED_CURRENT_BASE + led->chan_nr, in lp5523_selftest() 628 lp55xx_write(chip, LP5523_REG_LED_PWM_BASE + led->chan_nr, in lp5523_selftest() 633 LP5523_EN_LEDTEST | led->chan_nr); in lp5523_selftest() 649 led->chan_nr); in lp5523_selftest() 651 lp55xx_write(chip, LP5523_REG_LED_PWM_BASE + led->chan_nr, in lp5523_selftest() 655 lp55xx_write(chip, LP5523_REG_LED_CURRENT_BASE + led->chan_nr, in lp5523_selftest() 827 ret = lp55xx_write(chip, LP5523_REG_LED_PWM_BASE + led->chan_nr, in lp5523_led_brightness()
|
D | leds-lp8501.c | 86 lp55xx_write(led->chip, LP8501_REG_LED_CURRENT_BASE + led->chan_nr, in lp8501_set_led_current() 279 ret = lp55xx_write(chip, LP8501_REG_LED_PWM_BASE + led->chan_nr, in lp8501_led_brightness()
|
D | leds-lp55xx-common.h | 176 int chan_nr; member
|
D | leds-lp5562.c | 124 lp55xx_write(led->chip, addr[led->chan_nr], led_current); in lp5562_set_led_current() 327 ret = lp55xx_write(chip, addr[led->chan_nr], led->brightness); in lp5562_led_brightness()
|
D | leds-lp5521.c | 114 lp55xx_write(led->chip, LP5521_REG_LED_CURRENT_BASE + led->chan_nr, in lp5521_set_led_current() 376 ret = lp55xx_write(chip, LP5521_REG_LED_PWM_BASE + led->chan_nr, in lp5521_led_brightness()
|
/linux-6.6.21/sound/soc/intel/keembay/ |
D | kmb_platform.c | 138 int chan = kmb_i2s->config.chan_nr; in kmb_pcm_rx_fn() 189 for (i = 0; i < config->chan_nr / 2; i++) in kmb_i2s_clear_irqs() 192 for (i = 0; i < config->chan_nr / 2; i++) in kmb_i2s_clear_irqs() 198 u32 stream, int chan_nr, bool trigger) in kmb_i2s_irq_trigger() argument 208 for (i = 0; i < chan_nr / 2; i++) { in kmb_i2s_irq_trigger() 305 for (i = 0; i < config->chan_nr / 2; i++) in kmb_i2s_irq_handler() 322 switch (config->chan_nr) { in kmb_i2s_irq_handler() 340 for (i = 0; i < config->chan_nr / 2; i++) { in kmb_i2s_irq_handler() 462 config->chan_nr, true); in kmb_i2s_start() 559 for (ch_reg = 0; ch_reg < config->chan_nr / 2; ch_reg++) { in kmb_i2s_config() [all …]
|
D | kmb_platform.h | 121 int chan_nr; member
|
/linux-6.6.21/Documentation/leds/ |
D | leds-lp5521.rst | 67 .chan_nr = 0, 72 .chan_nr = 1, 77 .chan_nr = 2, 108 chan_nr can have values between 0 and 2.
|
D | leds-lp5562.rst | 86 .chan_nr = 0, 92 .chan_nr = 1, 98 .chan_nr = 2, 104 .chan_nr = 3,
|
D | leds-lp5523.rst | 110 .chan_nr = 0, 116 .chan_nr = 8, 147 chan_nr can have values between 0 and 8.
|
/linux-6.6.21/drivers/dma/ |
D | img-mdc-dma.c | 124 unsigned int chan_nr; member 160 return mdc_readl(mchan->mdma, mchan->chan_nr * 0x040 + reg); in mdc_chan_readl() 165 mdc_writel(mchan->mdma, val, mchan->chan_nr * 0x040 + reg); in mdc_chan_writel() 540 mchan->chan_nr); in mdc_issue_desc() 763 dev_dbg(mdma2dev(mchan->mdma), "IRQ on channel %d\n", mchan->chan_nr); in mdc_chan_irq() 774 mchan->chan_nr); in mdc_chan_irq() 819 if (!(dma_spec->args[1] & BIT(mchan->chan_nr))) in mdc_of_xlate() 840 PISTACHIO_CR_PERIPH_DMA_ROUTE(mchan->chan_nr), in pistachio_mdc_enable_chan() 842 PISTACHIO_CR_PERIPH_DMA_ROUTE_SHIFT(mchan->chan_nr), in pistachio_mdc_enable_chan() 844 PISTACHIO_CR_PERIPH_DMA_ROUTE_SHIFT(mchan->chan_nr)); in pistachio_mdc_enable_chan() [all …]
|
/linux-6.6.21/sound/soc/dwc/ |
D | dwc-i2s.c | 68 int chan_nr) in i2s_disable_irqs() argument 73 for (i = 0; i < (chan_nr / 2); i++) { in i2s_disable_irqs() 78 for (i = 0; i < (chan_nr / 2); i++) { in i2s_disable_irqs() 86 int chan_nr) in i2s_enable_irqs() argument 91 for (i = 0; i < (chan_nr / 2); i++) { in i2s_enable_irqs() 96 for (i = 0; i < (chan_nr / 2); i++) { in i2s_enable_irqs() 204 i2s_enable_irqs(dev, substream->stream, config->chan_nr); in i2s_start() 255 for (ch_reg = 0; ch_reg < (config->chan_nr / 2); ch_reg++) { in dw_i2s_config() 309 config->chan_nr = params_channels(params); in dw_i2s_hw_params() 311 switch (config->chan_nr) { in dw_i2s_hw_params()
|
/linux-6.6.21/sound/soc/starfive/ |
D | jh7110_tdm.c | 341 int chan_wl, chan_sl, chan_nr; in jh7110_tdm_hw_params() local 370 chan_nr = params_channels(params); in jh7110_tdm_hw_params() 371 switch (chan_nr) { in jh7110_tdm_hw_params() 386 tdm->tx.sscale = chan_nr; in jh7110_tdm_hw_params() 392 tdm->rx.sscale = chan_nr; in jh7110_tdm_hw_params()
|
/linux-6.6.21/drivers/gpu/drm/nouveau/ |
D | nouveau_chan.c | 552 drm->chan_nr = drm->chan_total = args.v.channels.data; in nouveau_channels_init() 558 if (drm->chan_nr == 0) { in nouveau_channels_init() 570 drm->runl[i].chan_nr = args.v.channels.data; in nouveau_channels_init() 572 drm->runl[i].context_base = dma_fence_context_alloc(drm->runl[i].chan_nr); in nouveau_channels_init() 574 drm->chan_total += drm->runl[i].chan_nr; in nouveau_channels_init() 577 drm->runl[0].context_base = dma_fence_context_alloc(drm->chan_nr); in nouveau_channels_init()
|
D | nouveau_drv.h | 253 int chan_nr; /* 0 if per-runlist CHIDs. */ member 256 int chan_nr; member
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | chan.c | 173 if (!--cgrp->chan_nr) { in nvkm_chan_remove_locked() 177 runl->chan_nr--; in nvkm_chan_remove_locked() 209 runl->chan_nr++; in nvkm_chan_insert() 210 if (!cgrp->chan_nr++) { in nvkm_chan_insert()
|
D | nv50.c | 256 const u32 segment = ALIGN((runl->cgrp_nr + runl->chan_nr) * runl->func->size, 0x1000); in nv50_runl_alloc() 294 RUNL_TRACE(runl, "RAMRL: update cgrps:%d chans:%d", runl->cgrp_nr, runl->chan_nr); in nv50_runl_update() 305 CGRP_TRACE(cgrp, " RAMRL+%08x: chans:%d", offset, cgrp->chan_nr); in nv50_runl_update()
|
D | cgrp.h | 41 int chan_nr; member
|
D | gk110.c | 74 nvkm_wo32(memory, offset + 0, (cgrp->chan_nr << 26) | (128 << 18) | in gk110_runl_insert_cgrp()
|
D | runl.h | 80 int chan_nr; member
|
D | cgrp.c | 235 cgrp->chan_nr = 0; in nvkm_cgrp_new()
|
/linux-6.6.21/include/linux/platform_data/ |
D | leds-lp55xx.h | 28 u8 chan_nr; member
|
/linux-6.6.21/include/sound/ |
D | designware_i2s.h | 19 int chan_nr; member
|