Home
last modified time | relevance | path

Searched refs:ch (Results 1 – 3 of 3) sorted by relevance

/bootable/bootloader/legacy/include/msm7k/
Ddmov.h36 #define DMOV_SD0(off, ch) (MSM_DMOV_BASE + 0x0000 + (off) + ((ch) << 2)) argument
37 #define DMOV_SD1(off, ch) (MSM_DMOV_BASE + 0x0400 + (off) + ((ch) << 2)) argument
38 #define DMOV_SD2(off, ch) (MSM_DMOV_BASE + 0x0800 + (off) + ((ch) << 2)) argument
39 #define DMOV_SD3(off, ch) (MSM_DMOV_BASE + 0x0C00 + (off) + ((ch) << 2)) argument
47 #define DMOV_CMD_PTR(ch) DMOV_SD3(0x000, ch) argument
54 #define DMOV_RSLT(ch) DMOV_SD3(0x040, ch) argument
61 #define DMOV_FLUSH0(ch) DMOV_SD3(0x080, ch) argument
62 #define DMOV_FLUSH1(ch) DMOV_SD3(0x0C0, ch) argument
63 #define DMOV_FLUSH2(ch) DMOV_SD3(0x100, ch) argument
64 #define DMOV_FLUSH3(ch) DMOV_SD3(0x140, ch) argument
[all …]
/bootable/bootloader/legacy/arch_msm7k/
Dnand.c47 static void dmov_prep_ch(dmov_ch *ch, unsigned id) in dmov_prep_ch() argument
49 ch->cmd = DMOV_CMD_PTR(id); in dmov_prep_ch()
50 ch->result = DMOV_RSLT(id); in dmov_prep_ch()
51 ch->status = DMOV_STATUS(id); in dmov_prep_ch()
52 ch->config = DMOV_CONFIG(id); in dmov_prep_ch()
68 dmov_ch ch; in dmov_exec_cmdptr() local
71 dmov_prep_ch(&ch, id); in dmov_exec_cmdptr()
73 writel(DMOV_CMD_PTR_LIST | DMOV_CMD_ADDR(paddr(ptr)), ch.cmd); in dmov_exec_cmdptr()
75 while(!(readl(ch.status) & DMOV_STATUS_RSLT_VALID)) ; in dmov_exec_cmdptr()
77 n = readl(ch.status); in dmov_exec_cmdptr()
[all …]
/bootable/bootloader/legacy/include/boot/
Dboot.h128 void jtag_dputc(unsigned ch);