Home
last modified time | relevance | path

Searched refs:size_max (Results 1 – 14 of 14) sorted by relevance

/drivers/gpu/drm/nouveau/include/nvkm/core/
Dmm.h36 int nvkm_mm_head(struct nvkm_mm *, u8 heap, u8 type, u32 size_max,
38 int nvkm_mm_tail(struct nvkm_mm *, u8 heap, u8 type, u32 size_max,
/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c111 nvkm_mm_head(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, in nvkm_mm_head() argument
146 this = region_head(mm, this, min(size_max, e - s)); in nvkm_mm_head()
186 nvkm_mm_tail(struct nvkm_mm *mm, u8 heap, u8 type, u32 size_max, u32 size_min, in nvkm_mm_tail() argument
218 a = min(a, size_max); in nvkm_mm_tail()
/drivers/staging/greybus/
Dloopback.c43 size_t size_max; member
237 if (gb->size > gb_dev.size_max) in gb_loopback_check_attr()
238 gb->size = gb_dev.size_max; in gb_loopback_check_attr()
675 if (len > gb_dev.size_max) { in gb_loopback_request_handler()
677 len, gb_dev.size_max); in gb_loopback_request_handler()
1017 gb_dev.size_max = gb_operation_get_payload_size_max(connection); in gb_loopback_probe()
1018 if (gb_dev.size_max <= in gb_loopback_probe()
1023 gb_dev.size_max -= sizeof(struct gb_loopback_transfer_request); in gb_loopback_probe()
/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()
140 mw_size = max(mw_size, size_max); in ntb_msi_setup_mws()
/drivers/ntb/hw/idt/
Dntb_hw_idt.c1096 mws[*mw_cnt].size_max = aprt_size; in idt_scan_mws()
1098 mws[*mw_cnt].size_max = aprt_size / 16; in idt_scan_mws()
1100 mws[*mw_cnt].size_max = aprt_size / 32; in idt_scan_mws()
1102 IDT_DIR_SIZE_ALIGN : mws[*mw_cnt].size_max; in idt_scan_mws()
1197 resource_size_t *size_max) in idt_ntb_mw_get_align() argument
1216 if (size_max != NULL) in idt_ntb_mw_get_align()
1217 *size_max = peer->mws[widx].size_max; in idt_ntb_mw_get_align()
1263 ndev->mws[widx].idx * ndev->mws[widx].size_max; in idt_ntb_peer_mw_get_addr()
1267 *size = ndev->mws[widx].size_max; in idt_ntb_peer_mw_get_addr()
1307 if (!IS_ALIGNED(size, mw_cfg->size_align) || size > mw_cfg->size_max) in idt_ntb_peer_mw_set_trans()
[all …]
Dntb_hw_idt.h1073 u64 size_max; member
/drivers/ntb/hw/intel/
Dntb_hw_gen1.h160 resource_size_t *size_max);
Dntb_hw_gen1.c804 resource_size_t *size_max) in intel_ntb_mw_get_align() argument
833 if (size_max) in intel_ntb_mw_get_align()
834 *size_max = mw_size; in intel_ntb_mw_get_align()
/drivers/ntb/test/
Dntb_perf.c566 resource_size_t xlat_align, size_align, size_max; in perf_setup_inbuf() local
572 &xlat_align, &size_align, &size_max); in perf_setup_inbuf()
578 if (peer->inbuf_size > size_max) { in perf_setup_inbuf()
580 &peer->inbuf_size, &size_max); in perf_setup_inbuf()
Dntb_tool.c648 resource_size_t size_max; in tool_mw_trans_read() local
660 &addr_align, &size_align, &size_max); in tool_mw_trans_read()
694 &size_max); in tool_mw_trans_read()
/drivers/ntb/hw/amd/
Dntb_hw_amd.c95 resource_size_t *size_max) in amd_ntb_mw_get_align() argument
113 if (size_max) in amd_ntb_mw_get_align()
114 *size_max = pci_resource_len(ndev->ntb.pdev, bar); in amd_ntb_mw_get_align()
/drivers/ntb/hw/mscc/
Dntb_hw_switchtec.c194 resource_size_t *size_max) in switchtec_ntb_mw_get_align() argument
215 if (size_max) in switchtec_ntb_mw_get_align()
216 *size_max = size; in switchtec_ntb_mw_get_align()
/drivers/net/netdevsim/
Ddev.c162 .size_max = (u64)-1, in nsim_dev_resources_register()
/drivers/block/
Dvirtio_blk.c840 struct virtio_blk_config, size_max, &v); in virtblk_probe()