/drivers/gpu/drm/nouveau/include/nvkm/core/ |
D | mm.h | 36 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/ |
D | mm.c | 111 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/ |
D | loopback.c | 43 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/ |
D | msi.c | 102 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/ |
D | ntb_hw_idt.c | 1096 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 …]
|
D | ntb_hw_idt.h | 1073 u64 size_max; member
|
/drivers/ntb/hw/intel/ |
D | ntb_hw_gen1.h | 160 resource_size_t *size_max);
|
D | ntb_hw_gen1.c | 804 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/ |
D | ntb_perf.c | 566 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()
|
D | ntb_tool.c | 648 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/ |
D | ntb_hw_amd.c | 95 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/ |
D | ntb_hw_switchtec.c | 194 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/ |
D | dev.c | 162 .size_max = (u64)-1, in nsim_dev_resources_register()
|
/drivers/block/ |
D | virtio_blk.c | 840 struct virtio_blk_config, size_max, &v); in virtblk_probe()
|