Home
last modified time | relevance | path

Searched refs:vstart (Results 1 – 25 of 32) sorted by relevance

12

/linux/arch/arm64/include/asm/
A Dkernel-pgtable.h68 #define EARLY_ENTRIES(vstart, vend, shift) \ argument
69 ((((vend) - 1) >> (shift)) - ((vstart) >> (shift)) + 1 + EARLY_KASLR)
71 #define EARLY_PGDS(vstart, vend) (EARLY_ENTRIES(vstart, vend, PGDIR_SHIFT)) argument
74 #define EARLY_PUDS(vstart, vend) (EARLY_ENTRIES(vstart, vend, PUD_SHIFT)) argument
76 #define EARLY_PUDS(vstart, vend) (0) argument
80 #define EARLY_PMDS(vstart, vend) (EARLY_ENTRIES(vstart, vend, SWAPPER_TABLE_SHIFT)) argument
82 #define EARLY_PMDS(vstart, vend) (0) argument
85 #define EARLY_PAGES(vstart, vend) ( 1 /* PGDIR page */ \ argument
86 + EARLY_PGDS((vstart), (vend)) /* each PGDIR needs a next level page table */ \
87 + EARLY_PUDS((vstart), (vend)) /* each PUD needs a next level page table */ \
[all …]
/linux/arch/sparc/mm/
A Dinit_64.c1695 vstart += PUD_SIZE; in kernel_map_hugepud()
1698 return vstart; in kernel_map_hugepud()
1704 if (guard && !(vstart & ~PUD_MASK) && (vend - vstart) >= PUD_SIZE) in kernel_can_map_hugepud()
1742 vstart += PMD_SIZE; in kernel_map_hugepmd()
1746 return vstart; in kernel_map_hugepmd()
1752 if (guard && !(vstart & ~PMD_MASK) && (vend - vstart) >= PMD_SIZE) in kernel_can_map_hugepmd()
1768 vstart, vend); in kernel_map_range()
1808 vstart = kernel_map_hugepud(vstart, vend, pud); in kernel_map_range()
1824 vstart = kernel_map_hugepmd(vstart, vend, pmd); in kernel_map_range()
2595 vstart = vstart & PMD_MASK; in vmemmap_populate()
[all …]
A Dsrmmu.c860 unsigned long vstart = (vbase & PGDIR_MASK); in map_spbank() local
866 if (vstart < min_vaddr || vstart >= max_vaddr) in map_spbank()
867 return vstart; in map_spbank()
872 while (vstart < vend) { in map_spbank()
873 do_large_mapping(vstart, pstart); in map_spbank()
874 vstart += PGDIR_SIZE; pstart += PGDIR_SIZE; in map_spbank()
876 return vstart; in map_spbank()
/linux/arch/powerpc/platforms/pseries/
A Dsvm.c47 unsigned char *vstart; in svm_swiotlb_init() local
55 vstart = memblock_alloc(PAGE_ALIGN(bytes), PAGE_SIZE); in svm_swiotlb_init()
56 if (vstart && !swiotlb_init_with_tbl(vstart, io_tlb_nslabs, false)) in svm_swiotlb_init()
60 memblock_free(vstart, PAGE_ALIGN(io_tlb_nslabs << IO_TLB_SHIFT)); in svm_swiotlb_init()
/linux/arch/x86/include/asm/xen/
A Dpage-coherent.h12 void *vstart = (void*)__get_free_pages(flags, get_order(size)); in xen_alloc_coherent_pages() local
13 *dma_handle = virt_to_phys(vstart); in xen_alloc_coherent_pages()
14 return vstart; in xen_alloc_coherent_pages()
/linux/arch/powerpc/kernel/
A Dio-workarounds.c31 unsigned long vstart, vend; in iowa_pci_find() local
38 vstart = (unsigned long)phb->io_base_virt; in iowa_pci_find()
39 vend = vstart + phb->pci_io_size - 1; in iowa_pci_find()
40 if ((vaddr >= vstart) && (vaddr <= vend)) in iowa_pci_find()
/linux/drivers/media/usb/gspca/
A Dsn9c20x.c101 u8 vstart; member
1103 sd->vstart = 7; in ov9650_init_sensor()
1117 sd->vstart = 2; in ov9655_init_sensor()
1131 sd->vstart = 11; in soi968_init_sensor()
1144 sd->vstart = 3; in ov7660_init_sensor()
1158 sd->vstart = 1; in ov7670_init_sensor()
1176 sd->vstart = 2; in mt9v_init_sensor()
1235 sd->vstart = 2; in mt9m112_init_sensor()
1247 sd->vstart = 2; in mt9m111_init_sensor()
1279 sd->vstart = 1; in mt9m001_init_sensor()
[all …]
/linux/drivers/gpu/drm/msm/hdmi/
A Dhdmi_bridge.c199 int hstart, hend, vstart, vend; in msm_hdmi_bridge_mode_set() local
209 vstart = mode->vtotal - mode->vsync_start - 1; in msm_hdmi_bridge_mode_set()
213 mode->htotal, mode->vtotal, hstart, hend, vstart, vend); in msm_hdmi_bridge_mode_set()
223 HDMI_ACTIVE_VSYNC_START(vstart) | in msm_hdmi_bridge_mode_set()
230 HDMI_VSYNC_ACTIVE_F2_START(vstart + 1) | in msm_hdmi_bridge_mode_set()
/linux/drivers/gpu/drm/i915/display/
A Ddvo_ns2501.c214 u16 vstart; /* vertical start, registers C5/C6 */ member
241 .vstart = 22,
261 .vstart = 26,
280 .vstart = 15,
621 ns2501_writeb(dvo, NS2501_REGC5, conf->vstart & 0xff); in ns2501_mode_set()
622 ns2501_writeb(dvo, NS2501_REGC6, conf->vstart >> 8); in ns2501_mode_set()
/linux/arch/alpha/boot/
A Dbootpz.c76 check_range(unsigned long vstart, unsigned long vend, in check_range() argument
83 vstart, vend, kstart, kend); in check_range()
86 for (vaddr = vstart; vaddr <= vend; vaddr += PAGE_SIZE) in check_range()
/linux/drivers/scsi/csiostor/
A Dcsio_wr.c119 __be64 *d = (__be64 *)(flq->vstart); in csio_wr_fill_fl()
238 if (!q->vstart) { in csio_wr_alloc_q()
262 q->vwrap = (void *)((uintptr_t)(q->vstart) + qsz in csio_wr_alloc_q()
316 q->vwrap = (void *)((uintptr_t)(q->vstart) + qsz in csio_wr_alloc_q()
321 q->vwrap = (void *)((uintptr_t)(q->vstart) + qsz in csio_wr_alloc_q()
775 wr = (void *)((uintptr_t)q->vstart + in csio_wr_cleanup_iq_ftr()
868 void *cwr = (void *)((uintptr_t)(q->vstart) + in csio_wr_get()
912 wrp->addr2 = q->vstart; in csio_wr_get()
1208 wr = q->vstart; in csio_wr_process_iq()
1216 wr = (void *)((uintptr_t)(q->vstart) + in csio_wr_process_iq()
[all …]
A Dcsio_wr.h401 void *vstart; /* Base virtual address member
457 #define csio_q_vstart(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->vstart)
/linux/mm/
A Dvmalloc.c1174 if (va->va_start > vstart) in is_within_this_va()
1177 nva_start_addr = ALIGN(vstart, align); in is_within_this_va()
1181 nva_start_addr < vstart) in is_within_this_va()
1206 vstart < va->va_start) { in find_vmap_lowest_match()
1234 vstart <= va->va_start) { in find_vmap_lowest_match()
1241 vstart = va->va_start + 1; in find_vmap_lowest_match()
1275 unsigned long vstart; in find_vmap_lowest_match_check() local
1279 vstart = VMALLOC_START + rnd; in find_vmap_lowest_match_check()
1286 va_1, va_2, vstart); in find_vmap_lowest_match_check()
1441 if (va->va_start > vstart) in __alloc_vmap_area()
[all …]
/linux/arch/arm64/kernel/
A Dhead.S192 .macro compute_indices, vstart, vend, shift, ptrs, istart, iend, count
202 lsr \istart, \vstart, \shift
227 .macro map_memory, tbl, rtbl, vstart, vend, flags, phys, pgds, istart, iend, tmp, count, sv
232 compute_indices \vstart, \vend, #PGDIR_SHIFT, \pgds, \istart, \iend, \count
238 compute_indices \vstart, \vend, #PUD_SHIFT, #PTRS_PER_PUD, \istart, \iend, \count
245 compute_indices \vstart, \vend, #SWAPPER_TABLE_SHIFT, #PTRS_PER_PMD, \istart, \iend, \count
250 compute_indices \vstart, \vend, #SWAPPER_BLOCK_SHIFT, #PTRS_PER_PTE, \istart, \iend, \count
/linux/arch/arm64/kvm/hyp/nvhe/
A Dsetup.c33 unsigned long vstart, vend, nr_pages; in divide_memory_pool() local
37 hyp_vmemmap_range(__hyp_pa(virt), size, &vstart, &vend); in divide_memory_pool()
38 nr_pages = (vend - vstart) >> PAGE_SHIFT; in divide_memory_pool()
/linux/kernel/dma/
A Dswiotlb.c266 unsigned char *vstart = NULL; in swiotlb_late_init_with_default_size() local
281 vstart = (void *)__get_free_pages(GFP_DMA | __GFP_NOWARN, in swiotlb_late_init_with_default_size()
283 if (vstart) in swiotlb_late_init_with_default_size()
288 if (!vstart) in swiotlb_late_init_with_default_size()
296 rc = swiotlb_late_init_with_tbl(vstart, nslabs); in swiotlb_late_init_with_default_size()
298 free_pages((unsigned long)vstart, order); in swiotlb_late_init_with_default_size()
/linux/arch/x86/xen/
A Dmmu_pv.c2313 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_create_contiguous_region()
2318 xen_zap_pfn_range(vstart, order, in_frames, NULL); in xen_create_contiguous_region()
2321 out_frame = virt_to_pfn(vstart); in xen_create_contiguous_region()
2330 xen_remap_exchanged_ptes(vstart, order, in_frames, 0); in xen_create_contiguous_region()
2334 *dma_handle = virt_to_machine(vstart).maddr; in xen_create_contiguous_region()
2343 unsigned long vstart; in xen_destroy_contiguous_region() local
2348 vstart = (unsigned long)phys_to_virt(pstart); in xen_destroy_contiguous_region()
2349 memset((void *) vstart, 0, PAGE_SIZE << order); in xen_destroy_contiguous_region()
2354 in_frame = virt_to_mfn(vstart); in xen_destroy_contiguous_region()
2357 xen_zap_pfn_range(vstart, order, NULL, out_frames); in xen_destroy_contiguous_region()
[all …]
/linux/drivers/staging/sm750fb/
A Dsm750_cursor.c103 pstart = cursor->vstart; in sm750_hw_cursor_setData()
153 pstart = cursor->vstart; in sm750_hw_cursor_setData2()
A Dsm750.c453 memset_io(cursor->vstart, 0x0, cursor->size); in lynxfb_resume()
465 memset_io(cursor->vstart, 0x0, cursor->size); in lynxfb_resume()
728 crtc->cursor.vstart = sm750_dev->pvMem + crtc->cursor.offset; in lynxfb_set_fbinfo()
730 memset_io(crtc->cursor.vstart, 0, crtc->cursor.size); in lynxfb_set_fbinfo()
A Dsm750.h128 char __iomem *vstart; member
/linux/drivers/media/i2c/
A Dov7670.c201 int vstart; /* sense to humans, but evidently the sensor */ member
738 .vstart = 10,
749 .vstart = 14,
760 .vstart = 12,
771 .vstart = 14,
789 .vstart = 14, /* Empirically determined */
923 int vstart, int vstop) in ov7670_set_hw() argument
947 ret = ov7670_write(sd, REG_VSTART, (vstart >> 2) & 0xff); in ov7670_set_hw()
956 v = (v & 0xf0) | ((vstop & 0x3) << 2) | (vstart & 0x3); in ov7670_set_hw()
1076 ret = ov7670_set_hw(sd, wsize->hstart, wsize->hstop, wsize->vstart, in ov7670_apply_fmt()
A Dmt9v011.c274 unsigned vstart, hstart; in set_res() local
292 vstart = 8 + (480 - core->height) / 2; in set_res()
293 mt9v011_write(sd, R01_MT9V011_ROWSTART, vstart); in set_res()
/linux/drivers/media/usb/stkwebcam/
A Dstk-sensor.c462 int hstart, int hstop, int vstart, int vstop) in stk_sensor_set_hw() argument
480 ret += stk_sensor_outb(dev, REG_VSTART, (vstart >> 3) & 0xff); in stk_sensor_set_hw()
483 v = (v & 0xc0) | ((vstop & 0x7) << 3) | (vstart & 0x7); in stk_sensor_set_hw()
/linux/arch/powerpc/mm/book3s64/
A Dhash_utils.c249 int htab_bolt_mapping(unsigned long vstart, unsigned long vend, in htab_bolt_mapping() argument
263 vstart, vend, pstart, prot, psize, ssize); in htab_bolt_mapping()
266 vaddr = ALIGN(vstart, step); in htab_bolt_mapping()
338 int htab_remove_mapping(unsigned long vstart, unsigned long vend, in htab_remove_mapping() argument
353 vaddr = ALIGN_DOWN(vstart, step); in htab_remove_mapping()
/linux/arch/powerpc/include/asm/book3s/64/
A Dmmu-hash.h494 extern int htab_bolt_mapping(unsigned long vstart, unsigned long vend,
497 int htab_remove_mapping(unsigned long vstart, unsigned long vend,

Completed in 69 milliseconds

12