/drivers/net/ipa/ |
D | ipa_cmd.c | 178 u32 size_max = field_max(IP_FLTRT_FLAGS_NHASH_SIZE_FMASK); in ipa_cmd_table_valid() local 183 if (mem->size > size_max) { in ipa_cmd_table_valid() 186 mem->size, size_max); in ipa_cmd_table_valid() 220 u32 size_max; in ipa_cmd_header_valid() local 230 size_max = field_max(HDR_INIT_LOCAL_FLAGS_TABLE_SIZE_FMASK); in ipa_cmd_header_valid() 254 if (size > size_max) { in ipa_cmd_header_valid() 256 dev_err(dev, " (0x%04x > 0x%08x)\n", size, size_max); in ipa_cmd_header_valid()
|
/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/epf/ |
D | ntb_hw_epf.c | 164 resource_size_t *size_max) in ntb_epf_mw_get_align() argument 185 if (size_max) in ntb_epf_mw_get_align() 186 *size_max = pci_resource_len(ndev->ntb.pdev, bar); in ntb_epf_mw_get_align()
|
/drivers/ntb/hw/intel/ |
D | ntb_hw_gen4.c | 527 resource_size_t *size_max) in intel_ntb4_mw_get_align() argument 560 if (size_max) in intel_ntb4_mw_get_align() 561 *size_max = mw_size; in intel_ntb4_mw_get_align()
|
D | ntb_hw_gen1.h | 162 resource_size_t *size_max);
|
D | ntb_hw_gen1.c | 807 resource_size_t *size_max) in intel_ntb_mw_get_align() argument 836 if (size_max) in intel_ntb_mw_get_align() 837 *size_max = mw_size; in intel_ntb_mw_get_align()
|
/drivers/ntb/test/ |
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() 582 if (peer->inbuf_size > size_max) { in perf_setup_inbuf() 584 &peer->inbuf_size, &size_max); in perf_setup_inbuf()
|
D | ntb_tool.c | 650 resource_size_t size_max; in tool_mw_trans_read() local 662 &addr_align, &size_align, &size_max); in tool_mw_trans_read() 696 &size_max); in tool_mw_trans_read()
|
/drivers/vdpa/vdpa_sim/ |
D | vdpa_sim_blk.c | 234 blk_config->size_max = cpu_to_vdpasim32(vdpasim, VDPASIM_BLK_SIZE_MAX); in vdpasim_blk_get_config()
|
/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/block/ |
D | virtio_blk.c | 856 struct virtio_blk_config, size_max, &v); in virtblk_probe()
|
/drivers/net/netdevsim/ |
D | dev.c | 353 .size_max = (u64)-1, in nsim_dev_resources_register()
|