Searched refs:PTR_ALIGN_DOWN (Results 1 – 10 of 10) sorted by relevance
| /linux-6.15/include/linux/ |
| H A D | highmem-internal.h | 201 kunmap_flush_on_unmap(PTR_ALIGN_DOWN(addr, PAGE_SIZE)); in __kunmap_local() 228 kunmap_flush_on_unmap(PTR_ALIGN_DOWN(addr, PAGE_SIZE)); in __kunmap_atomic()
|
| /linux-6.15/include/vdso/ |
| H A D | align.h | 12 #define PTR_ALIGN_DOWN(p, a) ((typeof(p))ALIGN_DOWN((unsigned long)(p), (a))) macro
|
| /linux-6.15/drivers/video/fbdev/core/ |
| H A D | sysmem.h | 20 ptr.address = PTR_ALIGN_DOWN(base, BITS_PER_LONG / BITS_PER_BYTE); in fb_address_init()
|
| H A D | cfbmem.h | 20 ptr.address = PTR_ALIGN_DOWN(base, BITS_PER_LONG / BITS_PER_BYTE); in fb_address_init()
|
| /linux-6.15/drivers/pci/controller/cadence/ |
| H A D | pcie-cadence.h | 403 void __iomem *aligned_addr = PTR_ALIGN_DOWN(addr, 0x4); in cdns_pcie_read_sz() 420 void __iomem *aligned_addr = PTR_ALIGN_DOWN(addr, 0x4); in cdns_pcie_write_sz()
|
| /linux-6.15/arch/powerpc/kernel/ |
| H A D | module_32.c | 192 loc = PTR_ALIGN_DOWN(loc, sizeof(u32)); in patch_location_16()
|
| /linux-6.15/arch/arm64/mm/ |
| H A D | contpte.c | 26 return PTR_ALIGN_DOWN(ptep, sizeof(*ptep) * CONT_PTES); in contpte_align_down()
|
| /linux-6.15/arch/parisc/kernel/ |
| H A D | cache.c | 35 #define PTR_PAGE_ALIGN_DOWN(addr) PTR_ALIGN_DOWN(addr, PAGE_SIZE)
|
| /linux-6.15/arch/arm64/include/asm/ |
| H A D | pgtable.h | 955 return (pud_t *)PTR_ALIGN_DOWN(p4dp, PAGE_SIZE) + pud_index(addr); in p4d_to_folded_pud() 1084 return (p4d_t *)PTR_ALIGN_DOWN(pgdp, PAGE_SIZE) + p4d_index(addr); in pgd_to_folded_p4d()
|
| /linux-6.15/drivers/net/ethernet/freescale/dpaa/ |
| H A D | dpaa_eth.c | 2240 aligned_data = PTR_ALIGN_DOWN(xdpf->data, DPAA_FD_DATA_ALIGNMENT); in dpaa_a050385_wa_xdpf()
|