Home
last modified time | relevance | path

Searched refs:size_align (Results 1 – 13 of 13) sorted by relevance

/drivers/ntb/
Dmsi.c100 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/
Dsclp_cmd.c371 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/
Dntb_hw_gen4.c526 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()
Dntb_hw_gen1.h161 resource_size_t *addr_align, resource_size_t *size_align,
Dntb_hw_gen1.c806 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/
Dntb_hw_idt.c1101 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()
Dntb_hw_idt.h1072 u64 size_align; member
/drivers/ntb/hw/epf/
Dntb_hw_epf.c165 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/
Dntb_tool.c579 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()
Dntb_perf.c570 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/
Dpci-epf-vntb.c1198 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/
Dntb_hw_amd.c94 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/
Dntb_hw_switchtec.c193 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()