lch               175 arch/arm/mach-omap1/dma.c static inline void dma_write(u32 val, int reg, int lch)
lch               180 arch/arm/mach-omap1/dma.c 	addr += reg_map[reg].stride * lch;
lch               187 arch/arm/mach-omap1/dma.c static inline u32 dma_read(int reg, int lch)
lch               193 arch/arm/mach-omap1/dma.c 	addr += reg_map[reg].stride * lch;
lch               202 arch/arm/mach-omap1/dma.c static void omap1_clear_lch_regs(int lch)
lch               207 arch/arm/mach-omap1/dma.c 		dma_write(0, i, lch);
lch               210 arch/arm/mach-omap1/dma.c static void omap1_clear_dma(int lch)
lch               214 arch/arm/mach-omap1/dma.c 	l = dma_read(CCR, lch);
lch               216 arch/arm/mach-omap1/dma.c 	dma_write(l, CCR, lch);
lch               219 arch/arm/mach-omap1/dma.c 	l = dma_read(CSR, lch);
lch                85 arch/arm/mach-omap2/dma.c static inline void dma_write(u32 val, int reg, int lch)
lch                90 arch/arm/mach-omap2/dma.c 	addr += reg_map[reg].stride * lch;
lch                95 arch/arm/mach-omap2/dma.c static inline u32 dma_read(int reg, int lch)
lch               100 arch/arm/mach-omap2/dma.c 	addr += reg_map[reg].stride * lch;
lch               105 arch/arm/mach-omap2/dma.c static void omap2_clear_dma(int lch)
lch               110 arch/arm/mach-omap2/dma.c 		dma_write(0, i, lch);
lch                67 arch/arm/plat-omap/dma.c static void omap_clear_dma(int lch);
lch                68 arch/arm/plat-omap/dma.c static int omap_dma_set_prio_lch(int lch, unsigned char read_prio,
lch               136 arch/arm/plat-omap/dma.c static inline void disable_lnk(int lch);
lch               137 arch/arm/plat-omap/dma.c static void omap_disable_channel_irq(int lch);
lch               138 arch/arm/plat-omap/dma.c static inline void omap_enable_channel_irq(int lch);
lch               172 arch/arm/plat-omap/dma.c void omap_set_dma_priority(int lch, int dst_port, int priority)
lch               204 arch/arm/plat-omap/dma.c void omap_set_dma_priority(int lch, int dst_port, int priority)
lch               208 arch/arm/plat-omap/dma.c 	ccr = p->dma_read(CCR, lch);
lch               213 arch/arm/plat-omap/dma.c 	p->dma_write(ccr, CCR, lch);
lch               218 arch/arm/plat-omap/dma.c void omap_set_dma_transfer_params(int lch, int data_type, int elem_count,
lch               224 arch/arm/plat-omap/dma.c 	l = p->dma_read(CSDP, lch);
lch               227 arch/arm/plat-omap/dma.c 	p->dma_write(l, CSDP, lch);
lch               232 arch/arm/plat-omap/dma.c 		ccr = p->dma_read(CCR, lch);
lch               236 arch/arm/plat-omap/dma.c 		p->dma_write(ccr, CCR, lch);
lch               238 arch/arm/plat-omap/dma.c 		ccr = p->dma_read(CCR2, lch);
lch               242 arch/arm/plat-omap/dma.c 		p->dma_write(ccr, CCR2, lch);
lch               248 arch/arm/plat-omap/dma.c 		val = p->dma_read(CCR, lch);
lch               273 arch/arm/plat-omap/dma.c 		p->dma_write(val, CCR, lch);
lch               276 arch/arm/plat-omap/dma.c 	p->dma_write(elem_count, CEN, lch);
lch               277 arch/arm/plat-omap/dma.c 	p->dma_write(frame_count, CFN, lch);
lch               281 arch/arm/plat-omap/dma.c void omap_set_dma_write_mode(int lch, enum omap_dma_write_mode mode)
lch               286 arch/arm/plat-omap/dma.c 		csdp = p->dma_read(CSDP, lch);
lch               289 arch/arm/plat-omap/dma.c 		p->dma_write(csdp, CSDP, lch);
lch               294 arch/arm/plat-omap/dma.c void omap_set_dma_channel_mode(int lch, enum omap_dma_channel_mode mode)
lch               299 arch/arm/plat-omap/dma.c 		l = p->dma_read(LCH_CTRL, lch);
lch               302 arch/arm/plat-omap/dma.c 		p->dma_write(l, LCH_CTRL, lch);
lch               308 arch/arm/plat-omap/dma.c void omap_set_dma_src_params(int lch, int src_port, int src_amode,
lch               317 arch/arm/plat-omap/dma.c 		w = p->dma_read(CSDP, lch);
lch               320 arch/arm/plat-omap/dma.c 		p->dma_write(w, CSDP, lch);
lch               323 arch/arm/plat-omap/dma.c 	l = p->dma_read(CCR, lch);
lch               326 arch/arm/plat-omap/dma.c 	p->dma_write(l, CCR, lch);
lch               328 arch/arm/plat-omap/dma.c 	p->dma_write(src_start, CSSA, lch);
lch               330 arch/arm/plat-omap/dma.c 	p->dma_write(src_ei, CSEI, lch);
lch               331 arch/arm/plat-omap/dma.c 	p->dma_write(src_fi, CSFI, lch);
lch               335 arch/arm/plat-omap/dma.c void omap_set_dma_params(int lch, struct omap_dma_channel_params *params)
lch               337 arch/arm/plat-omap/dma.c 	omap_set_dma_transfer_params(lch, params->data_type,
lch               341 arch/arm/plat-omap/dma.c 	omap_set_dma_src_params(lch, params->src_port,
lch               345 arch/arm/plat-omap/dma.c 	omap_set_dma_dest_params(lch, params->dst_port,
lch               349 arch/arm/plat-omap/dma.c 		omap_dma_set_prio_lch(lch, params->read_prio,
lch               354 arch/arm/plat-omap/dma.c void omap_set_dma_src_data_pack(int lch, int enable)
lch               358 arch/arm/plat-omap/dma.c 	l = p->dma_read(CSDP, lch);
lch               362 arch/arm/plat-omap/dma.c 	p->dma_write(l, CSDP, lch);
lch               366 arch/arm/plat-omap/dma.c void omap_set_dma_src_burst_mode(int lch, enum omap_dma_burst_mode burst_mode)
lch               371 arch/arm/plat-omap/dma.c 	l = p->dma_read(CSDP, lch);
lch               405 arch/arm/plat-omap/dma.c 	p->dma_write(l, CSDP, lch);
lch               410 arch/arm/plat-omap/dma.c void omap_set_dma_dest_params(int lch, int dest_port, int dest_amode,
lch               417 arch/arm/plat-omap/dma.c 		l = p->dma_read(CSDP, lch);
lch               420 arch/arm/plat-omap/dma.c 		p->dma_write(l, CSDP, lch);
lch               423 arch/arm/plat-omap/dma.c 	l = p->dma_read(CCR, lch);
lch               426 arch/arm/plat-omap/dma.c 	p->dma_write(l, CCR, lch);
lch               428 arch/arm/plat-omap/dma.c 	p->dma_write(dest_start, CDSA, lch);
lch               430 arch/arm/plat-omap/dma.c 	p->dma_write(dst_ei, CDEI, lch);
lch               431 arch/arm/plat-omap/dma.c 	p->dma_write(dst_fi, CDFI, lch);
lch               435 arch/arm/plat-omap/dma.c void omap_set_dma_dest_data_pack(int lch, int enable)
lch               439 arch/arm/plat-omap/dma.c 	l = p->dma_read(CSDP, lch);
lch               443 arch/arm/plat-omap/dma.c 	p->dma_write(l, CSDP, lch);
lch               447 arch/arm/plat-omap/dma.c void omap_set_dma_dest_burst_mode(int lch, enum omap_dma_burst_mode burst_mode)
lch               452 arch/arm/plat-omap/dma.c 	l = p->dma_read(CSDP, lch);
lch               483 arch/arm/plat-omap/dma.c 	p->dma_write(l, CSDP, lch);
lch               487 arch/arm/plat-omap/dma.c static inline void omap_enable_channel_irq(int lch)
lch               491 arch/arm/plat-omap/dma.c 		p->dma_read(CSR, lch);
lch               493 arch/arm/plat-omap/dma.c 		p->dma_write(OMAP2_DMA_CSR_CLEAR_MASK, CSR, lch);
lch               496 arch/arm/plat-omap/dma.c 	p->dma_write(dma_chan[lch].enabled_irqs, CICR, lch);
lch               499 arch/arm/plat-omap/dma.c static inline void omap_disable_channel_irq(int lch)
lch               502 arch/arm/plat-omap/dma.c 	p->dma_write(0, CICR, lch);
lch               505 arch/arm/plat-omap/dma.c 		p->dma_read(CSR, lch);
lch               507 arch/arm/plat-omap/dma.c 		p->dma_write(OMAP2_DMA_CSR_CLEAR_MASK, CSR, lch);
lch               510 arch/arm/plat-omap/dma.c void omap_enable_dma_irq(int lch, u16 bits)
lch               512 arch/arm/plat-omap/dma.c 	dma_chan[lch].enabled_irqs |= bits;
lch               516 arch/arm/plat-omap/dma.c void omap_disable_dma_irq(int lch, u16 bits)
lch               518 arch/arm/plat-omap/dma.c 	dma_chan[lch].enabled_irqs &= ~bits;
lch               522 arch/arm/plat-omap/dma.c static inline void enable_lnk(int lch)
lch               526 arch/arm/plat-omap/dma.c 	l = p->dma_read(CLNK_CTRL, lch);
lch               532 arch/arm/plat-omap/dma.c 	if (dma_chan[lch].next_lch != -1)
lch               533 arch/arm/plat-omap/dma.c 		l = dma_chan[lch].next_lch | (1 << 15);
lch               537 arch/arm/plat-omap/dma.c 		if (dma_chan[lch].next_linked_ch != -1)
lch               538 arch/arm/plat-omap/dma.c 			l = dma_chan[lch].next_linked_ch | (1 << 15);
lch               541 arch/arm/plat-omap/dma.c 	p->dma_write(l, CLNK_CTRL, lch);
lch               544 arch/arm/plat-omap/dma.c static inline void disable_lnk(int lch)
lch               548 arch/arm/plat-omap/dma.c 	l = p->dma_read(CLNK_CTRL, lch);
lch               551 arch/arm/plat-omap/dma.c 	omap_disable_channel_irq(lch);
lch               563 arch/arm/plat-omap/dma.c 	p->dma_write(l, CLNK_CTRL, lch);
lch               564 arch/arm/plat-omap/dma.c 	dma_chan[lch].flags &= ~OMAP_DMA_ACTIVE;
lch               567 arch/arm/plat-omap/dma.c static inline void omap2_enable_irq_lch(int lch)
lch               577 arch/arm/plat-omap/dma.c 	p->dma_write(1 << lch, IRQSTATUS_L0, lch);
lch               579 arch/arm/plat-omap/dma.c 	val = p->dma_read(IRQENABLE_L0, lch);
lch               580 arch/arm/plat-omap/dma.c 	val |= 1 << lch;
lch               581 arch/arm/plat-omap/dma.c 	p->dma_write(val, IRQENABLE_L0, lch);
lch               585 arch/arm/plat-omap/dma.c static inline void omap2_disable_irq_lch(int lch)
lch               595 arch/arm/plat-omap/dma.c 	val = p->dma_read(IRQENABLE_L0, lch);
lch               596 arch/arm/plat-omap/dma.c 	val &= ~(1 << lch);
lch               597 arch/arm/plat-omap/dma.c 	p->dma_write(val, IRQENABLE_L0, lch);
lch               599 arch/arm/plat-omap/dma.c 	p->dma_write(1 << lch, IRQSTATUS_L0, lch);
lch               604 arch/arm/plat-omap/dma.c 		     void (*callback)(int lch, u16 ch_status, void *data),
lch               682 arch/arm/plat-omap/dma.c void omap_free_dma(int lch)
lch               686 arch/arm/plat-omap/dma.c 	if (dma_chan[lch].dev_id == -1) {
lch               688 arch/arm/plat-omap/dma.c 		       lch);
lch               694 arch/arm/plat-omap/dma.c 		omap2_disable_irq_lch(lch);
lch               697 arch/arm/plat-omap/dma.c 	omap_disable_channel_irq(lch);
lch               700 arch/arm/plat-omap/dma.c 	p->dma_write(0, CCR, lch);
lch               704 arch/arm/plat-omap/dma.c 		omap_clear_dma(lch);
lch               707 arch/arm/plat-omap/dma.c 	dma_chan[lch].dev_id = -1;
lch               708 arch/arm/plat-omap/dma.c 	dma_chan[lch].next_lch = -1;
lch               709 arch/arm/plat-omap/dma.c 	dma_chan[lch].callback = NULL;
lch               757 arch/arm/plat-omap/dma.c omap_dma_set_prio_lch(int lch, unsigned char read_prio,
lch               762 arch/arm/plat-omap/dma.c 	if (unlikely((lch < 0 || lch >= dma_lch_count))) {
lch               766 arch/arm/plat-omap/dma.c 	l = p->dma_read(CCR, lch);
lch               773 arch/arm/plat-omap/dma.c 	p->dma_write(l, CCR, lch);
lch               783 arch/arm/plat-omap/dma.c static void omap_clear_dma(int lch)
lch               788 arch/arm/plat-omap/dma.c 	p->clear_dma(lch);
lch               792 arch/arm/plat-omap/dma.c void omap_start_dma(int lch)
lch               801 arch/arm/plat-omap/dma.c 		p->dma_write(0, CPC, lch);
lch               803 arch/arm/plat-omap/dma.c 		p->dma_write(0, CDAC, lch);
lch               805 arch/arm/plat-omap/dma.c 	if (!omap_dma_in_1510_mode() && dma_chan[lch].next_lch != -1) {
lch               810 arch/arm/plat-omap/dma.c 		enable_lnk(lch);
lch               813 arch/arm/plat-omap/dma.c 		dma_chan_link_map[lch] = 1;
lch               815 arch/arm/plat-omap/dma.c 		cur_lch = dma_chan[lch].next_lch;
lch               831 arch/arm/plat-omap/dma.c 		p->dma_write(lch, CLNK_CTRL, lch);
lch               833 arch/arm/plat-omap/dma.c 	omap_enable_channel_irq(lch);
lch               835 arch/arm/plat-omap/dma.c 	l = p->dma_read(CCR, lch);
lch               848 arch/arm/plat-omap/dma.c 	p->dma_write(l, CCR, lch);
lch               850 arch/arm/plat-omap/dma.c 	dma_chan[lch].flags |= OMAP_DMA_ACTIVE;
lch               854 arch/arm/plat-omap/dma.c void omap_stop_dma(int lch)
lch               859 arch/arm/plat-omap/dma.c 	omap_disable_channel_irq(lch);
lch               861 arch/arm/plat-omap/dma.c 	l = p->dma_read(CCR, lch);
lch               868 arch/arm/plat-omap/dma.c 		l = p->dma_read(OCP_SYSCONFIG, lch);
lch               874 arch/arm/plat-omap/dma.c 		l = p->dma_read(CCR, lch);
lch               876 arch/arm/plat-omap/dma.c 		p->dma_write(l, CCR, lch);
lch               879 arch/arm/plat-omap/dma.c 		l = p->dma_read(CCR, lch);
lch               884 arch/arm/plat-omap/dma.c 			l = p->dma_read(CCR, lch);
lch               887 arch/arm/plat-omap/dma.c 			pr_err("DMA drain did not complete on lch %d\n", lch);
lch               889 arch/arm/plat-omap/dma.c 		p->dma_write(sys_cf, OCP_SYSCONFIG, lch);
lch               892 arch/arm/plat-omap/dma.c 		p->dma_write(l, CCR, lch);
lch               902 arch/arm/plat-omap/dma.c 	if (!omap_dma_in_1510_mode() && dma_chan[lch].next_lch != -1) {
lch               903 arch/arm/plat-omap/dma.c 		int next_lch, cur_lch = lch;
lch               921 arch/arm/plat-omap/dma.c 	dma_chan[lch].flags &= ~OMAP_DMA_ACTIVE;
lch               929 arch/arm/plat-omap/dma.c int omap_set_dma_callback(int lch,
lch               930 arch/arm/plat-omap/dma.c 			  void (*callback)(int lch, u16 ch_status, void *data),
lch               935 arch/arm/plat-omap/dma.c 	if (lch < 0)
lch               939 arch/arm/plat-omap/dma.c 	if (dma_chan[lch].dev_id == -1) {
lch               944 arch/arm/plat-omap/dma.c 	dma_chan[lch].callback = callback;
lch               945 arch/arm/plat-omap/dma.c 	dma_chan[lch].data = data;
lch               960 arch/arm/plat-omap/dma.c dma_addr_t omap_get_dma_src_pos(int lch)
lch               965 arch/arm/plat-omap/dma.c 		offset = p->dma_read(CPC, lch);
lch               967 arch/arm/plat-omap/dma.c 		offset = p->dma_read(CSAC, lch);
lch               970 arch/arm/plat-omap/dma.c 		offset = p->dma_read(CSAC, lch);
lch               978 arch/arm/plat-omap/dma.c 		if (likely(p->dma_read(CDAC, lch)))
lch               979 arch/arm/plat-omap/dma.c 			offset = p->dma_read(CSAC, lch);
lch               981 arch/arm/plat-omap/dma.c 			offset = p->dma_read(CSSA, lch);
lch               985 arch/arm/plat-omap/dma.c 		offset |= (p->dma_read(CSSA, lch) & 0xFFFF0000);
lch               999 arch/arm/plat-omap/dma.c dma_addr_t omap_get_dma_dst_pos(int lch)
lch              1004 arch/arm/plat-omap/dma.c 		offset = p->dma_read(CPC, lch);
lch              1006 arch/arm/plat-omap/dma.c 		offset = p->dma_read(CDAC, lch);
lch              1013 arch/arm/plat-omap/dma.c 		offset = p->dma_read(CDAC, lch);
lch              1020 arch/arm/plat-omap/dma.c 			offset = p->dma_read(CDSA, lch);
lch              1024 arch/arm/plat-omap/dma.c 		offset |= (p->dma_read(CDSA, lch) & 0xFFFF0000);
lch              1030 arch/arm/plat-omap/dma.c int omap_get_dma_active_status(int lch)
lch              1032 arch/arm/plat-omap/dma.c 	return (p->dma_read(CCR, lch) & OMAP_DMA_CCR_EN) != 0;
lch              1038 arch/arm/plat-omap/dma.c 	int lch;
lch              1044 arch/arm/plat-omap/dma.c 	for (lch = 0; lch < dma_chan_count; lch++)
lch              1045 arch/arm/plat-omap/dma.c 		if (p->dma_read(CCR, lch) & OMAP_DMA_CCR_EN)
lch               380 drivers/dma/ti/omap-dma.c 	unsigned lch)
lch               382 drivers/dma/ti/omap-dma.c 	c->channel_base = od->base + od->plat->channel_stride * lch;
lch               384 drivers/dma/ti/omap-dma.c 	od->lch_map[lch] = c;
lch                59 drivers/hsi/controllers/omap_ssi_core.c 	int lch;
lch                78 drivers/hsi/controllers/omap_ssi_core.c 	for (lch = 0; lch < SSI_MAX_GDD_LCH; lch++) {
lch                79 drivers/hsi/controllers/omap_ssi_core.c 		seq_printf(m, "\nGDD LCH %d\n=========\n", lch);
lch                81 drivers/hsi/controllers/omap_ssi_core.c 				readw(gdd + SSI_GDD_CSDP_REG(lch)));
lch                83 drivers/hsi/controllers/omap_ssi_core.c 				readw(gdd + SSI_GDD_CCR_REG(lch)));
lch                85 drivers/hsi/controllers/omap_ssi_core.c 				readw(gdd + SSI_GDD_CICR_REG(lch)));
lch                87 drivers/hsi/controllers/omap_ssi_core.c 				readw(gdd + SSI_GDD_CSR_REG(lch)));
lch                89 drivers/hsi/controllers/omap_ssi_core.c 				readl(gdd + SSI_GDD_CSSA_REG(lch)));
lch                91 drivers/hsi/controllers/omap_ssi_core.c 				readl(gdd + SSI_GDD_CDSA_REG(lch)));
lch                93 drivers/hsi/controllers/omap_ssi_core.c 				readw(gdd + SSI_GDD_CEN_REG(lch)));
lch                95 drivers/hsi/controllers/omap_ssi_core.c 				readw(gdd + SSI_GDD_CSAC_REG(lch)));
lch                97 drivers/hsi/controllers/omap_ssi_core.c 				readw(gdd + SSI_GDD_CDAC_REG(lch)));
lch                99 drivers/hsi/controllers/omap_ssi_core.c 				readw(gdd + SSI_GDD_CLNK_CTRL_REG(lch)));
lch               167 drivers/hsi/controllers/omap_ssi_core.c static void ssi_gdd_complete(struct hsi_controller *ssi, unsigned int lch)
lch               170 drivers/hsi/controllers/omap_ssi_core.c 	struct hsi_msg *msg = omap_ssi->gdd_trn[lch].msg;
lch               180 drivers/hsi/controllers/omap_ssi_core.c 	val &= ~SSI_GDD_LCH(lch);
lch               193 drivers/hsi/controllers/omap_ssi_core.c 	csr = readw(omap_ssi->gdd + SSI_GDD_CSR_REG(lch));
lch               194 drivers/hsi/controllers/omap_ssi_core.c 	omap_ssi->gdd_trn[lch].msg = NULL; /* release GDD lch */
lch               223 drivers/hsi/controllers/omap_ssi_core.c 	unsigned int lch;
lch               235 drivers/hsi/controllers/omap_ssi_core.c 	for (lch = 0; lch < SSI_MAX_GDD_LCH; lch++) {
lch               236 drivers/hsi/controllers/omap_ssi_core.c 		if (status_reg & SSI_GDD_LCH(lch))
lch               237 drivers/hsi/controllers/omap_ssi_core.c 			ssi_gdd_complete(ssi, lch);
lch               195 drivers/hsi/controllers/omap_ssi_port.c 	int lch;
lch               197 drivers/hsi/controllers/omap_ssi_port.c 	for (lch = 0; lch < SSI_MAX_GDD_LCH; lch++)
lch               198 drivers/hsi/controllers/omap_ssi_port.c 		if (!omap_ssi->gdd_trn[lch].msg) {
lch               199 drivers/hsi/controllers/omap_ssi_port.c 			omap_ssi->gdd_trn[lch].msg = msg;
lch               200 drivers/hsi/controllers/omap_ssi_port.c 			omap_ssi->gdd_trn[lch].sg = msg->sgt.sgl;
lch               201 drivers/hsi/controllers/omap_ssi_port.c 			return lch;
lch               207 drivers/hsi/controllers/omap_ssi_port.c static int ssi_start_dma(struct hsi_msg *msg, int lch)
lch               266 drivers/hsi/controllers/omap_ssi_port.c 		lch, csdp, ccr, s_addr, d_addr);
lch               268 drivers/hsi/controllers/omap_ssi_port.c 	writew_relaxed(csdp, gdd + SSI_GDD_CSDP_REG(lch));
lch               269 drivers/hsi/controllers/omap_ssi_port.c 	writew_relaxed(SSI_BLOCK_IE | SSI_TOUT_IE, gdd + SSI_GDD_CICR_REG(lch));
lch               270 drivers/hsi/controllers/omap_ssi_port.c 	writel_relaxed(d_addr, gdd + SSI_GDD_CDSA_REG(lch));
lch               271 drivers/hsi/controllers/omap_ssi_port.c 	writel_relaxed(s_addr, gdd + SSI_GDD_CSSA_REG(lch));
lch               273 drivers/hsi/controllers/omap_ssi_port.c 						gdd + SSI_GDD_CEN_REG(lch));
lch               277 drivers/hsi/controllers/omap_ssi_port.c 	tmp |= SSI_GDD_LCH(lch);
lch               280 drivers/hsi/controllers/omap_ssi_port.c 	writew(ccr, gdd + SSI_GDD_CCR_REG(lch));
lch               323 drivers/hsi/controllers/omap_ssi_port.c 	int lch = -1;
lch               331 drivers/hsi/controllers/omap_ssi_port.c 		lch = ssi_claim_lch(msg);
lch               332 drivers/hsi/controllers/omap_ssi_port.c 	if (lch >= 0)
lch               333 drivers/hsi/controllers/omap_ssi_port.c 		return ssi_start_dma(msg, lch);
lch               310 drivers/usb/gadget/udc/fsl_qe_udc.h 	int lch;
lch               206 drivers/usb/gadget/udc/omap_udc.c 	ep->lch = -1;
lch               481 drivers/usb/gadget/udc/omap_udc.c 	end = omap_get_dma_src_pos(ep->lch);
lch               495 drivers/usb/gadget/udc/omap_udc.c 	end = omap_get_dma_dst_pos(ep->lch);
lch               526 drivers/usb/gadget/udc/omap_udc.c 		omap_set_dma_transfer_params(ep->lch, OMAP_DMA_DATA_TYPE_S8,
lch               532 drivers/usb/gadget/udc/omap_udc.c 		omap_set_dma_transfer_params(ep->lch, OMAP_DMA_DATA_TYPE_S16,
lch               537 drivers/usb/gadget/udc/omap_udc.c 	omap_set_dma_src_params(ep->lch, OMAP_DMA_PORT_EMIFF,
lch               541 drivers/usb/gadget/udc/omap_udc.c 	omap_start_dma(ep->lch);
lch               542 drivers/usb/gadget/udc/omap_udc.c 	ep->dma_counter = omap_get_dma_src_pos(ep->lch);
lch               569 drivers/usb/gadget/udc/omap_udc.c 	omap_stop_dma(ep->lch);
lch               586 drivers/usb/gadget/udc/omap_udc.c 	omap_set_dma_transfer_params(ep->lch, OMAP_DMA_DATA_TYPE_S16,
lch               590 drivers/usb/gadget/udc/omap_udc.c 	omap_set_dma_dest_params(ep->lch, OMAP_DMA_PORT_EMIFF,
lch               593 drivers/usb/gadget/udc/omap_udc.c 	ep->dma_counter = omap_get_dma_dst_pos(ep->lch);
lch               602 drivers/usb/gadget/udc/omap_udc.c 	omap_start_dma(ep->lch);
lch               620 drivers/usb/gadget/udc/omap_udc.c 		omap_stop_dma(ep->lch);
lch               686 drivers/usb/gadget/udc/omap_udc.c static void dma_error(int lch, u16 ch_status, void *data)
lch               692 drivers/usb/gadget/udc/omap_udc.c 	ERR("%s dma error, lch %d status %02x\n", ep->ep.name, lch, ch_status);
lch               711 drivers/usb/gadget/udc/omap_udc.c 	ep->lch = -1;
lch               730 drivers/usb/gadget/udc/omap_udc.c 			ep->ep.name, dma_error, ep, &ep->lch);
lch               734 drivers/usb/gadget/udc/omap_udc.c 			omap_set_dma_src_burst_mode(ep->lch,
lch               736 drivers/usb/gadget/udc/omap_udc.c 			omap_set_dma_src_data_pack(ep->lch, 1);
lch               738 drivers/usb/gadget/udc/omap_udc.c 			omap_set_dma_dest_params(ep->lch,
lch               747 drivers/usb/gadget/udc/omap_udc.c 			ep->ep.name, dma_error, ep, &ep->lch);
lch               751 drivers/usb/gadget/udc/omap_udc.c 			omap_set_dma_src_params(ep->lch,
lch               757 drivers/usb/gadget/udc/omap_udc.c 			omap_set_dma_dest_burst_mode(ep->lch,
lch               759 drivers/usb/gadget/udc/omap_udc.c 			omap_set_dma_dest_data_pack(ep->lch, 1);
lch               766 drivers/usb/gadget/udc/omap_udc.c 		omap_disable_dma_irq(ep->lch, OMAP_DMA_BLOCK_IRQ);
lch               770 drivers/usb/gadget/udc/omap_udc.c 			omap_set_dma_channel_mode(ep->lch, OMAP_DMA_LCH_P);
lch               783 drivers/usb/gadget/udc/omap_udc.c 			ep->dma_channel - 1, ep->lch,
lch               817 drivers/usb/gadget/udc/omap_udc.c 	active = omap_get_dma_active_status(ep->lch);
lch               853 drivers/usb/gadget/udc/omap_udc.c 	omap_free_dma(ep->lch);
lch               855 drivers/usb/gadget/udc/omap_udc.c 	ep->lch = -1;
lch              2152 drivers/usb/gadget/udc/omap_udc.c 			ep->dma_channel - 1, ep->lch);
lch               155 drivers/usb/gadget/udc/omap_udc.h 	int				lch;
lch               239 include/linux/omap-dma.h 	void (*callback)(int lch, u16 ch_status, void *data);
lch               279 include/linux/omap-dma.h 	void (*clear_lch_regs)(int lch);
lch               280 include/linux/omap-dma.h 	void (*clear_dma)(int lch);
lch               281 include/linux/omap-dma.h 	void (*dma_write)(u32 val, int reg, int lch);
lch               282 include/linux/omap-dma.h 	u32 (*dma_read)(int reg, int lch);
lch               302 include/linux/omap-dma.h extern void omap_set_dma_priority(int lch, int dst_port, int priority);
lch               304 include/linux/omap-dma.h 			void (*callback)(int lch, u16 ch_status, void *data),
lch               309 include/linux/omap-dma.h extern void omap_start_dma(int lch);
lch               310 include/linux/omap-dma.h extern void omap_stop_dma(int lch);
lch               311 include/linux/omap-dma.h extern void omap_set_dma_transfer_params(int lch, int data_type,
lch               315 include/linux/omap-dma.h extern void omap_set_dma_write_mode(int lch, enum omap_dma_write_mode mode);
lch               316 include/linux/omap-dma.h extern void omap_set_dma_channel_mode(int lch, enum omap_dma_channel_mode mode);
lch               318 include/linux/omap-dma.h extern void omap_set_dma_src_params(int lch, int src_port, int src_amode,
lch               321 include/linux/omap-dma.h extern void omap_set_dma_src_data_pack(int lch, int enable);
lch               322 include/linux/omap-dma.h extern void omap_set_dma_src_burst_mode(int lch,
lch               325 include/linux/omap-dma.h extern void omap_set_dma_dest_params(int lch, int dest_port, int dest_amode,
lch               328 include/linux/omap-dma.h extern void omap_set_dma_dest_data_pack(int lch, int enable);
lch               329 include/linux/omap-dma.h extern void omap_set_dma_dest_burst_mode(int lch,
lch               332 include/linux/omap-dma.h extern void omap_set_dma_params(int lch,
lch               337 include/linux/omap-dma.h extern int omap_set_dma_callback(int lch,
lch               338 include/linux/omap-dma.h 			void (*callback)(int lch, u16 ch_status, void *data),
lch               340 include/linux/omap-dma.h extern dma_addr_t omap_get_dma_src_pos(int lch);
lch               341 include/linux/omap-dma.h extern dma_addr_t omap_get_dma_dst_pos(int lch);
lch               342 include/linux/omap-dma.h extern int omap_get_dma_active_status(int lch);
lch               366 include/linux/omap-dma.h 			void (*callback)(int lch, u16 ch_status, void *data),