| /OK3568_Linux_fs/kernel/drivers/s390/block/ |
| H A D | dasd_ioctl.c | 47 struct dasd_device *base; in dasd_ioctl_enable() local 70 struct dasd_device *base; in dasd_ioctl_disable() local 102 struct dasd_device *base; in dasd_ioctl_quiesce() local 123 struct dasd_device *base; in dasd_ioctl_resume() local 145 struct dasd_device *base; in dasd_ioctl_abortio() local 180 struct dasd_device *base; in dasd_ioctl_allowio() local 201 struct dasd_device *base; in dasd_format() local 240 struct dasd_device *base; in dasd_check_format() local 260 struct dasd_device *base; in dasd_ioctl_format() local 298 struct dasd_device *base; in dasd_ioctl_check_format() local [all …]
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/net/ |
| H A D | bpf_jit32.h | 75 #define PPC_LBZ_OFFS(r, base, i) do { if ((i) < 32768) EMIT(PPC_RAW_LBZ(r, base, i)); \ argument 79 #define PPC_LD_OFFS(r, base, i) do { if ((i) < 32768) EMIT(PPC_RAW_LD(r, base, i)); \ argument 83 #define PPC_LWZ_OFFS(r, base, i) do { if ((i) < 32768) EMIT(PPC_RAW_LWZ(r, base, i)); \ argument 87 #define PPC_LHZ_OFFS(r, base, i) do { if ((i) < 32768) EMIT(PPC_RAW_LHZ(r, base, i)); \ argument 92 #define PPC_LL_OFFS(r, base, i) do { PPC_LD_OFFS(r, base, i); } while(0) argument 94 #define PPC_LL_OFFS(r, base, i) do { PPC_LWZ_OFFS(r, base, i); } while(0) argument 113 #define PPC_LHBRX_OFFS(r, base, i) \ argument 116 #define PPC_NTOHS_OFFS(r, base, i) PPC_LHBRX_OFFS(r, base, i) argument 118 #define PPC_NTOHS_OFFS(r, base, i) PPC_LHZ_OFFS(r, base, i) argument 121 #define PPC_BPF_LL(r, base, i) do { EMIT(PPC_RAW_LWZ(r, base, i)); } while(0) argument [all …]
|
| /OK3568_Linux_fs/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 …]
|
| /OK3568_Linux_fs/kernel/arch/mips/include/asm/netlogic/ |
| H A D | haldefs.h | 46 nlm_read_reg(uint64_t base, uint32_t reg) in nlm_read_reg() 54 nlm_write_reg(uint64_t base, uint32_t reg, uint32_t val) in nlm_write_reg() 71 nlm_read_reg64(uint64_t base, uint32_t reg) in nlm_read_reg64() 98 nlm_write_reg64(uint64_t base, uint32_t reg, uint64_t val) in nlm_write_reg64() 129 nlm_read_reg_xkphys(uint64_t base, uint32_t reg) in nlm_read_reg_xkphys() 135 nlm_write_reg_xkphys(uint64_t base, uint32_t reg, uint32_t val) in nlm_write_reg_xkphys() 141 nlm_read_reg64_xkphys(uint64_t base, uint32_t reg) in nlm_read_reg64_xkphys() 147 nlm_write_reg64_xkphys(uint64_t base, uint32_t reg, uint64_t val) in nlm_write_reg64_xkphys()
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | sh_sh7734_i2c.c | 29 static struct sh_i2c *base; variable 68 static void sh_i2c_send_stop(struct sh_i2c *base) in sh_i2c_send_stop() 73 static int check_icsr_bits(struct sh_i2c *base, u8 bits) in check_icsr_bits() 86 static int check_stop(struct sh_i2c *base) in check_stop() 94 static int check_tend(struct sh_i2c *base, int stop) in check_tend() 107 static int check_tdre(struct sh_i2c *base) in check_tdre() 112 static int check_rdrf(struct sh_i2c *base) in check_rdrf() 117 static int check_bbsy(struct sh_i2c *base) in check_bbsy() 129 static int check_ackbr(struct sh_i2c *base) in check_ackbr() 142 static void sh_i2c_reset(struct sh_i2c *base) in sh_i2c_reset() [all …]
|
| H A D | fsl_i2c.c | 119 static unsigned int set_i2c_bus_speed(const struct fsl_i2c_base *base, in set_i2c_bus_speed() 209 static int fsl_i2c_fixup(const struct fsl_i2c_base *base) in fsl_i2c_fixup() 256 static void __i2c_init(const struct fsl_i2c_base *base, int speed, int in __i2c_init() 290 i2c_wait4bus(const struct fsl_i2c_base *base) in i2c_wait4bus() 304 i2c_wait(const struct fsl_i2c_base *base, int write) in i2c_wait() 342 i2c_write_addr(const struct fsl_i2c_base *base, u8 dev, u8 dir, int rsta) in i2c_write_addr() 357 __i2c_write_data(const struct fsl_i2c_base *base, u8 *data, int length) in __i2c_write_data() 372 __i2c_read_data(const struct fsl_i2c_base *base, u8 *data, int length) in __i2c_read_data() 403 __i2c_read(const struct fsl_i2c_base *base, u8 chip_addr, u8 *offset, int olen, in __i2c_read() 451 __i2c_write(const struct fsl_i2c_base *base, u8 chip_addr, u8 *offset, int olen, in __i2c_write() [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/serial/ |
| H A D | serial_mvebu_a3700.c | 13 void __iomem *base; member 37 void __iomem *base = plat->base; in mvebu_serial_putc() local 50 void __iomem *base = plat->base; in mvebu_serial_getc() local 61 void __iomem *base = plat->base; in mvebu_serial_pending() local 72 void __iomem *base = plat->base; in mvebu_serial_setbrg() local 92 void __iomem *base = plat->base; in mvebu_serial_probe() local 142 void __iomem *base = (void __iomem *)CONFIG_DEBUG_UART_BASE; in _debug_uart_init() local 166 void __iomem *base = (void __iomem *)CONFIG_DEBUG_UART_BASE; in _debug_uart_putc() local
|
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | swim.c | 62 #define swim_write(base, reg, v) out_8(&(base)->write_##reg, (v)) argument 63 #define swim_read(base, reg) in_8(&(base)->read_##reg) argument 86 #define iwm_write(base, reg, v) out_8(&(base)->reg, (v)) argument 87 #define iwm_read(base, reg) in_8(&(base)->reg) argument 209 struct swim __iomem *base; member 221 static inline void set_swim_mode(struct swim __iomem *base, int enable) in set_swim_mode() 246 static inline int get_swim_mode(struct swim __iomem *base) in get_swim_mode() 268 static inline void swim_select(struct swim __iomem *base, int sel) in swim_select() 277 static inline void swim_action(struct swim __iomem *base, int action) in swim_action() 293 static inline int swim_readbit(struct swim __iomem *base, int bit) in swim_readbit() [all …]
|
| /OK3568_Linux_fs/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
| H A D | channv50.c | 46 nv50_fifo_chan_engine_fini(struct nvkm_fifo_chan *base, in nv50_fifo_chan_engine_fini() 102 nv50_fifo_chan_engine_init(struct nvkm_fifo_chan *base, in nv50_fifo_chan_engine_init() 129 nv50_fifo_chan_engine_dtor(struct nvkm_fifo_chan *base, in nv50_fifo_chan_engine_dtor() 137 nv50_fifo_chan_engine_ctor(struct nvkm_fifo_chan *base, in nv50_fifo_chan_engine_ctor() 151 nv50_fifo_chan_object_dtor(struct nvkm_fifo_chan *base, int cookie) in nv50_fifo_chan_object_dtor() 158 nv50_fifo_chan_object_ctor(struct nvkm_fifo_chan *base, in nv50_fifo_chan_object_ctor() 179 nv50_fifo_chan_fini(struct nvkm_fifo_chan *base) in nv50_fifo_chan_fini() 193 nv50_fifo_chan_init(struct nvkm_fifo_chan *base) in nv50_fifo_chan_init() 206 nv50_fifo_chan_dtor(struct nvkm_fifo_chan *base) in nv50_fifo_chan_dtor()
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | fpu.S | 26 #define __REST_32FPVSRS(n,c,base) \ argument 35 #define __SAVE_32FPVSRS(n,c,base) \ argument 44 #define __REST_32FPVSRS(n,b,base) REST_32FPRS(n, base) argument 45 #define __SAVE_32FPVSRS(n,b,base) SAVE_32FPRS(n, base) argument 47 #define REST_32FPVSRS(n,c,base) __REST_32FPVSRS(n,__REG_##c,__REG_##base) argument 48 #define SAVE_32FPVSRS(n,c,base) __SAVE_32FPVSRS(n,__REG_##c,__REG_##base) argument
|
| 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
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/drivers/dma/ |
| H A D | ti-edma3.c | 38 u32 base; member 51 void qedma3_start(u32 base, struct edma3_channel_config *cfg) in qedma3_start() 88 void edma3_set_dest(u32 base, int slot, u32 dst, enum edma3_address_mode mode, in edma3_set_dest() 119 void edma3_set_dest_index(u32 base, unsigned slot, int bidx, int cidx) in edma3_set_dest_index() 139 void edma3_set_dest_addr(u32 base, int slot, u32 dst) in edma3_set_dest_addr() 159 void edma3_set_src(u32 base, int slot, u32 src, enum edma3_address_mode mode, in edma3_set_src() 190 void edma3_set_src_index(u32 base, unsigned slot, int bidx, int cidx) in edma3_set_src_index() 210 void edma3_set_src_addr(u32 base, int slot, u32 src) in edma3_set_src_addr() 248 void edma3_set_transfer_params(u32 base, int slot, int acnt, in edma3_set_transfer_params() 285 void edma3_write_slot(u32 base, int slot, struct edma3_slot_layout *param) in edma3_write_slot() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dsi/phy/ |
| H A D | dsi_phy_28nm_8960.c | 14 void __iomem *base = phy->base; in dsi_28nm_dphy_set_timing() local 44 void __iomem *base = phy->reg_base; in dsi_28nm_phy_regulator_init() local 56 void __iomem *base = phy->reg_base; in dsi_28nm_phy_regulator_ctrl() local 67 void __iomem *base = phy->reg_base; in dsi_28nm_phy_calibration() local 97 void __iomem *base = phy->base; in dsi_28nm_phy_lane_config() local 124 void __iomem *base = phy->base; in dsi_28nm_phy_enable() local
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gt/ |
| H A D | intel_lrc.h | 38 #define RING_ELSP(base) _MMIO((base) + 0x230) argument 39 #define RING_EXECLIST_STATUS_LO(base) _MMIO((base) + 0x234) argument 40 #define RING_EXECLIST_STATUS_HI(base) _MMIO((base) + 0x234 + 4) argument 41 #define RING_CONTEXT_CONTROL(base) _MMIO((base) + 0x244) argument 47 #define RING_CONTEXT_STATUS_PTR(base) _MMIO((base) + 0x3a0) argument 48 #define RING_EXECLIST_SQ_CONTENTS(base) _MMIO((base) + 0x510) argument 49 #define RING_EXECLIST_CONTROL(base) _MMIO((base) + 0x550) argument
|
| /OK3568_Linux_fs/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() 108 unsigned long long ustrtoull(const char *cp, char **endp, unsigned int base) in ustrtoull() 132 unsigned int base) in simple_strtoull()
|
| /OK3568_Linux_fs/kernel/kernel/time/ |
| H A D | timer.c | 555 trigger_dyntick_cpu(struct timer_base *base, struct timer_list *timer) in trigger_dyntick_cpu() 584 static void enqueue_timer(struct timer_base *base, struct timer_list *timer, in enqueue_timer() 611 static void internal_add_timer(struct timer_base *base, struct timer_list *timer) in internal_add_timer() 839 static int detach_if_pending(struct timer_list *timer, struct timer_base *base, in detach_if_pending() 858 struct timer_base *base = per_cpu_ptr(&timer_bases[BASE_STD], cpu); in get_timer_cpu_base() local 871 struct timer_base *base = this_cpu_ptr(&timer_bases[BASE_STD]); in get_timer_this_cpu_base() local 888 get_target_base(struct timer_base *base, unsigned tflags) in get_target_base() 898 static inline void forward_timer_base(struct timer_base *base) in forward_timer_base() 940 struct timer_base *base; in lock_timer_base() local 969 struct timer_base *base, *new_base; in __mod_timer() local [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /OK3568_Linux_fs/u-boot/board/micronas/vct/vcth/ |
| H A D | reg_usbh.h | 12 #define USBH_CAPLENGTH(base) ((base) + USBH_CAPLENGTH_OFFS) argument 14 #define USBH_USBCMD(base) ((base) + USBH_USBCMD_OFFS) argument 16 #define USBH_BURSTSIZE(base) ((base) + USBH_BURSTSIZE_OFFS) argument 18 #define USBH_USBMODE(base) ((base) + USBH_USBMODE_OFFS) argument 20 #define USBH_USBHMISC(base) ((base) + USBH_USBHMISC_OFFS) argument
|