Searched refs:soc_writel (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/arch/c6x/platforms/ |
D | timer64.c | 84 soc_writel(tcr, &timer->tcr); in timer64_config() 85 soc_writel(period - 1, &timer->prdlo); in timer64_config() 86 soc_writel(0, &timer->cntlo); in timer64_config() 88 soc_writel(tcr, &timer->tcr); in timer64_config() 99 soc_writel(soc_readl(&timer->tcr) & ~TCR_ENAMODELO_MASK, &timer->tcr); in timer64_enable() 100 soc_writel(0, &timer->prdlo); in timer64_enable() 104 soc_writel(val & ~(TCR_CLKSRCLO | TCR_PWIDLO_MASK), &timer->tcr); in timer64_enable() 108 soc_writel(val, &timer->tgcr); in timer64_enable() 109 soc_writel(val | (TGCR_TIMLORS | TGCR_TIMMODE_UD32), &timer->tgcr); in timer64_enable() 115 soc_writel(soc_readl(&timer->tcr) & ~TCR_ENAMODELO_MASK, &timer->tcr); in timer64_disable() [all …]
|
D | megamod-pic.c | 75 soc_writel(soc_readl(evtmask) | (1 << (src & 31)), evtmask); in mask_megamod() 86 soc_writel(soc_readl(evtmask) & ~(1 << (src & 31)), evtmask); in unmask_megamod() 114 soc_writel(1 << n, &pic->regs->evtclr[idx]); in megamod_irq_cascade() 162 soc_writel(val, &pic->regs->intmux[index]); in set_megamod_mux() 283 soc_writel(~0, &pic->regs->evtmask[i]); in init_megamod_pic() 284 soc_writel(~0, &pic->regs->evtclr[i]); in init_megamod_pic() 320 soc_writel(1 << bit, &mm_pic->regs->evtclr[i]); in get_exception() 329 soc_writel(val, &mm_pic->regs->evtasrt); in assert_event()
|
D | emif.c | 72 soc_writel(be32_to_cpup(&p[i]), ®s->cecfg[i]); in c6x_emifa_init() 77 soc_writel(val, ®s->bprio); in c6x_emifa_init() 81 soc_writel(val, ®s->awcc); in c6x_emifa_init()
|
D | dscr.c | 155 soc_writel(0, lock_addr); in dscr_write_locked1() 165 soc_writel(key0, dscr.base + lock0); in dscr_write_locked2() 166 soc_writel(key1, dscr.base + lock1); in dscr_write_locked2() 167 soc_writel(val, dscr.base + reg); in dscr_write_locked2() 168 soc_writel(0, dscr.base + lock0); in dscr_write_locked2() 169 soc_writel(0, dscr.base + lock1); in dscr_write_locked2() 183 soc_writel(val, dscr.base + reg); in dscr_write()
|
D | cache.c | 115 soc_writel((value), cache_base + (reg)); \
|
/Linux-v4.19/arch/c6x/include/asm/ |
D | soc.h | 33 #define soc_writel(b, addr) __raw_writel((b), (addr)) macro
|