Home
last modified time | relevance | path

Searched refs:ofs (Results 1 – 25 of 26) 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/xtensa/variants/test_kc705_be/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
201 .macro xchal_cp1_store ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
202 xchal_sa_start \continue, \ofs
249 .macro xchal_cp1_load ptr at1 at2 at3 at4 continue=0 ofs=-1 select=XTHAL_SAS_ALL alloc=0
250 xchal_sa_start \continue, \ofs
292 .macro xchal_cp0_store p a b c d continue=0 ofs=-1 select=-1 ; .endm
293 .macro xchal_cp0_load p a b c d continue=0 ofs=-1 select=-1 ; .endm
[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()
Dprocess.c481 unsigned long ofs; in frame_info_init() local
490 kallsyms_lookup_size_offset(addr, &size, &ofs); in frame_info_init()
534 unsigned long size, ofs; in unwind_stack_by_address() local
581 if (!kallsyms_lookup_size_offset(pc, &size, &ofs)) in unwind_stack_by_address()
586 if (unlikely(ofs == 0)) { in unwind_stack_by_address()
592 info.func = (void *)(pc - ofs); in unwind_stack_by_address()
593 info.func_size = ofs; /* analyze from start to ofs */ in unwind_stack_by_address()
/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/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.S53 #define rsave(regno, ofs) \ argument
60 .ifne ofs; \
61 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
110 #define vsave_msr2(regno, ofs) \ argument
115 .byte 0x0a; .short ofs; /* DW_OP_const2u */ \
120 #define vsave(regno, ofs) \ argument
128 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
/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/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/powerpc/kernel/vdso64/
Dsigtramp.S58 #define rsave(regno, ofs) \ argument
65 .ifne ofs; \
66 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
116 #define vsave_msr2(regno, ofs) \ argument
121 .byte 0x0a; .short ofs; /* DW_OP_const2u */ \
126 #define vsave(regno, ofs) \ argument
135 .byte 0x23; .uleb128 ofs; /* DW_OP_plus_uconst */ \
/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.h556 #define __GT_READ(ofs) \ argument
557 (*(volatile u32 *)(GT64120_BASE+(ofs)))
558 #define __GT_WRITE(ofs, data) \ argument
559 do { *(volatile u32 *)(GT64120_BASE+(ofs)) = (data); } while (0)
560 #define GT_READ(ofs) le32_to_cpu(__GT_READ(ofs)) argument
561 #define GT_WRITE(ofs, data) __GT_WRITE(ofs, cpu_to_le32(data)) argument
/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/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/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/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()
Dtime_64.c527 static unsigned char mostek_read_byte(struct device *dev, u32 ofs) in mostek_read_byte() argument
532 return readb(regs + ofs); in mostek_read_byte()
535 static void mostek_write_byte(struct device *dev, u32 ofs, u8 val) in mostek_write_byte() argument
540 writeb(val, regs + ofs); in mostek_write_byte()
/arch/microblaze/kernel/
Dunwind.c198 int ofs = 0; in microblaze_unwind_inner() local
241 pc -= ofs; in microblaze_unwind_inner()
271 ofs = sizeof(unsigned long); in microblaze_unwind_inner()
/arch/alpha/kernel/
Dsys_cabriolet.c43 int ofs = (irq - 16) / 8; in cabriolet_update_irq_hw() local
44 outb(mask >> (16 + ofs * 8), 0x804 + ofs); in cabriolet_update_irq_hw()
Dpci_iommu.c219 iommu_arena_free(struct pci_iommu_arena *arena, long ofs, long n) in iommu_arena_free() argument
224 p = arena->ptes + ofs; in iommu_arena_free()
768 long npages, ofs; in alpha_pci_unmap_sg() local
795 ofs = (addr - arena->dma_base) >> PAGE_SHIFT; in alpha_pci_unmap_sg()
796 iommu_arena_free(arena, ofs, npages); in alpha_pci_unmap_sg()
/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