Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/input/keyboard/
Ddavinci_keyscan.c58 size_t base_size; member
207 davinci_ks->base_size = resource_size(res); in davinci_ks_probe()
209 mem = request_mem_region(davinci_ks->pbase, davinci_ks->base_size, in davinci_ks_probe()
218 davinci_ks->base = ioremap(davinci_ks->pbase, davinci_ks->base_size); in davinci_ks_probe()
279 release_mem_region(davinci_ks->pbase, davinci_ks->base_size); in davinci_ks_probe()
297 release_mem_region(davinci_ks->pbase, davinci_ks->base_size); in davinci_ks_remove()
/Linux-v6.1/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c791 metadata->base_size = *srf->metadata.sizes; in vmw_surface_define_ioctl()
1007 ret = copy_to_user(user_sizes, &srf->metadata.base_size, in vmw_surface_reference_ioctl()
1008 sizeof(srf->metadata.base_size)); in vmw_surface_reference_ioctl()
1105 cmd4->body.size.width = metadata->base_size.width; in vmw_gb_surface_create()
1106 cmd4->body.size.height = metadata->base_size.height; in vmw_gb_surface_create()
1107 cmd4->body.size.depth = metadata->base_size.depth; in vmw_gb_surface_create()
1121 cmd3->body.size.width = metadata->base_size.width; in vmw_gb_surface_create()
1122 cmd3->body.size.height = metadata->base_size.height; in vmw_gb_surface_create()
1123 cmd3->body.size.depth = metadata->base_size.depth; in vmw_gb_surface_create()
1134 cmd2->body.size.width = metadata->base_size.width; in vmw_gb_surface_create()
[all …]
Dvmwgfx_stdu.c601 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_cpu_commit()
1070 new_vfbs->surface->metadata.base_size.width == hdisplay && in vmw_stdu_primary_plane_prepare_fb()
1071 new_vfbs->surface->metadata.base_size.height == vdisplay) in vmw_stdu_primary_plane_prepare_fb()
1112 metadata.base_size.width = hdisplay; in vmw_stdu_primary_plane_prepare_fb()
1113 metadata.base_size.height = vdisplay; in vmw_stdu_primary_plane_prepare_fb()
1114 metadata.base_size.depth = 1; in vmw_stdu_primary_plane_prepare_fb()
1118 vps->surf->metadata.base_size; in vmw_stdu_primary_plane_prepare_fb()
1120 if (cur_base_size.width != metadata.base_size.width || in vmw_stdu_primary_plane_prepare_fb()
1121 cur_base_size.height != metadata.base_size.height || in vmw_stdu_primary_plane_prepare_fb()
1308 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_populate_update_cpu()
Dvmwgfx_kms.c1188 surface->metadata.base_size.width < mode_cmd->width || in vmw_kms_new_framebuffer_surface()
1189 surface->metadata.base_size.height < mode_cmd->height || in vmw_kms_new_framebuffer_surface()
1190 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()
2791 struct drm_vmw_size *size = &vmw_res_to_srf(res)->metadata.base_size; in vmw_kms_update_proxy()
/Linux-v6.1/fs/f2fs/
Dxattr.c319 void **base_addr, int *base_size, in lookup_all_xattrs() argument
331 *base_size = XATTR_SIZE(inode) + XATTR_PADDING_SIZE; in lookup_all_xattrs()
332 txattr_addr = xattr_alloc(F2FS_I_SB(inode), *base_size, is_inline); in lookup_all_xattrs()
347 *base_size = inline_size; in lookup_all_xattrs()
520 int base_size; in f2fs_getxattr() local
532 &entry, &base_addr, &base_size, &is_inline); in f2fs_getxattr()
547 if (base_size - (pval - (char *)base_addr) < size) { in f2fs_getxattr()
/Linux-v6.1/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()
/Linux-v6.1/arch/powerpc/sysdev/
Dfsl_rio.c310 u32 base_size; in fsl_map_inb_mem() local
320 base_size = 1 << base_size_log; in fsl_map_inb_mem()
323 if (lstart & (base_size - 1)) in fsl_map_inb_mem()
325 if (rstart & (base_size - 1)) in fsl_map_inb_mem()
/Linux-v6.1/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.h95 phys_addr_t base_size; member
Ddsi_phy.c633 phy->base = msm_ioremap_size(pdev, "dsi_phy", &phy->base_size); in dsi_phy_driver_probe()
835 phy->base_size, phy->base, in msm_dsi_phy_snapshot()
/Linux-v6.1/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-v6.1/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-v6.1/drivers/net/ethernet/cortina/
Dgemini.h173 unsigned int base_size; member
936 unsigned int base_size; member
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c3109 int base_size, tail_size; in iwl_mvm_scan_size() local
3113 base_size = iwl_scan_req_umac_get_size(scan_ver); in iwl_mvm_scan_size()
3114 if (base_size) in iwl_mvm_scan_size()
3115 return base_size; in iwl_mvm_scan_size()
3119 base_size = IWL_SCAN_REQ_UMAC_SIZE_V8; in iwl_mvm_scan_size()
3121 base_size = IWL_SCAN_REQ_UMAC_SIZE_V7; in iwl_mvm_scan_size()
3123 base_size = IWL_SCAN_REQ_UMAC_SIZE_V6; in iwl_mvm_scan_size()
3125 base_size = IWL_SCAN_REQ_UMAC_SIZE_V1; in iwl_mvm_scan_size()
3133 return base_size + in iwl_mvm_scan_size()
/Linux-v6.1/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-v6.1/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-v6.1/include/uapi/drm/
Dvmwgfx_drm.h946 struct drm_vmw_size base_size; member
/Linux-v6.1/drivers/net/can/
Dgrcan.c221 size_t base_size; member
927 dma_free_coherent(priv->ofdev_dev, dma->base_size, dma->base_buf, in grcan_free_dma_buffers()
951 dma->base_size = lsize + ssize + GRCAN_BUFFER_ALIGNMENT; in grcan_allocate_dma_buffers()
953 dma->base_size, in grcan_allocate_dma_buffers()
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Dbtf.c7619 int base_size = sizeof(struct btf_type); in btf_type_size() local
7633 return base_size; in btf_type_size()
7635 return base_size + sizeof(__u32); in btf_type_size()
7637 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()
7639 return base_size + vlen * sizeof(struct btf_enum64); in btf_type_size()
7641 return base_size + sizeof(struct btf_array); in btf_type_size()
7644 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()
7646 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
7648 return base_size + sizeof(struct btf_var); in btf_type_size()
7650 return base_size + vlen * sizeof(struct btf_var_secinfo); in btf_type_size()
[all …]
/Linux-v6.1/mm/
Dpercpu.c2440 size_t base_size, ai_size; in pcpu_alloc_alloc_info() local
2444 base_size = ALIGN(struct_size(ai, groups, nr_groups), in pcpu_alloc_alloc_info()
2446 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info()
2452 ptr += base_size; in pcpu_alloc_alloc_info()
/Linux-v6.1/net/ipv6/
Dndisc.c1193 int base_size = NLMSG_ALIGN(sizeof(struct nduseroptmsg) in ndisc_ra_useropt() local
1195 size_t msg_size = base_size + nla_total_size(sizeof(struct in6_addr)); in ndisc_ra_useropt()
1203 nlh = nlmsg_put(skb, 0, 0, RTM_NEWNDUSEROPT, base_size, 0); in ndisc_ra_useropt()

12