Home
last modified time | relevance | path

Searched refs:lch (Results 1 – 9 of 9) sorted by relevance

/linux-6.3-rc2/arch/arm/mach-omap1/
A Domap-dma.c85 p->dma_write(0, CICR, lch); in omap_disable_channel_irq()
87 p->dma_read(CSR, lch); in omap_disable_channel_irq()
200 l = p->dma_read(CCR, lch); in omap_set_dma_src_params()
325 p->dma_read(CSR, lch); in omap_enable_channel_irq()
328 p->dma_write(dma_chan[lch].enabled_irqs, CICR, lch); in omap_enable_channel_irq()
435 lch); in omap_free_dma()
462 p->clear_dma(lch); in omap_clear_dma()
485 enable_lnk(lch); in omap_start_dma()
506 p->dma_write(lch, CLNK_CTRL, lch); in omap_start_dma()
689 int lch; in omap_dma_running() local
[all …]
A Ddma.c175 static inline void dma_write(u32 val, int reg, int lch) in dma_write() argument
180 addr += reg_map[reg].stride * lch; in dma_write()
187 static inline u32 dma_read(int reg, int lch) in dma_read() argument
193 addr += reg_map[reg].stride * lch; in dma_read()
202 static void omap1_clear_lch_regs(int lch) in omap1_clear_lch_regs() argument
207 dma_write(0, i, lch); in omap1_clear_lch_regs()
210 static void omap1_clear_dma(int lch) in omap1_clear_dma() argument
214 l = dma_read(CCR, lch); in omap1_clear_dma()
216 dma_write(l, CCR, lch); in omap1_clear_dma()
219 l = dma_read(CSR, lch); in omap1_clear_dma()
/linux-6.3-rc2/include/linux/
A Domap-dma.h275 void (*clear_lch_regs)(int lch);
276 void (*clear_dma)(int lch);
277 void (*dma_write)(u32 val, int reg, int lch);
278 u32 (*dma_read)(int reg, int lch);
311 extern void omap_start_dma(int lch);
312 extern void omap_stop_dma(int lch);
323 extern void omap_set_dma_src_burst_mode(int lch,
330 extern void omap_set_dma_dest_burst_mode(int lch,
333 extern dma_addr_t omap_get_dma_src_pos(int lch);
334 extern dma_addr_t omap_get_dma_dst_pos(int lch);
[all …]
/linux-6.3-rc2/drivers/hsi/controllers/
A Domap_ssi_core.c59 int lch; in ssi_gdd_regs_show() local
78 for (lch = 0; lch < SSI_MAX_GDD_LCH; lch++) { in ssi_gdd_regs_show()
81 readw(gdd + SSI_GDD_CSDP_REG(lch))); in ssi_gdd_regs_show()
83 readw(gdd + SSI_GDD_CCR_REG(lch))); in ssi_gdd_regs_show()
87 readw(gdd + SSI_GDD_CSR_REG(lch))); in ssi_gdd_regs_show()
93 readw(gdd + SSI_GDD_CEN_REG(lch))); in ssi_gdd_regs_show()
180 val &= ~SSI_GDD_LCH(lch); in ssi_gdd_complete()
223 unsigned int lch; in ssi_gdd_tasklet() local
235 for (lch = 0; lch < SSI_MAX_GDD_LCH; lch++) { in ssi_gdd_tasklet()
236 if (status_reg & SSI_GDD_LCH(lch)) in ssi_gdd_tasklet()
[all …]
A Domap_ssi_port.c195 int lch; in ssi_claim_lch() local
197 for (lch = 0; lch < SSI_MAX_GDD_LCH; lch++) in ssi_claim_lch()
198 if (!omap_ssi->gdd_trn[lch].msg) { in ssi_claim_lch()
201 return lch; in ssi_claim_lch()
266 lch, csdp, ccr, s_addr, d_addr); in ssi_start_dma()
273 gdd + SSI_GDD_CEN_REG(lch)); in ssi_start_dma()
277 tmp |= SSI_GDD_LCH(lch); in ssi_start_dma()
323 int lch = -1; in ssi_start_transfer() local
331 lch = ssi_claim_lch(msg); in ssi_start_transfer()
332 if (lch >= 0) in ssi_start_transfer()
[all …]
/linux-6.3-rc2/drivers/usb/gadget/udc/
A Domap_udc.c209 ep->lch = -1; in omap_ep_enable()
544 omap_start_dma(ep->lch); in next_in_dma()
572 omap_stop_dma(ep->lch); in finish_in_dma()
605 omap_start_dma(ep->lch); in next_out_dma()
623 omap_stop_dma(ep->lch); in finish_out_dma()
714 ep->lch = -1; in dma_channel_claim()
754 omap_set_dma_src_params(ep->lch, in dma_channel_claim()
786 ep->dma_channel - 1, ep->lch, in dma_channel_claim()
856 omap_free_dma(ep->lch); in dma_channel_release()
858 ep->lch = -1; in dma_channel_release()
[all …]
A Domap_udc.h155 int lch; member
A Dfsl_qe_udc.h310 int lch; member
/linux-6.3-rc2/drivers/dma/ti/
A Domap-dma.c406 c = od->lch_map[lch]; in omap_dma_clear_lch()
415 unsigned lch) in omap_dma_assign() argument
419 od->lch_map[lch] = c; in omap_dma_assign()
683 *lch = channel; in omap_dma_get_lch()
689 *lch = -EINVAL; in omap_dma_get_lch()
696 omap_dma_clear_lch(od, lch); in omap_dma_put_lch()
698 clear_bit(lch, od->lch_bitmap); in omap_dma_put_lch()
1534 int lch = -1; in omap_dma_busy() local
1537 lch = find_next_bit(od->lch_bitmap, od->lch_count, lch + 1); in omap_dma_busy()
1538 if (lch >= od->lch_count) in omap_dma_busy()
[all …]

Completed in 31 milliseconds