Home
last modified time | relevance | path

Searched defs:offset (Results 1 – 25 of 621) sorted by relevance

12345678910>>...25

/arch/mips/boot/compressed/
Duart-16550.c13 #define PORT(offset) (CKSEG1ADDR(UART_BASE) + (offset)) argument
18 #define PORT(offset) (CKSEG1ADDR(AR7_REGS_UART0) + (4 * offset)) argument
23 #define PORT(offset) (CKSEG1ADDR(INGENIC_UART0_BASE_ADDR) + (4 * offset)) argument
28 #define PORT(offset) (CKSEG1ADDR(UART0_BASE) + (4 * offset)) argument
34 #define PORT(offset) (CKSEG1ADDR(UART0_BASE) + (4 * offset)) argument
46 static inline unsigned int serial_in(int offset) in serial_in()
51 static inline void serial_out(int offset, int value) in serial_out()
/arch/mips/include/asm/octeon/
Dcvmx-pexp-defs.h31 #define CVMX_PEXP_NPEI_BAR1_INDEXX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008000ull) + ((offset) & 31… argument
43 #define CVMX_PEXP_NPEI_DMAX_COUNTS(offset) (CVMX_ADD_IO_SEG(0x00011F0000008450ull) + ((offset) & 7)… argument
44 #define CVMX_PEXP_NPEI_DMAX_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F00000083B0ull) + ((offset) & 7) … argument
45 #define CVMX_PEXP_NPEI_DMAX_IBUFF_SADDR(offset) (CVMX_ADD_IO_SEG(0x00011F0000008400ull) + ((offset)… argument
46 #define CVMX_PEXP_NPEI_DMAX_NADDR(offset) (CVMX_ADD_IO_SEG(0x00011F00000084A0ull) + ((offset) & 7) … argument
68 #define CVMX_PEXP_NPEI_MEM_ACCESS_SUBIDX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008280ull) + ((offset… argument
92 #define CVMX_PEXP_NPEI_PKTX_CNTS(offset) (CVMX_ADD_IO_SEG(0x00011F000000A400ull) + ((offset) & 31) … argument
93 #define CVMX_PEXP_NPEI_PKTX_INSTR_BADDR(offset) (CVMX_ADD_IO_SEG(0x00011F000000A800ull) + ((offset)… argument
94 #define CVMX_PEXP_NPEI_PKTX_INSTR_BAOFF_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F000000AC00ull) + ((o… argument
95 #define CVMX_PEXP_NPEI_PKTX_INSTR_FIFO_RSIZE(offset) (CVMX_ADD_IO_SEG(0x00011F000000B000ull) + ((of… argument
[all …]
Dcvmx-asm.h93 #define CVMX_PREPARE_FOR_STORE(address, offset) \ argument
101 #define CVMX_DONT_WRITE_BACK(address, offset) \ argument
117 #define CVMX_CACHE(op, address, offset) \ argument
121 #define CVMX_CACHE_LCKL2(address, offset) CVMX_CACHE(31, address, offset) argument
123 #define CVMX_CACHE_WBIL2(address, offset) CVMX_CACHE(23, address, offset) argument
125 #define CVMX_CACHE_WBIL2I(address, offset) CVMX_CACHE(3, address, offset) argument
127 #define CVMX_CACHE_LTGL2I(address, offset) CVMX_CACHE(7, address, offset) argument
/arch/x86/include/asm/numachip/
Dnumachip_csr.h39 static inline void *lcsr_address(unsigned long offset) in lcsr_address()
45 static inline unsigned int read_lcsr(unsigned long offset) in read_lcsr()
50 static inline void write_lcsr(unsigned long offset, unsigned int val) in write_lcsr()
67 static inline void __iomem *numachip2_lcsr_address(unsigned long offset) in numachip2_lcsr_address()
73 static inline u32 numachip2_read32_lcsr(unsigned long offset) in numachip2_read32_lcsr()
78 static inline u64 numachip2_read64_lcsr(unsigned long offset) in numachip2_read64_lcsr()
83 static inline void numachip2_write32_lcsr(unsigned long offset, u32 val) in numachip2_write32_lcsr()
88 static inline void numachip2_write64_lcsr(unsigned long offset, u64 val) in numachip2_write64_lcsr()
/arch/mips/alchemy/common/
Dgpiolib.c40 static int gpio2_get(struct gpio_chip *chip, unsigned offset) in gpio2_get()
45 static void gpio2_set(struct gpio_chip *chip, unsigned offset, int value) in gpio2_set()
50 static int gpio2_direction_input(struct gpio_chip *chip, unsigned offset) in gpio2_direction_input()
55 static int gpio2_direction_output(struct gpio_chip *chip, unsigned offset, in gpio2_direction_output()
62 static int gpio2_to_irq(struct gpio_chip *chip, unsigned offset) in gpio2_to_irq()
68 static int gpio1_get(struct gpio_chip *chip, unsigned offset) in gpio1_get()
74 unsigned offset, int value) in gpio1_set()
79 static int gpio1_direction_input(struct gpio_chip *chip, unsigned offset) in gpio1_direction_input()
85 unsigned offset, int value) in gpio1_direction_output()
91 static int gpio1_to_irq(struct gpio_chip *chip, unsigned offset) in gpio1_to_irq()
/arch/mips/kernel/
Dgpio_txx9.c19 static int txx9_gpio_get(struct gpio_chip *chip, unsigned int offset) in txx9_gpio_get()
24 static void txx9_gpio_set_raw(unsigned int offset, int value) in txx9_gpio_set_raw()
35 static void txx9_gpio_set(struct gpio_chip *chip, unsigned int offset, in txx9_gpio_set()
45 static int txx9_gpio_dir_in(struct gpio_chip *chip, unsigned int offset) in txx9_gpio_dir_in()
56 static int txx9_gpio_dir_out(struct gpio_chip *chip, unsigned int offset, in txx9_gpio_dir_out()
Drelocate.c41 int __weak plat_post_relocation(long offset) in plat_post_relocation()
73 static int __init apply_r_mips_64_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_64_rel()
80 static int __init apply_r_mips_32_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_32_rel()
87 static int __init apply_r_mips_26_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_26_rel()
117 static int __init apply_r_mips_hi16_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_hi16_rel()
135 int __init do_relocations(void *kbase_old, void *kbase_new, long offset) in do_relocations()
172 static int __init relocate_exception_table(long offset) in relocate_exception_table()
262 unsigned long offset; in determine_relocation_address() local
308 long offset = 0; in relocate_kernel() local
416 unsigned long offset; in show_kernel_relocation() local
Dspram.c43 static void ispram_store_tag(unsigned int offset, unsigned int data) in ispram_store_tag()
62 static unsigned int ispram_load_tag(unsigned int offset) in ispram_load_tag()
80 static void dspram_store_tag(unsigned int offset, unsigned int data) in dspram_store_tag()
96 static unsigned int dspram_load_tag(unsigned int offset) in dspram_load_tag()
120 unsigned int offset = 0; in probe_spram() local
/arch/m68k/coldfire/
Dgpio.c110 static int mcfgpio_direction_input(struct gpio_chip *chip, unsigned offset) in mcfgpio_direction_input()
115 static int mcfgpio_get_value(struct gpio_chip *chip, unsigned offset) in mcfgpio_get_value()
120 static int mcfgpio_direction_output(struct gpio_chip *chip, unsigned offset, in mcfgpio_direction_output()
126 static void mcfgpio_set_value(struct gpio_chip *chip, unsigned offset, in mcfgpio_set_value()
132 static int mcfgpio_request(struct gpio_chip *chip, unsigned offset) in mcfgpio_request()
137 static void mcfgpio_free(struct gpio_chip *chip, unsigned offset) in mcfgpio_free()
142 static int mcfgpio_to_irq(struct gpio_chip *chip, unsigned offset) in mcfgpio_to_irq()
/arch/powerpc/platforms/cell/spufs/
Dspu_restore.c69 unsigned int offset; in restore_decr() local
89 unsigned int offset; in write_ppu_mb() local
103 unsigned int offset; in write_ppuint_mb() local
117 unsigned int offset; in restore_fpcr() local
131 unsigned int offset; in restore_srr0() local
144 unsigned int offset; in restore_event_mask() local
157 unsigned int offset; in restore_tag_mask() local
172 unsigned int offset; in restore_complete() local
Dspu_save.c27 unsigned int offset; in save_event_mask() local
38 unsigned int offset; in save_tag_mask() local
70 unsigned int offset; in save_fpcr() local
82 unsigned int offset; in save_decr() local
94 unsigned int offset; in save_srr0() local
/arch/sh/include/asm/
Dio_trapped.h32 __ioremap_trapped(unsigned long offset, unsigned long size) in __ioremap_trapped()
37 #define __ioremap_trapped(offset, size) NULL argument
44 __ioport_map_trapped(unsigned long offset, unsigned long size) in __ioport_map_trapped()
49 #define __ioport_map_trapped(offset, size) NULL argument
55 #define __ioremap_trapped(offset, size) NULL argument
56 #define __ioport_map_trapped(offset, size) NULL argument
/arch/x86/pci/
Dearly.c11 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config()
19 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte()
27 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16()
35 void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, in write_pci_config()
42 void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) in write_pci_config_byte()
48 void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val) in write_pci_config_16()
/arch/unicore32/kernel/
Dgpio.c52 static int puv3_gpio_get(struct gpio_chip *chip, unsigned offset) in puv3_gpio_get()
57 static void puv3_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in puv3_gpio_set()
65 static int puv3_direction_input(struct gpio_chip *chip, unsigned offset) in puv3_direction_input()
75 static int puv3_direction_output(struct gpio_chip *chip, unsigned offset, in puv3_direction_output()
/arch/mips/loongson64/common/
Dearly_printk.c13 #define PORT(base, offset) (u8 *)(base + offset) argument
15 static inline unsigned int serial_in(unsigned char *base, int offset) in serial_in()
20 static inline void serial_out(unsigned char *base, int offset, int value) in serial_out()
/arch/mips/rb532/
Dgpio.c61 unsigned offset, void __iomem *ioaddr) in rb532_set_bit()
80 static inline int rb532_get_bit(unsigned offset, void __iomem *ioaddr) in rb532_get_bit()
87 static int rb532_gpio_get(struct gpio_chip *chip, unsigned offset) in rb532_gpio_get()
99 unsigned offset, int value) in rb532_gpio_set()
110 static int rb532_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in rb532_gpio_direction_input()
127 unsigned offset, int value) in rb532_gpio_direction_output()
/arch/powerpc/platforms/powernv/
Dcopy-paste.h19 static inline int vas_copy(void *crb, int offset) in vas_copy()
29 static inline int vas_paste(void *paste_address, int offset) in vas_paste()
/arch/ia64/include/asm/uv/
Duv_hub.h172 static inline void *uv_pnode_offset_to_vaddr(int pnode, unsigned long offset) in uv_pnode_offset_to_vaddr()
183 unsigned long offset) in uv_global_mmr32_address()
189 static inline void uv_write_global_mmr32(int pnode, unsigned long offset, in uv_write_global_mmr32()
196 unsigned long offset) in uv_read_global_mmr32()
206 unsigned long offset) in uv_global_mmr64_address()
212 static inline void uv_write_global_mmr64(int pnode, unsigned long offset, in uv_write_global_mmr64()
219 unsigned long offset) in uv_read_global_mmr64()
228 static inline unsigned long *uv_local_mmr_address(unsigned long offset) in uv_local_mmr_address()
233 static inline unsigned long uv_read_local_mmr(unsigned long offset) in uv_read_local_mmr()
238 static inline void uv_write_local_mmr(unsigned long offset, unsigned long val) in uv_write_local_mmr()
/arch/x86/kvm/vmx/
Devmcs.h70 u16 offset; member
104 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write64() local
117 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write32() local
129 int offset = get_evmcs_offset(field, &clean_field); in evmcs_write16() local
140 int offset = get_evmcs_offset(field, NULL); in evmcs_read64() local
150 int offset = get_evmcs_offset(field, NULL); in evmcs_read32() local
160 int offset = get_evmcs_offset(field, NULL); in evmcs_read16() local
/arch/powerpc/platforms/powermac/
Dpfunc_base.c119 unsigned long offset; in macio_gpio_init_one() local
144 static int macio_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in macio_do_write_reg32()
155 static int macio_do_read_reg32(PMF_STD_ARGS, u32 offset) in macio_do_read_reg32()
167 static int macio_do_write_reg8(PMF_STD_ARGS, u32 offset, u8 value, u8 mask) in macio_do_write_reg8()
178 static int macio_do_read_reg8(PMF_STD_ARGS, u32 offset) in macio_do_read_reg8()
190 static int macio_do_read_reg32_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg32_msrx()
203 static int macio_do_read_reg8_msrx(PMF_STD_ARGS, u32 offset, u32 mask, in macio_do_read_reg8_msrx()
216 static int macio_do_write_reg32_slm(PMF_STD_ARGS, u32 offset, u32 shift, in macio_do_write_reg32_slm()
236 static int macio_do_write_reg8_slm(PMF_STD_ARGS, u32 offset, u32 shift, in macio_do_write_reg8_slm()
278 static int unin_do_write_reg32(PMF_STD_ARGS, u32 offset, u32 value, u32 mask) in unin_do_write_reg32()
/arch/sparc/lib/
Dmemcpy.S19 #define MOVE_BIGCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
33 #define MOVE_BIGALIGNCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
43 #define MOVE_LASTCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
51 #define MOVE_LASTALIGNCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
57 #define MOVE_SHORTCHUNK(src, dst, offset, t0, t1) \ argument
/arch/xtensa/include/asm/
Dio.h35 static inline void __iomem *ioremap_nocache(unsigned long offset, in ioremap_nocache()
45 static inline void __iomem *ioremap_cache(unsigned long offset, in ioremap_cache()
60 static inline void __iomem *ioremap(unsigned long offset, unsigned long size) in ioremap()
/arch/m68k/include/asm/
Dmac_psc.h222 static inline void psc_write_byte(int offset, __u8 data) in psc_write_byte()
227 static inline void psc_write_word(int offset, __u16 data) in psc_write_word()
232 static inline void psc_write_long(int offset, __u32 data) in psc_write_long()
237 static inline u8 psc_read_byte(int offset) in psc_read_byte()
242 static inline u16 psc_read_word(int offset) in psc_read_word()
247 static inline u32 psc_read_long(int offset) in psc_read_long()
/arch/x86/kernel/
Dcrash_dump_64.c15 unsigned long offset, int userbuf, in __copy_oldmem_page()
58 unsigned long offset, int userbuf) in copy_oldmem_page()
69 unsigned long offset, int userbuf) in copy_oldmem_page_encrypted()
/arch/mips/include/asm/mach-bmips/
Dioremap.h12 static inline int is_bmips_internal_registers(phys_addr_t offset) in is_bmips_internal_registers()
20 static inline void __iomem *plat_ioremap(phys_addr_t offset, unsigned long size, in plat_ioremap()

12345678910>>...25