Home
last modified time | relevance | path

Searched refs:address (Results 1 – 200 of 4527) sorted by relevance

12345678910>>...23

/linux-4.4.14/arch/x86/mm/
Dfault.c171 force_sig_info_fault(int si_signo, int si_code, unsigned long address, in force_sig_info_fault() argument
180 info.si_addr = (void __user *)address; in force_sig_info_fault()
194 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one() argument
196 unsigned index = pgd_index(address); in vmalloc_sync_one()
212 pud = pud_offset(pgd, address); in vmalloc_sync_one()
213 pud_k = pud_offset(pgd_k, address); in vmalloc_sync_one()
217 pmd = pmd_offset(pud, address); in vmalloc_sync_one()
218 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one()
232 unsigned long address; in vmalloc_sync_all() local
237 for (address = VMALLOC_START & PMD_MASK; in vmalloc_sync_all()
[all …]
Dpgtable.c19 pte_t *pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel() argument
24 pgtable_t pte_alloc_one(struct mm_struct *mm, unsigned long address) in pte_alloc_one() argument
410 unsigned long address, pte_t *ptep, in ptep_set_access_flags() argument
417 pte_update_defer(vma->vm_mm, address, ptep); in ptep_set_access_flags()
425 unsigned long address, pmd_t *pmdp, in pmdp_set_access_flags() argument
430 VM_BUG_ON(address & ~HPAGE_PMD_MASK); in pmdp_set_access_flags()
434 pmd_update_defer(vma->vm_mm, address, pmdp); in pmdp_set_access_flags()
480 unsigned long address, pte_t *ptep) in ptep_clear_flush_young() argument
495 return ptep_test_and_clear_young(vma, address, ptep); in ptep_clear_flush_young()
500 unsigned long address, pmd_t *pmdp) in pmdp_clear_flush_young() argument
[all …]
Dpageattr.c251 static inline pgprot_t static_protections(pgprot_t prot, unsigned long address, in static_protections() argument
270 if (within(address, (unsigned long)_text, (unsigned long)_etext)) in static_protections()
292 within(address, (unsigned long)_text, in static_protections()
313 if (lookup_address(address, &level) && (level != PG_LEVEL_4K)) in static_protections()
327 pte_t *lookup_address_in_pgd(pgd_t *pgd, unsigned long address, in lookup_address_in_pgd() argument
338 pud = pud_offset(pgd, address); in lookup_address_in_pgd()
346 pmd = pmd_offset(pud, address); in lookup_address_in_pgd()
356 return pte_offset_kernel(pmd, address); in lookup_address_in_pgd()
367 pte_t *lookup_address(unsigned long address, unsigned int *level) in lookup_address() argument
369 return lookup_address_in_pgd(pgd_offset_k(address), address, level); in lookup_address()
[all …]
/linux-4.4.14/drivers/scsi/
Dscript_asm.pl204 $address = 0; # Address of current instruction
219 local ($address, $offset, $length, $value) = @_;
221 print STDERR "Patching $address at offset $offset, length $length to $value\n";
222 printf STDERR "Old code : %08x\n", $code[$address];
227 $code[$address] = ($code[$address] & ~$mask) |
228 (($code[$address] & $mask) + ($value << ($offset * 8)) &
231 printf STDERR "New code : %08x\n", $code[$address] if ($debug);
263 $tmp = ($address + $word) * 4 + $offset;
277 &patch ($address + $word, $offset, $length, $value);
290 $code[$address] |= 0x00_01_00_00;
[all …]
/linux-4.4.14/drivers/acpi/acpica/
Drsaddr.c77 {ACPI_RSC_MOVE16, ACPI_RS_OFFSET(data.address16.address.granularity),
115 {ACPI_RSC_MOVE32, ACPI_RS_OFFSET(data.address32.address.granularity),
153 {ACPI_RSC_MOVE64, ACPI_RS_OFFSET(data.address64.address.granularity),
198 ACPI_RS_OFFSET(data.ext_address64.address.granularity),
210 {ACPI_RSC_FLAGINIT, 0, AML_OFFSET(address.flags),
215 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.address.resource_type),
216 AML_OFFSET(address.resource_type),
221 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.producer_consumer),
222 AML_OFFSET(address.flags),
225 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.decode),
[all …]
Dhwvalid.c52 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width);
124 acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width) in acpi_hw_validate_io_request() argument
143 last_address = address + byte_width - 1; in acpi_hw_validate_io_request()
147 ACPI_FORMAT_UINT64(address), in acpi_hw_validate_io_request()
155 ACPI_FORMAT_UINT64(address), byte_width)); in acpi_hw_validate_io_request()
161 if (address > acpi_protected_ports[ACPI_PORT_INFO_ENTRIES - 1].end) { in acpi_hw_validate_io_request()
177 if ((address <= port_info->end) in acpi_hw_validate_io_request()
185 ACPI_FORMAT_UINT64(address), in acpi_hw_validate_io_request()
220 acpi_status acpi_hw_read_port(acpi_io_address address, u32 *value, u32 width) in acpi_hw_read_port() argument
229 address &= ACPI_UINT16_MAX; in acpi_hw_read_port()
[all …]
Dexregion.c70 acpi_physical_address address, in acpi_ex_system_memory_space_handler() argument
122 (void)acpi_ut_short_divide((u64) address, length, NULL, &remainder); in acpi_ex_system_memory_space_handler()
133 if ((address < mem_info->mapped_physical_address) || in acpi_ex_system_memory_space_handler()
134 (((u64) address + length) > ((u64) in acpi_ex_system_memory_space_handler()
155 ((mem_info->address + mem_info->length) - address); in acpi_ex_system_memory_space_handler()
169 (ACPI_ROUND_UP(address, ACPI_DEFAULT_PAGE_SIZE) - address); in acpi_ex_system_memory_space_handler()
181 acpi_os_map_memory(address, map_length); in acpi_ex_system_memory_space_handler()
185 ACPI_FORMAT_UINT64(address), in acpi_ex_system_memory_space_handler()
193 mem_info->mapped_physical_address = address; in acpi_ex_system_memory_space_handler()
202 ((u64) address - (u64) mem_info->mapped_physical_address); in acpi_ex_system_memory_space_handler()
[all …]
Dtbinstal.c140 new_table_desc->address, in acpi_tb_install_table_with_override()
144 acpi_tb_print_table_header(new_table_desc->address, in acpi_tb_install_table_with_override()
175 acpi_tb_install_fixed_table(acpi_physical_address address, in acpi_tb_install_fixed_table() argument
183 if (!address) { in acpi_tb_install_fixed_table()
192 status = acpi_tb_acquire_temp_table(&new_table_desc, address, in acpi_tb_install_fixed_table()
197 ACPI_FORMAT_UINT64(address))); in acpi_tb_install_fixed_table()
243 acpi_tb_install_standard_table(acpi_physical_address address, in acpi_tb_install_standard_table() argument
255 status = acpi_tb_acquire_temp_table(&new_table_desc, address, flags); in acpi_tb_install_standard_table()
259 ACPI_FORMAT_UINT64(address))); in acpi_tb_install_standard_table()
273 ACPI_FORMAT_UINT64(address))); in acpi_tb_install_standard_table()
[all …]
Drsdumpinfo.c123 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(fixed_io.address), "Address", NULL},
176 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(fixed_memory32.address), "Address",
186 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.granularity),
188 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.minimum),
190 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.maximum),
192 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.translation_offset),
194 {ACPI_RSD_UINT16, ACPI_RSD_OFFSET(address16.address.address_length),
203 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.granularity),
205 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.minimum),
207 {ACPI_RSD_UINT32, ACPI_RSD_OFFSET(address32.address.maximum),
[all …]
Dhwregs.c84 u8 max_bit_width, u64 *address) in acpi_hw_validate_register() argument
98 ACPI_MOVE_64_TO_64(address, &reg->address); in acpi_hw_validate_register()
99 if (!(*address)) { in acpi_hw_validate_register()
157 u64 address; in acpi_hw_read() local
165 status = acpi_hw_validate_register(reg, 32, &address); in acpi_hw_read()
180 address, &value64, reg->bit_width); in acpi_hw_read()
186 address, value, reg->bit_width); in acpi_hw_read()
191 *value, reg->bit_width, ACPI_FORMAT_UINT64(address), in acpi_hw_read()
214 u64 address; in acpi_hw_write() local
221 status = acpi_hw_validate_register(reg, 32, &address); in acpi_hw_write()
[all …]
Dtbfadt.c56 u64 address, char *register_name, u8 flags);
195 u64 address, char *register_name, u8 flags) in acpi_tb_init_generic_address() argument
225 ACPI_MOVE_64_TO_64(&generic_address->address, &address); in acpi_tb_init_generic_address()
326 tables[acpi_gbl_fadt_index].address, length); in acpi_tb_parse_fadt()
564 if (!address64->address) { in acpi_tb_convert_fadt()
577 } else if (address64->address != (u64)address32) { in acpi_tb_convert_fadt()
586 (address64->address), in acpi_tb_convert_fadt()
617 if (address64->address && in acpi_tb_convert_fadt()
631 if (!address64->address || !length) { in acpi_tb_convert_fadt()
637 address), in acpi_tb_convert_fadt()
[all …]
Dhwxface.c78 !reset_reg->address) { in acpi_reset()
95 acpi_os_write_port((acpi_io_address) reset_reg->address, in acpi_reset()
132 u64 address; in ACPI_EXPORT_SYMBOL() local
143 status = acpi_hw_validate_register(reg, 64, &address); in ACPI_EXPORT_SYMBOL()
154 address, return_value, in ACPI_EXPORT_SYMBOL()
170 address, &value_lo, width); in ACPI_EXPORT_SYMBOL()
180 (address + 4), &value_hi, in ACPI_EXPORT_SYMBOL()
195 ACPI_FORMAT_UINT64(address), in ACPI_EXPORT_SYMBOL()
218 u64 address; in ACPI_EXPORT_SYMBOL() local
225 status = acpi_hw_validate_register(reg, 64, &address); in ACPI_EXPORT_SYMBOL()
[all …]
Dutaddress.c76 acpi_physical_address address, in acpi_ut_add_address_range() argument
96 range_info->start_address = address; in acpi_ut_add_address_range()
97 range_info->end_address = (address + length - 1); in acpi_ut_add_address_range()
112 ACPI_FORMAT_UINT64(address), in acpi_ut_add_address_range()
204 acpi_physical_address address, u32 length, u8 warn) in acpi_ut_check_address_range() argument
219 end_address = address + length - 1; in acpi_ut_check_address_range()
234 if ((address <= range_info->end_address) && in acpi_ut_check_address_range()
248 ACPI_FORMAT_UINT64(address), in acpi_ut_check_address_range()
Devxface.c61 acpi_gpe_handler address, void *context);
423 acpi_status acpi_install_sci_handler(acpi_sci_handler address, void *context) in ACPI_EXPORT_SYMBOL()
432 if (!address) { in ACPI_EXPORT_SYMBOL()
443 new_sci_handler->address = address; in ACPI_EXPORT_SYMBOL()
459 if (address == sci_handler->address) { in ACPI_EXPORT_SYMBOL()
497 acpi_status acpi_remove_sci_handler(acpi_sci_handler address) in ACPI_EXPORT_SYMBOL()
506 if (!address) { in ACPI_EXPORT_SYMBOL()
522 if (next_sci_handler->address == address) { in ACPI_EXPORT_SYMBOL()
754 acpi_gpe_handler address, void *context) in ACPI_EXPORT_SYMBOL()
765 if ((!address) || (type & ~ACPI_GPE_XRUPT_TYPE_MASK)) { in ACPI_EXPORT_SYMBOL()
[all …]
Dtbutils.c263 acpi_physical_address address; in acpi_tb_parse_root_table() local
291 address = (acpi_physical_address) rsdp->xsdt_physical_address; in acpi_tb_parse_root_table()
296 address = (acpi_physical_address) rsdp->rsdt_physical_address; in acpi_tb_parse_root_table()
308 table = acpi_os_map_memory(address, sizeof(struct acpi_table_header)); in acpi_tb_parse_root_table()
313 acpi_tb_print_table_header(address, table); in acpi_tb_parse_root_table()
329 table = acpi_os_map_memory(address, length); in acpi_tb_parse_root_table()
354 address = in acpi_tb_parse_root_table()
359 if (!address) { in acpi_tb_parse_root_table()
363 status = acpi_tb_install_standard_table(address, in acpi_tb_parse_root_table()
/linux-4.4.14/arch/sh/mm/
Dfault.c41 force_sig_info_fault(int si_signo, int si_code, unsigned long address, in force_sig_info_fault() argument
49 info.si_addr = (void __user *)address; in force_sig_info_fault()
127 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one() argument
129 unsigned index = pgd_index(address); in vmalloc_sync_one()
140 pud = pud_offset(pgd, address); in vmalloc_sync_one()
141 pud_k = pud_offset(pgd_k, address); in vmalloc_sync_one()
148 pmd = pmd_offset(pud, address); in vmalloc_sync_one()
149 pmd_k = pmd_offset(pud_k, address); in vmalloc_sync_one()
177 static noinline int vmalloc_fault(unsigned long address) in vmalloc_fault() argument
184 if (!(address >= VMALLOC_START && address < __FAULT_ADDR_LIMIT)) in vmalloc_fault()
[all …]
Dtlbex_32.c23 unsigned long address) in handle_tlbmiss() argument
36 if (address >= P3SEG && address < P3_ADDR_MAX) { in handle_tlbmiss()
37 pgd = pgd_offset_k(address); in handle_tlbmiss()
39 if (unlikely(address >= TASK_SIZE || !current->mm)) in handle_tlbmiss()
42 pgd = pgd_offset(current->mm, address); in handle_tlbmiss()
45 pud = pud_offset(pgd, address); in handle_tlbmiss()
48 pmd = pmd_offset(pud, address); in handle_tlbmiss()
51 pte = pte_offset_kernel(pmd, address); in handle_tlbmiss()
71 local_flush_tlb_one(get_asid(), address & PAGE_MASK); in handle_tlbmiss()
75 update_mmu_cache(NULL, address, pte); in handle_tlbmiss()
Dtlbex_64.c44 unsigned long address) in handle_tlbmiss() argument
52 if (is_vmalloc_addr((void *)address)) { in handle_tlbmiss()
53 pgd = pgd_offset_k(address); in handle_tlbmiss()
55 if (unlikely(address >= TASK_SIZE || !current->mm)) in handle_tlbmiss()
58 pgd = pgd_offset(current->mm, address); in handle_tlbmiss()
61 pud = pud_offset(pgd, address); in handle_tlbmiss()
65 pmd = pmd_offset(pud, address); in handle_tlbmiss()
69 pte = pte_offset_kernel(pmd, address); in handle_tlbmiss()
83 update_mmu_cache(NULL, address, pte); in handle_tlbmiss()
132 unsigned long address) in do_fast_page_fault() argument
[all …]
/linux-4.4.14/arch/nios2/mm/
Dioremap.c22 static inline void remap_area_pte(pte_t *pte, unsigned long address, in remap_area_pte() argument
31 address &= ~PMD_MASK; in remap_area_pte()
32 end = address + size; in remap_area_pte()
35 if (address >= end) in remap_area_pte()
44 address += PAGE_SIZE; in remap_area_pte()
47 } while (address && (address < end)); in remap_area_pte()
50 static inline int remap_area_pmd(pmd_t *pmd, unsigned long address, in remap_area_pmd() argument
56 address &= ~PGDIR_MASK; in remap_area_pmd()
57 end = address + size; in remap_area_pmd()
60 phys_addr -= address; in remap_area_pmd()
[all …]
Dfault.c43 unsigned long address) in do_page_fault() argument
66 if (unlikely(address >= VMALLOC_START && address <= VMALLOC_END)) { in do_page_fault()
73 if (unlikely(address >= TASK_SIZE)) in do_page_fault()
93 vma = find_vma(mm, address); in do_page_fault()
96 if (vma->vm_start <= address) in do_page_fault()
100 if (expand_stack(vma, address)) in do_page_fault()
134 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault()
190 "cause %ld\n", current->comm, SIGSEGV, address, cause); in do_page_fault()
193 _exception(SIGSEGV, regs, code, address); in do_page_fault()
209 address < PAGE_SIZE ? "NULL pointer dereference" : in do_page_fault()
[all …]
/linux-4.4.14/mm/
Dpgtable-generic.c48 unsigned long address, pte_t *ptep, in ptep_set_access_flags() argument
53 set_pte_at(vma->vm_mm, address, ptep, entry); in ptep_set_access_flags()
54 flush_tlb_fix_spurious_fault(vma, address); in ptep_set_access_flags()
62 unsigned long address, pte_t *ptep) in ptep_clear_flush_young() argument
65 young = ptep_test_and_clear_young(vma, address, ptep); in ptep_clear_flush_young()
67 flush_tlb_page(vma, address); in ptep_clear_flush_young()
73 pte_t ptep_clear_flush(struct vm_area_struct *vma, unsigned long address, in ptep_clear_flush() argument
78 pte = ptep_get_and_clear(mm, address, ptep); in ptep_clear_flush()
80 flush_tlb_page(vma, address); in ptep_clear_flush()
103 unsigned long address, pmd_t *pmdp, in pmdp_set_access_flags() argument
[all …]
Drmap.c581 unsigned long address = __vma_address(page, vma); in vma_address() local
584 VM_BUG_ON_VMA(address < vma->vm_start || address >= vma->vm_end, vma); in vma_address()
586 return address; in vma_address()
696 unsigned long address; in page_address_in_vma() local
711 address = __vma_address(page, vma); in page_address_in_vma()
712 if (unlikely(address < vma->vm_start || address >= vma->vm_end)) in page_address_in_vma()
714 return address; in page_address_in_vma()
717 pmd_t *mm_find_pmd(struct mm_struct *mm, unsigned long address) in mm_find_pmd() argument
724 pgd = pgd_offset(mm, address); in mm_find_pmd()
728 pud = pud_offset(pgd, address); in mm_find_pmd()
[all …]
Dmemory.c565 pmd_t *pmd, unsigned long address) in __pte_alloc() argument
568 pgtable_t new = pte_alloc_one(mm, address); in __pte_alloc()
604 int __pte_alloc_kernel(pmd_t *pmd, unsigned long address) in __pte_alloc_kernel() argument
606 pte_t *new = pte_alloc_one_kernel(&init_mm, address); in __pte_alloc_kernel()
1420 static void zap_page_range_single(struct vm_area_struct *vma, unsigned long address, in zap_page_range_single() argument
1425 unsigned long end = address + size; in zap_page_range_single()
1428 tlb_gather_mmu(&tlb, mm, address, end); in zap_page_range_single()
1430 mmu_notifier_invalidate_range_start(mm, address, end); in zap_page_range_single()
1431 unmap_single_vma(&tlb, vma, address, end, details); in zap_page_range_single()
1432 mmu_notifier_invalidate_range_end(mm, address, end); in zap_page_range_single()
[all …]
Dhuge_memory.c103 unsigned long address; member
716 unsigned long address, pmd_t *pmd, in __do_huge_pmd_anonymous_page() argument
723 unsigned long haddr = address & HPAGE_PMD_MASK; in __do_huge_pmd_anonymous_page()
765 ret = handle_userfault(vma, address, flags, in __do_huge_pmd_anonymous_page()
809 unsigned long address, pmd_t *pmd, in do_huge_pmd_anonymous_page() argument
814 unsigned long haddr = address & HPAGE_PMD_MASK; in do_huge_pmd_anonymous_page()
844 ret = handle_userfault(vma, address, flags, in do_huge_pmd_anonymous_page()
868 return __do_huge_pmd_anonymous_page(mm, vma, address, pmd, page, gfp, in do_huge_pmd_anonymous_page()
990 unsigned long address, in huge_pmd_set_accessed() argument
1003 haddr = address & HPAGE_PMD_MASK; in huge_pmd_set_accessed()
[all …]
Dgup.c37 static int follow_pfn_pte(struct vm_area_struct *vma, unsigned long address, in follow_pfn_pte() argument
52 set_pte_at(vma->vm_mm, address, pte, entry); in follow_pfn_pte()
53 update_mmu_cache(vma, address, pte); in follow_pfn_pte()
62 unsigned long address, pmd_t *pmd, unsigned int flags) in follow_page_pte() argument
73 ptep = pte_offset_map_lock(mm, pmd, address, &ptl); in follow_page_pte()
90 migration_entry_wait(mm, pmd, address); in follow_page_pte()
100 page = vm_normal_page(vma, address, pte); in follow_page_pte()
113 ret = follow_pfn_pte(vma, address, ptep, flags); in follow_page_pte()
178 unsigned long address, unsigned int flags, in follow_page_mask() argument
190 page = follow_huge_addr(mm, address, flags & FOLL_WRITE); in follow_page_mask()
[all …]
/linux-4.4.14/arch/mips/mm/
Dioremap.c19 static inline void remap_area_pte(pte_t * pte, unsigned long address, in remap_area_pte() argument
27 address &= ~PMD_MASK; in remap_area_pte()
28 end = address + size; in remap_area_pte()
31 BUG_ON(address >= end); in remap_area_pte()
39 address += PAGE_SIZE; in remap_area_pte()
42 } while (address && (address < end)); in remap_area_pte()
45 static inline int remap_area_pmd(pmd_t * pmd, unsigned long address, in remap_area_pmd() argument
50 address &= ~PGDIR_MASK; in remap_area_pmd()
51 end = address + size; in remap_area_pmd()
54 phys_addr -= address; in remap_area_pmd()
[all …]
Dfault.c40 unsigned long address) in __do_page_fault() argument
54 current->comm, current->pid, field, address, write, in __do_page_fault()
84 if (unlikely(address >= VMALLOC_START && address <= VMALLOC_END)) in __do_page_fault()
87 if (unlikely(address >= MODULE_START && address < MODULE_END)) in __do_page_fault()
102 vma = find_vma(mm, address); in __do_page_fault()
105 if (vma->vm_start <= address) in __do_page_fault()
109 if (expand_stack(vma, address)) in __do_page_fault()
124 if (address == regs->cp0_epc && !(vma->vm_flags & VM_EXEC)) { in __do_page_fault()
129 field, address, write, in __do_page_fault()
135 exception_epc(regs) != address) { in __do_page_fault()
[all …]
/linux-4.4.14/arch/x86/math-emu/
Dget_address.c122 static unsigned long vm86_segment(u_char segment, struct address *addr) in vm86_segment()
137 struct address *addr, long offset) in pm_address()
140 unsigned long base_address, limit, address, seg_top; in pm_address() local
163 address = base_address + offset; in pm_address()
178 (address <= limit) || (address >= seg_top) ? 0 : in pm_address()
179 ((seg_top - address) >= 255 ? 255 : seg_top - address); in pm_address()
182 (address > limit) || (address < base_address) ? 0 : in pm_address()
183 ((limit - address) >= 254 ? 255 : limit - address + 1); in pm_address()
189 return address; in pm_address()
209 struct address *addr, fpu_addr_modes addr_modes) in FPU_get_address()
[all …]
/linux-4.4.14/security/tomoyo/
Dnetwork.c13 const __be32 *address; /* In network byte order. */ member
54 char *address = tomoyo_read_token(param); in tomoyo_parse_ipaddr_union() local
57 if (!strchr(address, ':') && in tomoyo_parse_ipaddr_union()
58 in4_pton(address, -1, min, '-', &end) > 0) { in tomoyo_parse_ipaddr_union()
67 if (in6_pton(address, -1, min, '-', &end) > 0) { in tomoyo_parse_ipaddr_union()
198 tomoyo_same_ipaddr_union(&p1->address, &p2->address) && in tomoyo_same_inet_acl()
299 e.address.group = in tomoyo_write_inet_network()
301 if (!e.address.group) in tomoyo_write_inet_network()
304 if (!tomoyo_parse_ipaddr_union(param, &e.address)) in tomoyo_write_inet_network()
314 tomoyo_put_group(e.address.group); in tomoyo_write_inet_network()
[all …]
Dgroup.c60 return tomoyo_same_ipaddr_union(&p1->address, &p2->address); in tomoyo_same_address_group()
103 !tomoyo_parse_ipaddr_union(param, &e.address)) in tomoyo_write_group()
179 bool tomoyo_address_matches_group(const bool is_ipv6, const __be32 *address, in tomoyo_address_matches_group() argument
189 if (member->address.is_ipv6 != is_ipv6) in tomoyo_address_matches_group()
191 if (memcmp(&member->address.ip[0], address, size) > 0 || in tomoyo_address_matches_group()
192 memcmp(address, &member->address.ip[1], size) > 0) in tomoyo_address_matches_group()
/linux-4.4.14/arch/tile/mm/
Dfault.c48 int si_code, unsigned long address, in force_sig_info_fault() argument
57 si_signo, si_code & 0xffff, address, in force_sig_info_fault()
64 info.si_addr = (void __user *)address; in force_sig_info_fault()
66 trace_unhandled_signal(type, regs, address, si_signo); in force_sig_info_fault()
75 SYSCALL_DEFINE1(cmpxchg_badaddr, unsigned long, address) in SYSCALL_DEFINE1() argument
79 if (address >= PAGE_OFFSET) in SYSCALL_DEFINE1()
81 address, INT_DTLB_MISS, current, regs); in SYSCALL_DEFINE1()
84 BUS_ADRALN, address, in SYSCALL_DEFINE1()
105 static inline pmd_t *vmalloc_sync_one(pgd_t *pgd, unsigned long address) in vmalloc_sync_one() argument
107 unsigned index = pgd_index(address); in vmalloc_sync_one()
[all …]
Dinit.c226 static pgprot_t __init init_pgprot(ulong address) in init_pgprot() argument
240 if (address < (ulong) _sinittext - CODE_DELTA) in init_pgprot()
244 if ((address >= (ulong) __start_rodata && in init_pgprot()
245 address < (ulong) __end_rodata) || in init_pgprot()
246 address == (ulong) empty_zero_page) { in init_pgprot()
252 if (address == (ulong) atomic_locks) in init_pgprot()
269 if (address >= (ulong) _end || address < (ulong) __init_end) in init_pgprot()
284 BUG_ON(address < page || address >= (ulong)_end); in init_pgprot()
286 for (; page < address; page += PAGE_SIZE) { in init_pgprot()
408 unsigned long address, pfn; in kernel_physical_mapping_init() local
[all …]
/linux-4.4.14/drivers/acpi/pmic/
Dintel_pmic_xpower.c28 .address = 0x00,
33 .address = 0x04,
38 .address = 0x08,
43 .address = 0x0c,
48 .address = 0x10,
53 .address = 0x14,
58 .address = 0x18,
63 .address = 0x1c,
68 .address = 0x20,
73 .address = 0x24,
[all …]
Dintel_pmic.c32 static int pmic_get_reg_bit(int address, struct pmic_table *table, in pmic_get_reg_bit() argument
38 if (table[i].address == address) { in pmic_get_reg_bit()
49 acpi_physical_address address, u32 bits, u64 *value64, in intel_pmic_power_handler() argument
63 result = pmic_get_reg_bit(address, d->power_table, in intel_pmic_power_handler()
151 static bool pmic_thermal_is_temp(int address) in pmic_thermal_is_temp() argument
153 return (address <= 0x3c) && !(address % 12); in pmic_thermal_is_temp()
156 static bool pmic_thermal_is_aux(int address) in pmic_thermal_is_aux() argument
158 return (address >= 4 && address <= 0x40 && !((address - 4) % 12)) || in pmic_thermal_is_aux()
159 (address >= 8 && address <= 0x44 && !((address - 8) % 12)); in pmic_thermal_is_aux()
162 static bool pmic_thermal_is_pen(int address) in pmic_thermal_is_pen() argument
[all …]
Dintel_pmic_crc.c29 .address = 0x24,
34 .address = 0x48,
42 .address = 0x00,
46 .address = 0x04,
50 .address = 0x08,
54 .address = 0x0c,
58 .address = 0x10,
62 .address = 0x14,
66 .address = 0x18,
70 .address = 0x1c,
[all …]
/linux-4.4.14/arch/mips/include/asm/octeon/
Dcvmx-scratch.h51 static inline uint8_t cvmx_scratch_read8(uint64_t address) in cvmx_scratch_read8() argument
53 return *CASTPTR(volatile uint8_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read8()
63 static inline uint16_t cvmx_scratch_read16(uint64_t address) in cvmx_scratch_read16() argument
65 return *CASTPTR(volatile uint16_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read16()
75 static inline uint32_t cvmx_scratch_read32(uint64_t address) in cvmx_scratch_read32() argument
77 return *CASTPTR(volatile uint32_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read32()
87 static inline uint64_t cvmx_scratch_read64(uint64_t address) in cvmx_scratch_read64() argument
89 return *CASTPTR(volatile uint64_t, CVMX_SCRATCH_BASE + address); in cvmx_scratch_read64()
98 static inline void cvmx_scratch_write8(uint64_t address, uint64_t value) in cvmx_scratch_write8() argument
100 *CASTPTR(volatile uint8_t, CVMX_SCRATCH_BASE + address) = in cvmx_scratch_write8()
[all …]
Dcvmx-asm.h93 #define CVMX_PREPARE_FOR_STORE(address, offset) \ argument
95 [rbase] "d" (address))
101 #define CVMX_DONT_WRITE_BACK(address, offset) \ argument
103 [rbase] "d" (address))
117 #define CVMX_CACHE(op, address, offset) \ argument
119 : : [rbase] "d" (address) )
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
/linux-4.4.14/arch/s390/mm/
Dvmem.c59 static pte_t __ref *vmem_pte_alloc(unsigned long address) in vmem_pte_alloc() argument
81 unsigned long address = start; in vmem_add_mem() local
88 while (address < end) { in vmem_add_mem()
89 pg_dir = pgd_offset_k(address); in vmem_add_mem()
96 pu_dir = pud_offset(pg_dir, address); in vmem_add_mem()
98 if (MACHINE_HAS_EDAT2 && pud_none(*pu_dir) && address && in vmem_add_mem()
99 !(address & ~PUD_MASK) && (address + PUD_SIZE <= end)) { in vmem_add_mem()
100 pud_val(*pu_dir) = __pa(address) | in vmem_add_mem()
103 address += PUD_SIZE; in vmem_add_mem()
113 pm_dir = pmd_offset(pu_dir, address); in vmem_add_mem()
[all …]
Dpageattr.c108 static void ipte_range(pte_t *pte, unsigned long address, int nr) in ipte_range() argument
113 __ptep_ipte_range(address, nr - 1, pte); in ipte_range()
117 __ptep_ipte(address, pte); in ipte_range()
118 address += PAGE_SIZE; in ipte_range()
125 unsigned long address; in __kernel_map_pages() local
133 address = page_to_phys(page + i); in __kernel_map_pages()
134 pgd = pgd_offset_k(address); in __kernel_map_pages()
135 pud = pud_offset(pgd, address); in __kernel_map_pages()
136 pmd = pmd_offset(pud, address); in __kernel_map_pages()
137 pte = pte_offset_kernel(pmd, address); in __kernel_map_pages()
[all …]
Dfault.c129 static void dump_pagetable(unsigned long asce, unsigned long address) in dump_pagetable() argument
136 table = table + ((address >> 53) & 0x7ff); in dump_pagetable()
145 table = table + ((address >> 42) & 0x7ff); in dump_pagetable()
154 table = table + ((address >> 31) & 0x7ff); in dump_pagetable()
163 table = table + ((address >> 20) & 0x7ff); in dump_pagetable()
171 table = table + ((address >> 12) & 0xff); in dump_pagetable()
257 unsigned long address; in do_no_context() local
270 address = regs->int_parm_long & __FAIL_ADDR_MASK; in do_no_context()
380 unsigned long address; in do_exception() local
406 address = trans_exc_code & __FAIL_ADDR_MASK; in do_exception()
[all …]
/linux-4.4.14/include/asm-generic/
Dtlb.h131 unsigned long address) in __tlb_adjust_range() argument
133 tlb->start = min(tlb->start, address); in __tlb_adjust_range()
134 tlb->end = max(tlb->end, address + PAGE_SIZE); in __tlb_adjust_range()
169 #define __tlb_remove_tlb_entry(tlb, ptep, address) do { } while (0) argument
179 #define tlb_remove_tlb_entry(tlb, ptep, address) \ argument
181 __tlb_adjust_range(tlb, address); \
182 __tlb_remove_tlb_entry(tlb, ptep, address); \
190 #define __tlb_remove_pmd_tlb_entry(tlb, pmdp, address) do {} while (0) argument
193 #define tlb_remove_pmd_tlb_entry(tlb, pmdp, address) \ argument
195 __tlb_adjust_range(tlb, address); \
[all …]
Dpgtable.h28 unsigned long address, pte_t *ptep,
35 unsigned long address, pmd_t *pmdp,
39 unsigned long address, pmd_t *pmdp, in pmdp_set_access_flags() argument
50 unsigned long address, in ptep_test_and_clear_young() argument
58 set_pte_at(vma->vm_mm, address, ptep, pte_mkold(pte)); in ptep_test_and_clear_young()
66 unsigned long address, in pmdp_test_and_clear_young() argument
74 set_pmd_at(vma->vm_mm, address, pmdp, pmd_mkold(pmd)); in pmdp_test_and_clear_young()
79 unsigned long address, in pmdp_test_and_clear_young() argument
90 unsigned long address, pte_t *ptep);
96 unsigned long address, pmd_t *pmdp);
[all …]
/linux-4.4.14/arch/arc/mm/
Dfault.c28 noinline static int handle_kernel_vaddr_fault(unsigned long address) in handle_kernel_vaddr_fault() argument
38 pgd = pgd_offset_fast(current->active_mm, address); in handle_kernel_vaddr_fault()
39 pgd_k = pgd_offset_k(address); in handle_kernel_vaddr_fault()
44 pud = pud_offset(pgd, address); in handle_kernel_vaddr_fault()
45 pud_k = pud_offset(pgd_k, address); in handle_kernel_vaddr_fault()
49 pmd = pmd_offset(pud, address); in handle_kernel_vaddr_fault()
50 pmd_k = pmd_offset(pud_k, address); in handle_kernel_vaddr_fault()
63 void do_page_fault(unsigned long address, struct pt_regs *regs) in do_page_fault() argument
82 if (address >= VMALLOC_START) { in do_page_fault()
83 ret = handle_kernel_vaddr_fault(address); in do_page_fault()
[all …]
/linux-4.4.14/arch/xtensa/mm/
Dfault.c43 unsigned int address = regs->excvaddr; in do_page_fault() local
55 if (address >= TASK_SIZE && !user_mode(regs)) in do_page_fault()
62 bad_page_fault(regs, address, SIGSEGV); in do_page_fault()
73 address, exccause, regs->pc, is_write? "w":"", is_exec? "x":""); in do_page_fault()
80 vma = find_vma(mm, address); in do_page_fault()
84 if (vma->vm_start <= address) in do_page_fault()
88 if (expand_stack(vma, address)) in do_page_fault()
113 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault()
146 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); in do_page_fault()
148 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS_MAJ, 1, regs, address); in do_page_fault()
[all …]
/linux-4.4.14/arch/score/mm/
Dfault.c45 unsigned long address) in do_page_fault() argument
66 if (unlikely(address >= VMALLOC_START && address <= VMALLOC_END)) in do_page_fault()
69 if (unlikely(address >= MODULE_START && address < MODULE_END)) in do_page_fault()
84 vma = find_vma(mm, address); in do_page_fault()
87 if (vma->vm_start <= address) in do_page_fault()
91 if (expand_stack(vma, address)) in do_page_fault()
114 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault()
142 tsk->thread.cp0_badvaddr = address; in do_page_fault()
147 info.si_addr = (void __user *) address; in do_page_fault()
155 current->thread.cp0_baduaddr = address; in do_page_fault()
[all …]
/linux-4.4.14/arch/arc/kernel/
Dtraps.c31 void die(const char *str, struct pt_regs *regs, unsigned long address) in die() argument
33 show_kernel_fault_diag(str, regs, address); in die()
66 int name(unsigned long address, struct pt_regs *regs) \
72 .si_addr = (void __user *)address, \
90 int do_misaligned_access(unsigned long address, struct pt_regs *regs, in do_misaligned_access() argument
94 if (misaligned_fixup(address, regs, cregs) != 0) in do_misaligned_access()
95 return do_misaligned_error(address, regs); in do_misaligned_access()
104 void do_machine_check_fault(unsigned long address, struct pt_regs *regs) in do_machine_check_fault() argument
106 die("Machine Check Exception", regs, address); in do_machine_check_fault()
119 void do_non_swi_trap(unsigned long address, struct pt_regs *regs) in do_non_swi_trap() argument
[all …]
Dstacktrace.c117 unsigned int address; in arc_unwind_core() local
123 address = UNW_PC(&frame_info); in arc_unwind_core()
125 if (!address || !__kernel_text_address(address)) in arc_unwind_core()
128 if (consumer_fn(address, arg) == -1) in arc_unwind_core()
138 return address; /* return the last address it saw */ in arc_unwind_core()
162 static int __print_sym(unsigned int address, void *unused) in __print_sym() argument
164 __print_symbol(" %s\n", address); in __print_sym()
173 static int __collect_all(unsigned int address, void *arg) in __collect_all() argument
180 trace->entries[trace->nr_entries++] = address; in __collect_all()
188 static int __collect_all_but_sched(unsigned int address, void *arg) in __collect_all_but_sched() argument
[all …]
Dkgdb.c81 unsigned long address[2]; member
92 memcpy((void *) single_step_data.address[i], in undo_single_step()
96 flush_icache_range(single_step_data.address[i], in undo_single_step()
97 single_step_data.address[i] + in undo_single_step()
104 static void place_trap(unsigned long address, void *save) in place_trap() argument
106 memcpy(save, (void *) address, BREAK_INSTR_SIZE); in place_trap()
107 memcpy((void *) address, &arch_kgdb_ops.gdb_bpt_instr, in place_trap()
109 flush_icache_range(address, address + BREAK_INSTR_SIZE); in place_trap()
117 &single_step_data.address[0], in do_single_step()
118 &single_step_data.address[1]); in do_single_step()
[all …]
/linux-4.4.14/arch/mn10300/mm/
Dfault.c68 static void print_pagetable_entries(pgd_t *pgdir, unsigned long address)
74 pgd = pgdir + __pgd_offset(address);
82 pmd = pmd_offset(pgd, address);
90 pte = pte_offset(pmd, address);
119 unsigned long address) in do_page_fault() argument
141 fault_code & 0xffff, address); in do_page_fault()
158 if (address >= VMALLOC_START && address < VMALLOC_END && in do_page_fault()
179 vma = find_vma(mm, address); in do_page_fault()
182 if (vma->vm_start <= address) in do_page_fault()
190 if ((address & PAGE_MASK) + 2 * PAGE_SIZE < regs->sp) { in do_page_fault()
[all …]
/linux-4.4.14/arch/ia64/mm/
Dfault.c48 mapped_kernel_page_is_present (unsigned long address) in mapped_kernel_page_is_present() argument
55 pgd = pgd_offset_k(address); in mapped_kernel_page_is_present()
59 pud = pud_offset(pgd, address); in mapped_kernel_page_is_present()
63 pmd = pmd_offset(pud, address); in mapped_kernel_page_is_present()
67 ptep = pte_offset_kernel(pmd, address); in mapped_kernel_page_is_present()
80 ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *regs) in ia64_do_page_fault() argument
110 if ((REGION_NUMBER(address) == 5) && !user_mode(regs)) in ia64_do_page_fault()
127 vma = find_vma_prev(mm, address, &prev_vma); in ia64_do_page_fault()
138 if (( !vma && prev_vma ) || (address < vma->vm_start) ) in ia64_do_page_fault()
162 fault = handle_mm_fault(mm, vma, address, flags); in ia64_do_page_fault()
[all …]
/linux-4.4.14/arch/sparc/mm/
Dfault_32.c38 static void __noreturn unhandled_fault(unsigned long address, in unhandled_fault() argument
42 if ((unsigned long) address < PAGE_SIZE) { in unhandled_fault()
47 address); in unhandled_fault()
58 unsigned long address) in lookup_fault() argument
99 unhandled_fault(address, current, &regs); in lookup_fault()
107 unsigned long address, struct task_struct *tsk) in show_signal_msg() argument
117 tsk->comm, task_pid_nr(tsk), address, in show_signal_msg()
168 unsigned long address) in do_sparc_fault() argument
180 address = regs->pc; in do_sparc_fault()
192 if (address >= TASK_SIZE) in do_sparc_fault()
[all …]
Dfault_64.c53 static void __kprobes unhandled_fault(unsigned long address, in unhandled_fault() argument
57 if ((unsigned long) address < PAGE_SIZE) { in unhandled_fault()
62 "at virtual address %016lx\n", (unsigned long)address); in unhandled_fault()
150 unsigned long address, struct task_struct *tsk) in show_signal_msg() argument
160 tsk->comm, task_pid_nr(tsk), address, in show_signal_msg()
216 unsigned long address) in do_kernel_fault() argument
262 do_fault_siginfo(si_code, SIGSEGV, regs, address, insn, fault_code); in do_kernel_fault()
267 unhandled_fault (address, current, regs); in do_kernel_fault()
289 unsigned long address, mm_rss; in do_sparc64_fault() local
298 address = current_thread_info()->fault_address; in do_sparc64_fault()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/regulator/
Dti-abb-regulator.txt12 - "base-address" - contains base address of ABB module (ti,abb-v1,ti,abb-v2)
13 - "control-address" - contains control register address of ABB module (ti,abb-v3)
14 - "setup-address" - contains setup register address of ABB module (ti,abb-v3)
15 - "int-address" - contains address of interrupt register for ABB module
17 - #address-cell: should be 0
47 - "efuse-address" - Contains efuse base address used to pick up ABB info.
48 - "ldo-address" - Contains address of ABB LDO overide register address.
49 "efuse-address" is required for this.
50 - ti,ldovbb-vset-mask - Required if ldo-address is set, mask for LDO override
52 - ti,ldovbb-override-mask - Required if ldo-address is set, mask for LDO
[all …]
/linux-4.4.14/arch/mips/include/asm/
Dpgtable-64.h236 #define __pgd_offset(address) pgd_index(address) argument
237 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) argument
238 #define __pmd_offset(address) pmd_index(address) argument
241 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
243 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) argument
244 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) argument
258 static inline pmd_t *pmd_offset(pud_t * pud, unsigned long address) in pmd_offset() argument
260 return (pmd_t *) pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
265 #define __pte_offset(address) \ argument
266 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
[all …]
Dpgtable-32.h134 #define __pgd_offset(address) pgd_index(address) argument
135 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) argument
136 #define __pmd_offset(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) argument
139 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
141 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) argument
147 #define __pte_offset(address) \ argument
148 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
149 #define pte_offset(dir, address) \ argument
150 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
151 #define pte_offset_kernel(dir, address) \ argument
[all …]
/linux-4.4.14/drivers/video/backlight/
Dvgg2432a4.c31 .address = ILI9320_POWER1,
34 .address = ILI9320_POWER2,
38 .address = ILI9320_POWER3,
41 .address = ILI9320_POWER4,
48 .address = ILI9320_POWER1,
52 .address = ILI9320_POWER2,
59 .address = ILI9320_GAMMA1,
62 .address = ILI9320_GAMMA2,
65 .address = ILI9320_GAMMA3,
68 .address = ILI9320_GAMMA4,
[all …]
/linux-4.4.14/arch/cris/mm/
Dfault.c53 do_page_fault(unsigned long address, struct pt_regs *regs, in do_page_fault() argument
65 address, smp_processor_id(), instruction_pointer(regs), in do_page_fault()
89 if (address >= VMALLOC_START && in do_page_fault()
101 address == cris_signal_return_page && in do_page_fault()
123 vma = find_vma(mm, address); in do_page_fault()
126 if (vma->vm_start <= address) in do_page_fault()
137 if (address + PAGE_SIZE < rdusp()) in do_page_fault()
140 if (expand_stack(vma, address)) in do_page_fault()
171 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault()
228 address, instruction_pointer(regs)); in do_page_fault()
[all …]
/linux-4.4.14/arch/x86/mm/kmemcheck/
Dshadow.c18 void *kmemcheck_shadow_lookup(unsigned long address) in kmemcheck_shadow_lookup() argument
23 if (!virt_addr_valid(address)) in kmemcheck_shadow_lookup()
26 pte = kmemcheck_pte_lookup(address); in kmemcheck_shadow_lookup()
30 page = virt_to_page(address); in kmemcheck_shadow_lookup()
33 return page->shadow + (address & (PAGE_SIZE - 1)); in kmemcheck_shadow_lookup()
36 static void mark_shadow(void *address, unsigned int n, in mark_shadow() argument
39 unsigned long addr = (unsigned long) address; in mark_shadow()
77 void kmemcheck_mark_unallocated(void *address, unsigned int n) in kmemcheck_mark_unallocated() argument
79 mark_shadow(address, n, KMEMCHECK_SHADOW_UNALLOCATED); in kmemcheck_mark_unallocated()
82 void kmemcheck_mark_uninitialized(void *address, unsigned int n) in kmemcheck_mark_uninitialized() argument
[all …]
Derror.c29 unsigned long address; member
112 (void *) e->address); in kmemcheck_error_recall()
128 * (int) (e->address & (SHADOW_COPY_SIZE - 1)), '^'); in kmemcheck_error_recall()
157 unsigned long address, unsigned int size, struct pt_regs *regs) in kmemcheck_error_save() argument
177 e->address = address; in kmemcheck_error_save()
191 shadow_copy = kmemcheck_shadow_lookup(address in kmemcheck_error_save()
197 kmemcheck_show_addr(address); in kmemcheck_error_save()
198 memory_copy = (void *) (address & ~(SHADOW_COPY_SIZE - 1)); in kmemcheck_error_save()
200 kmemcheck_hide_addr(address); in kmemcheck_error_save()
Dkmemcheck.c96 int kmemcheck_show_addr(unsigned long address) in kmemcheck_show_addr() argument
100 pte = kmemcheck_pte_lookup(address); in kmemcheck_show_addr()
105 __flush_tlb_one(address); in kmemcheck_show_addr()
109 int kmemcheck_hide_addr(unsigned long address) in kmemcheck_hide_addr() argument
113 pte = kmemcheck_pte_lookup(address); in kmemcheck_hide_addr()
118 __flush_tlb_one(address); in kmemcheck_hide_addr()
270 unsigned long address; in kmemcheck_show_pages() local
274 address = (unsigned long) page_address(&p[i]); in kmemcheck_show_pages()
275 pte = lookup_address(address, &level); in kmemcheck_show_pages()
281 __flush_tlb_one(address); in kmemcheck_show_pages()
[all …]
/linux-4.4.14/arch/openrisc/mm/
Dfault.c49 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long address, in do_page_fault() argument
80 if (address >= VMALLOC_START && in do_page_fault()
112 vma = find_vma(mm, address); in do_page_fault()
117 if (vma->vm_start <= address) in do_page_fault()
130 if (address + PAGE_SIZE < regs->sp) in do_page_fault()
133 if (expand_stack(vma, address)) in do_page_fault()
166 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault()
219 info.si_addr = (void *)address; in do_page_fault()
252 if ((unsigned long)(address) < PAGE_SIZE) in do_page_fault()
257 printk(" at virtual address 0x%08lx\n", address); in do_page_fault()
[all …]
/linux-4.4.14/arch/x86/include/asm/
Dbios_ebda.h15 unsigned int address = *(unsigned short *)phys_to_virt(0x40E); in get_bios_ebda() local
16 address <<= 4; in get_bios_ebda()
17 return address; /* 0 means none */ in get_bios_ebda()
25 unsigned int address; in get_bios_ebda_length() local
28 address = get_bios_ebda(); in get_bios_ebda_length()
29 if (!address) in get_bios_ebda_length()
33 length = *(unsigned char *)phys_to_virt(address); in get_bios_ebda_length()
37 length = min_t(unsigned int, (640 * 1024) - address, length); in get_bios_ebda_length()
Dpgtable.h540 static inline unsigned long pmd_index(unsigned long address) in pmd_index() argument
542 return (address >> PMD_SHIFT) & (PTRS_PER_PMD - 1); in pmd_index()
560 static inline unsigned long pte_index(unsigned long address) in pte_index() argument
562 return (address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1); in pte_index()
565 static inline pte_t *pte_offset_kernel(pmd_t *pmd, unsigned long address) in pte_offset_kernel() argument
567 return (pte_t *)pmd_page_vaddr(*pmd) + pte_index(address); in pte_offset_kernel()
604 static inline pmd_t *pmd_offset(pud_t *pud, unsigned long address) in pmd_offset() argument
606 return (pmd_t *)pud_page_vaddr(*pud) + pmd_index(address); in pmd_offset()
644 static inline unsigned long pud_index(unsigned long address) in pud_index() argument
646 return (address >> PUD_SHIFT) & (PTRS_PER_PUD - 1); in pud_index()
[all …]
/linux-4.4.14/arch/metag/mm/
Dfault.c48 int do_page_fault(struct pt_regs *regs, unsigned long address, in do_page_fault() argument
60 if ((address >= VMALLOC_START) && (address < VMALLOC_END)) { in do_page_fault()
68 int offset = pgd_index(address); in do_page_fault()
85 pud = pud_offset(pgd, address); in do_page_fault()
86 pud_k = pud_offset(pgd_k, address); in do_page_fault()
91 pmd = pmd_offset(pud, address); in do_page_fault()
92 pmd_k = pmd_offset(pud_k, address); in do_page_fault()
97 pte_k = pte_offset_kernel(pmd_k, address); in do_page_fault()
116 vma = find_vma_prev(mm, address, &prev_vma); in do_page_fault()
118 if (!vma || address < vma->vm_start) in do_page_fault()
[all …]
/linux-4.4.14/arch/s390/include/asm/
Dpgtable.h42 #define update_mmu_cache(vma, address, ptep) do { } while (0) argument
43 #define update_mmu_cache_pmd(vma, address, ptep) do { } while (0) argument
532 unsigned long address, pmd_t *pmdp,
537 unsigned long address, pmd_t *pmdp);
694 unsigned long address, bits, skey; in pgste_update_all() local
698 address = pte_val(*ptep) & PAGE_MASK; in pgste_update_all()
699 skey = (unsigned long) page_get_storage_key(address); in pgste_update_all()
715 unsigned long address; in pgste_set_key() local
721 address = pte_val(entry) & PAGE_MASK; in pgste_set_key()
729 page_set_storage_key(address, nkey, 0); in pgste_set_key()
[all …]
/linux-4.4.14/sound/isa/gus/
Dgus_dram.c29 unsigned int address, unsigned int size) in snd_gus_dram_poke() argument
42 snd_gf1_dram_addr(gus, address); in snd_gus_dram_poke()
45 address += size1; in snd_gus_dram_poke()
50 snd_gf1_poke(gus, address++, *pbuffer++); in snd_gus_dram_poke()
60 unsigned int address, unsigned int size) in snd_gus_dram_write() argument
62 return snd_gus_dram_poke(gus, buffer, address, size); in snd_gus_dram_write()
66 unsigned int address, unsigned int size, in snd_gus_dram_peek() argument
78 snd_gf1_dram_addr(gus, address); in snd_gus_dram_peek()
82 address += size1; in snd_gus_dram_peek()
87 *pbuffer++ = snd_gf1_peek(gus, address++); in snd_gus_dram_peek()
[all …]
/linux-4.4.14/arch/microblaze/mm/
Dfault.c67 void bad_page_fault(struct pt_regs *regs, unsigned long address, int sig) in bad_page_fault() argument
86 void do_page_fault(struct pt_regs *regs, unsigned long address, in do_page_fault() argument
97 regs->ear = address; in do_page_fault()
101 if (unlikely(kernel_mode(regs) && (address >= TASK_SIZE))) { in do_page_fault()
103 _exception(SIGSEGV, regs, code, address); in do_page_fault()
149 vma = find_vma(mm, address); in do_page_fault()
153 if (vma->vm_start <= address) in do_page_fault()
171 if (unlikely(address + 0x100000 < vma->vm_end)) { in do_page_fault()
190 if (address + 2048 < uregs->r1 in do_page_fault()
194 if (expand_stack(vma, address)) in do_page_fault()
[all …]
/linux-4.4.14/arch/score/include/asm/
Dpgtable.h70 #define __pgd_offset(address) pgd_index(address) argument
71 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) argument
72 #define __pmd_offset(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) argument
75 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
76 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) argument
82 #define __pte_offset(address) \ argument
83 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
84 #define pte_offset(dir, address) \ argument
85 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
86 #define pte_offset_kernel(dir, address) \ argument
[all …]
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic79xx.reg95 * Controls which of the 5, 512byte, address spaces should be used
100 address 0x000
115 address 0x001
132 address 0x002
212 address 0x003
230 address 0x004
246 address 0x004
262 address 0x005
280 address 0x006
291 address 0x008
[all …]
Daic7xxx.reg69 address 0x000
86 address 0x001
102 address 0x002
119 address 0x003
150 address 0x003
181 address 0x004
197 address 0x005
220 address 0x006
226 address 0x007
238 address 0x008
[all …]
/linux-4.4.14/arch/avr32/mm/
Dfault.c62 unsigned long address; in do_page_fault() local
72 address = sysreg_read(TLBEAR); in do_page_fault()
94 vma = find_vma(mm, address); in do_page_fault()
97 if (vma->vm_start <= address) in do_page_fault()
101 if (expand_stack(vma, address)) in do_page_fault()
137 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault()
185 tsk->comm, tsk->pid, address, regs->pc, in do_page_fault()
187 _exception(SIGSEGV, regs, code, address); in do_page_fault()
203 if (address < PAGE_SIZE) in do_page_fault()
209 printk(" at virtual address %08lx\n", address); in do_page_fault()
[all …]
/linux-4.4.14/arch/metag/include/asm/
Dpgtable.h180 #define pgd_index(address) ((((address) & ~0x80000000) >> PGDIR_SHIFT) \ argument
183 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) argument
186 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) argument
188 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
190 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) argument
195 # define pte_index(pmd, address) \ argument
196 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
199 # define pte_index(pmd, address) \ argument
200 (((address) >> pmd_page_shift(pmd)) & (pmd_num_ptrs(pmd) - 1))
202 #define pte_offset_kernel(dir, address) \ argument
[all …]
/linux-4.4.14/arch/um/kernel/
Dtrap.c24 int handle_page_fault(unsigned long address, unsigned long ip, in handle_page_fault() argument
49 vma = find_vma(mm, address); in handle_page_fault()
52 else if (vma->vm_start <= address) in handle_page_fault()
56 else if (is_user && !ARCH_IS_STACKGROW(address)) in handle_page_fault()
58 else if (expand_stack(vma, address)) in handle_page_fault()
76 fault = handle_mm_fault(mm, vma, address, flags); in handle_page_fault()
105 pgd = pgd_offset(mm, address); in handle_page_fault()
106 pud = pud_offset(pgd, address); in handle_page_fault()
107 pmd = pmd_offset(pud, address); in handle_page_fault()
108 pte = pte_offset_kernel(pmd, address); in handle_page_fault()
[all …]
/linux-4.4.14/arch/m32r/mm/
Dfault.c75 unsigned long address) in do_page_fault() argument
108 if (address >= TASK_SIZE && !(error_code & ACE_USERMODE)) in do_page_fault()
145 vma = find_vma(mm, address); in do_page_fault()
148 if (vma->vm_start <= address) in do_page_fault()
160 if (address + 4 < regs->spu) in do_page_fault()
164 if (expand_stack(vma, address)) in do_page_fault()
197 addr = (address & PAGE_MASK); in do_page_fault()
227 tsk->thread.address = address; in do_page_fault()
228 tsk->thread.error_code = error_code | (address >= TASK_SIZE); in do_page_fault()
233 info.si_addr = (void __user *)address; in do_page_fault()
[all …]
/linux-4.4.14/tools/power/acpi/tools/acpidump/
Dapdump.c50 u32 instance, acpi_physical_address address);
174 u32 instance, acpi_physical_address address) in ap_dump_table_buffer() argument
183 acpi_tb_print_table_header(address, table); in ap_dump_table_buffer()
199 table->signature, ACPI_FORMAT_UINT64(address)); in ap_dump_table_buffer()
225 acpi_physical_address address; in ap_dump_all_tables() local
234 acpi_os_get_table_by_index(i, &table, &instance, &address); in ap_dump_all_tables()
254 table_status = ap_dump_table_buffer(table, instance, address); in ap_dump_all_tables()
281 acpi_physical_address address; in ap_dump_table_by_address() local
296 address = (acpi_physical_address) long_address; in ap_dump_table_by_address()
297 status = acpi_os_get_table_by_address(address, &table); in ap_dump_table_by_address()
[all …]
/linux-4.4.14/arch/sh/kernel/
Dtraps_64.c87 __u64 *address) in generate_and_check_address() argument
129 *address = addr; in generate_and_check_address()
137 static void misaligned_kernel_word_load(__u64 address, int do_sign_extend, __u64 *result) in misaligned_kernel_word_load() argument
141 p = (unsigned char *) (int) address; in misaligned_kernel_word_load()
153 static void misaligned_kernel_word_store(__u64 address, __u64 value) in misaligned_kernel_word_store() argument
157 p = (unsigned char *) (int) address; in misaligned_kernel_word_store()
174 __u64 address; in misaligned_load() local
177 displacement_not_indexed, width_shift, &address); in misaligned_load()
185 if (!access_ok(VERIFY_READ, (unsigned long) address, 1UL<<width_shift)) { in misaligned_load()
189 if (__copy_user(&buffer, (const void *)(int)address, (1 << width_shift)) > 0) { in misaligned_load()
[all …]
Dio_trapped.c139 static struct trapped_io *lookup_tiop(unsigned long address) in lookup_tiop() argument
147 pgd_k = swapper_pg_dir + pgd_index(address); in lookup_tiop()
151 pud_k = pud_offset(pgd_k, address); in lookup_tiop()
155 pmd_k = pmd_offset(pud_k, address); in lookup_tiop()
159 pte_k = pte_offset_kernel(pmd_k, address); in lookup_tiop()
166 unsigned long address) in lookup_address() argument
176 if (address < (vaddr + len)) in lookup_address()
177 return res->start + (address - vaddr); in lookup_address()
271 int handle_trapped_io(struct pt_regs *regs, unsigned long address) in handle_trapped_io() argument
279 if (!lookup_tiop(address)) in handle_trapped_io()
[all …]
/linux-4.4.14/arch/frv/include/asm/
Dpgtable.h183 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) argument
189 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
212 static inline pud_t *pud_offset(pgd_t *pgd, unsigned long address) in pud_offset() argument
224 #define pud_alloc_one(mm, address) NULL argument
226 #define __pud_free_tlb(tlb, x, address) do { } while (0) argument
260 #define __pmd_index(address) 0 argument
262 static inline pmd_t *pmd_offset(pud_t *dir, unsigned long address) in pmd_offset() argument
264 return (pmd_t *) dir + __pmd_index(address); in pmd_offset()
432 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) argument
436 #define __pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) argument
[all …]
/linux-4.4.14/scripts/
Dget_maintainer.pl366 my $address = $2;
369 ($real_name, $address) = parse_email("$real_name <$address>");
370 $mailmap->{names}->{$address} = $real_name;
539 my ($address) = @_;
542 return 1 if ($ignore eq $address);
724 my ($name, $address) = parse_email($email);
726 my $tmp_email = format_email($name, $address, $email_usename);
885 my $address = "";
889 $address = $2;
891 $address = $1;
[all …]
/linux-4.4.14/arch/x86/include/asm/trace/
Dexceptions.h14 TP_PROTO(unsigned long address, struct pt_regs *regs,
17 TP_ARGS(address, regs, error_code),
20 __field( unsigned long, address )
26 __entry->address = address;
32 (void *)__entry->address, (void *)__entry->ip,
37 TP_PROTO(unsigned long address, struct pt_regs *regs, \
39 TP_ARGS(address, regs, error_code), \
/linux-4.4.14/arch/powerpc/mm/
Dfault.c116 static int do_sigbus(struct pt_regs *regs, unsigned long address, in do_sigbus() argument
131 info.si_addr = (void __user *)address; in do_sigbus()
135 current->comm, current->pid, address); in do_sigbus()
208 int __kprobes do_page_fault(struct pt_regs *regs, unsigned long address, in do_page_fault() argument
244 rc = acop_handle_fault(regs, address, error_code); in do_page_fault()
257 if (!user_mode(regs) && (address >= TASK_SIZE)) { in do_page_fault()
266 do_break(regs, address, error_code); in do_page_fault()
290 perf_sw_event(PERF_COUNT_SW_PAGE_FAULTS, 1, regs, address); in do_page_fault()
333 vma = find_vma(mm, address); in do_page_fault()
336 if (vma->vm_start <= address) in do_page_fault()
[all …]
Dmmu_decl.h55 static inline void _tlbil_va(unsigned long address, unsigned int pid, in _tlbil_va() argument
58 asm volatile ("tlbie %0; sync" : : "r" (address) : "memory"); in _tlbil_va()
61 extern void _tlbil_va(unsigned long address, unsigned int pid,
64 extern void __tlbil_va(unsigned long address, unsigned int pid);
65 static inline void _tlbil_va(unsigned long address, unsigned int pid, in _tlbil_va() argument
68 __tlbil_va(address, pid); in _tlbil_va()
73 extern void _tlbivax_bcast(unsigned long address, unsigned int pid,
76 static inline void _tlbivax_bcast(unsigned long address, unsigned int pid, in _tlbivax_bcast() argument
89 extern void _tlbie(unsigned long address);
/linux-4.4.14/arch/tile/include/asm/
Dpgalloc.h71 extern pgtable_t pgtable_alloc_one(struct mm_struct *mm, unsigned long address,
76 unsigned long address) in pte_alloc_one() argument
78 return pgtable_alloc_one(mm, address, L2_USER_PGTABLE_ORDER); in pte_alloc_one()
89 pte_alloc_one_kernel(struct mm_struct *mm, unsigned long address) in pte_alloc_one_kernel() argument
91 return pfn_to_kaddr(page_to_pfn(pte_alloc_one(mm, address))); in pte_alloc_one_kernel()
101 unsigned long address, int order);
103 unsigned long address) in __pte_free_tlb() argument
105 __pgtable_free_tlb(tlb, pte, address, L2_USER_PGTABLE_ORDER); in __pte_free_tlb()
144 static inline pmd_t *pmd_alloc_one(struct mm_struct *mm, unsigned long address) in pmd_alloc_one() argument
146 struct page *p = pgtable_alloc_one(mm, address, L1_USER_PGTABLE_ORDER); in pmd_alloc_one()
[all …]
Dpgtable.h320 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1)) argument
326 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) argument
332 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
334 #define pte_offset_map(dir, address) pte_offset_kernel(dir, address) argument
348 #define update_mmu_cache(vma, address, pte) do { } while (0) argument
396 static inline unsigned long pmd_index(unsigned long address) in pmd_index() argument
398 return (address >> PMD_SHIFT) & (PTRS_PER_PMD - 1); in pmd_index()
403 unsigned long address, in pmdp_test_and_clear_young() argument
406 return ptep_test_and_clear_young(vma, address, pmdp_ptep(pmdp)); in pmdp_test_and_clear_young()
411 unsigned long address, pmd_t *pmdp) in pmdp_set_wrprotect() argument
[all …]
/linux-4.4.14/arch/openrisc/include/asm/
Dpgtable.h217 #define PAGE_PTR(address) \ argument
218 ((unsigned long)(address)>>(PAGE_SHIFT-SIZEOF_PTR_LOG2)&PTR_MASK&~PAGE_MASK)
375 #define pgd_index(address) ((address >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) argument
377 #define __pgd_offset(address) pgd_index(address) argument
379 #define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address)) argument
382 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
384 #define __pmd_offset(address) \ argument
385 (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1))
393 #define __pte_offset(address) \ argument
394 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
[all …]
/linux-4.4.14/arch/blackfin/kernel/
Dtrace.c28 void decode_address(char *buf, unsigned long address) in decode_address() argument
43 buf += sprintf(buf, "<0x%08lx> ", address); in decode_address()
47 symname = kallsyms_lookup(address, &symsize, &offset, &modname, namebuf); in decode_address()
60 if (address >= FIXED_CODE_START && address < FIXED_CODE_END) { in decode_address()
65 } else if (address < CONFIG_BOOT_LOAD) { in decode_address()
70 } else if (address >= COREMMR_BASE) { in decode_address()
74 } else if (address >= SYSMMR_BASE) { in decode_address()
78 } else if (address >= L1_ROM_START && address < L1_ROM_START + L1_ROM_LENGTH) { in decode_address()
82 } else if (address >= L1_SCRATCH_START && address < L1_SCRATCH_START + L1_SCRATCH_LENGTH) { in decode_address()
86 } else if (address >= physical_mem_end && address < ASYNC_BANK0_BASE) { in decode_address()
[all …]
/linux-4.4.14/arch/x86/kernel/
Dvsmp_64.c92 void __iomem *address; in set_vsmp_pv_ops() local
97 address = early_ioremap(cfg, 8); in set_vsmp_pv_ops()
98 cap = readl(address); in set_vsmp_pv_ops()
99 ctl = readl(address + 4); in set_vsmp_pv_ops()
127 writel(ctl, address + 4); in set_vsmp_pv_ops()
128 ctl = readl(address + 4); in set_vsmp_pv_ops()
131 early_iounmap(address, 8); in set_vsmp_pv_ops()
178 void __iomem *address; in vsmp_cap_cpus() local
191 address = early_ioremap(cfg + TOPOLOGY_REGISTER_OFFSET, 4); in vsmp_cap_cpus()
192 if (WARN_ON(!address)) in vsmp_cap_cpus()
[all …]
Dmmconf-fam10h_64.c60 u32 address; in get_fam10h_pci_mmconf_base() local
97 address = MSR_K8_SYSCFG; in get_fam10h_pci_mmconf_base()
98 rdmsrl(address, val); in get_fam10h_pci_mmconf_base()
105 address = MSR_K8_TOP_MEM2; in get_fam10h_pci_mmconf_base()
106 rdmsrl(address, val); in get_fam10h_pci_mmconf_base()
172 u32 address; in fam10h_check_enable_mmcfg() local
177 address = MSR_FAM10H_MMIO_CONF_BASE; in fam10h_check_enable_mmcfg()
178 rdmsrl(address, val); in fam10h_check_enable_mmcfg()
213 wrmsrl(address, val); in fam10h_check_enable_mmcfg()
/linux-4.4.14/include/linux/
Dkmemcheck.h25 void kmemcheck_mark_unallocated(void *address, unsigned int n);
26 void kmemcheck_mark_uninitialized(void *address, unsigned int n);
27 void kmemcheck_mark_initialized(void *address, unsigned int n);
28 void kmemcheck_mark_freed(void *address, unsigned int n);
34 int kmemcheck_show_addr(unsigned long address);
35 int kmemcheck_hide_addr(unsigned long address);
123 static inline void kmemcheck_mark_unallocated(void *address, unsigned int n) in kmemcheck_mark_unallocated() argument
127 static inline void kmemcheck_mark_uninitialized(void *address, unsigned int n) in kmemcheck_mark_uninitialized() argument
131 static inline void kmemcheck_mark_initialized(void *address, unsigned int n) in kmemcheck_mark_initialized() argument
135 static inline void kmemcheck_mark_freed(void *address, unsigned int n) in kmemcheck_mark_freed() argument
Dmmu_notifier.h86 unsigned long address);
94 unsigned long address,
106 unsigned long address);
220 unsigned long address);
222 unsigned long address, pte_t pte);
224 unsigned long address);
257 unsigned long address) in mmu_notifier_test_young() argument
260 return __mmu_notifier_test_young(mm, address); in mmu_notifier_test_young()
265 unsigned long address, pte_t pte) in mmu_notifier_change_pte() argument
268 __mmu_notifier_change_pte(mm, address, pte); in mmu_notifier_change_pte()
[all …]
/linux-4.4.14/drivers/net/ethernet/cisco/enic/
Drq_enet_desc.h25 __le64 address; member
44 u64 address, u8 type, u16 length) in rq_enet_desc_enc() argument
46 desc->address = cpu_to_le64(address); in rq_enet_desc_enc()
52 u64 *address, u8 *type, u16 *length) in rq_enet_desc_dec() argument
54 *address = le64_to_cpu(desc->address); in rq_enet_desc_dec()
Dwq_enet_desc.h25 __le64 address; member
54 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
58 desc->address = cpu_to_le64(address); in wq_enet_desc_enc()
73 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
77 *address = le64_to_cpu(desc->address); in wq_enet_desc_dec()
/linux-4.4.14/drivers/scsi/fnic/
Drq_enet_desc.h23 __le64 address; member
42 u64 address, u8 type, u16 length) in rq_enet_desc_enc() argument
44 desc->address = cpu_to_le64(address); in rq_enet_desc_enc()
50 u64 *address, u8 *type, u16 *length) in rq_enet_desc_dec() argument
52 *address = le64_to_cpu(desc->address); in rq_enet_desc_dec()
Dwq_enet_desc.h23 __le64 address; member
52 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
56 desc->address = cpu_to_le64(address); in wq_enet_desc_enc()
71 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
75 *address = le64_to_cpu(desc->address); in wq_enet_desc_dec()
/linux-4.4.14/Documentation/devicetree/bindings/pwm/
Dpwm-tipwmss.txt5 - reg: physical base address and size of the registers map.
6 - address-cells: Specify the number of u32 entries needed in child nodes.
10 - ranges: describes the address mapping of a memory-mapped bus. Should set to
11 physical address map of child's base address, physical address within
12 parent's address space and length of the address map. For am33xx,
23 #address-cells = <1>;
/linux-4.4.14/tools/power/acpi/os_specific/service_layers/
Doslinuxtbl.c75 osl_map_table(acpi_size address,
94 acpi_physical_address * address);
102 acpi_physical_address * address);
189 acpi_os_get_table_by_address(acpi_physical_address address, in acpi_os_get_table_by_address() argument
206 status = osl_map_table(address, NULL, &mapped_table); in acpi_os_get_table_by_address()
256 acpi_physical_address * address) in acpi_os_get_table_by_name() argument
274 osl_get_bios_table(signature, instance, table, address); in acpi_os_get_table_by_name()
279 instance, table, address); in acpi_os_get_table_by_name()
290 address); in acpi_os_get_table_by_name()
384 u32 *instance, acpi_physical_address * address) in acpi_os_get_table_by_index() argument
[all …]
/linux-4.4.14/arch/microblaze/kernel/
Dsignal.c161 unsigned long address = 0; in setup_rt_frame() local
196 address = ((unsigned long)frame->tramp); in setup_rt_frame()
199 pgd_offset(current->mm, address), in setup_rt_frame()
200 address), address); in setup_rt_frame()
203 ptep = pte_offset_map(pmdp, address); in setup_rt_frame()
205 address = (unsigned long) page_address(pte_page(*ptep)); in setup_rt_frame()
207 address += ((unsigned long)frame->tramp) & ~PAGE_MASK; in setup_rt_frame()
209 address = __virt_to_phys(address); in setup_rt_frame()
210 invalidate_icache_range(address, address + 8); in setup_rt_frame()
211 flush_dcache_range(address, address + 8); in setup_rt_frame()
[all …]
/linux-4.4.14/arch/m68k/mm/
Dfault.c69 int do_page_fault(struct pt_regs *regs, unsigned long address, in do_page_fault() argument
78 regs->sr, regs->pc, address, error_code, mm ? mm->pgd : NULL); in do_page_fault()
92 vma = find_vma(mm, address); in do_page_fault()
97 if (vma->vm_start <= address) in do_page_fault()
106 if (address + 256 < rdusp()) in do_page_fault()
109 if (expand_stack(vma, address)) in do_page_fault()
139 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault()
197 current->thread.faddr = address; in do_page_fault()
203 current->thread.faddr = address; in do_page_fault()
209 current->thread.faddr = address; in do_page_fault()
[all …]
Dsun3mmu.c41 unsigned long address; in paging_init() local
52 address = PAGE_OFFSET; in paging_init()
66 while (address < (unsigned long)high_memory) { in paging_init()
75 pte_t pte = pfn_pte(virt_to_pfn(address), PAGE_INIT); in paging_init()
76 if (address >= (unsigned long)high_memory) in paging_init()
79 address += PAGE_SIZE; in paging_init()
Dcache.c75 void flush_icache_range(unsigned long address, unsigned long endaddr) in flush_icache_range() argument
79 start = address & ICACHE_SET_MASK; in flush_icache_range()
87 address &= PAGE_MASK; in flush_icache_range()
94 : : "a" (virt_to_phys_slow(address))); in flush_icache_range()
95 address += PAGE_SIZE; in flush_icache_range()
96 } while (address < endaddr); in flush_icache_range()
/linux-4.4.14/Documentation/arm/
DPorting8 virtual address to a physical address. Normally, it is simply:
17 Start address of decompressor. There's no point in talking about
20 the kernel at this address to start it booting. This doesn't have
25 Start address of zero-initialised work area for the decompressor.
30 This is the address where the decompressed kernel will be written,
39 Physical address to place the initial RAM disk. Only relevant if
44 Virtual address of the initial RAM disk. The following constraint
50 Physical address of the struct param_struct or tag list, giving the
58 Physical start address of the first bank of RAM.
61 Virtual start address of the first bank of RAM. During the kernel
[all …]
/linux-4.4.14/drivers/iio/adc/
Daxp288_adc.c54 .address = AXP288_TS_ADC_H,
61 .address = AXP288_PMIC_ADC_H,
68 .address = AXP288_GP_ADC_H,
75 .address = AXP20X_BATT_CHRG_I_H,
82 .address = AXP20X_BATT_DISCHRG_I_H,
89 .address = AXP20X_BATT_V_H,
114 static int axp288_adc_read_channel(int *val, unsigned long address, in axp288_adc_read_channel() argument
119 if (regmap_bulk_read(regmap, address, buf, 2)) in axp288_adc_read_channel()
127 unsigned long address) in axp288_adc_set_ts() argument
130 if (address != AXP288_GP_ADC_H) in axp288_adc_set_ts()
[all …]
/linux-4.4.14/Documentation/
Dbus-virt-phys-mapping.txt11 controller the physical address of the buffers, which is correct on x86
16 so-called "bus address".
21 - CPU untranslated. This is the "physical" address. Physical address
24 - CPU translated address. This is the "virtual" address, and is
28 - bus address. This is the address of memory as seen by OTHER devices,
35 Now, on normal PCs the bus address is exactly the same as the physical
36 address, and things are very simple indeed. However, they are that simple
37 because the memory and the devices share the same address space, and that is
49 address 0 actually shows up as address 2 GB for any IO master.
52 has to give the master address 0x80000000 as the memory address.
[all …]
/linux-4.4.14/net/x25/
Dx25_route.c31 static int x25_add_route(struct x25_address *address, unsigned int sigdigits, in x25_add_route() argument
43 if (!memcmp(&rt->address, address, sigdigits) && in x25_add_route()
53 strcpy(rt->address.x25_addr, "000000000000000"); in x25_add_route()
54 memcpy(rt->address.x25_addr, address->x25_addr, sigdigits); in x25_add_route()
82 static int x25_del_route(struct x25_address *address, unsigned int sigdigits, in x25_del_route() argument
94 if (!memcmp(&rt->address, address, sigdigits) && in x25_del_route()
164 if (!memcmp(&rt->address, addr, rt->sigdigits)) { in x25_get_route()
204 rc = x25_add_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl()
206 rc = x25_del_route(&rt.address, rt.sigdigits, dev); in x25_route_ioctl()
/linux-4.4.14/arch/cris/include/asm/
Dpgtable.h89 #define PAGE_PTR(address) \ argument
90 ((unsigned long)(address)>>(PAGE_SHIFT-SIZEOF_PTR_LOG2)&PTR_MASK&~PAGE_MASK)
232 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) argument
235 static inline pgd_t * pgd_offset(const struct mm_struct *mm, unsigned long address) in pgd_offset() argument
237 return mm->pgd + pgd_index(address); in pgd_offset()
241 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
244 #define __pte_offset(address) \ argument
245 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
246 #define pte_offset_kernel(dir, address) \ argument
247 ((pte_t *) pmd_page_vaddr(*(dir)) + __pte_offset(address))
[all …]
/linux-4.4.14/arch/cris/arch-v10/mm/
Dfault.c31 asmlinkage void do_page_fault(unsigned long address, struct pt_regs *regs,
52 unsigned long address; in handle_mmu_bus_fault() local
57 address = cause & PAGE_MASK; /* get faulting address */ in handle_mmu_bus_fault()
71 regs->irp, address, miss, inv, we, acc, index, page_id)); in handle_mmu_bus_fault()
75 do_page_fault(address, regs, 0, writeac); in handle_mmu_bus_fault()
77 do_page_fault(address, regs, 1, we); in handle_mmu_bus_fault()
84 pmd = (pmd_t *)(pgd + pgd_index(address)); in handle_mmu_bus_fault()
87 pte = *pte_offset_kernel(pmd, address); in handle_mmu_bus_fault()
/linux-4.4.14/scripts/gdb/linux/
Dlists.py37 if p['next'] != c.address:
41 current_addr=c.address,
43 p_addr=p.address,
50 current_addr=c.address,
55 if n['prev'] != c.address:
59 current_addr=c.address,
61 n_addr=n.address,
68 current_addr=c.address,
/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dbmi.c92 u32 address, void *buffer, u32 length) in ath10k_bmi_read_memory() argument
101 address, length); in ath10k_bmi_read_memory()
112 cmd.read_mem.addr = __cpu_to_le32(address); in ath10k_bmi_read_memory()
124 address += rxlen; in ath10k_bmi_read_memory()
133 u32 address, const void *buffer, u32 length) in ath10k_bmi_write_memory() argument
141 address, length); in ath10k_bmi_write_memory()
156 cmd.write_mem.addr = __cpu_to_le32(address); in ath10k_bmi_write_memory()
170 address += txlen; in ath10k_bmi_write_memory()
178 int ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result) in ath10k_bmi_execute() argument
187 address, param); in ath10k_bmi_execute()
[all …]
Dhif.h39 int (*diag_read)(struct ath10k *ar, u32 address, void *buf,
42 int (*diag_write)(struct ath10k *ar, u32 address, const void *data,
77 u32 (*read32)(struct ath10k *ar, u32 address);
79 void (*write32)(struct ath10k *ar, u32 address, u32 value);
99 static inline int ath10k_hif_diag_read(struct ath10k *ar, u32 address, void *buf, in ath10k_hif_diag_read() argument
102 return ar->hif.ops->diag_read(ar, address, buf, buf_len); in ath10k_hif_diag_read()
105 static inline int ath10k_hif_diag_write(struct ath10k *ar, u32 address, in ath10k_hif_diag_write() argument
111 return ar->hif.ops->diag_write(ar, address, data, nbytes); in ath10k_hif_diag_write()
184 static inline u32 ath10k_hif_read32(struct ath10k *ar, u32 address) in ath10k_hif_read32() argument
191 return ar->hif.ops->read32(ar, address); in ath10k_hif_read32()
[all …]
Dbmi.h200 int ath10k_bmi_read_memory(struct ath10k *ar, u32 address,
202 int ath10k_bmi_write_memory(struct ath10k *ar, u32 address,
221 u32 address; \
224 address = host_interest_item_address(HI_ITEM(item)); \
225 ret = ath10k_bmi_write_memory(ar, address, \
230 int ath10k_bmi_execute(struct ath10k *ar, u32 address, u32 param, u32 *result);
231 int ath10k_bmi_lz_stream_start(struct ath10k *ar, u32 address);
233 int ath10k_bmi_fast_download(struct ath10k *ar, u32 address,
/linux-4.4.14/arch/mips/txx9/generic/
Dspi_eeprom.c49 int address; member
60 int address = read_param->address; in early_seeprom_probe() local
71 cmd[1] = address; in early_seeprom_probe()
75 address += c; in early_seeprom_probe()
87 int __init spi_eeprom_read(int busid, int chipid, int address, in spi_eeprom_read() argument
94 .address = address, in spi_eeprom_read()
/linux-4.4.14/arch/sh/include/asm/
Dpgtable_64.h51 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) argument
52 #define __pgd_offset(address) pgd_index(address) argument
53 #define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address)) argument
56 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
58 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) argument
59 #define __pmd_offset(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) argument
78 #define pte_index(address) \ argument
79 ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
81 #define __pte_offset(address) pte_index(address) argument
Dpgtable_32.h407 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) argument
408 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) argument
409 #define __pgd_offset(address) pgd_index(address) argument
412 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
414 #define __pud_offset(address) (((address) >> PUD_SHIFT) & (PTRS_PER_PUD-1)) argument
415 #define __pmd_offset(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) argument
418 #define pte_index(address) ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) argument
419 #define __pte_offset(address) pte_index(address) argument
421 #define pte_offset_kernel(dir, address) \ argument
422 ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(address))
[all …]
/linux-4.4.14/drivers/net/ethernet/amd/
Dmvme147.c78 u_long address; in mvme147lance_probe() local
98 address = *addr; in mvme147lance_probe()
102 address = address >> 8; in mvme147lance_probe()
103 dev->dev_addr[5] = address&0xff; in mvme147lance_probe()
104 address = address >> 8; in mvme147lance_probe()
105 dev->dev_addr[4] = address&0xff; in mvme147lance_probe()
106 address = address >> 8; in mvme147lance_probe()
107 dev->dev_addr[3] = address&0xff; in mvme147lance_probe()
/linux-4.4.14/arch/parisc/mm/
Dfault.c181 unsigned long address, struct task_struct *tsk, in show_signal_msg() argument
192 tsk->comm, code, address); in show_signal_msg()
202 unsigned long address) in do_page_fault() argument
228 vma = find_vma_prev(mm, address, &prev_vma); in do_page_fault()
229 if (!vma || address < vma->vm_start) in do_page_fault()
247 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault()
288 if (vma && (expand_stack(vma, address) == 0)) in do_page_fault()
300 show_signal_msg(regs, code, address, tsk, vma); in do_page_fault()
306 address < vma->vm_start || address > vma->vm_end) { in do_page_fault()
334 si.si_addr = (void __user *) address; in do_page_fault()
[all …]
/linux-4.4.14/drivers/media/usb/gspca/m5602/
Dm5602_ov7660.c291 int address; in ov7660_dump_registers() local
293 for (address = 0; address < 0xa9; address++) { in ov7660_dump_registers()
295 m5602_read_sensor(sd, address, &value, 1); in ov7660_dump_registers()
296 pr_info("register 0x%x contains 0x%x\n", address, value); in ov7660_dump_registers()
302 for (address = 0; address < 0xff; address++) { in ov7660_dump_registers()
306 m5602_read_sensor(sd, address, &old_value, 1); in ov7660_dump_registers()
307 m5602_write_sensor(sd, address, test_value, 1); in ov7660_dump_registers()
308 m5602_read_sensor(sd, address, &ctrl_value, 1); in ov7660_dump_registers()
311 pr_info("register 0x%x is writeable\n", address); in ov7660_dump_registers()
313 pr_info("register 0x%x is read only\n", address); in ov7660_dump_registers()
[all …]
Dm5602_mt9m111.c425 u8 address, value[2] = {0x00, 0x00}; in mt9m111_dump_registers() local
432 for (address = 0; address < 0xff; address++) { in mt9m111_dump_registers()
433 m5602_read_sensor(sd, address, value, 2); in mt9m111_dump_registers()
435 address, value[0], value[1]); in mt9m111_dump_registers()
441 for (address = 0; address < 0xff; address++) { in mt9m111_dump_registers()
442 m5602_read_sensor(sd, address, value, 2); in mt9m111_dump_registers()
444 address, value[0], value[1]); in mt9m111_dump_registers()
450 for (address = 0; address < 0xff; address++) { in mt9m111_dump_registers()
451 m5602_read_sensor(sd, address, value, 2); in mt9m111_dump_registers()
453 address, value[0], value[1]); in mt9m111_dump_registers()
/linux-4.4.14/arch/x86/kernel/cpu/mcheck/
Dmce_amd.c93 switch (b->address) { in bank4_names()
105 WARN(1, "Funny MSR: 0x%08x\n", b->address); in bank4_names()
133 b->bank, b->block, b->address, hi, lo); in lvt_off_valid()
140 b->cpu, apic, b->bank, b->block, b->address, hi, lo); in lvt_off_valid()
156 rdmsr(tr->b->address, lo, hi); in threshold_restart_bank()
193 wrmsr(tr->b->address, lo, hi); in threshold_restart_bank()
255 u32 low = 0, high = 0, address = 0; in mce_amd_feature_init() local
262 address = MSR_IA32_MCx_MISC(bank); in mce_amd_feature_init()
264 address = (low & MASK_BLKPTR_LO) >> 21; in mce_amd_feature_init()
265 if (!address) in mce_amd_feature_init()
[all …]
/linux-4.4.14/arch/powerpc/boot/dts/
Dsbc8641d.dts21 #address-cells = <1>;
36 #address-cells = <1>;
69 #address-cells = <2>;
89 #address-cells = <1>;
114 #address-cells = <2>;
124 #address-cells = <1>;
145 #address-cells = <1>;
156 #address-cells = <1>;
167 #address-cells = <1>;
208 #address-cells = <1>;
[all …]
Dksi8560.dts20 #address-cells = <1>;
30 #address-cells = <1>;
53 #address-cells = <1>;
89 #address-cells = <1>;
100 #address-cells = <1>;
141 #address-cells = <1>;
148 /* Mac address filled in by bootwrapper */
149 local-mac-address = [ 00 00 00 00 00 00 ];
156 #address-cells = <1>;
179 #address-cells = <1>;
[all …]
Dmpc8641_hpcn.dts17 #address-cells = <1>;
32 #address-cells = <1>;
65 #address-cells = <2>;
81 #address-cells = <1>;
105 #address-cells = <1>;
126 #address-cells = <1>;
137 #address-cells = <1>;
148 #address-cells = <1>;
189 #address-cells = <1>;
197 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
Dxpedite5200_xmon.dts18 #address-cells = <1>;
36 #address-cells = <1>;
56 #address-cells = <1>;
94 #address-cells = <1>;
150 #address-cells = <1>;
161 #address-cells = <1>;
203 #address-cells = <1>;
211 local-mac-address = [ 00 00 00 00 00 00 ];
218 #address-cells = <1>;
252 #address-cells = <1>;
[all …]
Dxpedite5200.dts17 #address-cells = <1>;
32 #address-cells = <1>;
52 #address-cells = <1>;
90 #address-cells = <1>;
146 #address-cells = <1>;
157 #address-cells = <1>;
199 #address-cells = <1>;
207 local-mac-address = [ 00 00 00 00 00 00 ];
214 #address-cells = <1>;
248 #address-cells = <1>;
[all …]
Dmpc8641_hpcn_36b.dts17 #address-cells = <2>;
32 #address-cells = <1>;
65 #address-cells = <2>;
81 #address-cells = <1>;
105 #address-cells = <1>;
126 #address-cells = <1>;
137 #address-cells = <1>;
148 #address-cells = <1>;
189 #address-cells = <1>;
197 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
Dtqm8540.dts17 #address-cells = <1>;
30 #address-cells = <1>;
53 #address-cells = <1>;
90 #address-cells = <1>;
111 #address-cells = <1>;
152 #address-cells = <1>;
160 local-mac-address = [ 00 00 00 00 00 00 ];
166 #address-cells = <1>;
194 #address-cells = <1>;
202 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
Dtqm8548-bigflash.dts18 #address-cells = <1>;
34 #address-cells = <1>;
54 #address-cells = <1>;
91 #address-cells = <1>;
112 #address-cells = <1>;
123 #address-cells = <1>;
164 #address-cells = <1>;
172 local-mac-address = [ 00 00 00 00 00 00 ];
179 #address-cells = <1>;
217 #address-cells = <1>;
[all …]
Dtqm8548.dts18 #address-cells = <1>;
34 #address-cells = <1>;
54 #address-cells = <1>;
91 #address-cells = <1>;
112 #address-cells = <1>;
123 #address-cells = <1>;
164 #address-cells = <1>;
172 local-mac-address = [ 00 00 00 00 00 00 ];
179 #address-cells = <1>;
217 #address-cells = <1>;
[all …]
Dstx_gp3_8560.dts17 #address-cells = <1>;
28 #address-cells = <1>;
51 #address-cells = <1>;
88 #address-cells = <1>;
99 #address-cells = <1>;
140 #address-cells = <1>;
148 local-mac-address = [ 00 00 00 00 00 00 ];
155 #address-cells = <1>;
178 #address-cells = <1>;
186 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
Dmpc8308_p1m.dts16 #address-cells = <1>;
28 #address-cells = <1>;
50 #address-cells = <2>;
62 #address-cells = <1>;
109 #address-cells = <1>;
118 #address-cells = <1>;
132 #address-cells = <1>;
160 #address-cells = <1>;
169 #address-cells = <1>;
178 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
Dmpc8308rdb.dts17 #address-cells = <1>;
29 #address-cells = <1>;
51 #address-cells = <2>;
67 #address-cells = <1>;
96 #address-cells = <1>;
109 #address-cells = <1>;
118 #address-cells = <1>;
135 #address-cells = <1>;
144 #address-cells = <1>;
153 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
Dklondike.dts27 #address-cells = <1>;
39 #address-cells = <1>;
67 #address-cells = <0>;
77 #address-cells = <0>;
89 #address-cells = <0>;
101 #address-cells = <0>;
110 #address-cells = <1>;
125 #address-cells = <0>;
137 #address-cells = <1>;
167 #address-cells = <0>;
[all …]
Dmpc8377_wlan.dts17 #address-cells = <1>;
31 #address-cells = <1>;
53 #address-cells = <2>;
62 #address-cells = <1>;
88 #address-cells = <1>;
121 #address-cells = <1>;
128 #address-cells = <1>;
159 #address-cells = <1>;
179 #address-cells = <1>;
220 #address-cells = <1>;
[all …]
Dtqm8541.dts17 #address-cells = <1>;
29 #address-cells = <1>;
52 #address-cells = <1>;
89 #address-cells = <1>;
110 #address-cells = <1>;
151 #address-cells = <1>;
159 local-mac-address = [ 00 00 00 00 00 00 ];
166 #address-cells = <1>;
194 #address-cells = <1>;
202 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
Dasp834x-redboot.dts17 #address-cells = <1>;
28 #address-cells = <1>;
50 #address-cells = <2>;
72 #address-cells = <1>;
86 #address-cells = <1>;
102 #address-cells = <1>;
122 #address-cells = <1>;
165 #address-cells = <1>;
176 #address-cells = <1>;
185 #address-cells = <1>;
[all …]
Dtqm8555.dts17 #address-cells = <1>;
29 #address-cells = <1>;
52 #address-cells = <1>;
89 #address-cells = <1>;
110 #address-cells = <1>;
151 #address-cells = <1>;
159 local-mac-address = [ 00 00 00 00 00 00 ];
166 #address-cells = <1>;
194 #address-cells = <1>;
202 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
Dmpc8377_rdb.dts16 #address-cells = <1>;
30 #address-cells = <1>;
52 #address-cells = <2>;
68 #address-cells = <1>;
77 #address-cells = <1>;
98 #address-cells = <1>;
131 #address-cells = <1>;
138 #address-cells = <1>;
183 #address-cells = <1>;
203 #address-cells = <1>;
[all …]
Deiger.dts14 #address-cells = <2>;
30 #address-cells = <1>;
58 #address-cells = <0>;
68 #address-cells = <0>;
80 #address-cells = <0>;
92 #address-cells = <0>;
111 #address-cells = <2>;
126 #address-cells = <1>;
146 #address-cells = <1>;
154 #address-cells = <2>;
[all …]
Dmpc8378_rdb.dts16 #address-cells = <1>;
30 #address-cells = <1>;
52 #address-cells = <2>;
68 #address-cells = <1>;
77 #address-cells = <1>;
98 #address-cells = <1>;
131 #address-cells = <1>;
138 #address-cells = <1>;
183 #address-cells = <1>;
203 #address-cells = <1>;
[all …]
Dmpc8378_mds.dts17 #address-cells = <1>;
31 #address-cells = <1>;
53 #address-cells = <2>;
66 #address-cells = <1>;
97 #address-cells = <1>;
119 #address-cells = <1>;
133 #address-cells = <1>;
140 #address-cells = <1>;
169 #address-cells = <1>;
189 #address-cells = <1>;
[all …]
Dsbc8349.dts21 #address-cells = <1>;
33 #address-cells = <1>;
55 #address-cells = <1>;
68 #address-cells = <1>;
79 #address-cells = <1>;
99 #address-cells = <1>;
142 #address-cells = <1>;
151 #address-cells = <1>;
159 local-mac-address = [ 00 00 00 00 00 00 ];
167 #address-cells = <1>;
[all …]
Dtqm8560.dts18 #address-cells = <1>;
31 #address-cells = <1>;
54 #address-cells = <1>;
91 #address-cells = <1>;
112 #address-cells = <1>;
153 #address-cells = <1>;
161 local-mac-address = [ 00 00 00 00 00 00 ];
168 #address-cells = <1>;
196 #address-cells = <1>;
204 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
Dmpc8313erdb.dts17 #address-cells = <1>;
29 #address-cells = <1>;
51 #address-cells = <2>;
67 #address-cells = <1>;
76 #address-cells = <1>;
98 #address-cells = <1>;
113 #address-cells = <1>;
120 #address-cells = <1>;
148 #address-cells = <1>;
171 #address-cells = <1>;
[all …]
Darches.dts34 #address-cells = <2>;
48 #address-cells = <1>;
77 #address-cells = <0>;
87 #address-cells = <0>;
99 #address-cells = <0>;
111 #address-cells = <0>;
140 #address-cells = <2>;
162 #address-cells = <0>;
175 #address-cells = <1>;
183 #address-cells = <2>;
[all …]
Dmgcoge.dts17 #address-cells = <1>;
26 #address-cells = <1>;
46 #address-cells = <2>;
59 #address-cells = <1>;
85 #address-cells = <1>;
101 #address-cells = <1>;
110 #address-cells = <1>;
120 #address-cells = <1>;
155 local-mac-address = [ 00 00 00 00 00 00 ]; /* Filled in by U-Boot */
170 #address-cells = <1>;
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/
Dmsi-pic.txt14 the address and the length of the shared message interrupt register set.
15 The second region should contain the address of aliased MSIIR or MSIIR1
38 - msi-address-64: 64-bit PCI address of the MSIIR register. The MSIIR register
39 is used for MSI messaging. The address of MSIIR in PCI address space is
40 the MSI message address.
86 The Freescale hypervisor and msi-address-64
89 Freescale MSI driver calculates the address of MSIIR (in the MSI register
90 block) and sets that address as the MSI message address.
96 The ATMU is programmed with the guest physical address, and the PAMU
97 intercepts transactions and reroutes them to the true physical address.
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/pci/
Dralink,rt3883-pci.txt9 - reg: specifies the physical base address of the controller and
12 - #address-cells: specifies the number of cells needed to encode an
13 address. The value must be 1.
16 of an address. The value must be 1.
18 - ranges: specifies the translation between child address space and parent
19 address space
37 - #address-cells: specifies the number of cells needed to encode an
38 address. The value must be 0. As such, 'interrupt-map' nodes do not
39 have to specify a parent unit address.
55 - #address-cells: specifies the number of cells needed to encode an
[all …]
Dbrcm,iproc-pcie.txt5 - reg: base address and length of the PCIe controller I/O register space
11 - #address-cells: set to <3>
20 - brcm,pcie-ob: Some iProc SoCs do not have the outbound address mapping done
27 - brcm,pcie-ob-axi-offset: The offset from the AXI address to the internal
28 address used by the iProc PCIe core (not the PCIe address)
29 - brcm,pcie-ob-window-size: The outbound address mapping window size (in MB)
48 #address-cells = <3>;
75 #address-cells = <3>;
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dcavium-pip.txt14 - reg: The base address of the PIP's register bank.
16 - #address-cells: Must be <1>.
27 - #address-cells: Must be <1>.
44 #address-cells = <1>;
50 #address-cells = <1>;
57 local-mac-address = [ 00 0f b7 10 63 60 ];
63 local-mac-address = [ 00 0f b7 10 63 61 ];
69 local-mac-address = [ 00 0f b7 10 63 62 ];
75 local-mac-address = [ 00 0f b7 10 63 63 ];
82 #address-cells = <1>;
[all …]
Dbrcm,bcmgenet.txt6 - reg: address and length of the register set for the device
11 - #address-cells: should be 1
41 - reg: address and length relative to the parent node base register address
42 - #address-cells: address cell for MDIO bus addressing, should be 1
55 mac-address = [ 00 10 18 36 23 1a ];
57 #address-cells = <0x1>;
64 #address-cells = <0x1>;
81 mac-address = [ 00 10 18 36 24 1a ];
83 #address-cells = <0x1>;
90 #address-cells = <0x1>;
[all …]
/linux-4.4.14/arch/arm/kernel/
Dswp_emulate.c131 static int emulate_swpX(unsigned int address, unsigned int *data, in emulate_swpX() argument
136 if ((type != TYPE_SWPB) && (address & 0x3)) { in emulate_swpX()
148 __user_swpb_asm(*data, address, res, temp); in emulate_swpX()
150 __user_swp_asm(*data, address, res, temp); in emulate_swpX()
176 unsigned int address, destreg, data, type; in swp_handler() local
202 address = regs->uregs[EXTRACT_REG_NUM(instr, RN_OFFSET)]; in swp_handler()
209 EXTRACT_REG_NUM(instr, RN_OFFSET), address, in swp_handler()
213 if (!access_ok(VERIFY_WRITE, (address & ~3), 4)) { in swp_handler()
215 (void *)address); in swp_handler()
218 res = emulate_swpX(address, &data, type); in swp_handler()
[all …]
/linux-4.4.14/net/wireless/
Dwext-spy.c32 struct sockaddr * address = (struct sockaddr *) extra; in iw_handler_set_spy() local
57 memcpy(spydata->spy_address[i], address[i].sa_data, in iw_handler_set_spy()
80 struct sockaddr * address = (struct sockaddr *) extra; in iw_handler_get_spy() local
91 memcpy(address[i].sa_data, spydata->spy_address[i], ETH_ALEN); in iw_handler_get_spy()
92 address[i].sa_family = AF_UNIX; in iw_handler_get_spy()
163 unsigned char * address, in iw_send_thrspy_event() argument
173 memcpy(threshold.addr.sa_data, address, ETH_ALEN); in iw_send_thrspy_event()
193 unsigned char * address, in wireless_spy_update() argument
206 if (ether_addr_equal(address, spydata->spy_address[i])) { in wireless_spy_update()
221 address, wstats); in wireless_spy_update()
[all …]
/linux-4.4.14/drivers/mfd/
Dtwl4030-power.c188 static int twl4030_write_script_byte(u8 address, u8 byte) in twl4030_write_script_byte() argument
192 err = twl_i2c_write_u8(TWL_MODULE_PM_MASTER, address, R_MEMORY_ADDRESS); in twl4030_write_script_byte()
200 static int twl4030_write_script_ins(u8 address, u16 pmb_message, in twl4030_write_script_ins() argument
205 address *= 4; in twl4030_write_script_ins()
206 err = twl4030_write_script_byte(address++, pmb_message >> 8); in twl4030_write_script_ins()
209 err = twl4030_write_script_byte(address++, pmb_message & 0xff); in twl4030_write_script_ins()
212 err = twl4030_write_script_byte(address++, delay); in twl4030_write_script_ins()
215 err = twl4030_write_script_byte(address++, next); in twl4030_write_script_ins()
220 static int twl4030_write_script(u8 address, struct twl4030_ins *script, in twl4030_write_script() argument
225 for (; len; len--, address++, script++) { in twl4030_write_script()
[all …]
/linux-4.4.14/drivers/staging/wilc1000/
Dwilc_sdio.c52 cmd.address = 0x10c; in sdio_set_func0_csa_address()
59 cmd.address = 0x10d; in sdio_set_func0_csa_address()
66 cmd.address = 0x10e; in sdio_set_func0_csa_address()
85 cmd.address = 0x10; in sdio_set_func0_block_size()
92 cmd.address = 0x11; in sdio_set_func0_block_size()
117 cmd.address = 0x110; in sdio_set_func1_block_size()
123 cmd.address = 0x111; in sdio_set_func1_block_size()
144 cmd.address = 0x4; in sdio_clear_int()
171 cmd.address = 0x1C; in sdio_xfer_cnt()
179 cmd.address = 0x1D; in sdio_xfer_cnt()
[all …]
/linux-4.4.14/arch/avr32/include/asm/
Dpgtable.h295 #define pgd_index(address) (((address) >> PGDIR_SHIFT) \ argument
297 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) argument
300 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
303 #define pte_index(address) \ argument
304 ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
305 #define pte_offset(dir, address) \ argument
306 ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(address))
307 #define pte_offset_kernel(dir, address) \ argument
308 ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(address))
309 #define pte_offset_map(dir, address) pte_offset_kernel(dir, address) argument
[all …]
/linux-4.4.14/arch/s390/kernel/
Dsmp.c71 u16 address; /* physical cpu address */ member
126 cc = __pcpu_sigp(pcpu->address, order, parm, NULL); in pcpu_sigp_retry()
139 if (__pcpu_sigp(pcpu->address, SIGP_SENSE, in pcpu_stopped()
147 if (__pcpu_sigp(pcpu->address, SIGP_SENSE_RUNNING, in pcpu_running()
157 static struct pcpu *pcpu_find_address(const struct cpumask *mask, u16 address) in pcpu_find_address() argument
162 if (pcpu_devices[cpu].address == address) in pcpu_find_address()
293 if (pcpu->address == source_cpu) in pcpu_delegate()
307 : : "d" (pcpu->address), "d" (source_cpu), in pcpu_delegate()
334 pcpu_devices[0].address = stap(); in pcpu_set_smt()
364 int smp_find_processor_id(u16 address) in smp_find_processor_id() argument
[all …]
/linux-4.4.14/arch/mips/pci/
Dpci-rt2880.c71 u32 address; in rt2880_pci_config_read() local
74 address = rt2880_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), in rt2880_pci_config_read()
78 rt2880_pci_reg_write(address, RT2880_PCI_REG_CONFIG_ADDR); in rt2880_pci_config_read()
101 u32 address; in rt2880_pci_config_write() local
104 address = rt2880_pci_get_cfgaddr(bus->number, PCI_SLOT(devfn), in rt2880_pci_config_write()
108 rt2880_pci_reg_write(address, RT2880_PCI_REG_CONFIG_ADDR); in rt2880_pci_config_write()
159 u32 address; in rt2880_pci_read_u32() local
162 address = rt2880_pci_get_cfgaddr(0, 0, 0, reg); in rt2880_pci_read_u32()
165 rt2880_pci_reg_write(address, RT2880_PCI_REG_CONFIG_ADDR); in rt2880_pci_read_u32()
175 u32 address; in rt2880_pci_write_u32() local
[all …]
/linux-4.4.14/arch/mips/boot/dts/cavium-octeon/
Docteon_68xx.dts11 #address-cells = <2>;
17 #address-cells = <2>;
28 #address-cells = <0>;
56 #address-cells = <1>;
112 #address-cells = <1>;
156 #address-cells = <1>;
200 #address-cells = <1>;
250 local-mac-address = [ 00 00 00 00 00 00 ];
256 #address-cells = <1>;
262 #address-cells = <1>;
[all …]
Docteon_3xxx.dts11 #address-cells = <2>;
17 #address-cells = <2>;
55 #address-cells = <1>;
152 #address-cells = <1>;
206 local-mac-address = [ 00 00 00 00 00 00 ];
218 local-mac-address = [ 00 00 00 00 00 00 ];
224 #address-cells = <1>;
230 #address-cells = <1>;
237 local-mac-address = [ 00 00 00 00 00 00 ];
244 local-mac-address = [ 00 00 00 00 00 00 ];
[all …]
/linux-4.4.14/arch/arm/mach-zynq/
Dplatsmp.c37 int zynq_cpun_start(u32 address, int cpu) in zynq_cpun_start() argument
44 if (!(address & 3) && (!address || (address >= trampoline_code_size))) { in zynq_cpun_start()
51 if (address) { in zynq_cpun_start()
70 writel(address, zero + trampoline_size); in zynq_cpun_start()
84 pr_warn("Can't start CPU%d: Wrong starting address %x\n", cpu, address); in zynq_cpun_start()
/linux-4.4.14/arch/m32r/include/asm/
Dpgtable.h307 #define pgd_index(address) \ argument
308 (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD - 1))
310 #define pgd_offset(mm, address) ((mm)->pgd + pgd_index(address)) argument
313 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
315 #define pmd_index(address) \ argument
316 (((address) >> PMD_SHIFT) & (PTRS_PER_PMD - 1))
318 #define pte_index(address) \ argument
319 (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1))
320 #define pte_offset_kernel(dir, address) \ argument
321 ((pte_t *)pmd_page_vaddr(*(dir)) + pte_index(address))
[all …]
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-rpmsg19 processor. Channels have a local ("source") rpmsg address,
20 and remote ("destination") rpmsg address. When an entity
22 a unique rpmsg address (a 32 bits integer). This way when
23 inbound messages arrive to this address, the rpmsg core
26 This sysfs entry contains the src (local) rpmsg address
27 of this channel. If it contains 0xffffffff, then an address
37 processor. Channels have a local ("source") rpmsg address,
38 and remote ("destination") rpmsg address. When an entity
40 a unique rpmsg address (a 32 bits integer). This way when
41 inbound messages arrive to this address, the rpmsg core
[all …]
/linux-4.4.14/sound/pci/asihpi/
Dhpi6000.c190 static void hpi_write_word(struct dsp_obj *pdo, u32 address, u32 data);
192 static u32 hpi_read_word(struct dsp_obj *pdo, u32 address);
194 static void hpi_write_block(struct dsp_obj *pdo, u32 address, u32 *pdata,
197 static void hpi_read_block(struct dsp_obj *pdo, u32 address, u32 *pdata,
955 u32 address; in hpi6000_adapter_boot_load_dsp() local
965 error = hpi_dsp_code_read_word(&dsp_code, &address); in hpi6000_adapter_boot_load_dsp()
976 address, pcode, length); in hpi6000_adapter_boot_load_dsp()
990 u32 address; in hpi6000_adapter_boot_load_dsp() local
998 hpi_dsp_code_read_word(&dsp_code, &address); in hpi6000_adapter_boot_load_dsp()
1003 data = hpi_read_word(pdo, address); in hpi6000_adapter_boot_load_dsp()
[all …]
/linux-4.4.14/arch/powerpc/include/asm/
Dpgalloc-64.h80 unsigned long address) in pte_alloc_one_kernel() argument
86 unsigned long address) in pte_alloc_one() argument
91 pte = pte_alloc_one_kernel(mm, address); in pte_alloc_one()
149 unsigned long address) in __pte_free_tlb() argument
151 tlb_flush_pgtable(tlb, address); in __pte_free_tlb()
195 unsigned long address) in pte_alloc_one_kernel() argument
197 return (pte_t *)page_table_alloc(mm, address, 1); in pte_alloc_one_kernel()
201 unsigned long address) in pte_alloc_one() argument
203 return (pgtable_t)page_table_alloc(mm, address, 0); in pte_alloc_one()
217 unsigned long address) in __pte_free_tlb() argument
[all …]
/linux-4.4.14/drivers/sh/intc/
Daccess.c14 unsigned long intc_phys_to_virt(struct intc_desc_int *d, unsigned long address) in intc_phys_to_virt() argument
23 if (address < window->phys) in intc_phys_to_virt()
26 if (address >= (window->phys + window->size)) in intc_phys_to_virt()
29 address -= window->phys; in intc_phys_to_virt()
30 address += (unsigned long)window->virt; in intc_phys_to_virt()
32 return address; in intc_phys_to_virt()
36 return address; in intc_phys_to_virt()
39 unsigned int intc_get_reg(struct intc_desc_int *d, unsigned long address) in intc_get_reg() argument
43 address = intc_phys_to_virt(d, address); in intc_get_reg()
46 if (d->reg[k] == address) in intc_get_reg()
/linux-4.4.14/arch/x86/um/os-Linux/
Dtask_size.c18 unsigned long *address = (unsigned long *) (page << UM_KERN_PAGE_SHIFT); in page_ok() local
32 n = *address; in page_ok()
34 mapped = mmap(address, UM_KERN_PAGE_SIZE, in page_ok()
39 if (mapped != address) in page_ok()
49 *address = n; in page_ok()
52 } else if (mprotect(address, UM_KERN_PAGE_SIZE, in page_ok()
57 *address = n; in page_ok()
/linux-4.4.14/arch/m68k/include/asm/
Dsun3_pgtable.h188 #define pgd_index(address) ((address) >> PGDIR_SHIFT) argument
190 #define pgd_offset(mm, address) \ argument
191 ((mm)->pgd + pgd_index(address))
194 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
197 static inline pmd_t *pmd_offset (pgd_t *pgd, unsigned long address) in pmd_offset() argument
203 #define pte_index(address) ((address >> PAGE_SHIFT) & (PTRS_PER_PTE-1)) argument
204 #define pte_offset_kernel(pmd, address) ((pte_t *) __pmd_page(*pmd) + pte_index(address)) argument
205 #define pte_offset_map(pmd, address) ((pte_t *)page_address(pmd_page(*pmd)) + pte_index(address)) argument
Dmcf_pgalloc.h15 unsigned long address) in pte_alloc_one_kernel() argument
26 extern inline pmd_t *pmd_alloc_kernel(pgd_t *pgd, unsigned long address) in pmd_alloc_kernel() argument
31 #define pmd_alloc_one_fast(mm, address) ({ BUG(); ((pmd_t *)1); }) argument
32 #define pmd_alloc_one(mm, address) ({ BUG(); ((pmd_t *)2); }) argument
44 unsigned long address) in __pte_free_tlb() argument
49 #define __pmd_free_tlb(tlb, pmd, address) do { } while (0) argument
52 unsigned long address) in pte_alloc_one() argument
Dmotorola_pgtable.h190 #define PAGE_DIR_OFFSET(tsk,address) pgd_offset((tsk),(address)) argument
192 #define pgd_index(address) ((address) >> PGDIR_SHIFT) argument
196 unsigned long address) in pgd_offset() argument
198 return mm->pgd + pgd_index(address); in pgd_offset()
204 static inline pgd_t *pgd_offset_k(unsigned long address) in pgd_offset_k() argument
206 return kernel_pg_dir + (address >> PGDIR_SHIFT); in pgd_offset_k()
211 static inline pmd_t *pmd_offset(pgd_t *dir, unsigned long address) in pmd_offset() argument
213 return (pmd_t *)__pgd_page(*dir) + ((address >> PMD_SHIFT) & (PTRS_PER_PMD-1)); in pmd_offset()
217 static inline pte_t *pte_offset_kernel(pmd_t *pmdp, unsigned long address) in pte_offset_kernel() argument
219 return (pte_t *)__pmd_page(*pmdp) + ((address >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)); in pte_offset_kernel()
[all …]
Dvirtconvert.h18 static inline unsigned long virt_to_phys(void *address) in virt_to_phys() argument
20 return __pa(address); in virt_to_phys()
23 static inline void *phys_to_virt(unsigned long address) in phys_to_virt() argument
25 return __va(address); in phys_to_virt()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dinit.c252 u32 address, data; in ath6kl_set_host_app_area() local
257 address = ath6kl_get_hi_item_addr(ar, HI_ITEM(hi_app_host_interest)); in ath6kl_set_host_app_area()
258 address = TARG_VTOP(ar->target_type, address); in ath6kl_set_host_app_area()
260 if (ath6kl_diag_read32(ar, address, &data)) in ath6kl_set_host_app_area()
263 address = TARG_VTOP(ar->target_type, data); in ath6kl_set_host_app_area()
265 if (ath6kl_diag_write(ar, address, (u8 *) &host_app_area, in ath6kl_set_host_app_area()
1285 u32 address, param; in ath6kl_upload_otp() local
1292 address = ar->hw.app_load_addr; in ath6kl_upload_otp()
1294 ath6kl_dbg(ATH6KL_DBG_BOOT, "writing otp to 0x%x (%zd B)\n", address, in ath6kl_upload_otp()
1297 ret = ath6kl_bmi_fast_download(ar, address, ar->fw_otp, in ath6kl_upload_otp()
[all …]
/linux-4.4.14/arch/um/include/asm/
Dpgtable.h297 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) argument
303 #define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address)) argument
309 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
318 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) argument
329 #define pte_index(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) argument
330 #define pte_offset_kernel(dir, address) \ argument
331 ((pte_t *) pmd_page_vaddr(*(dir)) + pte_index(address))
332 #define pte_offset_map(dir, address) \ argument
333 ((pte_t *)page_address(pmd_page(*(dir))) + pte_index(address))
339 #define update_mmu_cache(vma,address,ptep) do ; while (0) argument
Dtlb.h26 unsigned long address) in __tlb_remove_tlb_entry() argument
28 if (tlb->start > address) in __tlb_remove_tlb_entry()
29 tlb->start = address; in __tlb_remove_tlb_entry()
30 if (tlb->end < address + PAGE_SIZE) in __tlb_remove_tlb_entry()
31 tlb->end = address + PAGE_SIZE; in __tlb_remove_tlb_entry()
120 #define tlb_remove_tlb_entry(tlb, ptep, address) \ argument
123 __tlb_remove_tlb_entry(tlb, ptep, address); \
/linux-4.4.14/drivers/crypto/ccp/
Dccp-ops.c38 dma_addr_t address; member
49 u8 *address; member
183 return lower_32_bits(info->address + info->offset); in ccp_addr_lo()
188 return upper_32_bits(info->address + info->offset) & 0x0000ffff; in ccp_addr_hi()
539 if (wa->address) in ccp_dm_free()
540 dma_pool_free(wa->dma_pool, wa->address, in ccp_dm_free()
541 wa->dma.address); in ccp_dm_free()
543 if (wa->dma.address) in ccp_dm_free()
544 dma_unmap_single(wa->dev, wa->dma.address, wa->length, in ccp_dm_free()
546 kfree(wa->address); in ccp_dm_free()
[all …]
/linux-4.4.14/arch/arm/mm/
Dfault-armv.c40 static int do_adjust_pte(struct vm_area_struct *vma, unsigned long address, in do_adjust_pte() argument
56 flush_cache_page(vma, address, pfn); in do_adjust_pte()
61 set_pte_at(vma->vm_mm, address, ptep, entry); in do_adjust_pte()
62 flush_tlb_page(vma, address); in do_adjust_pte()
92 static int adjust_pte(struct vm_area_struct *vma, unsigned long address, in adjust_pte() argument
102 pgd = pgd_offset(vma->vm_mm, address); in adjust_pte()
106 pud = pud_offset(pgd, address); in adjust_pte()
110 pmd = pmd_offset(pud, address); in adjust_pte()
120 pte = pte_offset_map(pmd, address); in adjust_pte()
123 ret = do_adjust_pte(vma, address, pfn, pte); in adjust_pte()
/linux-4.4.14/arch/alpha/mm/
Dfault.c83 do_page_fault(unsigned long address, unsigned long mmcsr, in do_page_fault() argument
113 if (address >= TASK_SIZE) in do_page_fault()
120 vma = find_vma(mm, address); in do_page_fault()
123 if (vma->vm_start <= address) in do_page_fault()
127 if (expand_stack(vma, address)) in do_page_fault()
150 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault()
206 "virtual address %016lx\n", address); in do_page_fault()
226 info.si_addr = (void __user *) address; in do_page_fault()
236 info.si_addr = (void __user *) address; in do_page_fault()
247 long index = pgd_index(address); in do_page_fault()
/linux-4.4.14/arch/arm/boot/dts/
Ddm814x.dtsi27 #address-cells = <1>;
55 #address-cells = <1>;
62 * 0x1000 from the 1-317 addresses to get the device address
66 #address-cells = <1>;
72 #address-cells = <1>;
112 #address-cells = <1>;
122 #address-cells = <1>;
187 #address-cells = <1>;
194 #address-cells = <1>;
198 #address-cells = <1>;
[all …]
Dorion5x.dtsi23 #address-cells = <2>;
31 #address-cells = <1>;
41 #address-cells = <1>;
51 #address-cells = <1>;
61 #address-cells = <1>;
69 #address-cells = <1>;
86 #address-cells = <1>;
96 #address-cells = <1>;
181 #address-cells = <1>;
191 /* overwrite MAC address in bootloader */
[all …]
/linux-4.4.14/arch/alpha/include/asm/
Dpgtable.h169 #define PAGE_PTR(address) \ argument
170 ((unsigned long)(address)>>(PAGE_SHIFT-SIZEOF_PTR_LOG2)&PTR_MASK&~PAGE_MASK)
280 #define PAGE_DIR_OFFSET(tsk,address) pgd_offset((tsk),(address)) argument
283 #define pgd_offset_k(address) pgd_offset(&init_mm, (address)) argument
286 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) argument
287 #define pgd_offset(mm, address) ((mm)->pgd+pgd_index(address)) argument
303 extern inline pmd_t * pmd_offset(pgd_t * dir, unsigned long address) in pmd_offset() argument
305 pmd_t *ret = (pmd_t *) pgd_page_vaddr(*dir) + ((address >> PMD_SHIFT) & (PTRS_PER_PAGE - 1)); in pmd_offset()
311 extern inline pte_t * pte_offset_kernel(pmd_t * dir, unsigned long address) in pte_offset_kernel() argument
314 + ((address >> PAGE_SHIFT) & (PTRS_PER_PAGE - 1)); in pte_offset_kernel()
[all …]
/linux-4.4.14/drivers/acpi/
Dsbshc.c91 static inline int smb_hc_read(struct acpi_smb_hc *hc, u8 address, u8 *data) in smb_hc_read() argument
93 return ec_read(hc->offset + address, data); in smb_hc_read()
96 static inline int smb_hc_write(struct acpi_smb_hc *hc, u8 address, u8 data) in smb_hc_write() argument
98 return ec_write(hc->offset + address, data); in smb_hc_write()
109 u8 address, u8 command, u8 *data, u8 length) in acpi_smbus_transaction() argument
133 smb_hc_write(hc, ACPI_SMB_ADDRESS, address << 1); in acpi_smbus_transaction()
165 int acpi_smbus_read(struct acpi_smb_hc *hc, u8 protocol, u8 address, in acpi_smbus_read() argument
168 return acpi_smbus_transaction(hc, protocol, address, command, data, 0); in acpi_smbus_read()
173 int acpi_smbus_write(struct acpi_smb_hc *hc, u8 protocol, u8 address, in acpi_smbus_write() argument
176 return acpi_smbus_transaction(hc, protocol, address, command, data, length); in acpi_smbus_write()
[all …]
/linux-4.4.14/drivers/bcma/
Ddriver_pci.c20 u32 bcma_pcie_read(struct bcma_drv_pci *pc, u32 address) in bcma_pcie_read() argument
22 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_ADDR, address); in bcma_pcie_read()
27 static void bcma_pcie_write(struct bcma_drv_pci *pc, u32 address, u32 data) in bcma_pcie_write() argument
29 pcicore_write32(pc, BCMA_CORE_PCI_PCIEIND_ADDR, address); in bcma_pcie_write()
58 static u16 bcma_pcie_mdio_read(struct bcma_drv_pci *pc, u16 device, u8 address) in bcma_pcie_mdio_read() argument
75 v |= (address << BCMA_CORE_PCI_MDIODATA_REGADDR_SHF); in bcma_pcie_mdio_read()
78 v |= (address << BCMA_CORE_PCI_MDIODATA_REGADDR_SHF_OLD); in bcma_pcie_mdio_read()
102 u8 address, u16 data) in bcma_pcie_mdio_write() argument
118 v |= (address << BCMA_CORE_PCI_MDIODATA_REGADDR_SHF); in bcma_pcie_mdio_write()
121 v |= (address << BCMA_CORE_PCI_MDIODATA_REGADDR_SHF_OLD); in bcma_pcie_mdio_write()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/i2c/
Di2c-pxa-pci-ce4100.txt11 number to its physical address and to use this to find the child nodes
15 ranges describes how the parent pci address space
17 address space (first group of 2) and the size of
19 the first cell of the local address is chosen to be
25 ranges allows the address mapping to be described
32 #address-cells = <2>;
43 * three is the bar number followed by the 64bit bar address
44 * followed by size of the mapping. The bar address
53 #address-cells = <1>;
66 #address-cells = <1>;
[all …]
Di2c-mux.txt9 - #address-cells = <1>;
13 - #address-cells = <1>;
25 An NXP pca9548 8 channel I2C multiplexer at address 0x70
33 #address-cells = <1>;
37 #address-cells = <1>;
49 #address-cells = <1>;
/linux-4.4.14/arch/hexagon/mm/
Dvm_fault.c48 void do_page_fault(unsigned long address, long cause, struct pt_regs *regs) in do_page_fault() argument
71 vma = find_vma(mm, address); in do_page_fault()
75 if (vma->vm_start <= address) in do_page_fault()
81 if (expand_stack(vma, address)) in do_page_fault()
104 fault = handle_mm_fault(mm, vma, address, flags); in do_page_fault()
151 info.si_addr = (void __user *)address; in do_page_fault()
162 info.si_addr = (void *)address; in do_page_fault()
178 "virtual address 0x%08lx, regs %p\n", address, regs); in do_page_fault()
/linux-4.4.14/arch/openrisc/kernel/
Dtraps.c288 asmlinkage void do_trap(struct pt_regs *regs, unsigned long address) in do_trap() argument
294 info.si_addr = (void *)address; in do_trap()
300 asmlinkage void do_unaligned_access(struct pt_regs *regs, unsigned long address) in do_unaligned_access() argument
309 info.si_addr = (void *)address; in do_unaligned_access()
312 printk("KERNEL: Unaligned Access 0x%.8lx\n", address); in do_unaligned_access()
314 die("Die:", regs, address); in do_unaligned_access()
319 asmlinkage void do_bus_fault(struct pt_regs *regs, unsigned long address) in do_bus_fault() argument
328 info.si_addr = (void *)address; in do_bus_fault()
331 printk("KERNEL: Bus error (SIGBUS) 0x%.8lx\n", address); in do_bus_fault()
333 die("Die:", regs, address); in do_bus_fault()
[all …]
/linux-4.4.14/Documentation/misc-devices/
Dmax687545 The driver does not probe any address, so you explicitly instantiate the
52 The MAX6874/MAX6875 ignores address bit 0, so this driver attaches to multiple
53 addresses. For example, for address 0x50, it also reserves 0x51.
54 The even-address instance is called 'max6875', the odd one is 'dummy'.
61 Reads and writes are performed differently depending on the address range.
81 The command is the upper byte of the address: 0x80, 0x81, or 0x82.
82 The data word is the lower part of the address or'd with data << 8.
83 cmd = address >> 8;
84 val = (address & 0xff) | (data << 8);
87 To write 0x5a to address 0x8003:
[all …]
/linux-4.4.14/arch/mips/dec/
Decc-berr.c60 unsigned long address; in dec_ecc_be_backend() local
93 address = erraddr & KN0X_EAR_ADDRESS; in dec_ecc_be_backend()
96 address = (address & ~0xfffLL) | ((address - 5) & 0xfffLL); in dec_ecc_be_backend()
97 address <<= 2; in dec_ecc_be_backend()
120 if (!(address & 0x4)) in dec_ecc_be_backend()
148 (void *)CKSEG1ADDR(address); in dec_ecc_be_backend()
189 kind, agent, cycle, event, address); in dec_ecc_be_backend()
/linux-4.4.14/arch/mips/include/asm/mach-pmcs-msp71xx/
Dmsp_regops.h217 #define custom_read_reg32(address, tmp) \ argument
223 : "=r" (tmp), "=" GCC_OFF_SMALL_ASM() (*address) \
224 : GCC_OFF_SMALL_ASM() (*address))
226 #define custom_write_reg32(address, tmp) \ argument
234 : "=&r" (tmp), "=" GCC_OFF_SMALL_ASM() (*address) \
235 : "0" (tmp), GCC_OFF_SMALL_ASM() (*address))
/linux-4.4.14/arch/ia64/hp/common/
Daml_nfw.c56 static void *virt_map(u64 address) in virt_map() argument
58 if (address & (1UL << 63)) in virt_map()
59 return (void *) (__IA64_UNCACHED_OFFSET | address); in virt_map()
61 return __va(address); in virt_map()
115 static acpi_status aml_nfw_handler(u32 function, acpi_physical_address address, in aml_nfw_handler() argument
120 u8 *offset = (u8 *) context + address; in aml_nfw_handler()
126 if (address + (bit_width >> 3) > sizeof(struct ia64_nfw_context)) in aml_nfw_handler()
131 if (address == offsetof(struct ia64_nfw_context, ret)) in aml_nfw_handler()
/linux-4.4.14/Documentation/devicetree/bindings/net/dsa/
Ddsa.txt6 - #address-cells : Must be 2, first cell is the address on the MDIO bus
7 and second cell is the address in the switch tree.
23 address on the MII bus. The second is the switch
25 - #address-cells : Must be 1
38 - reg : Describes the port address in the switch
76 #address-cells = <2>;
84 #address-cells = <1>;
86 reg = <16 0>; /* MDIO address 16, switch 0 in tree */
113 #address-cells = <1>;
115 reg = <17 1>; /* MDIO address 17, switch 1 in tree */
[all …]
/linux-4.4.14/drivers/scsi/snic/
Dwq_enet_desc.h23 __le64 address; member
52 u64 address, u16 length, u16 mss, u16 header_length, in wq_enet_desc_enc() argument
56 desc->address = cpu_to_le64(address); in wq_enet_desc_enc()
71 u64 *address, u16 *length, u16 *mss, u16 *header_length, in wq_enet_desc_dec() argument
75 *address = le64_to_cpu(desc->address); in wq_enet_desc_dec()
/linux-4.4.14/drivers/iommu/
Damd_iommu.c519 u64 address; in iommu_print_event() local
526 address = (u64)(((u64)event[3]) << 32) | event[2]; in iommu_print_event()
545 address, flags); in iommu_print_event()
552 domid, address, flags); in iommu_print_event()
558 address, flags); in iommu_print_event()
564 domid, address, flags); in iommu_print_event()
567 printk("ILLEGAL_COMMAND_ERROR address=0x%016llx]\n", address); in iommu_print_event()
568 dump_command(address); in iommu_print_event()
572 "flags=0x%04x]\n", address, flags); in iommu_print_event()
578 address); in iommu_print_event()
[all …]
/linux-4.4.14/arch/hexagon/include/asm/
Dpgtable.h231 #define pmd_index(address) (((address) >> PMD_SHIFT) & (PTRS_PER_PMD-1)) argument
241 #define pgd_index(address) (((address) >> PGDIR_SHIFT) & (PTRS_PER_PGD-1)) argument
251 #define pgd_offset_k(address) pgd_offset(&init_mm, address) argument
433 #define pte_offset_map(dir, address) \ argument
434 ((pte_t *)page_address(pmd_page(*(dir))) + __pte_offset(address))
439 #define pte_offset_kernel(dir, address) \ argument
441 + __pte_offset(address))
446 #define __pte_offset(address) (((address) >> PAGE_SHIFT) & (PTRS_PER_PTE - 1)) argument
/linux-4.4.14/drivers/edac/
Dcell_edac.c38 unsigned long address, pfn, offset, syndrome; in cell_edac_count_ce() local
44 address = (ar & 0xffffffffe0000000ul) >> 29; in cell_edac_count_ce()
46 address = (address << 1) | chan; in cell_edac_count_ce()
47 pfn = address >> PAGE_SHIFT; in cell_edac_count_ce()
48 offset = address & ~PAGE_MASK; in cell_edac_count_ce()
61 unsigned long address, pfn, offset; in cell_edac_count_ue() local
67 address = (ar & 0xffffffffe0000000ul) >> 29; in cell_edac_count_ue()
69 address = (address << 1) | chan; in cell_edac_count_ue()
70 pfn = address >> PAGE_SHIFT; in cell_edac_count_ue()
71 offset = address & ~PAGE_MASK; in cell_edac_count_ue()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dpcie.c313 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_read_reg32() local
315 return (ioread32(address)); in brcmf_pcie_read_reg32()
323 void __iomem *address = devinfo->regs + reg_offset; in brcmf_pcie_write_reg32() local
325 iowrite32(value, address); in brcmf_pcie_write_reg32()
332 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm8() local
334 return (ioread8(address)); in brcmf_pcie_read_tcm8()
341 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_read_tcm16() local
343 return (ioread16(address)); in brcmf_pcie_read_tcm16()
351 void __iomem *address = devinfo->tcm + mem_offset; in brcmf_pcie_write_tcm16() local
353 iowrite16(value, address); in brcmf_pcie_write_tcm16()
[all …]
/linux-4.4.14/arch/nios2/platform/
DKconfig.platform6 hex "Memory base address"
9 This is the physical address of the memory that the kernel will run
10 from. This address is used to link the kernel and setup initial memory
11 management. You should take the raw memory address without any MMU
13 Please not that this address is used directly so you have to manually
14 do address translation if it's connected to a bridge.
19 bool "DTB at physical address"
22 When enabled you can select a physical address to load the dtb from.
23 Normally this address is passed by a bootloader such as u-boot but
26 Please note that this address is used directly so you have to manually
[all …]
/linux-4.4.14/arch/x86/pci/
Dmmconfig-shared.c80 new->address = addr; in pci_mmconfig_alloc()
189 u32 low, high, address; in pci_mmcfg_amd_fam10h() local
197 address = MSR_FAM10H_MMIO_CONF_BASE; in pci_mmcfg_amd_fam10h()
198 if (rdmsr_safe(address, &low, &high)) in pci_mmcfg_amd_fam10h()
379 struct acpi_resource_address64 address; in check_mcfg_resource() local
387 if ((mcfg_res->start >= fixmem32->address) && in check_mcfg_resource()
388 (mcfg_res->end < (fixmem32->address + in check_mcfg_resource()
398 status = acpi_resource_to_address64(res, &address); in check_mcfg_resource()
400 (address.address.address_length <= 0) || in check_mcfg_resource()
401 (address.resource_type != ACPI_MEMORY_RANGE)) in check_mcfg_resource()
[all …]
/linux-4.4.14/arch/ia64/include/asm/
Dtlb.h247 __tlb_remove_tlb_entry (struct mmu_gather *tlb, pte_t *ptep, unsigned long address) in __tlb_remove_tlb_entry() argument
250 tlb->start_addr = address; in __tlb_remove_tlb_entry()
251 tlb->end_addr = address + PAGE_SIZE; in __tlb_remove_tlb_entry()
265 #define pte_free_tlb(tlb, ptep, address) \ argument
268 __pte_free_tlb(tlb, ptep, address); \
271 #define pmd_free_tlb(tlb, ptep, address) \ argument
274 __pmd_free_tlb(tlb, ptep, address); \
277 #define pud_free_tlb(tlb, pudp, address) \ argument
280 __pud_free_tlb(tlb, pudp, address); \
/linux-4.4.14/Documentation/vm/
Dactive_mm.txt18 - we have "real address spaces" and "anonymous address spaces". The
19 difference is that an anonymous address space doesn't care about the
21 anonymous address space we just leave the previous address space
24 The obvious use for a "anonymous address space" is any thread that
32 - "tsk->mm" points to the "real address space". For an anonymous process,
34 really doesn't _have_ a real address space at all.
36 - however, we obviously need to keep track of which address space we
38 which shows what the currently active address space is.
40 The rule is that for a process with a real address space (ie tsk->mm is
46 anonymous process gets scheduled away, the borrowed address space is
[all …]
/linux-4.4.14/Documentation/virtual/kvm/devices/
Darm-vgic.txt21 Base address in the guest physical address space of the GIC distributor
23 This address needs to be 4K aligned and the region covers 4 KByte.
26 Base address in the guest physical address space of the GIC virtual cpu
28 This address needs to be 4K aligned and the region covers 4 KByte.
31 Base address in the guest physical address space of the GICv3 distributor
33 This address needs to be 64K aligned and the region covers 64 KByte.
36 Base address in the guest physical address space of the GICv3
40 This address needs to be 64K aligned.
51 The offset is relative to the "Distributor base address" as defined in the
73 The offset specifies the offset from the "CPU interface base address" as
/linux-4.4.14/include/trace/events/
Dkvm.h138 TP_PROTO(__u64 address, __u64 data),
139 TP_ARGS(address, data),
142 __field( __u64, address )
147 __entry->address = address;
152 (u8)(__entry->address >> 12), (u8)__entry->data,
154 (__entry->address & (1<<2)) ? "logical" : "physical",
156 (__entry->address & (1<<3)) ? "|rh" : "")
342 TP_PROTO(unsigned long address, u64 gva),
343 TP_ARGS(address, gva),
346 __field(unsigned long, address)
[all …]

12345678910>>...23