/drivers/i2c/ |
D | i2c-mux.c | 37 u32 chan_id; /* the channel id */ member 39 int (*select)(struct i2c_adapter *, void *mux_priv, u32 chan_id); 40 int (*deselect)(struct i2c_adapter *, void *mux_priv, u32 chan_id); 52 ret = priv->select(parent, priv->mux_priv, priv->chan_id); in i2c_mux_master_xfer() 56 priv->deselect(parent, priv->mux_priv, priv->chan_id); in i2c_mux_master_xfer() 72 ret = priv->select(parent, priv->mux_priv, priv->chan_id); in i2c_mux_smbus_xfer() 77 priv->deselect(parent, priv->mux_priv, priv->chan_id); in i2c_mux_smbus_xfer() 106 void *mux_priv, u32 force_nr, u32 chan_id, in i2c_add_mux_adapter() argument 123 priv->chan_id = chan_id; in i2c_add_mux_adapter() 138 "i2c-%d-mux (chan_id %d)", i2c_adapter_id(parent), chan_id); in i2c_add_mux_adapter() [all …]
|
/drivers/dma/ |
D | mxs-dma.c | 221 int chan_id = mxs_chan->chan.chan_id; in mxs_dma_reset_chan() local 224 writel(1 << (chan_id + BP_APBH_CTRL0_RESET_CHANNEL), in mxs_dma_reset_chan() 227 writel(1 << (chan_id + BP_APBHX_CHANNEL_CTRL_RESET_CHANNEL), in mxs_dma_reset_chan() 234 int chan_id = mxs_chan->chan.chan_id; in mxs_dma_enable_chan() local 238 mxs_dma->base + HW_APBHX_CHn_NXTCMDAR(mxs_dma, chan_id)); in mxs_dma_enable_chan() 241 writel(1, mxs_dma->base + HW_APBHX_CHn_SEMA(mxs_dma, chan_id)); in mxs_dma_enable_chan() 252 int chan_id = mxs_chan->chan.chan_id; in mxs_dma_pause_chan() local 256 writel(1 << chan_id, in mxs_dma_pause_chan() 259 writel(1 << chan_id, in mxs_dma_pause_chan() 268 int chan_id = mxs_chan->chan.chan_id; in mxs_dma_resume_chan() local [all …]
|
D | pch_dma.c | 194 if (chan->chan_id < 8) in pdc_enable_irq() 195 pos = chan->chan_id; in pdc_enable_irq() 197 pos = chan->chan_id + 8; in pdc_enable_irq() 209 chan->chan_id, val); in pdc_enable_irq() 220 if (chan->chan_id < 8) { in pdc_set_dir() 224 (DMA_CTL0_BITS_PER_CH * chan->chan_id); in pdc_set_dir() 226 (DMA_CTL0_BITS_PER_CH * chan->chan_id)); in pdc_set_dir() 229 val |= 0x1 << (DMA_CTL0_BITS_PER_CH * chan->chan_id + in pdc_set_dir() 232 val &= ~(0x1 << (DMA_CTL0_BITS_PER_CH * chan->chan_id + in pdc_set_dir() 238 int ch = chan->chan_id - 8; /* ch8-->0 ch9-->1 ... ch11->3 */ in pdc_set_dir() [all …]
|
D | at_hdmac_regs.h | 357 atchan->chan_common.chan_id, in vdbg_dump_regs() 383 static void atc_setup_irq(struct at_dma *atdma, int chan_id, int on) in atc_setup_irq() argument 388 ebci = AT_DMA_BTC(chan_id) in atc_setup_irq() 389 | AT_DMA_ERR(chan_id); in atc_setup_irq() 396 static void atc_enable_chan_irq(struct at_dma *atdma, int chan_id) in atc_enable_chan_irq() argument 398 atc_setup_irq(atdma, chan_id, 1); in atc_enable_chan_irq() 401 static void atc_disable_chan_irq(struct at_dma *atdma, int chan_id) in atc_disable_chan_irq() argument 403 atc_setup_irq(atdma, chan_id, 0); in atc_disable_chan_irq()
|
D | sirf-dma.c | 99 return container_of(schan, struct sirfsoc_dma, channels[c->chan_id]); in dma_chan_to_sirfsoc_dma() 106 int cid = schan->chan.chan_id; in sirfsoc_dma_execute() 293 int cid = schan->chan.chan_id; in sirfsoc_dma_terminate_all() 323 int cid = schan->chan.chan_id; in sirfsoc_dma_pause_chan() 344 int cid = schan->chan.chan_id; in sirfsoc_dma_resume_chan() 600 bool sirfsoc_dma_filter_id(struct dma_chan *chan, void *chan_id) in sirfsoc_dma_filter_id() argument 602 unsigned int ch_nr = (unsigned int) chan_id; in sirfsoc_dma_filter_id() 604 if (ch_nr == chan->chan_id + in sirfsoc_dma_filter_id()
|
D | acpi-dma.c | 325 pdata->dma_spec.chan_id = dma->channels; in acpi_dma_parse_fixed_dma() 363 dma_spec->chan_id = -1; in acpi_dma_request_slave_chan_by_index() 371 if (dma_spec->slave_id < 0 || dma_spec->chan_id < 0) in acpi_dma_request_slave_chan_by_index()
|
D | timb_dma.c | 117 int id = td_chan->chan.chan_id; in tdchantotd() 125 int id = td_chan->chan.chan_id; in __td_enable_chan_irq() 140 int id = td_chan->chan.chan_id; in __td_dma_done_ack() 237 td_chan, td_chan->chan.chan_id, td_chan->membase); in __td_start_dma()
|
D | mpc512x_dma.c | 225 return container_of(mchan, struct mpc_dma, channels[c->chan_id]); in dma_chan_to_mpc_dma() 242 int cid = mchan->chan.chan_id; in mpc_dma_execute() 501 out_8(&mdma->regs->dmaseei, chan->chan_id); in mpc_dma_alloc_chan_resources() 542 out_8(&mdma->regs->dmaceei, chan->chan_id); in mpc_dma_free_chan_resources()
|
D | at_hdmac.c | 956 int chan_id = atchan->chan_common.chan_id; in atc_control() local 966 dma_writel(atdma, CHER, AT_DMA_SUSP(chan_id)); in atc_control() 976 dma_writel(atdma, CHDR, AT_DMA_RES(chan_id)); in atc_control() 991 dma_writel(atdma, CHDR, AT_DMA_RES(chan_id) | atchan->mask); in atc_control() 1508 atc_disable_chan_irq(atdma, chan->chan_id); in at_dma_remove()
|
D | dmaengine.c | 781 chan->chan_id = chancnt++; in dma_async_device_register() 789 device->dev_id, chan->chan_id); in dma_async_device_register()
|
D | pl330.c | 613 unsigned int chan_id; member 2368 return (chan->chan_id == fargs->chan_id); in pl330_dt_filter() 2398 fargs.chan_id = dma_spec->args[0]; in of_dma_pl330_xlate() 2640 desc->req.peri = peri_id ? pch->chan.chan_id : 0; in pl330_get_desc()
|
D | amba-pl08x.c | 1588 bool pl08x_filter_id(struct dma_chan *chan, void *chan_id) in pl08x_filter_id() argument 1591 char *name = chan_id; in pl08x_filter_id()
|
D | coh901318.c | 1780 bool coh901318_filter_id(struct dma_chan *chan, void *chan_id) in coh901318_filter_id() argument 1782 unsigned int ch_nr = (unsigned int) chan_id; in coh901318_filter_id()
|
D | dw_dmac.c | 1288 chan->chan_id != dma_spec->chan_id) in dw_dma_acpi_filter()
|
/drivers/dma/ipu/ |
D | ipu_idmac.c | 608 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_enable_channel() 660 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_init_channel_buffer() 735 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_update_channel_buffer() 779 unsigned int chan_id = ichan->dma_chan.chan_id; in ipu_submit_buffer() local 793 ipu_select_buffer(chan_id, buf_idx); in ipu_submit_buffer() 795 sg, chan_id, buf_idx); in ipu_submit_buffer() 954 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_init_channel() 1011 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_uninit_channel() 1074 enum ipu_channel channel = ichan->dma_chan.chan_id; in ipu_disable_channel() 1159 unsigned int chan_id = ichan->dma_chan.chan_id; in idmac_interrupt() local [all …]
|
/drivers/staging/tidspbridge/include/dspbridge/ |
D | nodepriv.h | 104 u32 dir, u32 index, u32 *chan_id);
|
/drivers/spi/ |
D | spi-pxa2xx-dma.c | 234 return chan->chan_id == pdata->tx_chan_id || in pxa2xx_spi_dma_filter() 235 chan->chan_id == pdata->rx_chan_id; in pxa2xx_spi_dma_filter()
|
D | spi-topcliff-pch.c | 905 if ((chan->chan_id == param->chan_id) && in pch_spi_filter() 939 param->chan_id = data->master->bus_num * 2; /* Tx = 0, 2 */ in pch_spi_request_dma() 954 param->chan_id = data->master->bus_num * 2 + 1; /* Rx = Tx + 1 */ in pch_spi_request_dma()
|
/drivers/video/ |
D | mx3fb.c | 343 dma_chan->chan_id); in sdc_enable_channel() 356 dma_chan->chan_id); in sdc_enable_channel() 1374 if (ichan->dma_chan.chan_id != IDMAC_SDC_0) in init_fb_chan() 1420 mx3fbi->ipu_ch = ichan->dma_chan.chan_id; in init_fb_chan() 1467 return rq->id == chan->chan_id && in chan_filter()
|
/drivers/tty/serial/ |
D | pch_uart.c | 694 if ((chan->chan_id == param->chan_id) && (param->dma_dev == in filter() 720 param->chan_id = priv->port.line * 2; /* Tx = 0, 2, 4, ... */ in pch_request_dma() 734 param->chan_id = priv->port.line * 2 + 1; /* Rx = Tx + 1 */ in pch_request_dma()
|
/drivers/rapidio/devices/ |
D | tsi721_dma.c | 247 bdma_chan, bdma_chan->dchan.chan_id, bdma_chan->regs); in tsi721_start_dma() 791 bdma_chan->dchan.chan_id = i; in tsi721_register_dma()
|
/drivers/media/usb/ttusb-budget/ |
D | dvb-ttusb-budget.c | 347 static int ttusb_set_channel(struct ttusb *ttusb, int chan_id, int filter_type, in ttusb_set_channel() argument 352 u8 b[] = { 0xaa, ++ttusb->c, 0x22, 4, chan_id, filter_type, in ttusb_set_channel()
|
/drivers/staging/tidspbridge/rmgr/ |
D | node.c | 1657 u32 *chan_id) in node_get_channel_id() argument 1674 *chan_id = hnode->inputs[index].dev_id; in node_get_channel_id() 1681 *chan_id = hnode->outputs[index].dev_id; in node_get_channel_id()
|
/drivers/misc/carma/ |
D | carma-fpga-program.c | 917 return chan->chan_id == 0 && chan->device->dev_id == 0; in dma_filter()
|
/drivers/media/platform/ |
D | timblogiw.c | 151 return chan->chan_id == (uintptr_t)filter_param; in timblogiw_dma_filter_fn()
|