/kernel/linux/linux-5.10/drivers/i2c/ |
D | i2c-mux.c | 36 u32 chan_id; member 49 ret = muxc->select(muxc, priv->chan_id); in __i2c_mux_master_xfer() 53 muxc->deselect(muxc, priv->chan_id); in __i2c_mux_master_xfer() 68 ret = muxc->select(muxc, priv->chan_id); in i2c_mux_master_xfer() 72 muxc->deselect(muxc, priv->chan_id); in i2c_mux_master_xfer() 89 ret = muxc->select(muxc, priv->chan_id); in __i2c_mux_smbus_xfer() 94 muxc->deselect(muxc, priv->chan_id); in __i2c_mux_smbus_xfer() 111 ret = muxc->select(muxc, priv->chan_id); in i2c_mux_smbus_xfer() 116 muxc->deselect(muxc, priv->chan_id); in i2c_mux_smbus_xfer() 283 u32 force_nr, u32 chan_id, in i2c_mux_add_adapter() argument [all …]
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | mxs-dma.c | 188 int chan_id = mxs_chan->chan.chan_id; in mxs_dma_reset_chan() local 201 writel(1 << (chan_id + BP_APBH_CTRL0_RESET_CHANNEL), in mxs_dma_reset_chan() 207 HW_APBX_CHn_DEBUG1(mxs_dma, chan_id); in mxs_dma_reset_chan() 224 chan_id); in mxs_dma_reset_chan() 226 writel(1 << (chan_id + BP_APBHX_CHANNEL_CTRL_RESET_CHANNEL), in mxs_dma_reset_chan() 237 int chan_id = mxs_chan->chan.chan_id; in mxs_dma_enable_chan() local 241 mxs_dma->base + HW_APBHX_CHn_NXTCMDAR(mxs_dma, chan_id)); in mxs_dma_enable_chan() 249 writel(2, mxs_dma->base + HW_APBHX_CHn_SEMA(mxs_dma, chan_id)); in mxs_dma_enable_chan() 251 writel(1, mxs_dma->base + HW_APBHX_CHn_SEMA(mxs_dma, chan_id)); in mxs_dma_enable_chan() 267 int chan_id = mxs_chan->chan.chan_id; in mxs_dma_pause_chan() local [all …]
|
D | stm32-dmamux.c | 32 u32 chan_id; member 71 stm32_dmamux_write(dmamux->iomem, STM32_DMAMUX_CCR(mux->chan_id), 0); in stm32_dmamux_free() 72 clear_bit(mux->chan_id, dmamux->dma_inuse); in stm32_dmamux_free() 79 mux->request, mux->master, mux->chan_id); in stm32_dmamux_free() 110 mux->chan_id = find_first_zero_bit(dmamux->dma_inuse, in stm32_dmamux_route_allocate() 113 if (mux->chan_id == dmamux->dma_requests) { in stm32_dmamux_route_allocate() 119 set_bit(mux->chan_id, dmamux->dma_inuse); in stm32_dmamux_route_allocate() 126 if (mux->chan_id < max) in stm32_dmamux_route_allocate() 153 dma_spec->args[0] = mux->chan_id - min; in stm32_dmamux_route_allocate() 156 stm32_dmamux_write(dmamux->iomem, STM32_DMAMUX_CCR(mux->chan_id), in stm32_dmamux_route_allocate() [all …]
|
D | pch_dma.c | 183 if (chan->chan_id < 8) in pdc_enable_irq() 184 pos = chan->chan_id; in pdc_enable_irq() 186 pos = chan->chan_id + 8; in pdc_enable_irq() 198 chan->chan_id, val); in pdc_enable_irq() 209 if (chan->chan_id < 8) { in pdc_set_dir() 213 (DMA_CTL0_BITS_PER_CH * chan->chan_id); in pdc_set_dir() 215 (DMA_CTL0_BITS_PER_CH * chan->chan_id)); in pdc_set_dir() 218 val |= 0x1 << (DMA_CTL0_BITS_PER_CH * chan->chan_id + in pdc_set_dir() 221 val &= ~(0x1 << (DMA_CTL0_BITS_PER_CH * chan->chan_id + in pdc_set_dir() 227 int ch = chan->chan_id - 8; /* ch8-->0 ch9-->1 ... ch11->3 */ in pdc_set_dir() [all …]
|
D | at_hdmac_regs.h | 362 atchan->chan_common.chan_id, in vdbg_dump_regs() 388 static void atc_setup_irq(struct at_dma *atdma, int chan_id, int on) in atc_setup_irq() argument 393 ebci = AT_DMA_BTC(chan_id) in atc_setup_irq() 394 | AT_DMA_ERR(chan_id); in atc_setup_irq() 401 static void atc_enable_chan_irq(struct at_dma *atdma, int chan_id) in atc_enable_chan_irq() argument 403 atc_setup_irq(atdma, chan_id, 1); in atc_enable_chan_irq() 406 static void atc_disable_chan_irq(struct at_dma *atdma, int chan_id) in atc_disable_chan_irq() argument 408 atc_setup_irq(atdma, chan_id, 0); in atc_disable_chan_irq()
|
D | uniphier-mdmac.c | 64 unsigned int chan_id; member 141 writel(BIT(mc->chan_id), mdev->reg_base + UNIPHIER_MDMAC_CMD); in uniphier_mdmac_handle() 164 writel(UNIPHIER_MDMAC_CMD_ABORT | BIT(mc->chan_id), in uniphier_mdmac_abort() 349 int chan_id) in uniphier_mdmac_chan_init() argument 352 struct uniphier_mdmac_chan *mc = &mdev->channels[chan_id]; in uniphier_mdmac_chan_init() 356 irq = platform_get_irq(pdev, chan_id); in uniphier_mdmac_chan_init() 361 chan_id); in uniphier_mdmac_chan_init() 372 UNIPHIER_MDMAC_CH_STRIDE * chan_id; in uniphier_mdmac_chan_init() 373 mc->chan_id = chan_id; in uniphier_mdmac_chan_init()
|
D | st_fdma.h | 186 + (fchan)->vchan.chan.chan_id * 0x4 \ 191 + (fchan)->vchan.chan.chan_id * 0x4 \ 208 + (fchan)->vchan.chan.chan_id * FDMA_NODE_SZ \ 213 + (fchan)->vchan.chan.chan_id * FDMA_NODE_SZ \
|
D | milbeaut-xdmac.c | 264 int chan_id) in milbeaut_xdmac_chan_init() argument 267 struct milbeaut_xdmac_chan *mc = &mdev->channels[chan_id]; in milbeaut_xdmac_chan_init() 271 irq = platform_get_irq(pdev, chan_id); in milbeaut_xdmac_chan_init() 276 chan_id); in milbeaut_xdmac_chan_init() 285 mc->reg_ch_base = mdev->reg_base + chan_id * 0x30; in milbeaut_xdmac_chan_init()
|
D | st_fdma.c | 85 cmd = FDMA_CMD_START(fchan->vchan.chan.chan_id); in st_fdma_xfer_desc() 94 dev_dbg(fchan->fdev->dev, "start chan:%d\n", fchan->vchan.chan.chan_id); in st_fdma_xfer_desc() 101 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_ch_sta_update() 282 fchan->vchan.chan.chan_id, fchan->cfg.type); in st_fdma_alloc_chan_res() 294 __func__, fchan->vchan.chan.chan_id); in st_fdma_free_chan_res() 351 int ch_id = fchan->vchan.chan.chan_id; in config_reqctrl() 624 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_pause() 642 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_resume() 662 int ch_id = fchan->vchan.chan.chan_id; in st_fdma_terminate_all()
|
D | uniphier-xdmac.c | 470 int chan_id = dma_spec->args[0]; in of_dma_uniphier_xlate() local 472 if (chan_id >= xdev->nr_chans) in of_dma_uniphier_xlate() 475 xdev->channels[chan_id].id = chan_id; in of_dma_uniphier_xlate() 476 xdev->channels[chan_id].req_factor = dma_spec->args[1]; in of_dma_uniphier_xlate() 478 return dma_get_slave_channel(&xdev->channels[chan_id].vc.chan); in of_dma_uniphier_xlate()
|
D | acpi-dma.c | 345 pdata->dma_spec.chan_id = dma->channels; in acpi_dma_parse_fixed_dma() 378 dma_spec->chan_id = -1; in acpi_dma_request_slave_chan_by_index() 388 if (dma_spec->slave_id < 0 || dma_spec->chan_id < 0) in acpi_dma_request_slave_chan_by_index()
|
D | milbeaut-hdmac.c | 426 int chan_id) in milbeaut_hdmac_chan_init() argument 429 struct milbeaut_hdmac_chan *mc = &mdev->channels[chan_id]; in milbeaut_hdmac_chan_init() 433 irq = platform_get_irq(pdev, chan_id); in milbeaut_hdmac_chan_init() 438 chan_id); in milbeaut_hdmac_chan_init() 448 mc->reg_ch_base = mdev->reg_base + MLB_HDMAC_CH_STRIDE * (chan_id + 1); in milbeaut_hdmac_chan_init()
|
D | sirf-dma.c | 159 return container_of(schan, struct sirfsoc_dma, channels[c->chan_id]); in dma_chan_to_sirfsoc_dma() 239 int cid = schan->chan.chan_id; in sirfsoc_dma_execute() 446 int cid = schan->chan.chan_id; in sirfsoc_dma_terminate_all() 492 int cid = schan->chan.chan_id; in sirfsoc_dma_pause_chan() 526 int cid = schan->chan.chan_id; in sirfsoc_dma_resume_chan() 648 int cid = schan->chan.chan_id; in sirfsoc_dma_tx_status() 808 bool sirfsoc_dma_filter_id(struct dma_chan *chan, void *chan_id) in sirfsoc_dma_filter_id() argument 810 unsigned int ch_nr = (unsigned int) chan_id; in sirfsoc_dma_filter_id() 812 if (ch_nr == chan->chan_id + in sirfsoc_dma_filter_id()
|
/kernel/linux/linux-5.10/sound/soc/xilinx/ |
D | xlnx_i2s.c | 42 u32 reg_off, chan_id; in xlnx_i2s_hw_params() local 45 chan_id = params_channels(params) / 2; in xlnx_i2s_hw_params() 47 while (chan_id > 0) { in xlnx_i2s_hw_params() 48 reg_off = I2S_CH0_OFFSET + ((chan_id - 1) * 4); in xlnx_i2s_hw_params() 49 writel(chan_id, base + reg_off); in xlnx_i2s_hw_params() 50 chan_id--; in xlnx_i2s_hw_params()
|
/kernel/linux/linux-5.10/drivers/dma/ipu/ |
D | ipu_idmac.c | 605 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_enable_channel() 657 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_init_channel_buffer() 732 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_update_channel_buffer() 776 unsigned int chan_id = ichan->dma_chan.chan_id; in ipu_submit_buffer() local 790 ipu_select_buffer(chan_id, buf_idx); in ipu_submit_buffer() 792 sg, chan_id, buf_idx); in ipu_submit_buffer() 952 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_init_channel() 1009 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_uninit_channel() 1072 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_disable_channel() 1157 unsigned int chan_id = ichan->dma_chan.chan_id; in idmac_interrupt() local [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | i2c-mux.h | 27 int (*select)(struct i2c_mux_core *, u32 chan_id); 28 int (*deselect)(struct i2c_mux_core *, u32 chan_id); 59 u32 force_nr, u32 chan_id,
|
D | sirfsoc_dma.h | 5 bool sirfsoc_dma_filter_id(struct dma_chan *chan, void *chan_id);
|
D | pch_dma.h | 19 unsigned int chan_id; member
|
/kernel/linux/linux-5.10/drivers/i2c/muxes/ |
D | i2c-mux-reg.c | 23 static int i2c_mux_reg_set(const struct regmux *mux, unsigned int chan_id) in i2c_mux_reg_set() argument 37 iowrite32(chan_id, mux->data.reg); in i2c_mux_reg_set() 39 iowrite32be(chan_id, mux->data.reg); in i2c_mux_reg_set() 45 iowrite16(chan_id, mux->data.reg); in i2c_mux_reg_set() 47 iowrite16be(chan_id, mux->data.reg); in i2c_mux_reg_set() 52 iowrite8(chan_id, mux->data.reg); in i2c_mux_reg_set()
|
/kernel/linux/linux-5.10/drivers/iio/adc/ |
D | bcm_iproc_adc.c | 114 int chan_id; member 180 IPROC_ADC_CHANNEL_OFFSET * adc_priv->chan_id, in iproc_adc_interrupt_handler() 187 adc_priv->chan_id, in iproc_adc_interrupt_handler() 197 adc_priv->chan_id, in iproc_adc_interrupt_handler() 203 adc_priv->chan_id); in iproc_adc_interrupt_handler() 208 adc_priv->chan_id, in iproc_adc_interrupt_handler() 214 IPROC_ADC_CHANNEL_OFFSET * adc_priv->chan_id, in iproc_adc_interrupt_handler() 242 adc_priv->chan_id = channel; in iproc_adc_do_read()
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
D | dma-coh901318.h | 64 bool coh901318_filter_id(struct dma_chan *chan, void *chan_id); 66 static inline bool coh901318_filter_id(struct dma_chan *chan, void *chan_id) in coh901318_filter_id() argument
|
D | dma-hsu.h | 15 int chan_id; member
|
/kernel/linux/linux-5.10/include/linux/amba/ |
D | pl08x.h | 122 bool pl08x_filter_id(struct dma_chan *chan, void *chan_id); 124 static inline bool pl08x_filter_id(struct dma_chan *chan, void *chan_id) in pl08x_filter_id() argument
|
/kernel/linux/linux-5.10/drivers/iio/gyro/ |
D | mpu3050-i2c.c | 17 static int mpu3050_i2c_bypass_select(struct i2c_mux_core *mux, u32 chan_id) in mpu3050_i2c_bypass_select() argument 26 static int mpu3050_i2c_bypass_deselect(struct i2c_mux_core *mux, u32 chan_id) in mpu3050_i2c_bypass_deselect() argument
|
/kernel/linux/linux-5.10/drivers/tty/serial/8250/ |
D | 8250_mid.c | 249 if (s->dma_dev != chan->device->dev || s->chan_id != chan->chan_id) in mid8250_dma_filter() 274 rx_param->chan_id = mid->dma_index * 2 + 1; in mid8250_dma_setup() 275 tx_param->chan_id = mid->dma_index * 2; in mid8250_dma_setup()
|