/openbmc/linux/drivers/s390/block/ |
H A D | dasd_ioctl.c | 47 struct dasd_device *base; in dasd_ioctl_enable() local 68 struct dasd_device *base; in dasd_ioctl_disable() local 100 struct dasd_device *base; in dasd_ioctl_quiesce() local 121 struct dasd_device *base; in dasd_ioctl_resume() local 144 struct dasd_device *base; in dasd_ioctl_abortio() local 179 struct dasd_device *base; in dasd_ioctl_allowio() local 200 struct dasd_device *base; in dasd_format() local 238 struct dasd_device *base; in dasd_check_format() local 258 struct dasd_device *base; in dasd_ioctl_format() local 296 struct dasd_device *base; in dasd_ioctl_check_format() local [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bar/ |
H A D | nv50.c | 32 nv50_bar_flush(struct nvkm_bar *base) in nv50_bar_flush() 47 nv50_bar_bar1_vmm(struct nvkm_bar *base) in nv50_bar_bar1_vmm() 53 nv50_bar_bar1_wait(struct nvkm_bar *base) in nv50_bar_bar1_wait() 65 nv50_bar_bar1_init(struct nvkm_bar *base) in nv50_bar_bar1_init() 73 nv50_bar_bar2_vmm(struct nvkm_bar *base) in nv50_bar_bar2_vmm() 85 nv50_bar_bar2_init(struct nvkm_bar *base) in nv50_bar_bar2_init() 95 nv50_bar_init(struct nvkm_bar *base) in nv50_bar_init() 106 nv50_bar_oneinit(struct nvkm_bar *base) in nv50_bar_oneinit() 204 nv50_bar_dtor(struct nvkm_bar *base) in nv50_bar_dtor()
|
/openbmc/u-boot/drivers/bios_emulator/ |
H A D | biosemui.h | 67 #define readb_le(base) *((u8*)(base)) argument 68 #define readw_le(base) ((u16)readb_le(base) | ((u16)readb_le((base) + 1) << 8)) argument 69 #define readl_le(base) ((u32)readb_le((base) + 0) | ((u32)readb_le((base) + 1) << 8) | \ argument 71 #define writeb_le(base, v) *((u8*)(base)) = (v) argument 72 #define writew_le(base, v) writeb_le(base + 0, (v >> 0) & 0xff), \ argument 74 #define writel_le(base, v) writeb_le(base + 0, (v >> 0) & 0xff), \ argument 79 #define readb_le(base) *((u8*)(base)) argument 80 #define readw_le(base) *((u16*)(base)) argument 81 #define readl_le(base) *((u32*)(base)) argument 82 #define writeb_le(base, v) *((u8*)(base)) = (v) argument [all …]
|
/openbmc/u-boot/arch/arm/mach-omap2/ |
H A D | emif-common.c | 23 void set_lpmode_selfrefresh(u32 base) in set_lpmode_selfrefresh() 45 inline u32 emif_num(u32 base) in emif_num() 55 static inline u32 get_mr(u32 base, u32 cs, u32 mr_addr) in get_mr() 76 static inline void set_mr(u32 base, u32 cs, u32 mr_addr, u32 mr_val) in set_mr() 85 void emif_reset_phy(u32 base) in emif_reset_phy() 95 static void do_lpddr2_init(u32 base, u32 cs) in do_lpddr2_init() 126 static void lpddr2_init(u32 base, const struct emif_regs *regs) in lpddr2_init() 160 __weak void do_ext_phy_settings(u32 base, const struct emif_regs *regs) in do_ext_phy_settings() 164 void emif_update_timings(u32 base, const struct emif_regs *regs) in emif_update_timings() 201 static void omap5_ddr3_leveling(u32 base, const struct emif_regs *regs) in omap5_ddr3_leveling() [all …]
|
/openbmc/linux/arch/mips/alchemy/common/ |
H A D | usb.c | 98 static inline void __au1300_usb_phyctl(void __iomem *base, int enable) in __au1300_usb_phyctl() 123 static inline void __au1300_ohci_control(void __iomem *base, int enable, int id) in __au1300_ohci_control() 163 static inline void __au1300_ehci_control(void __iomem *base, int enable) in __au1300_ehci_control() 204 static inline void __au1300_udc_control(void __iomem *base, int enable) in __au1300_udc_control() 235 static inline void __au1300_otg_control(void __iomem *base, int enable) in __au1300_otg_control() 267 void __iomem *base = in au1300_usb_control() local 295 void __iomem *base = in au1300_usb_init() local 316 static inline void __au1200_ohci_control(void __iomem *base, int enable) in __au1200_ohci_control() 330 static inline void __au1200_ehci_control(void __iomem *base, int enable) in __au1200_ehci_control() 346 static inline void __au1200_udc_control(void __iomem *base, int enable) in __au1200_udc_control() [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | myrb.c | 165 void __iomem *base = cb->io_base; in myrb_qcmd() local 808 void __iomem *base = cb->io_base; in myrb_enable_mmio() local 2517 static inline void DAC960_LA_hw_mbox_new_cmd(void __iomem *base) in DAC960_LA_hw_mbox_new_cmd() 2522 static inline void DAC960_LA_ack_hw_mbox_status(void __iomem *base) in DAC960_LA_ack_hw_mbox_status() 2527 static inline void DAC960_LA_reset_ctrl(void __iomem *base) in DAC960_LA_reset_ctrl() 2532 static inline void DAC960_LA_mem_mbox_new_cmd(void __iomem *base) in DAC960_LA_mem_mbox_new_cmd() 2537 static inline bool DAC960_LA_hw_mbox_is_full(void __iomem *base) in DAC960_LA_hw_mbox_is_full() 2544 static inline bool DAC960_LA_init_in_progress(void __iomem *base) in DAC960_LA_init_in_progress() 2551 static inline void DAC960_LA_ack_hw_mbox_intr(void __iomem *base) in DAC960_LA_ack_hw_mbox_intr() 2556 static inline void DAC960_LA_ack_intr(void __iomem *base) in DAC960_LA_ack_intr() [all …]
|
H A D | myrs.c | 106 void __iomem *base = cs->io_base; in myrs_qcmd() local 484 void __iomem *base = cs->io_base; in myrs_enable_mmio_mbox() local 2398 static inline void DAC960_GEM_hw_mbox_new_cmd(void __iomem *base) in DAC960_GEM_hw_mbox_new_cmd() 2405 static inline void DAC960_GEM_ack_hw_mbox_status(void __iomem *base) in DAC960_GEM_ack_hw_mbox_status() 2412 static inline void DAC960_GEM_reset_ctrl(void __iomem *base) in DAC960_GEM_reset_ctrl() 2419 static inline void DAC960_GEM_mem_mbox_new_cmd(void __iomem *base) in DAC960_GEM_mem_mbox_new_cmd() 2426 static inline bool DAC960_GEM_hw_mbox_is_full(void __iomem *base) in DAC960_GEM_hw_mbox_is_full() 2434 static inline bool DAC960_GEM_init_in_progress(void __iomem *base) in DAC960_GEM_init_in_progress() 2442 static inline void DAC960_GEM_ack_hw_mbox_intr(void __iomem *base) in DAC960_GEM_ack_hw_mbox_intr() 2449 static inline void DAC960_GEM_ack_intr(void __iomem *base) in DAC960_GEM_ack_intr() [all …]
|
/openbmc/u-boot/drivers/serial/ |
H A D | serial_mvebu_a3700.c | 12 void __iomem *base; member 36 void __iomem *base = plat->base; in mvebu_serial_putc() local 49 void __iomem *base = plat->base; in mvebu_serial_getc() local 60 void __iomem *base = plat->base; in mvebu_serial_pending() local 71 void __iomem *base = plat->base; in mvebu_serial_setbrg() local 91 void __iomem *base = plat->base; in mvebu_serial_probe() local 140 void __iomem *base = (void __iomem *)CONFIG_DEBUG_UART_BASE; in _debug_uart_init() local 164 void __iomem *base = (void __iomem *)CONFIG_DEBUG_UART_BASE; in _debug_uart_putc() local
|
/openbmc/linux/arch/arm/plat-orion/ |
H A D | pcie.c | 55 u32 orion_pcie_dev_id(void __iomem *base) in orion_pcie_dev_id() 60 u32 orion_pcie_rev(void __iomem *base) in orion_pcie_rev() 65 int orion_pcie_link_up(void __iomem *base) in orion_pcie_link_up() 70 int __init orion_pcie_x4_mode(void __iomem *base) in orion_pcie_x4_mode() 75 int orion_pcie_get_local_bus_nr(void __iomem *base) in orion_pcie_get_local_bus_nr() 82 void __init orion_pcie_set_local_bus_nr(void __iomem *base, int nr) in orion_pcie_set_local_bus_nr() 92 void __init orion_pcie_reset(void __iomem *base) in orion_pcie_reset() 123 static void __init orion_pcie_setup_wins(void __iomem *base) in orion_pcie_setup_wins() 181 void __init orion_pcie_setup(void __iomem *base) in orion_pcie_setup() 208 int orion_pcie_rd_conf(void __iomem *base, struct pci_bus *bus, in orion_pcie_rd_conf() [all …]
|
/openbmc/linux/drivers/clocksource/ |
H A D | timer-gx6605s.c | 28 void __iomem *base = timer_of_base(to_timer_of(ce)); in gx6605s_timer_interrupt() local 40 void __iomem *base = timer_of_base(to_timer_of(ce)); in gx6605s_timer_set_oneshot() local 55 void __iomem *base = timer_of_base(to_timer_of(ce)); in gx6605s_timer_set_next_event() local 69 void __iomem *base = timer_of_base(to_timer_of(ce)); in gx6605s_timer_shutdown() local 96 void __iomem *base; in gx6605s_sched_clock_read() local 103 static void gx6605s_clkevt_init(void __iomem *base) in gx6605s_clkevt_init() 112 static int gx6605s_clksrc_init(void __iomem *base) in gx6605s_clksrc_init()
|
H A D | timer-goldfish.c | 16 void __iomem *base; member 32 void __iomem *base = timerdrv->base; in goldfish_timer_read() local 51 void __iomem *base = timerdrv->base; in goldfish_timer_set_oneshot() local 63 void __iomem *base = timerdrv->base; in goldfish_timer_shutdown() local 74 void __iomem *base = timerdrv->base; in goldfish_timer_next_event() local 91 void __iomem *base = timerdrv->base; in goldfish_timer_irq() local 100 int __init goldfish_timer_init(int irq, void __iomem *base) in goldfish_timer_init()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | fpu.S | 28 .macro sc_save_fp base argument 63 .macro sc_restore_fp base argument 155 .macro sc_save_lsx base argument 192 .macro sc_restore_lsx base argument 229 .macro sc_save_lasx base argument 266 .macro sc_restore_lasx base argument
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | tm.S | 20 #define __SAVE_32FPRS_VSRS(n,c,base) \ argument 28 #define __REST_32FPRS_VSRS(n,c,base) \ argument 37 #define __SAVE_32FPRS_VSRS(n,c,base) SAVE_32FPRS(n, base) argument 38 #define __REST_32FPRS_VSRS(n,c,base) REST_32FPRS(n, base) argument 40 #define SAVE_32FPRS_VSRS(n,c,base) \ argument 42 #define REST_32FPRS_VSRS(n,c,base) \ argument
|
/openbmc/linux/drivers/char/hw_random/ |
H A D | histb-rng.c | 26 void __iomem *base; member 34 static int histb_rng_wait(void __iomem *base) in histb_rng_wait() 42 static void histb_rng_init(void __iomem *base, unsigned int depth) in histb_rng_init() 63 void __iomem *base = priv->base; in histb_rng_read() local 81 static unsigned int histb_rng_get_depth(void __iomem *base) in histb_rng_get_depth() 90 void __iomem *base = priv->base; in depth_show() local 100 void __iomem *base = priv->base; in depth_store() local 123 void __iomem *base; in histb_rng_probe() local
|
/openbmc/linux/drivers/block/ |
H A D | swim.c | 63 #define swim_write(base, reg, v) out_8(&(base)->write_##reg, (v)) argument 64 #define swim_read(base, reg) in_8(&(base)->read_##reg) argument 87 #define iwm_write(base, reg, v) out_8(&(base)->reg, (v)) argument 88 #define iwm_read(base, reg) in_8(&(base)->reg) argument 211 struct swim __iomem *base; member 223 static inline void set_swim_mode(struct swim __iomem *base, int enable) in set_swim_mode() 248 static inline int get_swim_mode(struct swim __iomem *base) in get_swim_mode() 270 static inline void swim_select(struct swim __iomem *base, int sel) in swim_select() 279 static inline void swim_action(struct swim __iomem *base, int action) in swim_action() 295 static inline int swim_readbit(struct swim __iomem *base, int bit) in swim_readbit() [all …]
|
/openbmc/u-boot/board/micronas/vct/vcth/ |
H A D | reg_usbh.h | 11 #define USBH_CAPLENGTH(base) ((base) + USBH_CAPLENGTH_OFFS) argument 13 #define USBH_USBCMD(base) ((base) + USBH_USBCMD_OFFS) argument 15 #define USBH_BURSTSIZE(base) ((base) + USBH_BURSTSIZE_OFFS) argument 17 #define USBH_USBMODE(base) ((base) + USBH_USBMODE_OFFS) argument 19 #define USBH_USBHMISC(base) ((base) + USBH_USBHMISC_OFFS) argument
|
H A D | reg_dcgu.h | 11 #define DCGU_CLK_EN1(base) ((base) + DCGU_CLK_EN1_OFFS) argument 13 #define DCGU_CLK_EN2(base) ((base) + DCGU_CLK_EN2_OFFS) argument 15 #define DCGU_RESET_UNIT1(base) ((base) + DCGU_RESET_UNIT1_OFFS) argument 17 #define DCGU_USBPHY_STAT(base) ((base) + DCGU_USBPHY_STAT_OFFS) argument 19 #define DCGU_EN_WDT_RESET(base) ((base) + DCGU_EN_WDT_RESET_OFFS) argument
|
/openbmc/u-boot/lib/ |
H A D | strto.c | 17 static const char *_parse_integer_fixup_radix(const char *s, unsigned int *base) in _parse_integer_fixup_radix() 34 unsigned int base) in simple_strtoul() 53 int strict_strtoul(const char *cp, unsigned int base, unsigned long *res) in strict_strtoul() 77 long simple_strtol(const char *cp, char **endp, unsigned int base) in simple_strtol() 85 unsigned long ustrtoul(const char *cp, char **endp, unsigned int base) in ustrtoul() 106 unsigned long long ustrtoull(const char *cp, char **endp, unsigned int base) in ustrtoull() 128 unsigned int base) in simple_strtoull()
|
/openbmc/linux/drivers/watchdog/ |
H A D | nv_tco.h | 30 #define TCO_RLD(base) ((base) + 0x00) /* TCO Timer Reload and Current Value */ argument 31 #define TCO_TMR(base) ((base) + 0x01) /* TCO Timer Initial Value */ argument 33 #define TCO_STS(base) ((base) + 0x04) /* TCO Status Register */ argument 49 #define TCO_CNT(base) ((base) + 0x08) /* TCO Control Register */ argument 59 #define MCP51_SMI_EN(base) ((base) - 0x40 + 0x04) argument
|
/openbmc/linux/drivers/gpu/drm/hisilicon/kirin/ |
H A D | kirin_drm_ade.c | 43 void __iomem *base; member 94 static void ade_update_reload_bit(void __iomem *base, u32 bit_num, u32 val) in ade_update_reload_bit() 105 static u32 ade_read_reload_bit(void __iomem *base, u32 bit_num) in ade_read_reload_bit() 118 void __iomem *base = ctx->base; in ade_init() local 174 void __iomem *base = ctx->base; in ade_ldi_set_mode() local 248 void __iomem *base = ctx->base; in ade_power_down() local 279 void __iomem *base = ctx->base; in ade_crtc_enable_vblank() local 294 void __iomem *base = ctx->base; in ade_crtc_disable_vblank() local 309 void __iomem *base = ctx->base; in ade_irq_handler() local 327 void __iomem *base = ctx->base; in ade_display_enable() local [all …]
|
/openbmc/u-boot/drivers/i2c/ |
H A D | fsl_i2c.c | 119 static uint set_i2c_bus_speed(const struct fsl_i2c_base *base, in set_i2c_bus_speed() 212 static int fsl_i2c_fixup(const struct fsl_i2c_base *base) in fsl_i2c_fixup() 260 static void __i2c_init(const struct fsl_i2c_base *base, int speed, int in __i2c_init() 293 static int i2c_wait4bus(const struct fsl_i2c_base *base) in i2c_wait4bus() 306 static int i2c_wait(const struct fsl_i2c_base *base, int write) in i2c_wait() 343 static int i2c_write_addr(const struct fsl_i2c_base *base, u8 dev, in i2c_write_addr() 358 static int __i2c_write_data(const struct fsl_i2c_base *base, u8 *data, in __i2c_write_data() 373 static int __i2c_read_data(const struct fsl_i2c_base *base, u8 *data, in __i2c_read_data() 404 static int __i2c_read(const struct fsl_i2c_base *base, u8 chip_addr, u8 *offset, in __i2c_read() 451 static int __i2c_write(const struct fsl_i2c_base *base, u8 chip_addr, in __i2c_write() [all …]
|
/openbmc/linux/drivers/gpu/drm/sun4i/ |
H A D | sun8i_mixer.h | 38 #define SUN8I_MIXER_BLEND_PIPE_CTL(base) ((base) + 0) argument 39 #define SUN8I_MIXER_BLEND_ATTR_FCOLOR(base, x) ((base) + 0x4 + 0x10 * (x)) argument 40 #define SUN8I_MIXER_BLEND_ATTR_INSIZE(base, x) ((base) + 0x8 + 0x10 * (x)) argument 41 #define SUN8I_MIXER_BLEND_ATTR_COORD(base, x) ((base) + 0xc + 0x10 * (x)) argument 42 #define SUN8I_MIXER_BLEND_ROUTE(base) ((base) + 0x80) argument 43 #define SUN8I_MIXER_BLEND_PREMULTIPLY(base) ((base) + 0x84) argument 44 #define SUN8I_MIXER_BLEND_BKCOLOR(base) ((base) + 0x88) argument 45 #define SUN8I_MIXER_BLEND_OUTSIZE(base) ((base) + 0x8c) argument 46 #define SUN8I_MIXER_BLEND_MODE(base, x) ((base) + 0x90 + 0x04 * (x)) argument 47 #define SUN8I_MIXER_BLEND_CK_CTL(base) ((base) + 0xb0) argument [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_perf_oa_regs.h | 100 #define GEN12_OACTXCONTROL(base) _MMIO((base) + 0x360) argument 172 #define GEN12_OAM_MMIO_TRG(base) \ argument 175 #define GEN12_OAM_HEAD_POINTER(base) \ argument 177 #define GEN12_OAM_TAIL_POINTER(base) \ argument 179 #define GEN12_OAM_BUFFER(base) \ argument 181 #define GEN12_OAM_CONTEXT_CONTROL(base) \ argument 183 #define GEN12_OAM_CONTROL(base) \ argument 185 #define GEN12_OAM_DEBUG(base) \ argument 187 #define GEN12_OAM_STATUS(base) \ argument 192 #define GEN12_OAM_CEC0_0(base) \ argument [all …]
|
/openbmc/linux/drivers/fpga/ |
H A D | dfl-fme-error.c | 46 void __iomem *base; in pcie0_errors_show() local 63 void __iomem *base; in pcie0_errors_store() local 91 void __iomem *base; in pcie1_errors_show() local 108 void __iomem *base; in pcie1_errors_store() local 135 void __iomem *base; in nonfatal_errors_show() local 147 void __iomem *base; in catfatal_errors_show() local 160 void __iomem *base; in inject_errors_show() local 178 void __iomem *base; in inject_errors_store() local 205 void __iomem *base; in fme_errors_show() local 222 void __iomem *base; in fme_errors_store() local [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-winbond.c | 131 unsigned long base; member 142 static int winbond_sio_enter(unsigned long base) in winbond_sio_enter() 157 static void winbond_sio_select_logical(unsigned long base, u8 dev) in winbond_sio_select_logical() 163 static void winbond_sio_leave(unsigned long base) in winbond_sio_leave() 170 static void winbond_sio_reg_write(unsigned long base, u8 reg, u8 data) in winbond_sio_reg_write() 176 static u8 winbond_sio_reg_read(unsigned long base, u8 reg) in winbond_sio_reg_read() 182 static void winbond_sio_reg_bset(unsigned long base, u8 reg, u8 bit) in winbond_sio_reg_bset() 191 static void winbond_sio_reg_bclear(unsigned long base, u8 reg, u8 bit) in winbond_sio_reg_bclear() 200 static bool winbond_sio_reg_btest(unsigned long base, u8 reg, u8 bit) in winbond_sio_reg_btest() 385 unsigned long *base = gpiochip_get_data(gc); in winbond_gpio_get() local [all …]
|