Home
last modified time | relevance | path

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

/drivers/leds/
Dleds-lp55xx-common.c216 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 …]
Dleds-lp8501.c86 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()
Dleds-lp55xx-common.h176 int chan_nr; member
Dleds-lp5521.c117 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()
Dleds-lp5562.c124 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()
Dleds-lp5523.c121 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()
/drivers/dma/
Dimg-mdc-dma.c125 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()
764 dev_dbg(mdma2dev(mchan->mdma), "IRQ on channel %d\n", mchan->chan_nr); in mdc_chan_irq()
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()
845 PISTACHIO_CR_PERIPH_DMA_ROUTE_SHIFT(mchan->chan_nr)); in pistachio_mdc_enable_chan()
[all …]
/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()
Dgk104.c203 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()
Dgpfifogv100.c163 chan->cgrp->chan_nr = 0; in gv100_fifo_gpfifo_new_()
Dgpfifogk104.c292 chan->cgrp->chan_nr = 0; in gk104_fifo_gpfifo_new_()
Dtu102.c189 if (!--cgrp->chan_nr) in tu102_fifo_recover_chid()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c5133 s32 chan_nr; in brcmf_cfg80211_mgmt_tx() local
5200 chan_nr = ieee80211_frequency_to_channel(freq); in brcmf_cfg80211_mgmt_tx()
5201 af_params->channel = cpu_to_le32(chan_nr); in brcmf_cfg80211_mgmt_tx()