Home
last modified time | relevance | path

Searched refs:ofs (Results 1 – 25 of 31) sorted by relevance

12

/arch/xtensa/variants/test_mmuhifi_c3/include/variant/
Dtie-asm.h36 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
37 xchal_sa_start \continue, \ofs
63 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
64 xchal_sa_start \continue, \ofs
97 .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
98 xchal_sa_start \continue, \ofs
133 .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
134 xchal_sa_start \continue, \ofs
167 .macro xchal_cp0_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
168 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
[all …]
/arch/mips/txx9/generic/
Dirq_tx4939.c57 int ofs; in tx4939_irq_unmask() local
65 ofs = (irq_nr & 16) + (irq_nr & 1) * 8; in tx4939_irq_unmask()
66 __raw_writel((__raw_readl(lvlp) & ~(0xff << ofs)) in tx4939_irq_unmask()
67 | (tx4939irq[irq_nr].level << ofs), in tx4939_irq_unmask()
75 int ofs; in tx4939_irq_mask() local
83 ofs = (irq_nr & 16) + (irq_nr & 1) * 8; in tx4939_irq_mask()
84 __raw_writel((__raw_readl(lvlp) & ~(0xff << ofs)) in tx4939_irq_mask()
85 | (irc_dlevel << ofs), in tx4939_irq_mask()
109 int ofs; in tx4939_irq_set_type() local
137 ofs = (((irq_nr & 16) >> 1) | (irq_nr & (8 - 1))) * 2; in tx4939_irq_set_type()
[all …]
/arch/mips/kernel/
Dirq_txx9.c70 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_unmask() local
72 __raw_writel((__raw_readl(ilrp) & ~(0xff << ofs)) in txx9_irq_unmask()
73 | (txx9irq[irq_nr].level << ofs), in txx9_irq_unmask()
86 int ofs = irq_nr / 16 * 16 + (irq_nr & 1) * 8; in txx9_irq_mask() local
88 __raw_writel((__raw_readl(ilrp) & ~(0xff << ofs)) in txx9_irq_mask()
89 | (irc_dlevel << ofs), in txx9_irq_mask()
117 int ofs; in txx9_irq_set_type() local
132 ofs = (irq_nr & (8 - 1)) * 2; in txx9_irq_set_type()
133 cr &= ~(0x3 << ofs); in txx9_irq_set_type()
134 cr |= (mode & 0x3) << ofs; in txx9_irq_set_type()
/arch/xtensa/variants/test_kc705_hifi/include/variant/
Dtie-asm.h77 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
78 xchal_sa_start \continue, \ofs
143 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
144 xchal_sa_start \continue, \ofs
205 .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
206 xchal_sa_start \continue, \ofs
262 .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
263 xchal_sa_start \continue, \ofs
313 .macro xchal_cp0_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
314 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
[all …]
/arch/sh/include/mach-common/mach/
Durquell.h31 #define BOARDREG(ofs) (FPGA_BASE + ofs##_OFS) argument
32 #define UBOARDREG(ofs) (0xa0000000 + FPGA_BASE + ofs##_OFS) argument
/arch/ia64/kernel/
Delfcore.c20 Elf64_Off ofs = 0; in elf_core_write_extra_phdrs() local
28 if (ofs == 0) { in elf_core_write_extra_phdrs()
29 ofs = phdr.p_offset = offset; in elf_core_write_extra_phdrs()
32 phdr.p_offset = ofs; in elf_core_write_extra_phdrs()
35 phdr.p_offset += ofs; in elf_core_write_extra_phdrs()
/arch/arm/mach-netx/include/mach/
Dnetx-regs.h118 #define NETX_SYSTEM_REG(ofs) IOMEM(NETX_VA_SYSTEM + (ofs)) argument
188 #define NETX_GPIO_REG(ofs) IOMEM(NETX_VA_GPIO + (ofs)) argument
233 #define NETX_PIO_REG(ofs) IOMEM(NETX_VA_PIO + (ofs)) argument
320 #define NETX_PFIFO_REG(ofs) IOMEM(NETX_VA_PFIFO + (ofs)) argument
337 #define NETX_MEMCR_REG(ofs) IOMEM(NETX_VA_MEMCR + (ofs)) argument
358 #define NETX_DPMAS_REG(ofs) IOMEM(NETX_VA_DPMAS + (ofs)) argument
428 #define NETX_I2C_REG(ofs) IOMEM(NETX_VA_I2C, (ofs)) argument
/arch/xtensa/variants/fsf/include/variant/
Dtie-asm.h37 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
38 xchal_sa_start \continue, \ofs
52 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
53 xchal_sa_start \continue, \ofs
/arch/powerpc/kernel/vdso32/
Dsigtramp.S57 #define rsave(regno, ofs) \ argument
64 .ifne ofs; \
65 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
114 #define vsave_msr2(regno, ofs) \ argument
119 .byte 0x0a; .short ofs; /* DW_OP_const2u */ \
124 #define vsave(regno, ofs) \ argument
132 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
/arch/frv/mb93090-mb00/
Dpci-dma-nommu.c30 unsigned long ofs; member
62 end = this_r->ofs; in frv_dma_alloc()
67 start = this_r->ofs + this_r->len; in frv_dma_alloc()
75 new->ofs = start; in frv_dma_alloc()
97 if (rec->ofs == dma_handle) { in frv_dma_free()
/arch/mips/txx9/rbtx4939/
Dsetup.c290 static unsigned long rbtx4939_flash_fixup_ofs(unsigned long ofs) in rbtx4939_flash_fixup_ofs() argument
299 return (ofs & ~0xc00000) | ((((ofs >> 22) + shift) & 3) << 22); in rbtx4939_flash_fixup_ofs()
304 ofs ^= 0x400000; /* swap A[22] */ in rbtx4939_flash_fixup_ofs()
306 return ofs; in rbtx4939_flash_fixup_ofs()
309 static map_word rbtx4939_flash_read16(struct map_info *map, unsigned long ofs) in rbtx4939_flash_read16() argument
313 ofs = rbtx4939_flash_fixup_ofs(ofs); in rbtx4939_flash_read16()
314 r.x[0] = __raw_readw(map->virt + ofs); in rbtx4939_flash_read16()
319 unsigned long ofs) in rbtx4939_flash_write16() argument
321 ofs = rbtx4939_flash_fixup_ofs(ofs); in rbtx4939_flash_write16()
322 __raw_writew(datum.x[0], map->virt + ofs); in rbtx4939_flash_write16()
/arch/powerpc/kernel/vdso64/
Dsigtramp.S56 #define rsave(regno, ofs) \ argument
63 .ifne ofs; \
64 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
114 #define vsave_msr2(regno, ofs) \ argument
119 .byte 0x0a; .short ofs; /* DW_OP_const2u */ \
124 #define vsave(regno, ofs) \ argument
133 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
/arch/mips/cavium-octeon/
Dflash_setup.c30 static map_word octeon_flash_map_read(struct map_info *map, unsigned long ofs) in octeon_flash_map_read() argument
35 r = inline_map_read(map, ofs); in octeon_flash_map_read()
42 unsigned long ofs) in octeon_flash_map_write() argument
45 inline_map_write(map, datum, ofs); in octeon_flash_map_write()
/arch/x86/um/
Delfcore.c23 Elf32_Off ofs = 0; in elf_core_write_extra_phdrs() local
29 ofs = phdr.p_offset = offset; in elf_core_write_extra_phdrs()
32 phdr.p_offset += ofs; in elf_core_write_extra_phdrs()
/arch/mips/include/asm/
Dgt64120.h568 #define __GT_READ(ofs) \ argument
569 (*(volatile u32 *)(GT64120_BASE+(ofs)))
570 #define __GT_WRITE(ofs, data) \ argument
571 do { *(volatile u32 *)(GT64120_BASE+(ofs)) = (data); } while (0)
572 #define GT_READ(ofs) le32_to_cpu(__GT_READ(ofs)) argument
573 #define GT_WRITE(ofs, data) __GT_WRITE(ofs, cpu_to_le32(data)) argument
/arch/xtensa/variants/de212/include/variant/
Dtie-asm.h76 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
77 xchal_sa_start \continue, \ofs
130 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
131 xchal_sa_start \continue, \ofs
/arch/xtensa/variants/dc232b/include/variant/
Dtie-asm.h37 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
38 xchal_sa_start \continue, \ofs
78 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL
79 xchal_sa_start \continue, \ofs
/arch/arm/mach-iop13xx/include/mach/
Diop13xx.h242 #define IOP13XX_ATUX_OFFSET(ofs) IOP13XX_REG_ADDR32(\ argument
243 iop13xx_atux_pmmr_offset + (ofs))
325 #define IOP13XX_ATUE_OFFSET(ofs) IOP13XX_REG_ADDR32(\ argument
326 iop13xx_atue_pmmr_offset + (ofs))
442 #define IOP13XX_MU_OFFSET(ofs) IOP13XX_REG_ADDR32(IOP13XX_MU_PMMR_OFFSET +\ argument
443 (ofs))
487 #define IOP13XX_PBI_OFFSET(ofs) IOP13XX_REG_ADDR32(IOP13XX_PBI_PMMR_OFFSET +\ argument
488 (ofs))
/arch/xtensa/variants/csp/include/variant/
Dtie-asm.h76 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
77 xchal_sa_start \continue, \ofs
142 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
143 xchal_sa_start \continue, \ofs
/arch/xtensa/variants/dc233c/include/variant/
Dtie-asm.h77 .macro xchal_ncp_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
78 xchal_sa_start \continue, \ofs
141 .macro xchal_ncp_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
142 xchal_sa_start \continue, \ofs
/arch/microblaze/kernel/
Dunwind.c193 int ofs = 0; in microblaze_unwind_inner() local
236 pc -= ofs; in microblaze_unwind_inner()
266 ofs = sizeof(unsigned long); in microblaze_unwind_inner()
/arch/sparc/kernel/
Dtime_32.c240 static unsigned char mostek_read_byte(struct device *dev, u32 ofs) in mostek_read_byte() argument
245 return readb(pdata->ioaddr + ofs); in mostek_read_byte()
248 static void mostek_write_byte(struct device *dev, u32 ofs, u8 val) in mostek_write_byte() argument
253 writeb(val, pdata->ioaddr + ofs); in mostek_write_byte()
/arch/sh/kernel/cpu/sh5/
Dunwind.c231 int ofs = 0; in sh64_unwind_inner() local
271 pc -= ofs; in sh64_unwind_inner()
285 ofs = sizeof(unsigned long); in sh64_unwind_inner()
/arch/alpha/kernel/
Dsys_cabriolet.c44 int ofs = (irq - 16) / 8; in cabriolet_update_irq_hw() local
45 outb(mask >> (16 + ofs * 8), 0x804 + ofs); in cabriolet_update_irq_hw()
/arch/alpha/include/asm/
Dbitops.h445 unsigned long b0, b1, ofs, tmp; in sched_find_first_bit() local
449 ofs = (b0 ? 0 : 64); in sched_find_first_bit()
452 return __ffs(tmp) + ofs; in sched_find_first_bit()

12