Home
last modified time | relevance | path

Searched refs:chno (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/imx/
Dimx-ldb.c70 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()
165 static void imx_ldb_set_clock(struct imx_ldb *ldb, int mux, int chno, in imx_ldb_set_clock() argument
171 clk_get_rate(ldb->clk_pll[chno]), serial_clk); in imx_ldb_set_clock()
172 clk_set_rate(ldb->clk_pll[chno], serial_clk); in imx_ldb_set_clock()
175 clk_get_rate(ldb->clk_pll[chno])); in imx_ldb_set_clock()
178 clk_get_rate(ldb->clk[chno]), in imx_ldb_set_clock()
[all …]
/drivers/gpu/ipu-v3/
Dipu-smfc.c19 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()
Dipu-common.c266 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 …]
Dipu-dc.c94 int chno; member
365 priv->channels[i].chno = i; in ipu_dc_init()
Dipu-cpmem.c893 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()
Dipu-prv.h218 bool ipu_idmac_channel_busy(struct ipu_soc *ipu, unsigned int chno);
/drivers/net/ethernet/pasemi/
Dpasemi_mac.c271 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 …]
/drivers/dma/
Dimx-dma.c410 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()