Home
last modified time | relevance | path

Searched refs:base_size (Results 1 – 25 of 28) sorted by relevance

12

/linux-6.6.21/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c791 metadata->base_size = *srf->metadata.sizes; in vmw_surface_define_ioctl()
1013 ret = copy_to_user(user_sizes, &srf->metadata.base_size, in vmw_surface_reference_ioctl()
1014 sizeof(srf->metadata.base_size)); in vmw_surface_reference_ioctl()
1111 cmd4->body.size.width = metadata->base_size.width; in vmw_gb_surface_create()
1112 cmd4->body.size.height = metadata->base_size.height; in vmw_gb_surface_create()
1113 cmd4->body.size.depth = metadata->base_size.depth; in vmw_gb_surface_create()
1127 cmd3->body.size.width = metadata->base_size.width; in vmw_gb_surface_create()
1128 cmd3->body.size.height = metadata->base_size.height; in vmw_gb_surface_create()
1129 cmd3->body.size.depth = metadata->base_size.depth; in vmw_gb_surface_create()
1140 cmd2->body.size.width = metadata->base_size.width; in vmw_gb_surface_create()
[all …]
Dvmwgfx_stdu.c507 src_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_cpu_commit()
919 new_vfbs->surface->metadata.base_size.width == hdisplay && in vmw_stdu_primary_plane_prepare_fb()
920 new_vfbs->surface->metadata.base_size.height == vdisplay) in vmw_stdu_primary_plane_prepare_fb()
961 metadata.base_size.width = hdisplay; in vmw_stdu_primary_plane_prepare_fb()
962 metadata.base_size.height = vdisplay; in vmw_stdu_primary_plane_prepare_fb()
963 metadata.base_size.depth = 1; in vmw_stdu_primary_plane_prepare_fb()
967 vps->surf->metadata.base_size; in vmw_stdu_primary_plane_prepare_fb()
969 if (cur_base_size.width != metadata.base_size.width || in vmw_stdu_primary_plane_prepare_fb()
970 cur_base_size.height != metadata.base_size.height || in vmw_stdu_primary_plane_prepare_fb()
1084 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_populate_update_cpu()
Dvmwgfx_kms.c1311 surface->metadata.base_size.width < mode_cmd->width || in vmw_kms_new_framebuffer_surface()
1312 surface->metadata.base_size.height < mode_cmd->height || in vmw_kms_new_framebuffer_surface()
1313 surface->metadata.base_size.depth != 1)) { in vmw_kms_new_framebuffer_surface()
1458 metadata.base_size.width = mode_cmd->pitches[0] / bytes_pp; in vmw_create_bo_proxy()
1459 metadata.base_size.height = mode_cmd->height; in vmw_create_bo_proxy()
1460 metadata.base_size.depth = 1; in vmw_create_bo_proxy()
2763 struct drm_vmw_size *size = &vmw_res_to_srf(res)->metadata.base_size; in vmw_kms_update_proxy()
/linux-6.6.21/fs/f2fs/
Dxattr.c320 void **base_addr, int *base_size, in lookup_all_xattrs() argument
332 *base_size = XATTR_SIZE(inode) + XATTR_PADDING_SIZE; in lookup_all_xattrs()
333 txattr_addr = xattr_alloc(F2FS_I_SB(inode), *base_size, is_inline); in lookup_all_xattrs()
348 *base_size = inline_size; in lookup_all_xattrs()
521 int base_size; in f2fs_getxattr() local
534 &entry, &base_addr, &base_size, &is_inline); in f2fs_getxattr()
550 if (base_size - (pval - (char *)base_addr) < size) { in f2fs_getxattr()
/linux-6.6.21/arch/powerpc/sysdev/
Dfsl_rio.c311 u32 base_size; in fsl_map_inb_mem() local
321 base_size = 1 << base_size_log; in fsl_map_inb_mem()
324 if (lstart & (base_size - 1)) in fsl_map_inb_mem()
326 if (rstart & (base_size - 1)) in fsl_map_inb_mem()
/linux-6.6.21/drivers/scsi/aacraid/
Dsa.c343 if (aac_sa_ioremap(dev, dev->base_size)) { in aac_sa_init()
394 dev->dbg_size = dev->base_size; in aac_sa_init()
Drx.c551 if (aac_adapter_ioremap(dev, dev->base_size)) { in _aac_rx_init()
658 dev->dbg_size = dev->base_size; in _aac_rx_init()
Dsrc.c894 dev->base_size = AAC_MIN_SRC_BAR0_SIZE; in aac_src_init()
895 if (aac_adapter_ioremap(dev, dev->base_size)) { in aac_src_init()
1186 dev->base_size = AAC_MIN_SRCV_BAR0_SIZE; in aac_srcv_init()
1187 if (aac_adapter_ioremap(dev, dev->base_size)) { in aac_srcv_init()
Dcomminit.c579 (status[2] > dev->base_size)) { in aac_init_adapter()
581 dev->base_size = status[2]; in aac_init_adapter()
Dlinit.c1681 aac->base_size = AAC_MIN_FOOTPRINT_SIZE; in aac_probe_one()
1999 if (aac_adapter_ioremap(aac, aac->base_size)) { in aac_pci_resume()
/linux-6.6.21/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.h101 phys_addr_t base_size; member
Ddsi_phy.c653 phy->base = msm_ioremap_size(pdev, "dsi_phy", &phy->base_size); in dsi_phy_driver_probe()
859 phy->base_size, phy->base, in msm_dsi_phy_snapshot()
/linux-6.6.21/drivers/media/pci/ddbridge/
Dddbridge-mci.h235 u32 base_size; member
Dddbridge-mci.c137 base = kzalloc(cfg->base_size, GFP_KERNEL); in ddb_mci_attach()
Dddbridge-sx8.c473 .base_size = sizeof(struct sx8_base),
/linux-6.6.21/fs/xfs/
Dxfs_buf_item.c277 uint base_size; in xfs_buf_item_format_segment() local
291 base_size = xfs_buf_log_format_size(blfp); in xfs_buf_item_format_segment()
302 blfp = xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_BFORMAT, blfp, base_size); in xfs_buf_item_format_segment()
/linux-6.6.21/drivers/net/ethernet/cortina/
Dgemini.h173 unsigned int base_size; member
936 unsigned int base_size; member
/linux-6.6.21/tools/lib/bpf/
Dbtf.c290 const int base_size = sizeof(struct btf_type); in btf_type_size() local
303 return base_size; in btf_type_size()
305 return base_size + sizeof(__u32); in btf_type_size()
307 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()
309 return base_size + vlen * sizeof(struct btf_enum64); in btf_type_size()
311 return base_size + sizeof(struct btf_array); in btf_type_size()
314 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()
316 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
318 return base_size + sizeof(struct btf_var); in btf_type_size()
320 return base_size + vlen * sizeof(struct btf_var_secinfo); in btf_type_size()
[all …]
/linux-6.6.21/drivers/media/pci/solo6x10/
Dsolo6x10-v4l2-enc.c310 unsigned int base, unsigned int base_size) in solo_send_desc() argument
326 int left = base_size - off; in solo_send_desc()
372 if (off >= base_size) in solo_send_desc()
373 off -= base_size; in solo_send_desc()
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c3296 int base_size, tail_size; in iwl_mvm_scan_size() local
3300 base_size = iwl_scan_req_umac_get_size(scan_ver); in iwl_mvm_scan_size()
3301 if (base_size) in iwl_mvm_scan_size()
3302 return base_size; in iwl_mvm_scan_size()
3306 base_size = IWL_SCAN_REQ_UMAC_SIZE_V8; in iwl_mvm_scan_size()
3308 base_size = IWL_SCAN_REQ_UMAC_SIZE_V7; in iwl_mvm_scan_size()
3310 base_size = IWL_SCAN_REQ_UMAC_SIZE_V6; in iwl_mvm_scan_size()
3312 base_size = IWL_SCAN_REQ_UMAC_SIZE_V1; in iwl_mvm_scan_size()
3320 return base_size + in iwl_mvm_scan_size()
/linux-6.6.21/include/uapi/drm/
Dvmwgfx_drm.h946 struct drm_vmw_size base_size; member
/linux-6.6.21/drivers/net/can/
Dgrcan.c222 size_t base_size; member
928 dma_free_coherent(priv->ofdev_dev, dma->base_size, dma->base_buf, in grcan_free_dma_buffers()
952 dma->base_size = lsize + ssize + GRCAN_BUFFER_ALIGNMENT; in grcan_allocate_dma_buffers()
954 dma->base_size, in grcan_allocate_dma_buffers()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dbtf.c7951 int base_size = sizeof(struct btf_type); in btf_type_size() local
7965 return base_size; in btf_type_size()
7967 return base_size + sizeof(__u32); in btf_type_size()
7969 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()
7971 return base_size + vlen * sizeof(struct btf_enum64); in btf_type_size()
7973 return base_size + sizeof(struct btf_array); in btf_type_size()
7976 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()
7978 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
7980 return base_size + sizeof(struct btf_var); in btf_type_size()
7982 return base_size + vlen * sizeof(struct btf_var_secinfo); in btf_type_size()
[all …]
/linux-6.6.21/mm/
Dpercpu.c2434 size_t base_size, ai_size; in pcpu_alloc_alloc_info() local
2438 base_size = ALIGN(struct_size(ai, groups, nr_groups), in pcpu_alloc_alloc_info()
2440 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info()
2446 ptr += base_size; in pcpu_alloc_alloc_info()
/linux-6.6.21/net/ipv6/
Dndisc.c1194 int base_size = NLMSG_ALIGN(sizeof(struct nduseroptmsg) in ndisc_ra_useropt() local
1196 size_t msg_size = base_size + nla_total_size(sizeof(struct in6_addr)); in ndisc_ra_useropt()
1204 nlh = nlmsg_put(skb, 0, 0, RTM_NEWNDUSEROPT, base_size, 0); in ndisc_ra_useropt()

12