Home
last modified time | relevance | path

Searched refs:ctrlreg (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/rtc/
H A Drtc-rx8010.c67 u8 ctrlreg; member
220 rx8010->ctrlreg = (ctrl[1] & ~RX8010_CTRL_TEST); in rx8010_init()
246 t->enabled = !!(rx8010->ctrlreg & RX8010_CTRL_AIE); in rx8010_read_alarm()
258 if (rx8010->ctrlreg & (RX8010_CTRL_AIE | RX8010_CTRL_UIE)) { in rx8010_set_alarm()
259 rx8010->ctrlreg &= ~(RX8010_CTRL_AIE | RX8010_CTRL_UIE); in rx8010_set_alarm()
260 err = regmap_write(rx8010->regs, RX8010_CTRL, rx8010->ctrlreg); in rx8010_set_alarm()
290 rx8010->ctrlreg |= RX8010_CTRL_UIE; in rx8010_set_alarm()
292 rx8010->ctrlreg |= in rx8010_set_alarm()
295 err = regmap_write(rx8010->regs, RX8010_CTRL, rx8010->ctrlreg); in rx8010_set_alarm()
310 ctrl = rx8010->ctrlreg; in rx8010_alarm_irq_enable()
[all …]
/linux/drivers/video/fbdev/
H A Dgxt4500.c381 u32 ctrlreg, tmp; in gxt4500_set_par() local
395 ctrlreg = readreg(par, DTG_CONTROL); in gxt4500_set_par()
396 ctrlreg &= ~(DTG_CTL_ENABLE | DTG_CTL_SCREEN_REFRESH); in gxt4500_set_par()
397 writereg(par, DTG_CONTROL, ctrlreg); in gxt4500_set_par()
450 ctrlreg |= DTG_CTL_ENABLE | DTG_CTL_SCREEN_REFRESH; in gxt4500_set_par()
451 writereg(par, DTG_CONTROL, ctrlreg); in gxt4500_set_par()
495 ctrlreg = readreg(par, SYNC_CTL) & in gxt4500_set_par()
499 ctrlreg |= SYNC_CTL_SYNC_ON_RGB; in gxt4500_set_par()
501 ctrlreg |= SYNC_CTL_HSYNC_INV; in gxt4500_set_par()
503 ctrlreg |= SYNC_CTL_VSYNC_INV; in gxt4500_set_par()
[all …]
/linux/drivers/isdn/hardware/mISDN/
H A Davmfritz.c123 u8 ctrlreg; member
325 fc->ctrlreg |= AVM_STATUS0_ENA_IRQ; in enable_hwirq()
326 outb(fc->ctrlreg, fc->addr + 2); in enable_hwirq()
332 fc->ctrlreg &= ~AVM_STATUS0_ENA_IRQ; in disable_hwirq()
333 outb(fc->ctrlreg, fc->addr + 2); in disable_hwirq()
672 outb(fc->ctrlreg | AVM_STATUS0_RES_TIMER, fc->addr + 2); in avm_fritzv2_interrupt()
674 outb(fc->ctrlreg, fc->addr + 2); in avm_fritzv2_interrupt()
748 fc->ctrlreg = AVM_STATUS0_RESET | AVM_STATUS0_DIS_TIMER; in reset_avm()
751 fc->ctrlreg = AVM_STATUS0_RESET; in reset_avm()
760 fc->ctrlreg = AVM_STATUS0_DIS_TIMER | AVM_STATUS0_RES_TIMER; in reset_avm()
[all …]
H A Dnetjet.c79 u8 ctrlreg; member
282 card->ctrlreg = 0x40; /* Reset Off and status read clear */ in nj_reset()
284 card->ctrlreg = 0x00; /* Reset Off and status read clear */ in nj_reset()
285 outb(card->ctrlreg, card->base + NJ_CTRL); in nj_reset()
/linux/drivers/bus/
H A Dmvebu-mbus.c205 u32 ctrlreg = readl(addr + WIN_CTRL_OFF); in mvebu_mbus_read_window() local
207 if (!(ctrlreg & WIN_CTRL_ENABLE)) { in mvebu_mbus_read_window()
215 *size = (ctrlreg | ~WIN_CTRL_SIZE_MASK) + 1; in mvebu_mbus_read_window()
218 *target = (ctrlreg & WIN_CTRL_TGT_MASK) >> WIN_CTRL_TGT_SHIFT; in mvebu_mbus_read_window()
221 *attr = (ctrlreg & WIN_CTRL_ATTR_MASK) >> WIN_CTRL_ATTR_SHIFT; in mvebu_mbus_read_window()
/linux/arch/x86/include/asm/xen/
H A Dinterface.h235 unsigned long ctrlreg[8]; /* CR0-CR7 (control registers) */ member
/linux/drivers/phy/st/
H A Dphy-miphy28lp.c1137 u32 ctrlreg; in miphy28lp_of_probe() local
1157 if (!of_property_read_u32_index(np, "st,syscfg", i, &ctrlreg)) in miphy28lp_of_probe()
1158 miphy_phy->syscfg_reg[i] = ctrlreg; in miphy28lp_of_probe()
/linux/arch/x86/xen/
H A Dsmp_pv.c282 ctxt->ctrlreg[3] = xen_pfn_to_cr3(virt_to_gfn(swapper_pg_dir)); in cpu_initialize_context()