/linux-6.6.21/drivers/dax/ |
D | device.c | 314 unsigned long off, off_end, off_align, len_align, addr_align, align; in dax_get_unmapped_area() local 332 addr_align = current->mm->get_unmapped_area(filp, addr, len_align, in dax_get_unmapped_area() 334 if (!IS_ERR_VALUE(addr_align)) { in dax_get_unmapped_area() 335 addr_align += (off - addr_align) & (align - 1); in dax_get_unmapped_area() 336 return addr_align; in dax_get_unmapped_area()
|
/linux-6.6.21/drivers/ntb/ |
D | msi.c | 100 resource_size_t addr_align, size_align, size_max; in ntb_msi_setup_mws() local 119 ret = ntb_mw_get_align(ntb, peer, peer_widx, &addr_align, in ntb_msi_setup_mws() 124 addr &= ~(addr_align - 1); in ntb_msi_setup_mws()
|
/linux-6.6.21/drivers/ntb/hw/intel/ |
D | ntb_hw_gen4.c | 525 resource_size_t *addr_align, in intel_ntb4_mw_get_align() argument 550 if (addr_align) { in intel_ntb4_mw_get_align() 552 *addr_align = pci_resource_len(ndev->ntb.pdev, bar); in intel_ntb4_mw_get_align() 554 *addr_align = PAGE_SIZE; in intel_ntb4_mw_get_align()
|
D | ntb_hw_gen1.h | 161 resource_size_t *addr_align, resource_size_t *size_align,
|
D | ntb_hw_gen1.c | 805 resource_size_t *addr_align, in intel_ntb_mw_get_align() argument 830 if (addr_align) in intel_ntb_mw_get_align() 831 *addr_align = pci_resource_len(ndev->ntb.pdev, bar); in intel_ntb_mw_get_align()
|
/linux-6.6.21/drivers/ntb/test/ |
D | ntb_tool.c | 572 resource_size_t size, addr_align, size_align; in tool_setup_mw() local 580 ret = ntb_mw_get_align(tc->ntb, pidx, widx, &addr_align, in tool_setup_mw() 586 inmw->size = round_up(inmw->size, addr_align); in tool_setup_mw() 593 if (!IS_ALIGNED(inmw->dma_base, addr_align)) { in tool_setup_mw() 641 resource_size_t addr_align; in tool_mw_trans_read() local 655 &addr_align, &size_align, &size_max); in tool_mw_trans_read() 681 &addr_align); in tool_mw_trans_read()
|
/linux-6.6.21/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 1093 mws[*mw_cnt].addr_align = IDT_TRANS_ALIGN; in idt_scan_mws() 1195 resource_size_t *addr_align, in idt_ntb_mw_get_align() argument 1210 if (addr_align != NULL) in idt_ntb_mw_get_align() 1211 *addr_align = peer->mws[widx].addr_align; in idt_ntb_mw_get_align() 1305 if (!IS_ALIGNED(addr, mw_cfg->addr_align)) in idt_ntb_peer_mw_set_trans() 2415 "Address align 0x%08llx, ", ndev->mws[idx].addr_align); in idt_dbgfs_info_read() 2446 ndev->peers[pidx].mws[idx].addr_align); in idt_dbgfs_info_read()
|
D | ntb_hw_idt.h | 1071 u64 addr_align; member
|
/linux-6.6.21/drivers/ntb/hw/epf/ |
D | ntb_hw_epf.c | 164 resource_size_t *addr_align, in ntb_epf_mw_get_align() argument 181 if (addr_align) in ntb_epf_mw_get_align() 182 *addr_align = SZ_4K; in ntb_epf_mw_get_align()
|
/linux-6.6.21/include/linux/ |
D | ntb.h | 274 resource_size_t *addr_align, 824 resource_size_t *addr_align, in ntb_mw_get_align() argument 831 return ntb->ops->mw_get_align(ntb, pidx, widx, addr_align, size_align, in ntb_mw_get_align()
|
/linux-6.6.21/drivers/pci/controller/ |
D | pcie-mediatek-gen3.c | 252 resource_size_t addr_align; in mtk_pcie_set_trans_table() local 262 addr_align = BIT(ffs(cpu_addr) - 1); in mtk_pcie_set_trans_table() 263 table_size = min(table_size, addr_align); in mtk_pcie_set_trans_table()
|
/linux-6.6.21/drivers/pci/endpoint/functions/ |
D | pci-epf-vntb.c | 1194 resource_size_t *addr_align, in vntb_epf_mw_get_align() argument 1200 if (addr_align) in vntb_epf_mw_get_align() 1201 *addr_align = SZ_4K; in vntb_epf_mw_get_align()
|
/linux-6.6.21/drivers/ntb/hw/amd/ |
D | ntb_hw_amd.c | 93 resource_size_t *addr_align, in amd_ntb_mw_get_align() argument 107 if (addr_align) in amd_ntb_mw_get_align() 108 *addr_align = SZ_4K; in amd_ntb_mw_get_align()
|
/linux-6.6.21/drivers/ntb/hw/mscc/ |
D | ntb_hw_switchtec.c | 192 int widx, resource_size_t *addr_align, in switchtec_ntb_mw_get_align() argument 209 if (addr_align) in switchtec_ntb_mw_get_align() 210 *addr_align = lut ? size : SZ_4K; in switchtec_ntb_mw_get_align()
|