/kernel/linux/linux-5.10/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 174 int chno; in pasemi_dma_alloc_chan() local 188 chno = pasemi_alloc_rx_chan(); in pasemi_dma_alloc_chan() 189 chan->chno = chno; in pasemi_dma_alloc_chan() 191 base_hw_irq + num_txch + chno); in pasemi_dma_alloc_chan() 192 chan->status = &dma_status->rx_sta[chno]; in pasemi_dma_alloc_chan() 195 chno = pasemi_alloc_tx_chan(type); in pasemi_dma_alloc_chan() 196 chan->chno = chno; in pasemi_dma_alloc_chan() 197 chan->irq = irq_create_mapping(NULL, base_hw_irq + chno); in pasemi_dma_alloc_chan() 198 chan->status = &dma_status->tx_sta[chno]; in pasemi_dma_alloc_chan() 221 pasemi_free_rx_chan(chan->chno); in pasemi_dma_free_chan() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/ |
D | imx-ldb.c | 63 int chno; member 109 if (imx_ldb_ch->chno == 0 || dual) in imx_ldb_ch_set_bus_format() 111 if (imx_ldb_ch->chno == 1 || dual) in imx_ldb_ch_set_bus_format() 115 if (imx_ldb_ch->chno == 0 || dual) in imx_ldb_ch_set_bus_format() 118 if (imx_ldb_ch->chno == 1 || dual) in imx_ldb_ch_set_bus_format() 158 static void imx_ldb_set_clock(struct imx_ldb *ldb, int mux, int chno, in imx_ldb_set_clock() argument 164 clk_get_rate(ldb->clk_pll[chno]), serial_clk); in imx_ldb_set_clock() 165 clk_set_rate(ldb->clk_pll[chno], serial_clk); in imx_ldb_set_clock() 168 clk_get_rate(ldb->clk_pll[chno])); in imx_ldb_set_clock() 171 clk_get_rate(ldb->clk[chno]), in imx_ldb_set_clock() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/ |
D | ipu-smfc.c | 19 int chno; member 44 shift = smfc->chno * 4; in ipu_smfc_set_burstsize() 64 shift = smfc->chno * 3; in ipu_smfc_map_channel() 84 shift = smfc->chno * 6 + (smfc->chno > 1 ? 4 : 0); in ipu_smfc_set_watermark() 135 struct ipu_smfc *ipu_smfc_get(struct ipu_soc *ipu, unsigned int chno) in ipu_smfc_get() argument 141 if (chno >= 4) in ipu_smfc_get() 144 smfc = &priv->channel[chno]; in ipu_smfc_get() 192 priv->channel[i].chno = i; in ipu_smfc_init()
|
D | ipu-common.c | 266 unsigned int chno = channel->num; in __ipu_idmac_reset_current_buffer() local 268 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_CUR_BUF(chno)); in __ipu_idmac_reset_current_buffer() 425 unsigned int chno = channel->num; in ipu_idmac_get_current_buffer() local 427 return (ipu_cm_read(ipu, IPU_CHA_CUR_BUF(chno)) & idma_mask(chno)) ? 1 : 0; in ipu_idmac_get_current_buffer() 458 unsigned int chno = channel->num; in ipu_idmac_select_buffer() local 465 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF0_RDY(chno)); in ipu_idmac_select_buffer() 467 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF1_RDY(chno)); in ipu_idmac_select_buffer() 476 unsigned int chno = channel->num; in ipu_idmac_clear_buffer() local 484 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF0_RDY(chno)); in ipu_idmac_clear_buffer() 487 ipu_cm_write(ipu, idma_mask(chno), IPU_CHA_BUF1_RDY(chno)); in ipu_idmac_clear_buffer() [all …]
|
D | ipu-dc.c | 94 int chno; member 360 priv->channels[i].chno = i; in ipu_dc_init()
|
D | ipu-cpmem.c | 893 int chno = ch->num; in ipu_cpmem_dump() local 895 dev_dbg(ipu->dev, "ch %d word 0 - %08X %08X %08X %08X %08X\n", chno, in ipu_cpmem_dump() 901 dev_dbg(ipu->dev, "ch %d word 1 - %08X %08X %08X %08X %08X\n", chno, in ipu_cpmem_dump()
|
D | ipu-prv.h | 218 bool ipu_idmac_channel_busy(struct ipu_soc *ipu, unsigned int chno);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 270 int chno; in pasemi_mac_setup_csring() local 280 chno = ring->chan.chno; in pasemi_mac_setup_csring() 289 write_dma_reg(PAS_DMA_TXCHAN_BASEL(chno), in pasemi_mac_setup_csring() 294 write_dma_reg(PAS_DMA_TXCHAN_BASEU(chno), val); in pasemi_mac_setup_csring() 315 write_dma_reg(PAS_DMA_TXCHAN_CFG(chno), cfg); in pasemi_mac_setup_csring() 367 int chno; in pasemi_mac_setup_rx_resources() local 377 chno = ring->chan.chno; in pasemi_mac_setup_rx_resources() 399 write_dma_reg(PAS_DMA_RXCHAN_BASEL(chno), in pasemi_mac_setup_rx_resources() 402 write_dma_reg(PAS_DMA_RXCHAN_BASEU(chno), in pasemi_mac_setup_rx_resources() 411 write_dma_reg(PAS_DMA_RXCHAN_CFG(chno), cfg); in pasemi_mac_setup_rx_resources() [all …]
|
/kernel/linux/linux-5.10/drivers/dma/ |
D | imx-dma.c | 429 int chno = imxdmac->channel; in dma_irq_handle_channel() local 451 tmp = imx_dmav1_readl(imxdma, DMA_CCR(chno)); in dma_irq_handle_channel() 461 imx_dmav1_writel(imxdma, tmp, DMA_CCR(chno)); in dma_irq_handle_channel() 464 DMA_CCR(chno)); in dma_irq_handle_channel() 468 imx_dmav1_writel(imxdma, tmp, DMA_CCR(chno)); in dma_irq_handle_channel() 484 imx_dmav1_writel(imxdma, 0, DMA_CCR(chno)); in dma_irq_handle_channel()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
D | pasemi_dma.h | 471 int chno; /* Channel number */ member
|
/kernel/linux/linux-5.10/include/video/ |
D | imx-ipu-v3.h | 477 struct ipu_smfc *ipu_smfc_get(struct ipu_soc *ipu, unsigned int chno);
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/ |
D | 0005_linux_include.patch | 999 + int chno;
|