/linux-4.19.296/include/video/ |
D | vga.h | 218 static inline unsigned char vga_mm_r (void __iomem *regbase, unsigned short port) in vga_mm_r() argument 220 return readb (regbase + port); in vga_mm_r() 223 static inline void vga_mm_w (void __iomem *regbase, unsigned short port, unsigned char val) in vga_mm_w() argument 225 writeb (val, regbase + port); in vga_mm_w() 228 static inline void vga_mm_w_fast (void __iomem *regbase, unsigned short port, in vga_mm_w_fast() argument 231 writew (VGA_OUT16VAL (val, reg), regbase + port); in vga_mm_w_fast() 234 static inline unsigned char vga_r (void __iomem *regbase, unsigned short port) in vga_r() argument 236 if (regbase) in vga_r() 237 return vga_mm_r (regbase, port); in vga_r() 242 static inline void vga_w (void __iomem *regbase, unsigned short port, unsigned char val) in vga_w() argument [all …]
|
D | kyro.h | 16 void __iomem *regbase; member
|
/linux-4.19.296/include/linux/ |
D | svga.h | 71 static inline void svga_wattr(void __iomem *regbase, u8 index, u8 data) in svga_wattr() argument 73 vga_r(regbase, VGA_IS1_RC); in svga_wattr() 74 vga_w(regbase, VGA_ATT_IW, index); in svga_wattr() 75 vga_w(regbase, VGA_ATT_W, data); in svga_wattr() 80 static inline void svga_wseq_mask(void __iomem *regbase, u8 index, u8 data, u8 mask) in svga_wseq_mask() argument 82 vga_wseq(regbase, index, (data & mask) | (vga_rseq(regbase, index) & ~mask)); in svga_wseq_mask() 87 static inline void svga_wcrt_mask(void __iomem *regbase, u8 index, u8 data, u8 mask) in svga_wcrt_mask() argument 89 vga_wcrt(regbase, index, (data & mask) | (vga_rcrt(regbase, index) & ~mask)); in svga_wcrt_mask() 100 void svga_wcrt_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value); 101 void svga_wseq_multi(void __iomem *regbase, const struct vga_regset *regset, u32 value); [all …]
|
/linux-4.19.296/drivers/rtc/ |
D | rtc-sh.c | 100 void __iomem *regbase; member 117 tmp = readb(rtc->regbase + RCR1); in __sh_rtc_interrupt() 120 writeb(tmp, rtc->regbase + RCR1); in __sh_rtc_interrupt() 133 tmp = readb(rtc->regbase + RCR1); in __sh_rtc_alarm() 136 writeb(tmp, rtc->regbase + RCR1); in __sh_rtc_alarm() 148 tmp = readb(rtc->regbase + RCR2); in __sh_rtc_periodic() 151 writeb(tmp, rtc->regbase + RCR2); in __sh_rtc_periodic() 225 tmp = readb(rtc->regbase + RCR1); in sh_rtc_setaie() 232 writeb(tmp, rtc->regbase + RCR1); in sh_rtc_setaie() 242 tmp = readb(rtc->regbase + RCR1); in sh_rtc_proc() [all …]
|
D | rtc-vt8500.c | 81 void __iomem *regbase; member 96 isr = readl(vt8500_rtc->regbase + VT8500_RTC_IS); in vt8500_rtc_irq() 97 writel(isr, vt8500_rtc->regbase + VT8500_RTC_IS); in vt8500_rtc_irq() 114 date = readl(vt8500_rtc->regbase + VT8500_RTC_DR); in vt8500_rtc_read_time() 115 time = readl(vt8500_rtc->regbase + VT8500_RTC_TR); in vt8500_rtc_read_time() 143 vt8500_rtc->regbase + VT8500_RTC_DS); in vt8500_rtc_set_time() 148 vt8500_rtc->regbase + VT8500_RTC_TS); in vt8500_rtc_set_time() 158 alarm = readl(vt8500_rtc->regbase + VT8500_RTC_AS); in vt8500_rtc_read_alarm() 159 isr = readl(vt8500_rtc->regbase + VT8500_RTC_IS); in vt8500_rtc_read_alarm() 181 vt8500_rtc->regbase + VT8500_RTC_AS); in vt8500_rtc_set_alarm() [all …]
|
/linux-4.19.296/drivers/clk/uniphier/ |
D | clk-uniphier-cpugear.c | 30 unsigned int regbase; member 44 gear->regbase + UNIPHIER_CLK_CPUGEAR_SET, in uniphier_clk_cpugear_set_parent() 50 gear->regbase + UNIPHIER_CLK_CPUGEAR_UPD, in uniphier_clk_cpugear_set_parent() 57 gear->regbase + UNIPHIER_CLK_CPUGEAR_UPD, in uniphier_clk_cpugear_set_parent() 70 gear->regbase + UNIPHIER_CLK_CPUGEAR_STAT, &val); in uniphier_clk_cpugear_get_parent() 105 gear->regbase = data->regbase; in uniphier_clk_register_cpugear()
|
D | clk-uniphier.h | 37 unsigned int regbase; member 87 .regbase = (_regbase), \
|
/linux-4.19.296/drivers/gpio/ |
D | gpio-pxa.c | 69 void __iomem *regbase; member 168 return bank->regbase; in gpio_bank_base() 351 struct device_node *np, void __iomem *regbase) in pxa_init_gpio_chip() argument 382 bank->regbase = regbase + BANK_OFF(i); in pxa_init_gpio_chip() 395 grer = readl_relaxed(c->regbase + GRER_OFFSET) & ~c->irq_mask; in update_edge_detect() 396 gfer = readl_relaxed(c->regbase + GFER_OFFSET) & ~c->irq_mask; in update_edge_detect() 399 writel_relaxed(grer, c->regbase + GRER_OFFSET); in update_edge_detect() 400 writel_relaxed(gfer, c->regbase + GFER_OFFSET); in update_edge_detect() 423 gpdr = readl_relaxed(c->regbase + GPDR_OFFSET); in pxa_gpio_irq_type() 426 writel_relaxed(gpdr | mask, c->regbase + GPDR_OFFSET); in pxa_gpio_irq_type() [all …]
|
D | gpio-f7188x.c | 61 unsigned int regbase; member 154 .regbase = _regbase, \ 238 dir = superio_inb(sio->addr, gpio_dir(bank->regbase)); in f7188x_gpio_get_direction() 257 dir = superio_inb(sio->addr, gpio_dir(bank->regbase)); in f7188x_gpio_direction_in() 259 superio_outb(sio->addr, gpio_dir(bank->regbase), dir); in f7188x_gpio_direction_in() 278 dir = superio_inb(sio->addr, gpio_dir(bank->regbase)); in f7188x_gpio_get() 281 data = superio_inb(sio->addr, gpio_data_out(bank->regbase)); in f7188x_gpio_get() 283 data = superio_inb(sio->addr, gpio_data_in(bank->regbase)); in f7188x_gpio_get() 303 data_out = superio_inb(sio->addr, gpio_data_out(bank->regbase)); in f7188x_gpio_direction_out() 308 superio_outb(sio->addr, gpio_data_out(bank->regbase), data_out); in f7188x_gpio_direction_out() [all …]
|
/linux-4.19.296/drivers/clk/socfpga/ |
D | clk-gate-s10.c | 70 void __iomem *regbase, unsigned long gate_reg, in s10_register_gate() argument 84 socfpga_clk->hw.reg = regbase + gate_reg; in s10_register_gate() 93 socfpga_clk->div_reg = regbase + div_reg; in s10_register_gate() 101 socfpga_clk->bypass_reg = regbase + bypass_reg; in s10_register_gate()
|
D | clk-periph-s10.c | 110 void __iomem *regbase, unsigned long offset, in s10_register_cnt_periph() argument 123 periph_clk->hw.reg = regbase + offset; in s10_register_cnt_periph() 128 periph_clk->bypass_reg = regbase + bypass_reg; in s10_register_cnt_periph()
|
/linux-4.19.296/include/linux/platform_data/ |
D | mv_usb.h | 48 int (*phy_init)(void __iomem *regbase); 49 void (*phy_deinit)(void __iomem *regbase);
|
/linux-4.19.296/drivers/clk/at91/ |
D | sckc.c | 423 void __iomem *regbase = of_iomap(np, 0); in of_at91sam9x5_sckc_setup() local 425 if (!regbase) in of_at91sam9x5_sckc_setup() 433 clk_setup(childnp, regbase); in of_at91sam9x5_sckc_setup() 478 void __iomem *regbase = of_iomap(np, 0); in of_sama5d4_sckc_setup() local 487 if (!regbase) in of_sama5d4_sckc_setup() 511 osc->sckcr = regbase; in of_sama5d4_sckc_setup() 515 writel((readl(regbase) | AT91_SCKC_OSC32BYP), regbase); in of_sama5d4_sckc_setup() 524 hw = at91_clk_register_sam9x5_slow(regbase, "slowck", parent_names, 2); in of_sama5d4_sckc_setup()
|
/linux-4.19.296/include/sound/ |
D | soc.h | 334 {.regbase = xregbase, .regcount = xregcount, .nbits = xnbits, \ 1189 unsigned int regbase, regcount, nbits, invert; member
|