/linux-5.19.10/arch/powerpc/platforms/pasemi/ |
D | dma_lib.c | 176 int chno; in pasemi_dma_alloc_chan() local 190 chno = pasemi_alloc_rx_chan(); in pasemi_dma_alloc_chan() 191 chan->chno = chno; in pasemi_dma_alloc_chan() 193 base_hw_irq + num_txch + chno); in pasemi_dma_alloc_chan() 194 chan->status = &dma_status->rx_sta[chno]; in pasemi_dma_alloc_chan() 197 chno = pasemi_alloc_tx_chan(type); in pasemi_dma_alloc_chan() 198 chan->chno = chno; in pasemi_dma_alloc_chan() 199 chan->irq = irq_create_mapping(NULL, base_hw_irq + chno); in pasemi_dma_alloc_chan() 200 chan->status = &dma_status->tx_sta[chno]; in pasemi_dma_alloc_chan() 223 pasemi_free_rx_chan(chan->chno); in pasemi_dma_free_chan() [all …]
|
/linux-5.19.10/drivers/gpu/drm/imx/ |
D | imx-ldb.c | 70 int chno; member 116 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() 122 if (imx_ldb_ch->chno == 0 || dual) in imx_ldb_ch_set_bus_format() 125 if (imx_ldb_ch->chno == 1 || dual) in imx_ldb_ch_set_bus_format() 164 static void imx_ldb_set_clock(struct imx_ldb *ldb, int mux, int chno, in imx_ldb_set_clock() argument 170 clk_get_rate(ldb->clk_pll[chno]), serial_clk); in imx_ldb_set_clock() 171 clk_set_rate(ldb->clk_pll[chno], serial_clk); in imx_ldb_set_clock() 174 clk_get_rate(ldb->clk_pll[chno])); in imx_ldb_set_clock() 177 clk_get_rate(ldb->clk[chno]), in imx_ldb_set_clock() [all …]
|
/linux-5.19.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 366 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);
|
/linux-5.19.10/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 271 int chno; in pasemi_mac_setup_csring() local 281 chno = ring->chan.chno; in pasemi_mac_setup_csring() 290 write_dma_reg(PAS_DMA_TXCHAN_BASEL(chno), in pasemi_mac_setup_csring() 295 write_dma_reg(PAS_DMA_TXCHAN_BASEU(chno), val); in pasemi_mac_setup_csring() 316 write_dma_reg(PAS_DMA_TXCHAN_CFG(chno), cfg); in pasemi_mac_setup_csring() 368 int chno; in pasemi_mac_setup_rx_resources() local 378 chno = ring->chan.chno; in pasemi_mac_setup_rx_resources() 400 write_dma_reg(PAS_DMA_RXCHAN_BASEL(chno), in pasemi_mac_setup_rx_resources() 403 write_dma_reg(PAS_DMA_RXCHAN_BASEU(chno), in pasemi_mac_setup_rx_resources() 412 write_dma_reg(PAS_DMA_RXCHAN_CFG(chno), cfg); in pasemi_mac_setup_rx_resources() [all …]
|
/linux-5.19.10/drivers/dma/ |
D | imx-dma.c | 410 int chno = imxdmac->channel; in dma_irq_handle_channel() local 432 tmp = imx_dmav1_readl(imxdma, DMA_CCR(chno)); in dma_irq_handle_channel() 442 imx_dmav1_writel(imxdma, tmp, DMA_CCR(chno)); in dma_irq_handle_channel() 445 DMA_CCR(chno)); in dma_irq_handle_channel() 449 imx_dmav1_writel(imxdma, tmp, DMA_CCR(chno)); in dma_irq_handle_channel() 465 imx_dmav1_writel(imxdma, 0, DMA_CCR(chno)); in dma_irq_handle_channel()
|
/linux-5.19.10/arch/powerpc/include/asm/ |
D | pasemi_dma.h | 471 int chno; /* Channel number */ member
|
/linux-5.19.10/include/video/ |
D | imx-ipu-v3.h | 479 struct ipu_smfc *ipu_smfc_get(struct ipu_soc *ipu, unsigned int chno);
|