/linux-2.4.37.9/arch/parisc/tools/ |
D | offset.c | 27 #define offset(string, ptr, member) \ macro 55 offset("#define TASK_REGS ", struct task_struct, thread.regs); in output_task_ptreg_defines() 56 offset("#define TASK_PT_PSW ", struct task_struct, thread.regs.gr[ 0]); in output_task_ptreg_defines() 57 offset("#define TASK_PT_GR1 ", struct task_struct, thread.regs.gr[ 1]); in output_task_ptreg_defines() 58 offset("#define TASK_PT_GR2 ", struct task_struct, thread.regs.gr[ 2]); in output_task_ptreg_defines() 59 offset("#define TASK_PT_GR3 ", struct task_struct, thread.regs.gr[ 3]); in output_task_ptreg_defines() 60 offset("#define TASK_PT_GR4 ", struct task_struct, thread.regs.gr[ 4]); in output_task_ptreg_defines() 61 offset("#define TASK_PT_GR5 ", struct task_struct, thread.regs.gr[ 5]); in output_task_ptreg_defines() 62 offset("#define TASK_PT_GR6 ", struct task_struct, thread.regs.gr[ 6]); in output_task_ptreg_defines() 63 offset("#define TASK_PT_GR7 ", struct task_struct, thread.regs.gr[ 7]); in output_task_ptreg_defines() [all …]
|
/linux-2.4.37.9/arch/mips/tools/ |
D | offset.c | 22 #define offset(string, ptr, member) \ macro 39 offset("#define PT_R0 ", struct pt_regs, regs[0]); in output_ptreg_defines() 40 offset("#define PT_R1 ", struct pt_regs, regs[1]); in output_ptreg_defines() 41 offset("#define PT_R2 ", struct pt_regs, regs[2]); in output_ptreg_defines() 42 offset("#define PT_R3 ", struct pt_regs, regs[3]); in output_ptreg_defines() 43 offset("#define PT_R4 ", struct pt_regs, regs[4]); in output_ptreg_defines() 44 offset("#define PT_R5 ", struct pt_regs, regs[5]); in output_ptreg_defines() 45 offset("#define PT_R6 ", struct pt_regs, regs[6]); in output_ptreg_defines() 46 offset("#define PT_R7 ", struct pt_regs, regs[7]); in output_ptreg_defines() 47 offset("#define PT_R8 ", struct pt_regs, regs[8]); in output_ptreg_defines() [all …]
|
/linux-2.4.37.9/drivers/mtd/maps/ |
D | sa1100-flash.c | 106 offset: 0, 111 offset: MTDPART_OFS_APPEND, 116 offset: MTDPART_OFS_APPEND, 121 offset: MTDPART_OFS_APPEND, 133 offset: 0, 138 offset: MTDPART_OFS_APPEND, 143 offset: MTDPART_OFS_APPEND, 153 offset: 0, 158 offset: MTDPART_OFS_APPEND, 163 offset: MTDPART_OFS_APPEND, [all …]
|
D | tsunami_flash.c | 16 static inline __u8 tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8() argument 18 return tsunami_tig_readb(offset); in tsunami_flash_read8() 21 static void tsunami_flash_write8(struct map_info *map, __u8 value, unsigned long offset) in tsunami_flash_write8() argument 23 tsunami_tig_writeb(value, offset); in tsunami_flash_write8() 27 struct map_info *map, void *addr, unsigned long offset, ssize_t len) in tsunami_flash_copy_from() argument 31 while(len && (offset < MAX_TIG_FLASH_SIZE)) { in tsunami_flash_copy_from() 32 *dest = tsunami_tig_readb(offset); in tsunami_flash_copy_from() 33 offset++; in tsunami_flash_copy_from() 40 struct map_info *map, unsigned long offset, in tsunami_flash_copy_to() argument 45 while(len && (offset < MAX_TIG_FLASH_SIZE)) { in tsunami_flash_copy_to() [all …]
|
/linux-2.4.37.9/fs/udf/ |
D | directory.c | 25 lb_addr fe_loc, int *pos, int *offset, struct buffer_head **bh, int *error) in udf_filead_read() argument 27 int loffset = *offset; in udf_filead_read() 34 ad = (uint8_t *)(*bh)->b_data + *offset; in udf_filead_read() 35 *offset += ad_size; in udf_filead_read() 44 if (*offset == dir->i_sb->s_blocksize) in udf_filead_read() 53 else if (*offset > dir->i_sb->s_blocksize) in udf_filead_read() 68 *offset = ad_size - remainder; in udf_filead_read() 79 uint32_t *offset, struct buffer_head **bh) in udf_fileident_read() argument 97 block = udf_get_lb_pblock(dir->i_sb, *eloc, *offset); in udf_fileident_read() 99 (*offset) ++; in udf_fileident_read() [all …]
|
D | misc.c | 72 int offset; in udf_add_extendedattr() local 82 offset = sizeof(struct fileEntry); in udf_add_extendedattr() 90 offset = sizeof(struct extendedFileEntry); in udf_add_extendedattr() 93 ea = &(*bh)->b_data[offset]; in udf_add_extendedattr() 95 offset += UDF_I_LENEATTR(inode); in udf_add_extendedattr() 99 ad = &(*bh)->b_data[offset]; in udf_add_extendedattr() 101 offset += UDF_I_LENALLOC(inode); in udf_add_extendedattr() 103 offset = inode->i_sb->s_blocksize - offset; in udf_add_extendedattr() 107 if (loc & 0x01 && offset >= size) in udf_add_extendedattr() 139 offset = UDF_I_LENEATTR(inode); in udf_add_extendedattr() [all …]
|
/linux-2.4.37.9/arch/ppc/kernel/ |
D | qspan_pci.c | 91 #define mk_config_addr(bus, dev, offset) \ argument 92 (((bus)<<16) | ((dev)<<8) | (offset & 0xfc)) 94 #define mk_config_type1(bus, dev, offset) \ argument 95 mk_config_addr(bus, dev, offset) | 1; 98 unsigned char offset, unsigned char *val) in qspan_pcibios_read_config_byte() argument 119 *QS_CONFIG_ADDR = mk_config_addr(bus, dev_fn, offset); in qspan_pcibios_read_config_byte() 121 *QS_CONFIG_ADDR = mk_config_type1(bus, dev_fn, offset); in qspan_pcibios_read_config_byte() 130 offset ^= 0x03; in qspan_pcibios_read_config_byte() 131 cp = ((u_char *)&temp) + (offset & 0x03); in qspan_pcibios_read_config_byte() 137 unsigned char offset, unsigned short *val) in qspan_pcibios_read_config_word() argument [all …]
|
/linux-2.4.37.9/fs/romfs/ |
D | inode.c | 178 romfs_strnlen(struct inode *i, unsigned long offset, unsigned long count) in romfs_strnlen() argument 184 if (offset >= maxsize) in romfs_strnlen() 188 if (count > maxsize || offset+count > maxsize) in romfs_strnlen() 189 count = maxsize-offset; in romfs_strnlen() 191 bh = sb_bread(i->i_sb, offset>>ROMBSBITS); in romfs_strnlen() 195 avail = ROMBSIZE - (offset & ROMBMASK); in romfs_strnlen() 197 res = strnlen(((char *)bh->b_data)+(offset&ROMBMASK), maxsize); in romfs_strnlen() 204 offset += maxsize; in romfs_strnlen() 206 bh = sb_bread(i->i_sb, offset>>ROMBSBITS); in romfs_strnlen() 220 romfs_copyfrom(struct inode *i, void *dest, unsigned long offset, unsigned long count) in romfs_copyfrom() argument [all …]
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | bitops.c | 43 unsigned long offset) in find_next_zero_bit() argument 45 unsigned long *p = ((unsigned long *) addr) + (offset >> 6); in find_next_zero_bit() 46 unsigned long result = offset & ~63UL; in find_next_zero_bit() 49 if (offset >= size) in find_next_zero_bit() 52 offset &= 63UL; in find_next_zero_bit() 54 if (offset) { in find_next_zero_bit() 56 tmp |= ~0UL >> (64-offset); in find_next_zero_bit() 82 unsigned long find_next_bit(unsigned long *addr, unsigned long size, unsigned long offset) in find_next_bit() argument 84 unsigned long *p = addr + (offset >> 6); in find_next_bit() 85 unsigned long result = offset & ~63UL; in find_next_bit() [all …]
|
/linux-2.4.37.9/arch/x86_64/tools/ |
D | Makefile | 2 TARGET = $(TOPDIR)/include/asm-x86_64/offset.h 12 $(TARGET): offset.h 15 .PHONY : offset.h all modules modules_install 17 offset.h: offset.sed offset.c FORCE_RECOMPILE 18 $(CC) $(CFLAGS) -S -o offset.tmp offset.c 19 sed -n -f offset.sed < offset.tmp > offset.h 24 rm -f offset.[hs] $(TARGET).new offset.tmp 27 rm -f offset.[hs] $(TARGET)
|
/linux-2.4.37.9/arch/ppc/platforms/ |
D | gemini_pci.c | 13 #define pci_config_addr(bus,dev,offset) \ argument 14 (0x80000000 | (bus<<16) | (dev<<8) | offset) 18 gemini_pcibios_read_config_byte(struct pci_dev *dev, int offset, u8 *val) in gemini_pcibios_read_config_byte() argument 22 (offset & ~(0x3)))); in gemini_pcibios_read_config_byte() 23 *val = ((reg >> ((offset & 0x3) << 3)) & 0xff); in gemini_pcibios_read_config_byte() 28 gemini_pcibios_read_config_word(struct pci_dev *dev, int offset, u16 *val) in gemini_pcibios_read_config_word() argument 32 (offset & ~(0x3)))); in gemini_pcibios_read_config_word() 33 *val = ((reg >> ((offset & 0x3) << 3)) & 0xffff); in gemini_pcibios_read_config_word() 38 gemini_pcibios_read_config_dword(struct pci_dev *dev, int offset, u32 *val) in gemini_pcibios_read_config_dword() argument 41 (offset & ~(0x3)))); in gemini_pcibios_read_config_dword() [all …]
|
/linux-2.4.37.9/include/asm-x86_64/ |
D | pci-direct.h | 12 static inline u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config() argument 15 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config() 18 PDprintk("%x reading 4 from %x: %x\n", slot, offset, v); in read_pci_config() 22 static inline u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte() argument 25 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config_byte() 26 v = inb(0xcfc + (offset&3)); in read_pci_config_byte() 27 PDprintk("%x reading 1 from %x: %x\n", slot, offset, v); in read_pci_config_byte() 31 static inline u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16() argument 34 outl(0x80000000 | (bus<<16) | (slot<<11) | (func<<8) | offset, 0xcf8); in read_pci_config_16() 35 v = inw(0xcfc + (offset&2)); in read_pci_config_16() [all …]
|
/linux-2.4.37.9/arch/sparc64/mm/ |
D | generic.c | 42 unsigned long offset, pgprot_t prot, int space) in io_remap_pte_range() argument 55 entry = mk_pte_io((offset & ~(0x1UL)), prot, space); in io_remap_pte_range() 57 if (!(address & 0x3fffff) && !(offset & 0x3ffffe) && end >= address + 0x400000) { in io_remap_pte_range() 58 entry = mk_pte_io((offset & ~(0x1UL)), in io_remap_pte_range() 62 offset += 0x400000; in io_remap_pte_range() 63 } else if (!(address & 0x7ffff) && !(offset & 0x7fffe) && end >= address + 0x80000) { in io_remap_pte_range() 64 entry = mk_pte_io((offset & ~(0x1UL)), in io_remap_pte_range() 68 offset += 0x80000; in io_remap_pte_range() 69 } else if (!(offset & 0xfffe) && end >= address + 0x10000) { in io_remap_pte_range() 70 entry = mk_pte_io((offset & ~(0x1UL)), in io_remap_pte_range() [all …]
|
/linux-2.4.37.9/drivers/char/drm/ |
D | drm_proc.h | 38 static int DRM(name_info)(char *buf, char **start, off_t offset, 40 static int DRM(vm_info)(char *buf, char **start, off_t offset, 42 static int DRM(clients_info)(char *buf, char **start, off_t offset, 44 static int DRM(queues_info)(char *buf, char **start, off_t offset, 46 static int DRM(bufs_info)(char *buf, char **start, off_t offset, 49 static int DRM(vma_info)(char *buf, char **start, off_t offset, 53 static int DRM(histo_info)(char *buf, char **start, off_t offset, 135 static int DRM(name_info)(char *buf, char **start, off_t offset, int request, in DRM() 141 if (offset > DRM_PROC_LIMIT) { in DRM() 146 *start = &buf[offset]; in DRM() [all …]
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | xfs_lrw.c | 87 loff_t offset, in xfs_rw_enter_trace() argument 101 (void *)((unsigned long)((offset >> 32) & 0xffffffff)), in xfs_rw_enter_trace() 102 (void *)((unsigned long)(offset & 0xffffffff)), in xfs_rw_enter_trace() 116 xfs_off_t offset, in xfs_inval_cached_trace() argument 128 (void *)((unsigned long)((offset >> 32) & 0xffffffff)), in xfs_inval_cached_trace() 129 (void *)((unsigned long)(offset & 0xffffffff)), in xfs_inval_cached_trace() 170 unsigned long index, offset; in xfs_iozero() local 172 offset = (pos & (PAGE_CACHE_SIZE -1)); /* Within page */ in xfs_iozero() 174 bytes = PAGE_CACHE_SIZE - offset; in xfs_iozero() 184 status = mapping->a_ops->prepare_write(NULL, page, offset, in xfs_iozero() [all …]
|
/linux-2.4.37.9/arch/sparc/lib/ |
D | blockops.S | 13 #define BLAST_BLOCK(buf, offset) \ argument 14 std %g0, [buf + offset + 0x38]; \ 15 std %g0, [buf + offset + 0x30]; \ 16 std %g0, [buf + offset + 0x28]; \ 17 std %g0, [buf + offset + 0x20]; \ 18 std %g0, [buf + offset + 0x18]; \ 19 std %g0, [buf + offset + 0x10]; \ 20 std %g0, [buf + offset + 0x08]; \ 21 std %g0, [buf + offset + 0x00]; 26 #define MIRROR_BLOCK(dst, src, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument [all …]
|
/linux-2.4.37.9/drivers/char/ftape/lowlevel/ |
D | ftape-rw.h | 41 #define GET2(address, offset) get_unaligned((__u16*)((__u8 *)address + offset)) argument 42 #define GET4(address, offset) get_unaligned((__u32*)((__u8 *)address + offset)) argument 43 #define GET8(address, offset) get_unaligned((__u64*)((__u8 *)address + offset)) argument 44 #define PUT2(address, offset , value) put_unaligned((value), (__u16*)((__u8 *)address + offset)) argument 45 #define PUT4(address, offset , value) put_unaligned((value), (__u32*)((__u8 *)address + offset)) argument 46 #define PUT8(address, offset , value) put_unaligned((value), (__u64*)((__u8 *)address + offset)) argument 98 int offset); 108 extern int ftape_start_tape(int segment_id, int offset);
|
/linux-2.4.37.9/arch/mips/mips-boards/generic/ |
D | printf.c | 36 static inline unsigned int serial_in(int offset) in serial_in() argument 38 return (*(volatile unsigned int *)(mips_io_port_base + ATLAS_UART_REGS_BASE + offset*8) & 0xff); in serial_in() 41 static inline void serial_out(int offset, int value) in serial_out() argument 43 *(volatile unsigned int *)(mips_io_port_base + ATLAS_UART_REGS_BASE + offset*8) = value; in serial_out() 53 static inline unsigned int serial_in(int offset) in serial_in() argument 55 return (*(volatile unsigned int *)(mips_io_port_base + SEAD_UART0_REGS_BASE + offset*8) & 0xff); in serial_in() 58 static inline void serial_out(int offset, int value) in serial_out() argument 60 *(volatile unsigned int *)(mips_io_port_base + SEAD_UART0_REGS_BASE + offset*8) = value; in serial_out() 65 static inline unsigned int serial_in(int offset) in serial_in() argument 67 return inb(0x3f8 + offset); in serial_in() [all …]
|
/linux-2.4.37.9/include/asm-m68k/ |
D | mac_psc.h | 218 static inline void psc_write_byte(int offset, __u8 data) in psc_write_byte() argument 220 *((volatile __u8 *)(psc + offset)) = data; in psc_write_byte() 223 static inline void psc_write_word(int offset, __u16 data) in psc_write_word() argument 225 *((volatile __u16 *)(psc + offset)) = data; in psc_write_word() 228 static inline void psc_write_long(int offset, __u32 data) in psc_write_long() argument 230 *((volatile __u32 *)(psc + offset)) = data; in psc_write_long() 233 static inline u8 psc_read_byte(int offset) in psc_read_byte() argument 235 return *((volatile __u8 *)(psc + offset)); in psc_read_byte() 238 static inline u16 psc_read_word(int offset) in psc_read_word() argument 240 return *((volatile __u16 *)(psc + offset)); in psc_read_word() [all …]
|
/linux-2.4.37.9/drivers/mtd/devices/ |
D | lart.c | 273 static __u8 read8 (__u32 offset) in read8() argument 275 volatile __u8 *data = (__u8 *) (FLASH_OFFSET + offset); in read8() 277 printk (KERN_DEBUG "%s(): 0x%.8x -> 0x%.2x\n",__FUNCTION__,offset,*data); in read8() 282 static __u32 read32 (__u32 offset) in read32() argument 284 volatile __u32 *data = (__u32 *) (FLASH_OFFSET + offset); in read32() 286 printk (KERN_DEBUG "%s(): 0x%.8x -> 0x%.8x\n",__FUNCTION__,offset,*data); in read32() 291 static void write32 (__u32 x,__u32 offset) in write32() argument 293 volatile __u32 *data = (__u32 *) (FLASH_OFFSET + offset); in write32() 296 printk (KERN_DEBUG "%s(): 0x%.8x <- 0x%.8x\n",__FUNCTION__,offset,*data); in write32() 334 static inline int erase_block (__u32 offset) in erase_block() argument [all …]
|
/linux-2.4.37.9/arch/mips/momentum/ocelot_c/ |
D | pci.c | 50 int offset, u16 * val); 52 int offset, u8 * val); 54 int offset, u32 * val); 56 int offset, u8 val); 58 int offset, u16 val); 60 int offset, u32 val); 111 int offset, u32* val) in marvell_pcibios_read_config_dword() argument 135 (offset & 0xfc) | 0x80000000; in marvell_pcibios_read_config_dword() 148 int offset, u16* val) in marvell_pcibios_read_config_word() argument 172 (offset & 0xfc) | 0x80000000; in marvell_pcibios_read_config_word() [all …]
|
/linux-2.4.37.9/arch/mips/pmc-sierra/yosemite/ |
D | ht.c | 57 int offset, u32* val) in titan_ht_config_read_dword() argument 69 (offset & 0xfc) | 0x80000000 | 0x1; in titan_ht_config_read_dword() 72 (offset & 0xfc) | 0x80000000; in titan_ht_config_read_dword() 101 int offset, u16* val) in titan_ht_config_read_word() argument 112 (offset & 0xfc) | 0x80000000; in titan_ht_config_read_word() 117 titan_ht_config_read_dword(device, offset, val1); in titan_ht_config_read_word() 119 if ((offset & 0x3) == 0) in titan_ht_config_read_word() 142 int offset, u8* val) in titan_ht_config_read_byte() argument 153 (offset & 0xfc) | 0x80000000; in titan_ht_config_read_byte() 158 titan_ht_config_read_dword(device, offset, val1); in titan_ht_config_read_byte() [all …]
|
/linux-2.4.37.9/arch/ia64/kernel/ |
D | minstate.h | 126 .mem.offset 0,0; st8.spill [r16]=r8,16; \ 127 .mem.offset 8,0; st8.spill [r17]=r9,16; \ 129 .mem.offset 0,0; st8.spill [r16]=r10,24; \ 130 .mem.offset 8,0; st8.spill [r17]=r11,32; \ 160 .mem.offset 0,0; st8.spill [r16]=r12,16; \ 161 .mem.offset 8,0; st8.spill [r17]=r13,16; \ 164 .mem.offset 0,0; st8 [r16]=r21,PT(R14)-PT(AR_FPSR); /* ar.fpsr */ \ 165 .mem.offset 8,0; st8.spill [r17]=r15,PT(R3)-PT(R15); \ 169 .mem.offset 0,0; st8.spill [r16]=r14,8; \ 172 .mem.offset 0,0; st8.spill [r16]=r2,16; \ [all …]
|
/linux-2.4.37.9/scripts/lxdialog/ |
D | lxdialog.c | 59 int offset = 0, clear_screen = 0, end_common_opts = 0, retval; in main() local 74 while (offset < argc - 1 && !end_common_opts) { /* Common options */ in main() 75 if (!strcmp (argv[offset + 1], "--title")) { in main() 76 if (argc - offset < 3 || title != NULL) { in main() 80 title = argv[offset + 2]; in main() 81 offset += 2; in main() 83 } else if (!strcmp (argv[offset + 1], "--backtitle")) { in main() 88 backtitle = argv[offset + 2]; in main() 89 offset += 2; in main() 91 } else if (!strcmp (argv[offset + 1], "--clear")) { in main() [all …]
|
/linux-2.4.37.9/drivers/mtd/chips/ |
D | amd_flash.c | 264 eraseoffset = merip->offset; in amd_flash_do_unlock() 438 { offset: 0x000000, erasesize: 0x10000, numblocks: 31 }, in amd_flash_probe() 439 { offset: 0x1F0000, erasesize: 0x08000, numblocks: 1 }, in amd_flash_probe() 440 { offset: 0x1F8000, erasesize: 0x02000, numblocks: 2 }, in amd_flash_probe() 441 { offset: 0x1FC000, erasesize: 0x04000, numblocks: 1 } in amd_flash_probe() 450 { offset: 0x000000, erasesize: 0x04000, numblocks: 1 }, in amd_flash_probe() 451 { offset: 0x004000, erasesize: 0x02000, numblocks: 2 }, in amd_flash_probe() 452 { offset: 0x008000, erasesize: 0x08000, numblocks: 1 }, in amd_flash_probe() 453 { offset: 0x010000, erasesize: 0x10000, numblocks: 31 } in amd_flash_probe() 462 { offset: 0x000000, erasesize: 0x10000, numblocks: 31 }, in amd_flash_probe() [all …]
|