Home
last modified time | relevance | path

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

/drivers/net/ipa/
Dipa_cmd.c178 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/
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/epf/
Dntb_hw_epf.c164 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/
Dntb_hw_gen4.c527 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()
Dntb_hw_gen1.h162 resource_size_t *size_max);
Dntb_hw_gen1.c807 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/
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()
582 if (peer->inbuf_size > size_max) { in perf_setup_inbuf()
584 &peer->inbuf_size, &size_max); in perf_setup_inbuf()
Dntb_tool.c650 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/
Dvdpa_sim_blk.c234 blk_config->size_max = cpu_to_vdpasim32(vdpasim, VDPASIM_BLK_SIZE_MAX); in vdpasim_blk_get_config()
/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/block/
Dvirtio_blk.c856 struct virtio_blk_config, size_max, &v); in virtblk_probe()
/drivers/net/netdevsim/
Ddev.c353 .size_max = (u64)-1, in nsim_dev_resources_register()