Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/ntb/
Dmsi.c102 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()
/kernel/linux/linux-5.10/drivers/s390/char/
Dsclp_cmd.c372 unsigned long long start_align, size_align; in align_to_block_size() local
375 size_align = rounddown(*start + *size, alignment) - start_align; in align_to_block_size()
378 *start, size_align >> 20, *size >> 20); in align_to_block_size()
380 *size = size_align; in align_to_block_size()
/kernel/linux/linux-5.10/net/rxrpc/
Dsendmsg.c347 max &= ~(call->conn->size_align - 1UL); in rxrpc_send_data()
353 space = chunk + call->conn->size_align; in rxrpc_send_data()
354 space &= ~(call->conn->size_align - 1UL); in rxrpc_send_data()
430 pad = conn->size_align - pad; in rxrpc_send_data()
431 pad &= conn->size_align - 1; in rxrpc_send_data()
Drxkad.c78 conn->size_align = 8; in rxkad_init_connection_security()
82 conn->size_align = 8; in rxkad_init_connection_security()
255 len = data_size + call->conn->size_align - 1; in rxkad_secure_packet_encrypt()
256 len &= ~(call->conn->size_align - 1); in rxkad_secure_packet_encrypt()
Dconn_object.c52 conn->size_align = 4; in rxrpc_alloc_connection()
Dar-internal.h456 u8 size_align; /* data size alignment (for security) */ member
/kernel/linux/linux-5.10/drivers/ntb/hw/intel/
Dntb_hw_gen4.c486 resource_size_t *size_align, in intel_ntb4_mw_get_align() argument
517 if (size_align) in intel_ntb4_mw_get_align()
518 *size_align = 1; in intel_ntb4_mw_get_align()
Dntb_hw_gen1.h160 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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/include/linux/
Dntb.h275 resource_size_t *size_align,
825 resource_size_t *size_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()
/kernel/linux/linux-5.10/drivers/ntb/test/
Dntb_tool.c577 resource_size_t size, addr_align, size_align; in tool_setup_mw() local
586 &size_align, &size); in tool_setup_mw()
592 inmw->size = round_up(inmw->size, size_align); in tool_setup_mw()
647 resource_size_t size_align; in tool_mw_trans_read() local
660 &addr_align, &size_align, &size_max); in tool_mw_trans_read()
690 &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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()