Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_surface.c825 metadata->base_size = *srf->metadata.sizes; in vmw_surface_define_ioctl()
1046 ret = copy_to_user(user_sizes, &srf->metadata.base_size, in vmw_surface_reference_ioctl()
1047 sizeof(srf->metadata.base_size)); in vmw_surface_reference_ioctl()
1144 cmd4->body.size.width = metadata->base_size.width; in vmw_gb_surface_create()
1145 cmd4->body.size.height = metadata->base_size.height; in vmw_gb_surface_create()
1146 cmd4->body.size.depth = metadata->base_size.depth; in vmw_gb_surface_create()
1160 cmd3->body.size.width = metadata->base_size.width; in vmw_gb_surface_create()
1161 cmd3->body.size.height = metadata->base_size.height; in vmw_gb_surface_create()
1162 cmd3->body.size.depth = metadata->base_size.depth; in vmw_gb_surface_create()
1173 cmd2->body.size.width = metadata->base_size.width; in vmw_gb_surface_create()
[all …]
Dvmwgfx_stdu.c593 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_cpu_commit()
1061 new_vfbs->surface->metadata.base_size.width == hdisplay && in vmw_stdu_primary_plane_prepare_fb()
1062 new_vfbs->surface->metadata.base_size.height == vdisplay) in vmw_stdu_primary_plane_prepare_fb()
1103 metadata.base_size.width = hdisplay; in vmw_stdu_primary_plane_prepare_fb()
1104 metadata.base_size.height = vdisplay; in vmw_stdu_primary_plane_prepare_fb()
1105 metadata.base_size.depth = 1; in vmw_stdu_primary_plane_prepare_fb()
1109 vps->surf->metadata.base_size; in vmw_stdu_primary_plane_prepare_fb()
1111 if (cur_base_size.width != metadata.base_size.width || in vmw_stdu_primary_plane_prepare_fb()
1112 cur_base_size.height != metadata.base_size.height || in vmw_stdu_primary_plane_prepare_fb()
1299 dst_pitch = stdu->display_srf->metadata.base_size.width * stdu->cpp; in vmw_stdu_bo_populate_update_cpu()
Dvmwgfx_kms.c913 surface->metadata.base_size.width < mode_cmd->width || in vmw_kms_new_framebuffer_surface()
914 surface->metadata.base_size.height < mode_cmd->height || in vmw_kms_new_framebuffer_surface()
915 surface->metadata.base_size.depth != 1)) { in vmw_kms_new_framebuffer_surface()
1181 metadata.base_size.width = mode_cmd->pitches[0] / bytes_pp; in vmw_create_bo_proxy()
1182 metadata.base_size.height = mode_cmd->height; in vmw_create_bo_proxy()
1183 metadata.base_size.depth = 1; in vmw_create_bo_proxy()
2510 struct drm_vmw_size *size = &vmw_res_to_srf(res)->metadata.base_size; in vmw_kms_update_proxy()
/kernel/linux/linux-5.10/fs/f2fs/
Dxattr.c323 void **base_addr, int *base_size, in lookup_all_xattrs() argument
335 *base_size = XATTR_SIZE(inode) + XATTR_PADDING_SIZE; in lookup_all_xattrs()
336 txattr_addr = xattr_alloc(F2FS_I_SB(inode), *base_size, is_inline); in lookup_all_xattrs()
351 *base_size = inline_size; in lookup_all_xattrs()
521 int base_size; in f2fs_getxattr() local
533 &entry, &base_addr, &base_size, &is_inline); in f2fs_getxattr()
548 if (base_size - (pval - (char *)base_addr) < size) { in f2fs_getxattr()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dfsl_rio.c302 u32 base_size; in fsl_map_inb_mem() local
312 base_size = 1 << base_size_log; in fsl_map_inb_mem()
315 if (lstart & (base_size - 1)) in fsl_map_inb_mem()
317 if (rstart & (base_size - 1)) in fsl_map_inb_mem()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_buf_item.c227 uint base_size; in xfs_buf_item_format_segment() local
241 base_size = xfs_buf_log_format_size(blfp); in xfs_buf_item_format_segment()
252 blfp = xlog_copy_iovec(lv, vecp, XLOG_REG_TYPE_BFORMAT, blfp, base_size); in xfs_buf_item_format_segment()
/kernel/linux/linux-5.10/drivers/media/pci/ddbridge/
Dddbridge-mci.h244 u32 base_size; member
Dddbridge-mci.c146 base = kzalloc(cfg->base_size, GFP_KERNEL); in ddb_mci_attach()
Dddbridge-sx8.c482 .base_size = sizeof(struct sx8_base),
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c2570 int base_size, tail_size; in iwl_mvm_scan_size() local
2575 base_size = iwl_scan_req_umac_get_size(scan_ver); in iwl_mvm_scan_size()
2576 if (base_size) in iwl_mvm_scan_size()
2577 return base_size; in iwl_mvm_scan_size()
2581 base_size = IWL_SCAN_REQ_UMAC_SIZE_V8; in iwl_mvm_scan_size()
2583 base_size = IWL_SCAN_REQ_UMAC_SIZE_V7; in iwl_mvm_scan_size()
2585 base_size = IWL_SCAN_REQ_UMAC_SIZE_V6; in iwl_mvm_scan_size()
2587 base_size = IWL_SCAN_REQ_UMAC_SIZE_V1; in iwl_mvm_scan_size()
2595 return base_size + in iwl_mvm_scan_size()
/kernel/linux/linux-5.10/drivers/net/ethernet/cortina/
Dgemini.h173 unsigned int base_size; member
936 unsigned int base_size; member
/kernel/linux/linux-5.10/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()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/drm/
Dvmwgfx_drm.h283 struct drm_vmw_size base_size; member
/kernel/linux/linux-5.10/include/uapi/drm/
Dvmwgfx_drm.h935 struct drm_vmw_size base_size; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/drm/
Dvmwgfx_drm.h267 struct drm_vmw_size base_size; member
/kernel/linux/linux-5.10/drivers/net/can/
Dgrcan.c220 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()
/kernel/linux/linux-5.10/tools/lib/bpf/
Dbtf.c255 const int base_size = sizeof(struct btf_type); in btf_type_size() local
266 return base_size; in btf_type_size()
268 return base_size + sizeof(__u32); in btf_type_size()
270 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()
272 return base_size + sizeof(struct btf_array); in btf_type_size()
275 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()
277 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
279 return base_size + sizeof(struct btf_var); in btf_type_size()
281 return base_size + vlen * sizeof(struct btf_var_secinfo); in btf_type_size()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dbtf.c6628 int base_size = sizeof(struct btf_type); in btf_type_size() local
6640 return base_size; in btf_type_size()
6642 return base_size + sizeof(__u32); in btf_type_size()
6644 return base_size + vlen * sizeof(struct btf_enum); in btf_type_size()
6646 return base_size + sizeof(struct btf_array); in btf_type_size()
6649 return base_size + vlen * sizeof(struct btf_member); in btf_type_size()
6651 return base_size + vlen * sizeof(struct btf_param); in btf_type_size()
6653 return base_size + sizeof(struct btf_var); in btf_type_size()
6655 return base_size + vlen * sizeof(struct btf_var_secinfo); in btf_type_size()
/kernel/linux/linux-5.10/mm/
Dpercpu.c2254 size_t base_size, ai_size; in pcpu_alloc_alloc_info() local
2258 base_size = ALIGN(struct_size(ai, groups, nr_groups), in pcpu_alloc_alloc_info()
2260 ai_size = base_size + nr_units * sizeof(ai->groups[0].cpu_map[0]); in pcpu_alloc_alloc_info()
2266 ptr += base_size; in pcpu_alloc_alloc_info()
/kernel/linux/linux-5.10/net/ipv6/
Dndisc.c1132 int base_size = NLMSG_ALIGN(sizeof(struct nduseroptmsg) in ndisc_ra_useropt() local
1134 size_t msg_size = base_size + nla_total_size(sizeof(struct in6_addr)); in ndisc_ra_useropt()
1142 nlh = nlmsg_put(skb, 0, 0, RTM_NEWNDUSEROPT, base_size, 0); in ndisc_ra_useropt()

12