Home
last modified time | relevance | path

Searched refs:last_addr (Results 1 – 25 of 35) sorted by relevance

12

/openbmc/u-boot/cmd/
H A Dstrings.c13 static char *start_addr, *last_addr; variable
23 last_addr = (char *)simple_strtoul(argv[2], NULL, 16); in do_strings()
25 last_addr = (char *)-1; in do_strings()
33 } while (addr[0] && addr < last_addr); in do_strings()
35 last_addr = addr + (last_addr - start_addr); in do_strings()
/openbmc/linux/arch/mips/mm/
H A Dioremap.c52 phys_addr_t last_addr; in ioremap_prot() local
63 last_addr = phys_addr + size - 1; in ioremap_prot()
64 if (!size || last_addr < phys_addr) in ioremap_prot()
71 if (IS_LOW512(phys_addr) && IS_LOW512(last_addr) && in ioremap_prot()
80 last_pfn = PFN_DOWN(last_addr); in ioremap_prot()
84 &phys_addr, &last_addr); in ioremap_prot()
93 size = PAGE_ALIGN(last_addr + 1) - phys_addr; in ioremap_prot()
/openbmc/linux/arch/nios2/mm/
H A Dioremap.c123 unsigned long last_addr; in ioremap() local
127 last_addr = phys_addr + size - 1; in ioremap()
129 if (!size || last_addr < phys_addr) in ioremap()
150 IS_MAPPABLE_UNCACHEABLE(last_addr)) in ioremap()
156 size = PAGE_ALIGN(last_addr + 1) - phys_addr; in ioremap()
/openbmc/linux/mm/
H A Dioremap.c19 phys_addr_t last_addr; in generic_ioremap_prot() local
27 last_addr = phys_addr + size - 1; in generic_ioremap_prot()
28 if (!size || last_addr < phys_addr) in generic_ioremap_prot()
H A Dearly_ioremap.c103 resource_size_t last_addr; in __early_ioremap() local
123 last_addr = phys_addr + size - 1; in __early_ioremap()
124 if (WARN_ON(!size || last_addr < phys_addr)) in __early_ioremap()
133 size = PAGE_ALIGN(last_addr + 1) - phys_addr; in __early_ioremap()
/openbmc/linux/arch/powerpc/boot/
H A Ddevtree.c240 u32 last_addr[MAX_ADDR_CELLS]; in dt_xlate() local
261 copy_val(last_addr, prop_buf + offset, naddr); in dt_xlate()
287 offset = find_range(last_addr, prop_buf, prev_naddr, in dt_xlate()
294 if (!sub_reg(last_addr, this_addr)) in dt_xlate()
299 if (!add_reg(last_addr, this_addr, naddr)) in dt_xlate()
306 ret_addr = ((u64)be32_to_cpu(last_addr[2]) << 32) | be32_to_cpu(last_addr[3]); in dt_xlate()
/openbmc/linux/arch/arm64/mm/
H A Dioremap.c9 unsigned long last_addr = phys_addr + size - 1; in ioremap_prot() local
12 if (last_addr & ~PHYS_MASK) in ioremap_prot()
/openbmc/linux/drivers/fsi/
H A Dfsi-master-gpio.c34 uint32_t last_addr; member
189 return master->last_addr == (((id & 0x3) << 21) | (addr & ~0x3)); in check_same_address()
195 uint32_t last_addr = master->last_addr; in check_relative_address() local
198 if (last_addr == LAST_ADDR_INVALID) in check_relative_address()
205 if (((last_addr >> 21) & 0x3) != id) in check_relative_address()
209 last_addr &= (1 << 21) - 1; in check_relative_address()
213 rel_addr = addr - last_addr; in check_relative_address()
226 master->last_addr = LAST_ADDR_INVALID; in last_address_update()
228 master->last_addr = ((id & 0x3) << 21) | (addr & ~0x3); in last_address_update()
785 master->last_addr = LAST_ADDR_INVALID; in fsi_master_gpio_probe()
H A Dfsi-master-ast-cf.c115 uint32_t last_addr; member
163 return master->last_addr == (((id & 0x3) << 21) | (addr & ~0x3)); in check_same_address()
169 uint32_t last_addr = master->last_addr; in check_relative_address() local
172 if (last_addr == LAST_ADDR_INVALID) in check_relative_address()
179 if (((last_addr >> 21) & 0x3) != id) in check_relative_address()
183 last_addr &= (1 << 21) - 1; in check_relative_address()
187 rel_addr = addr - last_addr; in check_relative_address()
200 master->last_addr = LAST_ADDR_INVALID; in last_address_update()
202 master->last_addr = ((id & 0x3) << 21) | (addr & ~0x3); in last_address_update()
1229 master->last_addr = LAST_ADDR_INVALID; in fsi_master_acf_probe()
/openbmc/linux/fs/f2fs/
H A Dxattr.c230 void *last_base_addr, void **last_addr, in __find_xattr() argument
238 if (last_addr) in __find_xattr()
239 *last_addr = entry; in __find_xattr()
254 void *base_addr, void **last_addr, int index, in __find_inline_xattr() argument
261 entry = __find_xattr(base_addr, max_addr, last_addr, index, len, name); in __find_inline_xattr()
268 *last_addr = entry; in __find_inline_xattr()
324 void *last_addr = NULL; in lookup_all_xattrs() local
345 *xe = __find_inline_xattr(inode, txattr_addr, &last_addr, in lookup_all_xattrs()
360 if (last_addr) in lookup_all_xattrs()
361 cur_addr = XATTR_HDR(last_addr) - 1; in lookup_all_xattrs()
/openbmc/linux/arch/sh/mm/
H A Dioremap.c42 phys_addr_t last_addr = offset + size - 1; in __ioremap_29bit() local
50 if (likely(PXSEG(offset) < P3SEG && PXSEG(last_addr) < P3SEG)) { in __ioremap_29bit()
H A Dpmb.c414 phys_addr_t offset, last_addr; in pmb_remap_caller() local
435 last_addr = phys + size; in pmb_remap_caller()
439 aligned = ALIGN(last_addr, pmb_sizes[i].size) - phys; in pmb_remap_caller()
/openbmc/linux/mm/damon/
H A Dpaddr.c153 static unsigned long last_addr; in __damon_pa_check_access() local
158 if (ALIGN_DOWN(last_addr, last_folio_sz) == in __damon_pa_check_access()
169 last_addr = r->sampling_addr; in __damon_pa_check_access()
H A Dvaddr.c565 static unsigned long last_addr; in __damon_va_check_access() local
570 if (same_target && (ALIGN_DOWN(last_addr, last_folio_sz) == in __damon_va_check_access()
581 last_addr = r->sampling_addr; in __damon_va_check_access()
/openbmc/linux/fs/proc/
H A Dtask_nommu.c195 unsigned long last_addr = *ppos; in m_start() local
199 if (last_addr == -1UL) in m_start()
221 vma_iter_init(&priv->iter, mm, last_addr); in m_start()
/openbmc/linux/arch/x86/mm/
H A Dioremap.c188 resource_size_t last_addr; in __ioremap_caller() local
199 last_addr = phys_addr + size - 1; in __ioremap_caller()
200 if (!size || last_addr < phys_addr) in __ioremap_caller()
217 &phys_addr, &last_addr); in __ioremap_caller()
226 size = PAGE_ALIGN(last_addr+1) - phys_addr; in __ioremap_caller()
/openbmc/linux/arch/arm/mm/
H A Dioremap.c330 phys_addr_t last_addr; in __arm_ioremap_caller() local
337 last_addr = phys_addr + size - 1; in __arm_ioremap_caller()
338 if (!size || last_addr < phys_addr) in __arm_ioremap_caller()
/openbmc/linux/tools/perf/tests/
H A Dcode-reading.c133 u64 addr, last_addr = start_addr; in read_objdump_output() local
155 if (addr < last_addr) { in read_objdump_output()
159 last_addr = addr; in read_objdump_output()
/openbmc/linux/drivers/net/wireless/intersil/p54/
H A Dtxrx.c86 u32 last_addr = priv->rx_start; in p54_assign_address() local
109 hole_size = range->start_addr - last_addr; in p54_assign_address()
114 target_addr = last_addr; in p54_assign_address()
117 last_addr = range->end_addr; in p54_assign_address()
120 if (priv->rx_end - last_addr >= len) { in p54_assign_address()
/openbmc/qemu/target/sparc/
H A Dldst_helper.c586 uint32_t last_addr = addr; in helper_ld_asi() local
646 "addr = %08x\n", asi, size, sign, last_addr, ret, addr); in helper_ld_asi()
794 dump_asi("read ", last_addr, asi, size, ret); in helper_ld_asi()
1321 target_ulong last_addr = addr; in helper_ld_asi() local
1343 dump_asi("read ", last_addr, asi, size, ret); in helper_ld_asi()
1607 dump_asi("read ", last_addr, asi, size, ret); in helper_ld_asi()
/openbmc/linux/kernel/debug/kdb/
H A Dkdb_main.c1596 static unsigned long last_addr; in kdb_md() local
1617 if (argc == 2 || (argc == 0 && last_addr != 0)) in kdb_md()
1650 if (last_addr == 0) in kdb_md()
1652 addr = last_addr; in kdb_md()
1691 last_addr = addr; in kdb_md()
1693 last_addr += mdcount; in kdb_md()
1781 last_addr = addr; in kdb_md()
/openbmc/linux/arch/x86/kernel/
H A De820.c327 unsigned long long last_addr; in e820__update_table() local
369 last_addr = 0; /* Start with 0 as last starting address */ in e820__update_table()
399 new_entries[new_nr_entries].size = change_point[chg_idx]->addr - last_addr; in e820__update_table()
409 last_addr = change_point[chg_idx]->addr; in e820__update_table()
/openbmc/qemu/hw/pci/
H A Dpci.c1456 pcibus_t new_addr, last_addr; in pci_bar_address() local
1466 last_addr = new_addr + size - 1; in pci_bar_address()
1470 if (last_addr <= new_addr || last_addr >= UINT32_MAX || in pci_bar_address()
1486 last_addr = new_addr + size - 1; in pci_bar_address()
1491 if (last_addr <= new_addr || last_addr == PCI_BAR_UNMAPPED || in pci_bar_address()
1501 if (!(type & PCI_BASE_ADDRESS_MEM_TYPE_64) && last_addr >= UINT32_MAX) { in pci_bar_address()
1511 if (last_addr >= HWADDR_MAX) { in pci_bar_address()
/openbmc/linux/drivers/i3c/master/
H A Di3c-master-cdns.c1138 u8 last_addr = 0; in cdns_i3c_master_do_daa() local
1145 ret = i3c_master_get_free_addr(m, last_addr + 1); in cdns_i3c_master_do_daa()
1149 last_addr = ret; in cdns_i3c_master_do_daa()
1150 addrs[slot] = last_addr; in cdns_i3c_master_do_daa()
1151 writel(prepare_rr0_dev_address(last_addr) | DEV_ID_RR0_IS_I3C, in cdns_i3c_master_do_daa()
/openbmc/linux/net/tipc/
H A Dnode.c2322 int last_addr = cb->args[1]; in tipc_nl_node_dump() local
2334 if (last_addr) { in tipc_nl_node_dump()
2335 node = tipc_node_find(net, last_addr); in tipc_nl_node_dump()
2354 if (last_addr) { in tipc_nl_node_dump()
2355 if (node->addr == last_addr) in tipc_nl_node_dump()
2356 last_addr = 0; in tipc_nl_node_dump()
2364 last_addr = node->addr; in tipc_nl_node_dump()
2374 cb->args[1] = last_addr; in tipc_nl_node_dump()

12