/linux/arch/arm/plat-omap/ |
A D | dma.c | 262 l = p->dma_read(CCR, lch); in omap_set_dma_src_params() 265 p->dma_write(l, CCR, lch); in omap_set_dma_src_params() 411 p->dma_read(CSR, lch); in omap_enable_channel_irq() 416 p->dma_write(dma_chan[lch].enabled_irqs, CICR, lch); in omap_enable_channel_irq() 425 p->dma_read(CSR, lch); in omap_disable_channel_irq() 542 lch); in omap_free_dma() 569 p->clear_dma(lch); in omap_clear_dma() 591 enable_lnk(lch); in omap_start_dma() 612 p->dma_write(lch, CLNK_CTRL, lch); in omap_start_dma() 796 int lch; in omap_dma_running() local [all …]
|
/linux/include/linux/ |
A D | omap-dma.h | 275 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); 304 extern void omap_start_dma(int lch); 305 extern void omap_stop_dma(int lch); 316 extern void omap_set_dma_src_burst_mode(int lch, 323 extern void omap_set_dma_dest_burst_mode(int lch, 326 extern dma_addr_t omap_get_dma_src_pos(int lch); 327 extern dma_addr_t omap_get_dma_dst_pos(int lch); [all …]
|
/linux/drivers/hsi/controllers/ |
A D | omap_ssi_core.c | 59 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 D | omap_ssi_port.c | 195 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/arch/arm/mach-omap1/ |
A D | dma.c | 175 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/drivers/usb/gadget/udc/ |
A D | omap_udc.c | 206 ep->lch = -1; in omap_ep_enable() 541 omap_start_dma(ep->lch); in next_in_dma() 569 omap_stop_dma(ep->lch); in finish_in_dma() 602 omap_start_dma(ep->lch); in next_out_dma() 620 omap_stop_dma(ep->lch); in finish_out_dma() 711 ep->lch = -1; in dma_channel_claim() 751 omap_set_dma_src_params(ep->lch, in dma_channel_claim() 783 ep->dma_channel - 1, ep->lch, in dma_channel_claim() 853 omap_free_dma(ep->lch); in dma_channel_release() 855 ep->lch = -1; in dma_channel_release() [all …]
|
A D | omap_udc.h | 155 int lch; member
|
A D | fsl_qe_udc.h | 310 int lch; member
|
/linux/drivers/dma/ti/ |
A D | omap-dma.c | 406 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() 1529 int lch = -1; in omap_dma_busy() local 1532 lch = find_next_bit(od->lch_bitmap, od->lch_count, lch + 1); in omap_dma_busy() 1533 if (lch >= od->lch_count) in omap_dma_busy() [all …]
|
/linux/drivers/staging/r8188eu/include/ |
A D | wlan_bssdef.h | 323 u8 key_2char2num(u8 hch, u8 lch); 325 u8 str_2char2num(u8 hch, u8 lch);
|
/linux/drivers/staging/r8188eu/core/ |
A D | rtw_ieee80211.c | 868 u8 str_2char2num(u8 hch, u8 lch) in str_2char2num() argument 870 return (key_char2num(hch) * 10) + key_char2num(lch); in str_2char2num() 873 u8 key_2char2num(u8 hch, u8 lch) in key_2char2num() argument 875 return (key_char2num(hch) << 4) | key_char2num(lch); in key_2char2num()
|