Home
last modified time | relevance | path

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

/linux-3.4.99/arch/arm/plat-omap/
Ddma.c127 static inline void disable_lnk(int lch);
128 static void omap_disable_channel_irq(int lch);
129 static inline void omap_enable_channel_irq(int lch);
170 void omap_set_dma_priority(int lch, int dst_port, int priority) in omap_set_dma_priority() argument
202 ccr = p->dma_read(CCR, lch); in omap_set_dma_priority()
207 p->dma_write(ccr, CCR, lch); in omap_set_dma_priority()
212 void omap_set_dma_transfer_params(int lch, int data_type, int elem_count, in omap_set_dma_transfer_params() argument
218 l = p->dma_read(CSDP, lch); in omap_set_dma_transfer_params()
221 p->dma_write(l, CSDP, lch); in omap_set_dma_transfer_params()
226 ccr = p->dma_read(CCR, lch); in omap_set_dma_transfer_params()
[all …]
/linux-3.4.99/arch/arm/plat-omap/include/plat/
Ddma.h415 void (*callback)(int lch, u16 ch_status, void *data);
437 void (*disable_irq_lch)(int lch);
439 void (*clear_lch_regs)(int lch);
440 void (*clear_dma)(int lch);
441 void (*dma_write)(u32 val, int reg, int lch);
442 u32 (*dma_read)(int reg, int lch);
445 extern void omap_set_dma_priority(int lch, int dst_port, int priority);
447 void (*callback)(int lch, u16 ch_status, void *data),
452 extern void omap_start_dma(int lch);
453 extern void omap_stop_dma(int lch);
[all …]
/linux-3.4.99/arch/arm/mach-omap2/
Ddma.c91 static inline void dma_write(u32 val, int reg, int lch) in dma_write() argument
97 offset = reg_map[reg] + (stride * lch); in dma_write()
101 static inline u32 dma_read(int reg, int lch) in dma_read() argument
107 offset = reg_map[reg] + (stride * lch); in dma_read()
112 static inline void omap2_disable_irq_lch(int lch) in omap2_disable_irq_lch() argument
116 val = dma_read(IRQENABLE_L0, lch); in omap2_disable_irq_lch()
117 val &= ~(1 << lch); in omap2_disable_irq_lch()
118 dma_write(val, IRQENABLE_L0, lch); in omap2_disable_irq_lch()
121 static void omap2_clear_dma(int lch) in omap2_clear_dma() argument
126 dma_write(0, i, lch); in omap2_clear_dma()
/linux-3.4.99/arch/arm/mach-omap1/
Ddma.c181 static inline void dma_write(u32 val, int reg, int lch) in dma_write() argument
187 offset = reg_map[reg] + (stride * lch); in dma_write()
192 u32 offset2 = reg_map[reg] + 2 + (stride * lch); in dma_write()
197 static inline u32 dma_read(int reg, int lch) in dma_read() argument
203 offset = reg_map[reg] + (stride * lch); in dma_read()
209 u32 offset2 = reg_map[reg] + 2 + (stride * lch); in dma_read()
216 static void omap1_clear_lch_regs(int lch) in omap1_clear_lch_regs() argument
221 dma_write(0, i, lch); in omap1_clear_lch_regs()
224 static void omap1_clear_dma(int lch) in omap1_clear_dma() argument
228 l = dma_read(CCR, lch); in omap1_clear_dma()
[all …]
/linux-3.4.99/drivers/video/omap2/
Dvram.c253 static void _omap_vram_dma_cb(int lch, u16 ch_status, void *data) in _omap_vram_dma_cb() argument
265 int lch; in _omap_vram_clear() local
271 &compl, &lch); in _omap_vram_clear()
280 omap_set_dma_transfer_params(lch, OMAP_DMA_DATA_TYPE_S32, in _omap_vram_clear()
285 omap_set_dma_dest_params(lch, 0, OMAP_DMA_AMODE_POST_INC, in _omap_vram_clear()
288 omap_set_dma_color_mode(lch, OMAP_DMA_CONSTANT_FILL, 0x000000); in _omap_vram_clear()
290 omap_start_dma(lch); in _omap_vram_clear()
293 omap_stop_dma(lch); in _omap_vram_clear()
301 omap_free_dma(lch); in _omap_vram_clear()
/linux-3.4.99/drivers/usb/gadget/
Domap_udc.c211 ep->lch = -1; in omap_ep_enable()
499 end = omap_get_dma_src_pos(ep->lch); in dma_src_len()
513 end = omap_get_dma_dst_pos(ep->lch); in dma_dest_len()
548 omap_set_dma_transfer_params(ep->lch, OMAP_DMA_DATA_TYPE_S8, in next_in_dma()
554 omap_set_dma_transfer_params(ep->lch, OMAP_DMA_DATA_TYPE_S16, in next_in_dma()
559 omap_set_dma_src_params(ep->lch, OMAP_DMA_PORT_EMIFF, in next_in_dma()
563 omap_start_dma(ep->lch); in next_in_dma()
564 ep->dma_counter = omap_get_dma_src_pos(ep->lch); in next_in_dma()
591 omap_stop_dma(ep->lch); in finish_in_dma()
612 omap_set_dma_transfer_params(ep->lch, OMAP_DMA_DATA_TYPE_S8, in next_out_dma()
[all …]
Domap_udc.h155 int lch; member
Dfsl_qe_udc.h315 int lch; member
/linux-3.4.99/arch/arm/mach-davinci/
Ddma.c314 setup_dma_interrupt(unsigned lch, in setup_dma_interrupt() argument
320 ctlr = EDMA_CTLR(lch); in setup_dma_interrupt()
321 lch = EDMA_CHAN_SLOT(lch); in setup_dma_interrupt()
324 edma_shadow0_write_array(ctlr, SH_IECR, lch >> 5, in setup_dma_interrupt()
325 BIT(lch & 0x1f)); in setup_dma_interrupt()
327 edma_cc[ctlr]->intr_data[lch].callback = callback; in setup_dma_interrupt()
328 edma_cc[ctlr]->intr_data[lch].data = data; in setup_dma_interrupt()
331 edma_shadow0_write_array(ctlr, SH_ICR, lch >> 5, in setup_dma_interrupt()
332 BIT(lch & 0x1f)); in setup_dma_interrupt()
333 edma_shadow0_write_array(ctlr, SH_IESR, lch >> 5, in setup_dma_interrupt()
[all …]
/linux-3.4.99/drivers/spi/
Dspi-davinci.c499 static void davinci_spi_dma_callback(unsigned lch, u16 status, void *data) in davinci_spi_dma_callback() argument
504 edma_stop(lch); in davinci_spi_dma_callback()
507 if (lch == dma->rx_channel) in davinci_spi_dma_callback()
509 if (lch == dma->tx_channel) in davinci_spi_dma_callback()
Dspi-omap2-mcspi.c716 static void omap2_mcspi_dma_rx_callback(int lch, u16 ch_status, void *data) in omap2_mcspi_dma_rx_callback() argument
731 static void omap2_mcspi_dma_tx_callback(int lch, u16 ch_status, void *data) in omap2_mcspi_dma_tx_callback() argument
/linux-3.4.99/drivers/isdn/isdnloop/
Disdnloop.c670 isdnloop_try_call(isdnloop_card *card, char *p, int lch, isdn_ctrl *cmd) in isdnloop_try_call() argument
684 if ((cc == card) && (ch == lch)) in isdnloop_try_call()
713 cc->rch[ch] = lch; in isdnloop_try_call()
714 card->rcard[lch] = cc; in isdnloop_try_call()
715 card->rch[lch] = ch; in isdnloop_try_call()
/linux-3.4.99/drivers/media/video/omap3isp/
Disphist.c186 static void hist_dma_cb(int lch, u16 ch_status, void *data) in hist_dma_cb() argument
193 omap_stop_dma(lch); in hist_dma_cb()
/linux-3.4.99/drivers/staging/rtl8712/
Dusb_intf.c359 static u8 key_2char2num(u8 hch, u8 lch) in key_2char2num() argument
361 return (hex_to_bin(hch) << 4) | hex_to_bin(lch); in key_2char2num()
/linux-3.4.99/drivers/media/video/omap/
Domap_vout_vrfb.c63 static void omap_vout_vrfb_dma_tx_callback(int lch, u16 ch_status, void *data) in omap_vout_vrfb_dma_tx_callback() argument
/linux-3.4.99/drivers/crypto/
Domap-aes.c288 static void omap_aes_dma_callback(int lch, u16 ch_status, void *data) in omap_aes_dma_callback() argument
296 } else if (lch == dd->dma_lch_in) { in omap_aes_dma_callback()
Domap-sham.c1103 static void omap_sham_dma_callback(int lch, u16 ch_status, void *data) in omap_sham_dma_callback() argument
/linux-3.4.99/drivers/tty/serial/
Domap-serial.c59 static void uart_tx_dma_callback(int lch, u16 ch_status, void *data);
1252 static void uart_rx_dma_callback(int lch, u16 ch_status, void *data) in uart_rx_dma_callback() argument
1324 static void uart_tx_dma_callback(int lch, u16 ch_status, void *data) in uart_tx_dma_callback() argument
/linux-3.4.99/drivers/usb/musb/
Dtusb6010_omap.c124 static void tusb_omap_dma_cb(int lch, u16 ch_status, void *data) in tusb_omap_dma_cb() argument
/linux-3.4.99/drivers/mtd/onenand/
Domap2.c69 static void omap2_onenand_dma_cb(int lch, u16 ch_status, void *data) in omap2_onenand_dma_cb() argument
/linux-3.4.99/drivers/mtd/nand/
Domap2.c335 static void omap_nand_dma_cb(int lch, u16 ch_status, void *data) in omap_nand_dma_cb() argument
/linux-3.4.99/drivers/mmc/host/
Domap.c975 static void mmc_omap_dma_cb(int lch, u16 ch_status, void *data) in mmc_omap_dma_cb() argument
Domap_hsmmc.c1232 static void omap_hsmmc_dma_cb(int lch, u16 ch_status, void *cb_data) in omap_hsmmc_dma_cb() argument