/linux/arch/sh/drivers/dma/ |
A 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 95 unsigned int chan_nr = chan->chan; in g2_xfer_dma() local 138 g2_dma->channel[chan_nr].size, in g2_xfer_dma() 139 g2_dma->channel[chan_nr].root_addr, in g2_xfer_dma() 140 g2_dma->channel[chan_nr].g2_addr, in g2_xfer_dma() 141 g2_dma->channel[chan_nr].direction, in g2_xfer_dma() 142 g2_dma->channel[chan_nr].ctrl, in g2_xfer_dma() [all …]
|
/linux/drivers/leds/ |
A 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() 566 int led_number, int *chan_nr) in lp55xx_parse_common_child() argument 577 ret = of_property_read_u32(np, "reg", chan_nr); in lp55xx_parse_common_child() 581 if (*chan_nr < 0 || *chan_nr > cfg->max_channel) in lp55xx_parse_common_child() 591 int chan_nr, color_id, ret; in lp55xx_parse_multi_led_child() local 593 ret = lp55xx_parse_common_child(child, cfg, child_number, &chan_nr); in lp55xx_parse_multi_led_child() 602 cfg[child_number].output_num[color_number] = chan_nr; in lp55xx_parse_multi_led_child() 634 int chan_nr = 0; in lp55xx_parse_logical_led() local 646 ret = lp55xx_parse_common_child(np, cfg, child_number, &chan_nr); in lp55xx_parse_logical_led() [all …]
|
A D | leds-lp8501.c | 86 lp55xx_write(led->chip, LP8501_REG_LED_CURRENT_BASE + led->chan_nr, in lp8501_set_led_current() 277 ret = lp55xx_write(chip, LP8501_REG_LED_PWM_BASE + led->chan_nr, in lp8501_led_brightness()
|
A D | leds-lp55xx-common.h | 176 int chan_nr; member
|
A D | leds-lp5521.c | 117 lp55xx_write(led->chip, LP5521_REG_LED_CURRENT_BASE + led->chan_nr, in lp5521_set_led_current() 377 ret = lp55xx_write(chip, LP5521_REG_LED_PWM_BASE + led->chan_nr, in lp5521_led_brightness()
|
A 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()
|
A D | leds-lp5523.c | 121 lp55xx_write(led->chip, LP5523_REG_LED_CURRENT_BASE + led->chan_nr, in lp5523_set_led_current() 820 ret = lp55xx_write(chip, LP5523_REG_LED_PWM_BASE + led->chan_nr, in lp5523_led_brightness()
|
/linux/sound/soc/intel/keembay/ |
A 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() 460 config->chan_nr, true); in kmb_i2s_start() 617 config->chan_nr = params_channels(hw_params); in kmb_dai_hw_params() [all …]
|
A D | kmb_platform.h | 121 int chan_nr; member
|
/linux/sound/soc/dwc/ |
A D | dwc-i2s.c | 66 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/Documentation/leds/ |
A 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.
|
A D | leds-lp5562.rst | 86 .chan_nr = 0, 92 .chan_nr = 1, 98 .chan_nr = 2, 104 .chan_nr = 3,
|
A D | leds-lp5523.rst | 110 .chan_nr = 0, 116 .chan_nr = 8, 147 chan_nr can have values between 0 and 8.
|
/linux/drivers/dma/ |
A D | img-mdc-dma.c | 125 unsigned int chan_nr; member 161 return mdc_readl(mchan->mdma, mchan->chan_nr * 0x040 + reg); in mdc_chan_readl() 166 mdc_writel(mchan->mdma, val, mchan->chan_nr * 0x040 + reg); in mdc_chan_writel() 541 mchan->chan_nr); in mdc_issue_desc() 775 mchan->chan_nr); in mdc_chan_irq() 820 if (!(dma_spec->args[1] & BIT(mchan->chan_nr))) in mdc_of_xlate() 841 PISTACHIO_CR_PERIPH_DMA_ROUTE(mchan->chan_nr), in pistachio_mdc_enable_chan() 843 PISTACHIO_CR_PERIPH_DMA_ROUTE_SHIFT(mchan->chan_nr), in pistachio_mdc_enable_chan() 853 PISTACHIO_CR_PERIPH_DMA_ROUTE(mchan->chan_nr), in pistachio_mdc_disable_chan() 855 PISTACHIO_CR_PERIPH_DMA_ROUTE_SHIFT(mchan->chan_nr), in pistachio_mdc_disable_chan() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
A D | cgrp.h | 9 int chan_nr; member
|
A D | gk110.c | 36 nvkm_wo32(memory, offset + 0, (cgrp->chan_nr << 26) | (128 << 18) | in gk110_fifo_runlist_cgrp()
|
A D | gv100.c | 50 nvkm_wo32(memory, offset + 0x4, cgrp->chan_nr); in gv100_fifo_runlist_cgrp()
|
A D | gk104.c | 203 if (cgrp && !--cgrp->chan_nr) in gk104_fifo_runlist_remove() 215 if (!cgrp->chan_nr++) in gk104_fifo_runlist_insert() 360 if (!--cgrp->chan_nr) in gk104_fifo_recover_chid()
|
A D | gpfifogv100.c | 163 chan->cgrp->chan_nr = 0; in gv100_fifo_gpfifo_new_()
|
A D | gpfifogk104.c | 292 chan->cgrp->chan_nr = 0; in gk104_fifo_gpfifo_new_()
|
A D | tu102.c | 189 if (!--cgrp->chan_nr) in tu102_fifo_recover_chid()
|
/linux/include/sound/ |
A D | designware_i2s.h | 19 int chan_nr; member
|
/linux/include/linux/platform_data/ |
A D | leds-lp55xx.h | 28 u8 chan_nr; member
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | cfg80211.c | 5124 s32 chan_nr; in brcmf_cfg80211_mgmt_tx() local 5191 chan_nr = ieee80211_frequency_to_channel(freq); in brcmf_cfg80211_mgmt_tx() 5192 af_params->channel = cpu_to_le32(chan_nr); in brcmf_cfg80211_mgmt_tx()
|