/Linux-v6.1/arch/arm/mach-omap1/ |
D | omap-dma.c | 82 static inline void omap_disable_channel_irq(int lch) in omap_disable_channel_irq() argument 85 p->dma_write(0, CICR, lch); in omap_disable_channel_irq() 87 p->dma_read(CSR, lch); in omap_disable_channel_irq() 103 void omap_set_dma_priority(int lch, int dst_port, int priority) in omap_set_dma_priority() argument 146 void omap_set_dma_transfer_params(int lch, int data_type, int elem_count, in omap_set_dma_transfer_params() argument 153 l = p->dma_read(CSDP, lch); in omap_set_dma_transfer_params() 156 p->dma_write(l, CSDP, lch); in omap_set_dma_transfer_params() 158 ccr = p->dma_read(CCR, lch); in omap_set_dma_transfer_params() 162 p->dma_write(ccr, CCR, lch); in omap_set_dma_transfer_params() 164 ccr = p->dma_read(CCR2, lch); in omap_set_dma_transfer_params() [all …]
|
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-v6.1/include/linux/ |
D | omap-dma.h | 238 void (*callback)(int lch, u16 ch_status, void *data); 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); 298 extern void omap_set_dma_priority(int lch, int dst_port, int priority); 300 static inline void omap_set_dma_priority(int lch, int dst_port, int priority) in omap_set_dma_priority() argument 306 void (*callback)(int lch, u16 ch_status, void *data), 311 extern void omap_start_dma(int lch); 312 extern void omap_stop_dma(int lch); [all …]
|
/Linux-v6.1/drivers/hsi/controllers/ |
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() 79 seq_printf(m, "\nGDD LCH %d\n=========\n", 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() 85 readw(gdd + SSI_GDD_CICR_REG(lch))); in ssi_gdd_regs_show() 87 readw(gdd + SSI_GDD_CSR_REG(lch))); in ssi_gdd_regs_show() 89 readl(gdd + SSI_GDD_CSSA_REG(lch))); in ssi_gdd_regs_show() 91 readl(gdd + SSI_GDD_CDSA_REG(lch))); in ssi_gdd_regs_show() 93 readw(gdd + SSI_GDD_CEN_REG(lch))); in ssi_gdd_regs_show() [all …]
|
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() 199 omap_ssi->gdd_trn[lch].msg = msg; in ssi_claim_lch() 200 omap_ssi->gdd_trn[lch].sg = msg->sgt.sgl; in ssi_claim_lch() 201 return lch; in ssi_claim_lch() 207 static int ssi_start_dma(struct hsi_msg *msg, int lch) in ssi_start_dma() argument 266 lch, csdp, ccr, s_addr, d_addr); in ssi_start_dma() 268 writew_relaxed(csdp, gdd + SSI_GDD_CSDP_REG(lch)); in ssi_start_dma() 269 writew_relaxed(SSI_BLOCK_IE | SSI_TOUT_IE, gdd + SSI_GDD_CICR_REG(lch)); in ssi_start_dma() [all …]
|
/Linux-v6.1/drivers/usb/gadget/udc/ |
D | omap_udc.c | 209 ep->lch = -1; in omap_ep_enable() 484 end = omap_get_dma_src_pos(ep->lch); in dma_src_len() 498 end = omap_get_dma_dst_pos(ep->lch); in dma_dest_len() 529 omap_set_dma_transfer_params(ep->lch, OMAP_DMA_DATA_TYPE_S8, in next_in_dma() 535 omap_set_dma_transfer_params(ep->lch, OMAP_DMA_DATA_TYPE_S16, in next_in_dma() 540 omap_set_dma_src_params(ep->lch, OMAP_DMA_PORT_EMIFF, in next_in_dma() 544 omap_start_dma(ep->lch); in next_in_dma() 545 ep->dma_counter = omap_get_dma_src_pos(ep->lch); in next_in_dma() 572 omap_stop_dma(ep->lch); in finish_in_dma() 589 omap_set_dma_transfer_params(ep->lch, OMAP_DMA_DATA_TYPE_S16, in next_out_dma() [all …]
|
D | omap_udc.h | 155 int lch; member
|
D | fsl_qe_udc.h | 310 int lch; member
|
/Linux-v6.1/drivers/dma/ti/ |
D | omap-dma.c | 401 static void omap_dma_clear_lch(struct omap_dmadev *od, int lch) in omap_dma_clear_lch() argument 406 c = od->lch_map[lch]; in omap_dma_clear_lch() 415 unsigned lch) in omap_dma_assign() argument 417 c->channel_base = od->base + od->plat->channel_stride * lch; in omap_dma_assign() 419 od->lch_map[lch] = c; in omap_dma_assign() 671 static int omap_dma_get_lch(struct omap_dmadev *od, int *lch) in omap_dma_get_lch() argument 683 *lch = channel; in omap_dma_get_lch() 689 *lch = -EINVAL; in omap_dma_get_lch() 694 static void omap_dma_put_lch(struct omap_dmadev *od, int lch) in omap_dma_put_lch() argument 696 omap_dma_clear_lch(od, lch); in omap_dma_put_lch() [all …]
|
/Linux-v6.1/drivers/staging/r8188eu/include/ |
D | wlan_bssdef.h | 319 u8 key_2char2num(u8 hch, u8 lch); 321 u8 str_2char2num(u8 hch, u8 lch);
|
/Linux-v6.1/drivers/staging/r8188eu/core/ |
D | rtw_ieee80211.c | 838 u8 str_2char2num(u8 hch, u8 lch) in str_2char2num() argument 840 return (key_char2num(hch) * 10) + key_char2num(lch); in str_2char2num() 843 u8 key_2char2num(u8 hch, u8 lch) in key_2char2num() argument 845 return (key_char2num(hch) << 4) | key_char2num(lch); in key_2char2num()
|