Searched refs:size_align (Results 1 – 13 of 13) sorted by relevance
/drivers/ntb/ |
D | msi.c | 100 resource_size_t addr_align, size_align, size_max; in ntb_msi_setup_mws() local 135 &size_align, &size_max); in ntb_msi_setup_mws() 139 mw_size = round_up(mw_size, size_align); in ntb_msi_setup_mws()
|
/drivers/s390/char/ |
D | sclp_cmd.c | 371 unsigned long long start_align, size_align; in align_to_block_size() local 374 size_align = rounddown(*start + *size, alignment) - start_align; in align_to_block_size() 377 *start, size_align >> 20, *size >> 20); in align_to_block_size() 379 *size = size_align; in align_to_block_size()
|
/drivers/ntb/hw/intel/ |
D | ntb_hw_gen4.c | 526 resource_size_t *size_align, in intel_ntb4_mw_get_align() argument 557 if (size_align) in intel_ntb4_mw_get_align() 558 *size_align = 1; 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 | 806 resource_size_t *size_align, in intel_ntb_mw_get_align() argument 833 if (size_align) in intel_ntb_mw_get_align() 834 *size_align = 1; in intel_ntb_mw_get_align()
|
/drivers/ntb/hw/idt/ |
D | ntb_hw_idt.c | 1101 mws[*mw_cnt].size_align = (mw_type == IDT_MW_DIR) ? in idt_scan_mws() 1196 resource_size_t *size_align, in idt_ntb_mw_get_align() argument 1213 if (size_align != NULL) in idt_ntb_mw_get_align() 1214 *size_align = peer->mws[widx].size_align; in idt_ntb_mw_get_align() 1307 if (!IS_ALIGNED(size, mw_cfg->size_align) || size > mw_cfg->size_max) in idt_ntb_peer_mw_set_trans() 2419 ndev->mws[idx].size_align, ndev->mws[idx].size_max); in idt_dbgfs_info_read() 2450 ndev->peers[pidx].mws[idx].size_align, in idt_dbgfs_info_read()
|
D | ntb_hw_idt.h | 1072 u64 size_align; member
|
/drivers/ntb/hw/epf/ |
D | ntb_hw_epf.c | 165 resource_size_t *size_align, in ntb_epf_mw_get_align() argument 184 if (size_align) in ntb_epf_mw_get_align() 185 *size_align = 1; in ntb_epf_mw_get_align()
|
/drivers/ntb/test/ |
D | ntb_tool.c | 579 resource_size_t size, addr_align, size_align; in tool_setup_mw() local 588 &size_align, &size); in tool_setup_mw() 594 inmw->size = round_up(inmw->size, size_align); in tool_setup_mw() 649 resource_size_t size_align; in tool_mw_trans_read() local 662 &addr_align, &size_align, &size_max); in tool_mw_trans_read() 692 &size_align); in tool_mw_trans_read()
|
D | ntb_perf.c | 570 resource_size_t xlat_align, size_align, size_max; in perf_setup_inbuf() local 576 &xlat_align, &size_align, &size_max); in perf_setup_inbuf() 588 peer->inbuf_size = round_up(peer->inbuf_size, size_align); in perf_setup_inbuf()
|
/drivers/pci/endpoint/functions/ |
D | pci-epf-vntb.c | 1198 resource_size_t *size_align, in vntb_epf_mw_get_align() argument 1206 if (size_align) in vntb_epf_mw_get_align() 1207 *size_align = 1; in vntb_epf_mw_get_align()
|
/drivers/ntb/hw/amd/ |
D | ntb_hw_amd.c | 94 resource_size_t *size_align, in amd_ntb_mw_get_align() argument 110 if (size_align) in amd_ntb_mw_get_align() 111 *size_align = 1; in amd_ntb_mw_get_align()
|
/drivers/ntb/hw/mscc/ |
D | ntb_hw_switchtec.c | 193 resource_size_t *size_align, in switchtec_ntb_mw_get_align() argument 212 if (size_align) in switchtec_ntb_mw_get_align() 213 *size_align = lut ? size : SZ_4K; in switchtec_ntb_mw_get_align()
|