Home
last modified time | relevance | path

Searched refs:vm (Results 1 – 25 of 39) sorted by relevance

12

/device/soc/rockchip/common/sdk_linux/drivers/irqchip/
Dirq-gic-v4.c141 int its_alloc_vcpu_irqs(struct its_vm *vm) in its_alloc_vcpu_irqs() argument
145 vm->fwnode = irq_domain_alloc_named_id_fwnode("GICv4-vpe", task_pid_nr(current)); in its_alloc_vcpu_irqs()
146 if (!vm->fwnode) { in its_alloc_vcpu_irqs()
150vm->domain = irq_domain_create_hierarchy(gic_domain, 0, vm->nr_vpes, vm->fwnode, vpe_domain_ops, v… in its_alloc_vcpu_irqs()
151 if (!vm->domain) { in its_alloc_vcpu_irqs()
155 for (i = 0; i < vm->nr_vpes; i++) { in its_alloc_vcpu_irqs()
156 vm->vpes[i]->its_vm = vm; in its_alloc_vcpu_irqs()
157 vm->vpes[i]->idai = true; in its_alloc_vcpu_irqs()
160 …vpe_base_irq = __irq_domain_alloc_irqs(vm->domain, -1, vm->nr_vpes, NUMA_NO_NODE, vm, false, NULL); in its_alloc_vcpu_irqs()
165 for (i = 0; i < vm->nr_vpes; i++) { in its_alloc_vcpu_irqs()
[all …]
Dirq-gic-v3-its.c148 struct its_vm *vm; member
203 static bool require_its_list_vmovp(struct its_vm *vm, struct its_node *its) in require_its_list_vmovp() argument
205 return (gic_rdists->has_rvpeid || vm->vlpi_count[its->list_nr]); in require_its_list_vmovp()
208 static u16 get_its_list(struct its_vm *vm) in get_its_list() argument
219 if (require_its_list_vmovp(vm, its)) { in get_its_list()
1383 va = page_address(map->vm->vprop_page); in lpi_write_config()
1748 static void its_map_vm(struct its_node *its, struct its_vm *vm) in its_map_vm() argument
1762 vm->vlpi_count[its->list_nr]++; in its_map_vm()
1764 if (vm->vlpi_count[its->list_nr] == 1) { in its_map_vm()
1767 for (i = 0; i < vm->nr_vpes; i++) { in its_map_vm()
[all …]
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/
Dosal_device.c367 static int osal_mmap(struct file *file, struct vm_area_struct *vm) in osal_mmap() argument
374 if (!osal_valid_mmap_phys_addr_range(vm->vm_pgoff, vm->vm_end - vm->vm_start)) { in osal_mmap()
375 … osal_printk("\n%s - invalid argument size=%ld!!!\n", __FUNCTION__, vm->vm_end - vm->vm_start); in osal_mmap()
391 osal_vm.vm = vm; in osal_mmap()
393 …ret = fops->mmap(&osal_vm, vm->vm_start, vm->vm_end, vm->vm_pgoff, (void *)&(fileops_node->private… in osal_mmap()
592 int osal_remap_pfn_range(osal_vm *vm, unsigned long addr, unsigned long pfn, unsigned long size, un… in osal_remap_pfn_range() argument
596 if ((vm == NULL) || (vm->vm == NULL)) { in osal_remap_pfn_range()
606 v = (struct vm_area_struct *)(vm->vm); in osal_remap_pfn_range()
628 int osal_irq_mmap(osal_vm *vm, void *ptr, unsigned long start, unsigned long sz) in osal_irq_mmap() argument
633 if (vm == NULL) { in osal_irq_mmap()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
Ddrm_modes.c588 void drm_display_mode_from_videomode(const struct videomode *vm, struct drm_display_mode *dmode) in drm_display_mode_from_videomode() argument
590 dmode->hdisplay = vm->hactive; in drm_display_mode_from_videomode()
591 dmode->hsync_start = dmode->hdisplay + vm->hfront_porch; in drm_display_mode_from_videomode()
592 dmode->hsync_end = dmode->hsync_start + vm->hsync_len; in drm_display_mode_from_videomode()
593 dmode->htotal = dmode->hsync_end + vm->hback_porch; in drm_display_mode_from_videomode()
595 dmode->vdisplay = vm->vactive; in drm_display_mode_from_videomode()
596 dmode->vsync_start = dmode->vdisplay + vm->vfront_porch; in drm_display_mode_from_videomode()
597 dmode->vsync_end = dmode->vsync_start + vm->vsync_len; in drm_display_mode_from_videomode()
598 dmode->vtotal = dmode->vsync_end + vm->vback_porch; in drm_display_mode_from_videomode()
600 dmode->clock = vm->pixelclock / 0x3e8; in drm_display_mode_from_videomode()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/
Dosal_device.c484 static int osal_mmap(struct file *file, struct vm_area_struct *vm) in osal_mmap() argument
488 osal_vm.vm = vm; in osal_mmap()
490 if (!valid_mmap_phys_addr_range(vm->vm_pgoff, vm->vm_end - vm->vm_start)) { in osal_mmap()
491 … osal_trace("\n%s - invalid argument size=%ld!!!\n", __FUNCTION__, vm->vm_end - vm->vm_start); in osal_mmap()
496 …al_trace("%s - start=%lx, end=%lx!, off=%lx\n", __FUNCTION__, vm->vm_start, vm->vm_end, vm->vm_pgo… in osal_mmap()
499 …return pdata->dev->fops->mmap(&osal_vm, vm->vm_start, vm->vm_end, vm->vm_pgoff, (void *)&(pdata->d… in osal_mmap()
858 void osal_pgprot_noncached(osal_vm_t *vm) in osal_pgprot_noncached() argument
860 if (vm != NULL) { in osal_pgprot_noncached()
861 struct vm_area_struct *v = (struct vm_area_struct *)(vm->vm); in osal_pgprot_noncached()
867 void osal_pgprot_cached(osal_vm_t *vm) in osal_pgprot_cached() argument
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/frame_sink/encoder/h265/
Dvpu.c1453 static s32 vpu_map_to_register(struct file *fp, struct vm_area_struct *vm) in vpu_map_to_register() argument
1457 vm->vm_flags |= VM_IO | VM_RESERVED; in vpu_map_to_register()
1458 vm->vm_page_prot = in vpu_map_to_register()
1459 pgprot_noncached(vm->vm_page_prot); in vpu_map_to_register()
1461 return remap_pfn_range(vm, vm->vm_start, pfn, in vpu_map_to_register()
1462 vm->vm_end - vm->vm_start, in vpu_map_to_register()
1463 vm->vm_page_prot) ? -EAGAIN : 0; in vpu_map_to_register()
1467 struct file *fp, struct vm_area_struct *vm) in vpu_map_to_physical_memory() argument
1469 vm->vm_flags |= VM_IO | VM_RESERVED; in vpu_map_to_physical_memory()
1470 if (vm->vm_pgoff == in vpu_map_to_physical_memory()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/core/
Drtw_io.c501 } vm; /* value match */ member
515 …{.chip = _chip, .hci = _hci, .addr = _addr, .u.vm.mask = _mask, .u.vm.val = _val, .u.vm.equal = _e…
519 …{.chip = _chip, .hci = _hci, .addr = _addr, .u.vm.mask = _mask, .u.vm.val = 0, .u.vm.equal = 0, .t…
523 …{.chip = _chip, .hci = _hci, .addr = _addr, .u.vm.mask = _mask, .u.vm.val = 0xFFFFFFFF, .u.vm.equa…
601 while (!(sniff->u.vm.mask & (0xFF << ((sniff_len - 1) * 8)))) { in match_io_sniff_value()
611 value_shift = mask_shift + bitshift(sniff->u.vm.mask); in match_io_sniff_value()
613 mask = sniff->u.vm.mask << mask_shift; in match_io_sniff_value()
615 mask = sniff->u.vm.mask >> -mask_shift; in match_io_sniff_value()
617 mask = sniff->u.vm.mask; in match_io_sniff_value()
620 value = sniff->u.vm.val << value_shift; in match_io_sniff_value()
[all …]
/device/soc/rockchip/common/sdk_linux/include/linux/irqchip/
Darm-gic-v4.h95 struct its_vm *vm; member
131 int its_alloc_vcpu_irqs(struct its_vm *vm);
132 void its_free_vcpu_irqs(struct its_vm *vm);
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
Dhi_osal.h388 void *vm; member
414 …int (*mmap)(osal_vm_t *vm, unsigned long start, unsigned long end, unsigned long vm_pgoff, void *p…
452 extern void osal_pgprot_noncached(osal_vm_t *vm);
453 extern void osal_pgprot_cached(osal_vm_t *vm);
454 extern void osal_pgprot_writecombine(osal_vm_t *vm);
455 extern void osal_pgprot_stronglyordered(osal_vm_t *vm);
456 extern int osal_remap_pfn_range(osal_vm_t *vm, unsigned long addr, unsigned long pfn, unsigned long…
457 extern int osal_io_remap_pfn_range(osal_vm_t *vm, unsigned long addr, unsigned long pfn, unsigned l…
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/
Ddw-mipi-dsi2-rockchip.c981 struct videomode vm; in dw_mipi_dsi2_connector_mode_valid() local
983 drm_display_mode_to_videomode(mode, &vm); in dw_mipi_dsi2_connector_mode_valid()
989 if (!(vm.hsync_len < 4 || vm.hback_porch < 4 || in dw_mipi_dsi2_connector_mode_valid()
990 vm.hfront_porch < 4 || vm.hactive < 4)) in dw_mipi_dsi2_connector_mode_valid()
993 if (vm.hsync_len < 4) in dw_mipi_dsi2_connector_mode_valid()
994 vm.hsync_len = 4; in dw_mipi_dsi2_connector_mode_valid()
996 if (vm.hback_porch < 4) in dw_mipi_dsi2_connector_mode_valid()
997 vm.hback_porch = 4; in dw_mipi_dsi2_connector_mode_valid()
999 if (vm.hfront_porch < 4) in dw_mipi_dsi2_connector_mode_valid()
1000 vm.hfront_porch = 4; in dw_mipi_dsi2_connector_mode_valid()
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi2-rockchip.c972 struct videomode vm; in dw_mipi_dsi2_connector_mode_valid() local
974 drm_display_mode_to_videomode(mode, &vm); in dw_mipi_dsi2_connector_mode_valid()
980 … if (!(vm.hsync_len < 0x4 || vm.hback_porch < 0x4 || vm.hfront_porch < 0x4 || vm.hactive < 0x4)) { in dw_mipi_dsi2_connector_mode_valid()
984 if (vm.hsync_len < 0x4) { in dw_mipi_dsi2_connector_mode_valid()
985 vm.hsync_len = 0x4; in dw_mipi_dsi2_connector_mode_valid()
988 if (vm.hback_porch < 0x4) { in dw_mipi_dsi2_connector_mode_valid()
989 vm.hback_porch = 0x4; in dw_mipi_dsi2_connector_mode_valid()
992 if (vm.hfront_porch < 0x4) { in dw_mipi_dsi2_connector_mode_valid()
993 vm.hfront_porch = 0x4; in dw_mipi_dsi2_connector_mode_valid()
996 if (vm.hactive < 0x4) { in dw_mipi_dsi2_connector_mode_valid()
[all …]
/device/soc/rockchip/rk3588/kernel/drivers/gpu/drm/rockchip/
Ddw-mipi-dsi2-rockchip.c966 struct videomode vm; in dw_mipi_dsi2_connector_mode_valid() local
968 drm_display_mode_to_videomode(mode, &vm); in dw_mipi_dsi2_connector_mode_valid()
974 if (!(vm.hsync_len < 4 || vm.hback_porch < 4 || in dw_mipi_dsi2_connector_mode_valid()
975 vm.hfront_porch < 4 || vm.hactive < 4)) in dw_mipi_dsi2_connector_mode_valid()
978 if (vm.hsync_len < 4) in dw_mipi_dsi2_connector_mode_valid()
979 vm.hsync_len = 4; in dw_mipi_dsi2_connector_mode_valid()
981 if (vm.hback_porch < 4) in dw_mipi_dsi2_connector_mode_valid()
982 vm.hback_porch = 4; in dw_mipi_dsi2_connector_mode_valid()
984 if (vm.hfront_porch < 4) in dw_mipi_dsi2_connector_mode_valid()
985 vm.hfront_porch = 4; in dw_mipi_dsi2_connector_mode_valid()
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
Dhi_osal.h385 void *vm; member
411 …int (*mmap)(osal_vm_t *vm, unsigned long start, unsigned long end, unsigned long vm_pgoff, void *p…
449 extern void osal_pgprot_noncached(osal_vm_t *vm);
450 extern void osal_pgprot_cached(osal_vm_t *vm);
451 extern void osal_pgprot_writecombine(osal_vm_t *vm);
452 extern int osal_remap_pfn_range(osal_vm_t *vm, unsigned long addr, unsigned long pfn, unsigned long…
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
Dhi_osal.h388 void *vm; member
414 …int (*mmap)(osal_vm_t *vm, unsigned long start, unsigned long end, unsigned long vm_pgoff, void *p…
452 extern void osal_pgprot_noncached(osal_vm_t *vm);
453 extern void osal_pgprot_cached(osal_vm_t *vm);
454 extern void osal_pgprot_writecombine(osal_vm_t *vm);
455 extern int osal_remap_pfn_range(osal_vm_t *vm, unsigned long addr, unsigned long pfn, unsigned long…
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.c398 .vm = &ggtt->vm, in uc_fw_bind_ggtt()
407 ggtt->vm.insert_entries(&ggtt->vm, &dummy, I915_CACHE_NONE, 0); in uc_fw_bind_ggtt()
416 ggtt->vm.clear_range(&ggtt->vm, start, obj->base.size); in uc_fw_unbind_ggtt()
/device/board/osware/imx8mm/common/rootfs/
Dinit.without_two_stages.cfg44 "write /proc/sys/vm/mmap_min_addr 32768",
211 "write /proc/sys/vm/overcommit_memory 1",
212 "write /proc/sys/vm/min_free_order_shift 4",
215 "write /proc/sys/vm/dirty_expire_centisecs 200",
216 "write /proc/sys/vm/dirty_background_ratio 5",
231 "write /proc/sys/vm/extra_free_kbytes ${sys.sysctl.extra_free_kbytes}"
Dinit.imx8mm.cfg8 "write /proc/sys/vm/min_free_kbytes 10240"
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
Dhi_osal.h386 void *vm; member
397 …int (*mmap)(osal_vm *vm, unsigned long start, unsigned long end, unsigned long vm_pgoff, void *pri…
431 int osal_remap_pfn_range(osal_vm *vm, unsigned long addr, unsigned long pfn, unsigned long size, un…
434 extern int osal_irq_mmap(osal_vm *vm, void *ptr, unsigned long start, unsigned long sz);
/device/soc/allwinner/t507/patches/harmony/base-startup-init/
D0001-modify-init-config.patch120 "write /proc/sys/vm/overcommit_memory 1",
121 "write /proc/sys/vm/min_free_order_shift 4",
124 "write /proc/sys/vm/dirty_expire_centisecs 200",
125 "write /proc/sys/vm/dirty_background_ratio 5",
/device/qemu/arm_virt/linux/rootfs/
Dinit.qemu.arm.linux.cfg8 "write /proc/sys/vm/min_free_kbytes 10240"
/device/qemu/x86_64_virt/linux/rootfs/
Dinit.qemu.x86_64.linux.cfg8 "write /proc/sys/vm/min_free_kbytes 10240"
/device/soc/hisilicon/hi3751v350/sdk_linux/source/msp/drv/hiirq/kernel/
Dhiirq.c955 static inline void osal_pgprot_noncached(osal_vm *vm) in osal_pgprot_noncached() argument
957 if (vm != NULL) { in osal_pgprot_noncached()
958 struct vm_area_struct *v = (struct vm_area_struct *)(vm->vm); in osal_pgprot_noncached()
970 static hi_s32 hiirq_mmap(osal_vm *vm, hi_ulong start, hi_ulong end, hi_ulong vm_pgoff, hi_void *pri… in hiirq_mmap() argument
994 osal_pgprot_noncached(vm); in hiirq_mmap()
996 if (osal_remap_pfn_range(vm, start, vm_pgoff, size, OSAL_CACHE)) { in hiirq_mmap()
999 if (osal_remap_pfn_range(vm, start + size, vm_pgoff, size, OSAL_CACHE)) { in hiirq_mmap()
/device/board/isoftstone/zhiyuan/configure/rootfs/
Dinit.sun50iw9p1.cfg5 "write /proc/sys/vm/min_free_kbytes 10240"
/device/board/isoftstone/yangfan/cfg/rootfs/
Dinit.rk3399.cfg8 "write /proc/sys/vm/min_free_kbytes 10240"
Dinit.without_two_stages.cfg78 "write /proc/sys/vm/mmap_min_addr 32768",
296 "write /proc/sys/vm/overcommit_memory 1",
297 "write /proc/sys/vm/min_free_order_shift 4",
306 "write /proc/sys/vm/dirty_expire_centisecs 200",
307 "write /proc/sys/vm/dirty_background_ratio 5",
370 "write /proc/sys/vm/extra_free_kbytes ${sys.sysctl.extra_free_kbytes}"

12