/linux-6.1.9/drivers/dax/ |
D | device.c | 320 unsigned long off, off_end, off_align, len_align, addr_align, align; in dax_get_unmapped_area() local 338 addr_align = current->mm->get_unmapped_area(filp, addr, len_align, in dax_get_unmapped_area() 340 if (!IS_ERR_VALUE(addr_align)) { in dax_get_unmapped_area() 341 addr_align += (off - addr_align) & (align - 1); in dax_get_unmapped_area() 342 return addr_align; in dax_get_unmapped_area()
|
/linux-6.1.9/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.1.9/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.1.9/drivers/ntb/test/ |
D | ntb_tool.c | 579 resource_size_t size, addr_align, size_align; in tool_setup_mw() local 587 ret = ntb_mw_get_align(tc->ntb, pidx, widx, &addr_align, in tool_setup_mw() 593 inmw->size = round_up(inmw->size, addr_align); in tool_setup_mw() 600 if (!IS_ALIGNED(inmw->dma_base, addr_align)) { in tool_setup_mw() 648 resource_size_t addr_align; in tool_mw_trans_read() local 662 &addr_align, &size_align, &size_max); in tool_mw_trans_read() 688 &addr_align); in tool_mw_trans_read()
|
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/pci/endpoint/functions/ |
D | pci-epf-vntb.c | 1175 resource_size_t *addr_align, in vntb_epf_mw_get_align() argument 1181 if (addr_align) in vntb_epf_mw_get_align() 1182 *addr_align = SZ_4K; in vntb_epf_mw_get_align()
|
/linux-6.1.9/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.1.9/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()
|