Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/rtc/
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-6.1.9/drivers/video/fbdev/
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-6.1.9/drivers/isdn/hardware/mISDN/
Davmfritz.c123 u8 ctrlreg; member
324 fc->ctrlreg |= AVM_STATUS0_ENA_IRQ; in enable_hwirq()
325 outb(fc->ctrlreg, fc->addr + 2); in enable_hwirq()
331 fc->ctrlreg &= ~AVM_STATUS0_ENA_IRQ; in disable_hwirq()
332 outb(fc->ctrlreg, fc->addr + 2); in disable_hwirq()
671 outb(fc->ctrlreg | AVM_STATUS0_RES_TIMER, fc->addr + 2); in avm_fritzv2_interrupt()
673 outb(fc->ctrlreg, fc->addr + 2); in avm_fritzv2_interrupt()
747 fc->ctrlreg = AVM_STATUS0_RESET | AVM_STATUS0_DIS_TIMER; in reset_avm()
750 fc->ctrlreg = AVM_STATUS0_RESET; in reset_avm()
759 fc->ctrlreg = AVM_STATUS0_DIS_TIMER | AVM_STATUS0_RES_TIMER; in reset_avm()
[all …]
Dnetjet.c79 u8 ctrlreg; member
281 card->ctrlreg = 0x40; /* Reset Off and status read clear */ in nj_reset()
283 card->ctrlreg = 0x00; /* Reset Off and status read clear */ in nj_reset()
284 outb(card->ctrlreg, card->base + NJ_CTRL); in nj_reset()
/linux-6.1.9/drivers/bus/
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-6.1.9/arch/x86/include/asm/xen/
Dinterface.h235 unsigned long ctrlreg[8]; /* CR0-CR7 (control registers) */ member
/linux-6.1.9/drivers/phy/st/
Dphy-miphy28lp.c1164 u32 ctrlreg; in miphy28lp_of_probe() local
1184 if (!of_property_read_u32_index(np, "st,syscfg", i, &ctrlreg)) in miphy28lp_of_probe()
1185 miphy_phy->syscfg_reg[i] = ctrlreg; in miphy28lp_of_probe()
/linux-6.1.9/arch/x86/xen/
Dsmp_pv.c311 ctxt->ctrlreg[3] = xen_pfn_to_cr3(virt_to_gfn(swapper_pg_dir)); in cpu_initialize_context()