Home
last modified time | relevance | path

Searched refs:chan_nr (Results 1 – 21 of 21) sorted by relevance

/Linux-v4.19/arch/sh/drivers/dma/
Ddma-g2.c78 unsigned int chan_nr = chan->chan; in g2_enable_dma() local
80 g2_dma->channel[chan_nr].chan_enable = 1; in g2_enable_dma()
81 g2_dma->channel[chan_nr].xfer_enable = 1; in g2_enable_dma()
88 unsigned int chan_nr = chan->chan; in g2_disable_dma() local
90 g2_dma->channel[chan_nr].chan_enable = 0; in g2_disable_dma()
91 g2_dma->channel[chan_nr].xfer_enable = 0; in g2_disable_dma()
98 unsigned int chan_nr = chan->chan; in g2_xfer_dma() local
124 g2_dma->channel[chan_nr].g2_addr = chan->dar & 0x1fffffe0; in g2_xfer_dma()
125 g2_dma->channel[chan_nr].root_addr = chan->sar & 0x1fffffe0; in g2_xfer_dma()
126 g2_dma->channel[chan_nr].size = (chan->count & ~31) | 0x80000000; in g2_xfer_dma()
[all …]
/Linux-v4.19/Documentation/leds/
Dleds-lp5521.txt52 Note: chan_nr can have values between 0 and 2.
60 .chan_nr = 0,
65 .chan_nr = 1,
70 .chan_nr = 2,
Dleds-lp5562.txt72 .chan_nr = 0,
78 .chan_nr = 1,
84 .chan_nr = 2,
90 .chan_nr = 3,
Dleds-lp5523.txt91 Note - chan_nr can have values between 0 and 8.
96 .chan_nr = 0,
102 .chan_nr = 8,
/Linux-v4.19/sound/soc/dwc/
Ddwc-i2s.c66 int chan_nr) in i2s_disable_irqs() argument
71 for (i = 0; i < (chan_nr / 2); i++) { in i2s_disable_irqs()
76 for (i = 0; i < (chan_nr / 2); i++) { in i2s_disable_irqs()
84 int chan_nr) in i2s_enable_irqs() argument
89 for (i = 0; i < (chan_nr / 2); i++) { in i2s_enable_irqs()
94 for (i = 0; i < (chan_nr / 2); i++) { in i2s_enable_irqs()
158 i2s_enable_irqs(dev, substream->stream, config->chan_nr); in i2s_start()
218 for (ch_reg = 0; ch_reg < (config->chan_nr / 2); ch_reg++) { in dw_i2s_config()
267 config->chan_nr = params_channels(params); in dw_i2s_hw_params()
269 switch (config->chan_nr) { in dw_i2s_hw_params()
/Linux-v4.19/drivers/dma/
Dimg-mdc-dma.c128 unsigned int chan_nr; member
164 return mdc_readl(mchan->mdma, mchan->chan_nr * 0x040 + reg); in mdc_chan_readl()
169 mdc_writel(mchan->mdma, val, mchan->chan_nr * 0x040 + reg); in mdc_chan_writel()
544 mchan->chan_nr); in mdc_issue_desc()
767 dev_dbg(mdma2dev(mchan->mdma), "IRQ on channel %d\n", mchan->chan_nr); in mdc_chan_irq()
778 mchan->chan_nr); in mdc_chan_irq()
823 if (!(dma_spec->args[1] & BIT(mchan->chan_nr))) in mdc_of_xlate()
844 PISTACHIO_CR_PERIPH_DMA_ROUTE(mchan->chan_nr), in pistachio_mdc_enable_chan()
846 PISTACHIO_CR_PERIPH_DMA_ROUTE_SHIFT(mchan->chan_nr), in pistachio_mdc_enable_chan()
848 PISTACHIO_CR_PERIPH_DMA_ROUTE_SHIFT(mchan->chan_nr)); in pistachio_mdc_enable_chan()
[all …]
/Linux-v4.19/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dcgrp.h9 int chan_nr; member
Dgk110.c36 nvkm_wo32(memory, offset + 0, (cgrp->chan_nr << 26) | (128 << 18) | in gk110_fifo_runlist_cgrp()
Dgv100.c50 nvkm_wo32(memory, offset + 0x4, cgrp->chan_nr); in gv100_fifo_runlist_cgrp()
Dgpfifogv100.c163 chan->cgrp->chan_nr = 0; in gv100_fifo_gpfifo_new_()
Dgk104.c208 if (cgrp && !--cgrp->chan_nr) in gk104_fifo_runlist_remove()
220 if (!cgrp->chan_nr++) in gk104_fifo_runlist_insert()
315 if (!--cgrp->chan_nr) in gk104_fifo_recover_chid()
Dgpfifogk104.c292 chan->cgrp->chan_nr = 0; in gk104_fifo_gpfifo_new_()
/Linux-v4.19/include/linux/platform_data/
Dleds-lp55xx.h26 u8 chan_nr; member
/Linux-v4.19/include/sound/
Ddesignware_i2s.h33 int chan_nr; member
/Linux-v4.19/drivers/leds/
Dleds-lp55xx-common.c167 led->chan_nr = pdata->led_config[chan].chan_nr; in lp55xx_init_led()
170 if (led->chan_nr >= max_channel) { in lp55xx_init_led()
571 cfg[i].chan_nr = i; in lp55xx_of_populate_pdata()
Dleds-lp8501.c90 lp55xx_write(led->chip, LP8501_REG_LED_CURRENT_BASE + led->chan_nr, in lp8501_set_led_current()
281 ret = lp55xx_write(chip, LP8501_REG_LED_PWM_BASE + led->chan_nr, in lp8501_led_brightness()
Dleds-lp55xx-common.h171 int chan_nr; member
Dleds-lp5521.c130 lp55xx_write(led->chip, LP5521_REG_LED_CURRENT_BASE + led->chan_nr, in lp5521_set_led_current()
371 ret = lp55xx_write(chip, LP5521_REG_LED_PWM_BASE + led->chan_nr, in lp5521_led_brightness()
Dleds-lp5562.c127 lp55xx_write(led->chip, addr[led->chan_nr], led_current); in lp5562_set_led_current()
326 ret = lp55xx_write(chip, addr[led->chan_nr], led->brightness); in lp5562_led_brightness()
Dleds-lp5523.c134 lp55xx_write(led->chip, LP5523_REG_LED_CURRENT_BASE + led->chan_nr, in lp5523_set_led_current()
811 ret = lp55xx_write(chip, LP5523_REG_LED_PWM_BASE + led->chan_nr, in lp5523_led_brightness()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c4788 s32 chan_nr; in brcmf_cfg80211_mgmt_tx() local
4855 chan_nr = ieee80211_frequency_to_channel(freq); in brcmf_cfg80211_mgmt_tx()
4856 af_params->channel = cpu_to_le32(chan_nr); in brcmf_cfg80211_mgmt_tx()