Home
last modified time | relevance | path

Searched refs:soc_writel (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.10/arch/c6x/platforms/
Dtimer64.c81 soc_writel(tcr, &timer->tcr); in timer64_config()
82 soc_writel(period - 1, &timer->prdlo); in timer64_config()
83 soc_writel(0, &timer->cntlo); in timer64_config()
85 soc_writel(tcr, &timer->tcr); in timer64_config()
96 soc_writel(soc_readl(&timer->tcr) & ~TCR_ENAMODELO_MASK, &timer->tcr); in timer64_enable()
97 soc_writel(0, &timer->prdlo); in timer64_enable()
101 soc_writel(val & ~(TCR_CLKSRCLO | TCR_PWIDLO_MASK), &timer->tcr); in timer64_enable()
105 soc_writel(val, &timer->tgcr); in timer64_enable()
106 soc_writel(val | (TGCR_TIMLORS | TGCR_TIMMODE_UD32), &timer->tgcr); in timer64_enable()
112 soc_writel(soc_readl(&timer->tcr) & ~TCR_ENAMODELO_MASK, &timer->tcr); in timer64_disable()
[all …]
Dmegamod-pic.c72 soc_writel(soc_readl(evtmask) | (1 << (src & 31)), evtmask); in mask_megamod()
83 soc_writel(soc_readl(evtmask) & ~(1 << (src & 31)), evtmask); in unmask_megamod()
111 soc_writel(1 << n, &pic->regs->evtclr[idx]); in megamod_irq_cascade()
159 soc_writel(val, &pic->regs->intmux[index]); in set_megamod_mux()
280 soc_writel(~0, &pic->regs->evtmask[i]); in init_megamod_pic()
281 soc_writel(~0, &pic->regs->evtclr[i]); in init_megamod_pic()
317 soc_writel(1 << bit, &mm_pic->regs->evtclr[i]); in get_exception()
326 soc_writel(val, &mm_pic->regs->evtasrt); in assert_event()
Demif.c69 soc_writel(be32_to_cpup(&p[i]), &regs->cecfg[i]); in c6x_emifa_init()
74 soc_writel(val, &regs->bprio); in c6x_emifa_init()
78 soc_writel(val, &regs->awcc); in c6x_emifa_init()
Ddscr.c152 soc_writel(0, lock_addr); in dscr_write_locked1()
162 soc_writel(key0, dscr.base + lock0); in dscr_write_locked2()
163 soc_writel(key1, dscr.base + lock1); in dscr_write_locked2()
164 soc_writel(val, dscr.base + reg); in dscr_write_locked2()
165 soc_writel(0, dscr.base + lock0); in dscr_write_locked2()
166 soc_writel(0, dscr.base + lock1); in dscr_write_locked2()
180 soc_writel(val, dscr.base + reg); in dscr_write()
Dcache.c112 soc_writel((value), cache_base + (reg)); \
/Linux-v5.10/arch/c6x/include/asm/
Dsoc.h33 #define soc_writel(b, addr) __raw_writel((b), (addr)) macro