| /arch/arm/mach-omap2/ |
| A D | io.c | 69 .length = L3_24XX_SIZE, 75 .length = L4_24XX_SIZE, 109 .length = L4_WK_243X_SIZE, 139 .length = L3_34XX_SIZE, 145 .length = L4_34XX_SIZE, 186 .length = L4_34XX_SIZE, 197 .length = L4_34XX_SIZE, 214 .length = L3_44XX_SIZE, 220 .length = L4_44XX_SIZE, 237 .length = L3_54XX_SIZE, [all …]
|
| /arch/x86/kernel/ |
| A D | probe_roms.c | 194 for (sum = 0; length && get_kernel_nofault(c, rom++) == 0; length--) in romchecksum() 196 return !length && !sum; in romchecksum() 201 unsigned long start, length, upper; in probe_roms() local 219 length = c * 512; in probe_roms() 222 if (length && romchecksum(rom, length)) in probe_roms() 223 video_rom_resource.end = start + length - 1; in probe_roms() 240 length = resource_size(&extension_rom_resource); in probe_roms() 241 if (romchecksum(rom, length)) { in probe_roms() 257 length = c * 512; in probe_roms() 260 if (!length || start + length > upper || !romchecksum(rom, length)) in probe_roms() [all …]
|
| A D | mpparse.c | 186 1, mpc, mpc->length, 1); in smp_dump_mptable() 208 while (count < mpc->length) { in smp_read_mpc() 235 count = mpc->length; in smp_read_mpc() 418 size = mpc->length; in get_mpc_size() 566 while (length > 0) { in smp_scan_config() 567 bp = early_memremap(base, length); in smp_scan_config() 570 (mpf->length == 1) && in smp_scan_config() 589 early_memunmap(bp, length); in smp_scan_config() 595 length -= 16; in smp_scan_config() 736 while (count < mpc->length) { in replace_intsrc_all() [all …]
|
| /arch/powerpc/platforms/pseries/ |
| A D | reconfig.c | 136 *length = -1; in parse_next_property() 137 *length = simple_strtoul(tmp, &tmp, 10); in parse_next_property() 138 if (*length == -1) { in parse_next_property() 151 tmp += *length; in parse_next_property() 181 memcpy(new->value, value, length); in new_property() 182 *(((char *)new->value) + length) = 0; in new_property() 183 new->length = length; in new_property() 200 int length, rv = 0; in do_add_node() local 278 int length; in do_add_property() local 288 prop = new_property(name, length, value, NULL); in do_add_property() [all …]
|
| A D | papr-sysparm.c | 37 static void papr_sysparm_buf_set_length(struct papr_sysparm_buf *buf, size_t length) in papr_sysparm_buf_set_length() argument 39 WARN_ONCE(length > sizeof(buf->val), in papr_sysparm_buf_set_length() 40 "bogus length %zu, clamping to safe value", length); in papr_sysparm_buf_set_length() 41 length = min(sizeof(buf->val), length); in papr_sysparm_buf_set_length() 42 buf->len = cpu_to_be16(length); in papr_sysparm_buf_set_length() 216 if (get_user(len, &user_iob->length)) in papr_sysparm_buf_from_user() 248 if (put_user(len_out, &user_iob->length)) in papr_sysparm_buf_to_user()
|
| /arch/parisc/math-emu/ |
| A D | fpbits.h | 40 #define Bitfield_extract(start, length, object) \ argument 41 ((object) >> (HOSTWDSZ - (start) - (length)) & \ 42 ((unsigned)-1 >> (HOSTWDSZ - (length)))) 44 #define Bitfield_signed_extract(start, length, object) \ argument 45 ((int)((object) << start) >> (HOSTWDSZ - (length)))
|
| /arch/m68k/mac/ |
| A D | macboing.c | 157 void mac_mksound( unsigned int freq, unsigned int length ) in mac_mksound() argument 174 mac_special_bell( freq, length, 128 ); in mac_mksound() 178 if ( freq < 20 || freq > 20000 || length == 0 ) in mac_mksound() 203 mac_sound_timer.expires = jiffies + length; in mac_mksound() 220 static void mac_quadra_start_bell( unsigned int freq, unsigned int length, unsigned int volume ) in mac_quadra_start_bell() argument 227 mac_bell_duration += length; in mac_quadra_start_bell() 231 mac_bell_duration = length; in mac_quadra_start_bell() 301 static void mac_av_start_bell( unsigned int freq, unsigned int length, unsigned int volume ) in mac_av_start_bell() argument
|
| /arch/s390/pci/ |
| A D | pci_mmio.c | 141 if (length <= 0 || PAGE_SIZE - (mmio_addr & ~PAGE_MASK) < length) in SYSCALL_DEFINE3() 155 length); in SYSCALL_DEFINE3() 159 if (length > 64) { in SYSCALL_DEFINE3() 160 buf = kmalloc(length, GFP_KERNEL); in SYSCALL_DEFINE3() 167 if (copy_from_user(buf, user_buffer, length)) in SYSCALL_DEFINE3() 197 ret = zpci_memcpy_toio(io_addr, buf, length); in SYSCALL_DEFINE3() 284 void __user *, user_buffer, size_t, length) in SYSCALL_DEFINE3() argument 296 if (length <= 0 || PAGE_SIZE - (mmio_addr & ~PAGE_MASK) < length) in SYSCALL_DEFINE3() 310 length); in SYSCALL_DEFINE3() 314 if (length > 64) { in SYSCALL_DEFINE3() [all …]
|
| /arch/powerpc/kernel/ |
| A D | nvram_64.c | 36 unsigned short length; member 192 if (length > part->size) in nvram_write_os_partition() 193 length = part->size; in nvram_write_os_partition() 230 if (length > part->size) in nvram_read_partition() 231 length = part->size; in nvram_read_partition() 502 size_t length, hdr_size; in nvram_pstore_read() local 527 return length; in nvram_pstore_read() 731 phead.length = cpu_to_be16(phead.length); in nvram_write_header() 814 prev->header.length += part->header.length; in nvram_remove_partition() 1017 phead.length = be16_to_cpu(phead.length); in nvram_scan_partitions() [all …]
|
| /arch/mips/include/asm/fw/cfe/ |
| A D | cfe_api.h | 85 int cfe_enummem(int idx, int flags, uint64_t * start, uint64_t * length, 96 int length, int *retlen, uint64_t offset); 98 int cfe_read(int handle, unsigned char *buffer, int length); 100 int length); 102 int cfe_write(int handle, const char *buffer, int length); 104 int length);
|
| /arch/x86/boot/compressed/ |
| A D | acpi.c | 79 static u8 compute_checksum(u8 *buffer, u32 length) in compute_checksum() argument 81 u8 *end = buffer + length; in compute_checksum() 91 static u8 *scan_mem_for_rsdp(u8 *start, u32 length) in scan_mem_for_rsdp() argument 96 end = start + length; in scan_mem_for_rsdp() 236 len = header->length; in get_acpi_srat_table() 287 table_end = table_addr + table_header->length; in count_immovable_mem_regions() 293 if (!sub_table->length) { in count_immovable_mem_regions() 302 if (!(ma->flags & ACPI_SRAT_MEM_HOT_PLUGGABLE) && ma->length) { in count_immovable_mem_regions() 304 immovable_mem[num].size = ma->length; in count_immovable_mem_regions() 313 table += sub_table->length; in count_immovable_mem_regions()
|
| /arch/m68k/atari/ |
| A D | atasound.c | 86 int length = (ticks * PSG_ENV_FREQ_10) / HZ / 10; in atari_mksound() local 88 if (length > 0xffff) length = 0xffff; in atari_mksound() 90 sound_ym.wd_data = length & 0xff; in atari_mksound() 92 sound_ym.wd_data = length >> 8; in atari_mksound()
|
| /arch/arm/mach-tegra/ |
| A D | io.c | 28 .length = IO_PPSB_SIZE, 34 .length = IO_APB_SIZE, 40 .length = IO_CPU_SIZE, 46 .length = IO_IRAM_SIZE,
|
| /arch/alpha/kernel/ |
| A D | err_common.c | 32 mchk_dump_mem(void *data, size_t length, char **annotation) in mchk_dump_mem() argument 37 for (i = 0; (i * sizeof(*ldata)) < length; i++) { in mchk_dump_mem() 94 int length = 0; in el_process_header_subpacket() local 106 length = header->by_type.sys_err.frame_length; in el_process_header_subpacket() 113 length = header->by_type.sys_event.frame_length; in el_process_header_subpacket() 120 length = header->by_type.err_halt.frame_length; in el_process_header_subpacket() 127 length = header->by_type.logout_header.frame_length; in el_process_header_subpacket() 152 ((unsigned long)header + header->length + length); in el_process_header_subpacket() 186 ((unsigned long)header + header->length); in el_process_subpackets() 238 mchk_dump_mem(header, header->length, annotation); in el_annotate_subpacket()
|
| /arch/arm/mach-footbridge/ |
| A D | dma-isa.c | 64 unsigned long address, length; in isa_enable_dma() local 94 dma->buf.length = dma->count; in isa_enable_dma() 101 length = dma->buf.length - 1; in isa_enable_dma() 108 length >>= 1; in isa_enable_dma() 116 outb(length, isa_dma_port[chan][ISA_DMA_COUNT]); in isa_enable_dma() 117 outb(length >> 8, isa_dma_port[chan][ISA_DMA_COUNT]); in isa_enable_dma()
|
| /arch/powerpc/include/asm/ |
| A D | nvram.h | 45 extern int nvram_write_error_log(char * buff, int length, 47 extern int nvram_read_error_log(char * buff, int length, 85 int length, unsigned int *err_type, 90 char *buff, int length,
|
| /arch/arm/xen/ |
| A D | mm.c | 58 cflush.length = XEN_PAGE_SIZE - cflush.offset; in dma_cache_maint() 60 cflush.length = size; in dma_cache_maint() 65 handle += cflush.length; in dma_cache_maint() 66 size -= cflush.length; in dma_cache_maint() 136 cflush.length = 0; in xen_mm_init()
|
| /arch/arm/mach-s3c/ |
| A D | s3c64xx.c | 102 .length = SZ_4K, 107 .length = SZ_4K, 112 .length = SZ_4K, 117 .length = SZ_16K, 122 .length = SZ_16K, 127 .length = SZ_16K, 132 .length = SZ_4K, 137 .length = SZ_4K, 142 .length = SZ_4K, 147 .length = SZ_1K,
|
| /arch/arm/mach-spear/ |
| A D | spear13xx.c | 62 .length = SZ_16M, 67 .length = SZ_16M, 72 .length = SZ_16M, 77 .length = SZ_4K,
|
| /arch/s390/include/asm/ |
| A D | idals.h | 33 static inline bool idal_is_needed(void *vaddr, unsigned int length) in idal_is_needed() argument 37 return (((__force unsigned long)(paddr) + length - 1) >> 31) != 0; in idal_is_needed() 43 static inline unsigned int idal_nr_words(void *vaddr, unsigned int length) in idal_nr_words() argument 48 cidaw += length + IDA_BLOCK_SIZE - 1; in idal_nr_words() 56 static inline unsigned int idal_2k_nr_words(void *vaddr, unsigned int length) in idal_2k_nr_words() argument 61 cidaw += length + IDA_2K_BLOCK_SIZE - 1; in idal_2k_nr_words() 69 static inline dma64_t *idal_create_words(dma64_t *idaws, void *vaddr, unsigned int length) in idal_create_words() argument 75 cidaw = idal_nr_words(vaddr, length); in idal_create_words()
|
| /arch/x86/include/uapi/asm/ |
| A D | sgx.h | 61 __u64 length; member 98 __u64 length; member 116 __u64 length; member 137 __u64 length; member
|
| /arch/arm/mach-mmp/ |
| A D | common.c | 29 .length = APB_PHYS_SIZE, 34 .length = AXI_PHYS_SIZE, 43 .length = PGU_PHYS_SIZE,
|
| /arch/arm/kernel/ |
| A D | fiq.c | 95 void set_fiq_handler(void *start, unsigned int length) in set_fiq_handler() argument 100 memcpy(base + offset, start, length); in set_fiq_handler() 103 (unsigned long)base + offset + length); in set_fiq_handler() 104 flush_icache_range(0xffff0000 + offset, 0xffff0000 + offset + length); in set_fiq_handler()
|
| /arch/arm/mach-sa1100/ |
| A D | h3600.c | 87 .red = { .offset = 12, .length = 4, }, 88 .green = { .offset = 7, .length = 4, }, 89 .blue = { .offset = 1, .length = 4, }, 90 .transp = { .offset = 0, .length = 0, },
|
| /arch/x86/pci/ |
| A D | pcbios.c | 81 unsigned char length; /* Length in paragraphs should be 01 */ member 108 unsigned long length; /* %ecx */ in bios32_service() local 116 "=c" (length), in bios32_service() 306 int i, length; in pci_find_bios() local 323 length = check->fields.length * 16; in pci_find_bios() 324 if (!length) in pci_find_bios() 327 for (i = 0; i < length ; ++i) in pci_find_bios()
|