/linux-6.12.1/drivers/gpu/drm/omapdrm/ ! |
D | tcm.h | 48 /* 1d or 2d area */ 50 bool is2d; /* whether area is 1d or 2d */ 69 struct tcm_area *area); 70 s32 (*reserve_1d)(struct tcm *tcm, u32 slots, struct tcm_area *area); 71 s32 (*free)(struct tcm *tcm, struct tcm_area *area); 85 * area pointer is NULL 111 * Reserves a 2D area in the container. 114 * @param height Height(in pages) of area to be reserved. 115 * @param width Width(in pages) of area to be reserved. 116 * @param align Alignment requirement for top-left corner of area. Not [all …]
|
D | tcm-sita.c | 56 /* found a long enough free area */ in r2l_b2t_1d() 122 /* assume the area is free until we find an overlap */ in l2r_t2b() 125 /* check subsequent rows to see if complete area is free */ in l2r_t2b() 146 /* set area as in-use. iterate over rows */ in l2r_t2b() 155 struct tcm_area *area) in sita_reserve_1d() argument 163 area->p0.x = pos % tcm->width; in sita_reserve_1d() 164 area->p0.y = pos / tcm->width; in sita_reserve_1d() 165 area->p1.x = (pos + num_slots - 1) % tcm->width; in sita_reserve_1d() 166 area->p1.y = (pos + num_slots - 1) / tcm->width; in sita_reserve_1d() 175 struct tcm_area *area) in sita_reserve_2d() argument [all …]
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/ ! |
D | nfp_cppcore.c | 57 * @waitq: area wait queue 86 struct nfp_cpp_area *area; member 93 struct mutex mutex; /* Lock for the area's refcount */ 132 struct nfp_cpp_area *area = in __release_cpp_area() local 134 struct nfp_cpp *cpp = nfp_cpp_area_cpp(area); in __release_cpp_area() 136 if (area->cpp->op->area_cleanup) in __release_cpp_area() 137 area->cpp->op->area_cleanup(area); in __release_cpp_area() 140 __resource_del(&area->resource); in __release_cpp_area() 142 kfree(area); in __release_cpp_area() 145 static void nfp_cpp_area_put(struct nfp_cpp_area *area) in nfp_cpp_area_put() argument [all …]
|
D | nfp_cpp.h | 36 /* Max size of area it should be safe to request */ 215 void nfp_cpp_area_free(struct nfp_cpp_area *area); 216 int nfp_cpp_area_acquire(struct nfp_cpp_area *area); 217 int nfp_cpp_area_acquire_nonblocking(struct nfp_cpp_area *area); 218 void nfp_cpp_area_release(struct nfp_cpp_area *area); 219 void nfp_cpp_area_release_free(struct nfp_cpp_area *area); 220 int nfp_cpp_area_read(struct nfp_cpp_area *area, unsigned long offset, 222 int nfp_cpp_area_write(struct nfp_cpp_area *area, unsigned long offset, 224 size_t nfp_cpp_area_size(struct nfp_cpp_area *area); 228 struct resource *nfp_cpp_area_resource(struct nfp_cpp_area *area); [all …]
|
/linux-6.12.1/drivers/iommu/iommufd/ ! |
D | io_pagetable.c | 25 struct iopt_area *area; member 40 iter->area = iopt_area_iter_first(iopt, iova, iova); in iopt_area_contig_init() 41 if (!iter->area) in iopt_area_contig_init() 43 if (!iter->area->pages) { in iopt_area_contig_init() 44 iter->area = NULL; in iopt_area_contig_init() 47 return iter->area; in iopt_area_contig_init() 54 if (!iter->area) in iopt_area_contig_next() 56 last_iova = iopt_area_last_iova(iter->area); in iopt_area_contig_next() 61 iter->area = iopt_area_iter_next(iter->area, iter->cur_iova, in iopt_area_contig_next() 63 if (!iter->area) in iopt_area_contig_next() [all …]
|
D | io_pagetable.h | 20 * populated in the page table. Each area is fully populated with pages. 25 * up or tearing down the area. When observed under the write side of the 26 * domain_rwsem a NULL pages must mean the area is still being setup and no 30 * for this area. It is locked by the pages->mutex. This simplifies the locking 45 /* How many bytes into the first page the area starts */ 62 int iopt_area_fill_domains(struct iopt_area *area, struct iopt_pages *pages); 63 void iopt_area_unfill_domains(struct iopt_area *area, struct iopt_pages *pages); 65 int iopt_area_fill_domain(struct iopt_area *area, struct iommu_domain *domain); 66 void iopt_area_unfill_domain(struct iopt_area *area, struct iopt_pages *pages, 68 void iopt_area_unmap_domain(struct iopt_area *area, [all …]
|
D | pages.c | 193 * index is the number of PAGE_SIZE units from the start of the area's 194 * iopt_pages. If the iova is sub page-size then the area has an iova that 197 static unsigned long iopt_area_index_to_iova(struct iopt_area *area, in iopt_area_index_to_iova() argument 201 WARN_ON(index < iopt_area_index(area) || in iopt_area_index_to_iova() 202 index > iopt_area_last_index(area)); in iopt_area_index_to_iova() 203 index -= iopt_area_index(area); in iopt_area_index_to_iova() 205 return iopt_area_iova(area); in iopt_area_index_to_iova() 206 return iopt_area_iova(area) - area->page_offset + index * PAGE_SIZE; in iopt_area_index_to_iova() 209 static unsigned long iopt_area_index_to_iova_last(struct iopt_area *area, in iopt_area_index_to_iova_last() argument 213 WARN_ON(index < iopt_area_index(area) || in iopt_area_index_to_iova_last() [all …]
|
/linux-6.12.1/drivers/net/dsa/sja1105/ ! |
D | sja1105_ethtool.c | 81 enum sja1105_stats_area area; member 92 .area = MAC, 99 .area = MAC, 106 .area = MAC, 113 .area = MAC, 121 .area = MAC, 128 .area = MAC, 135 .area = MAC, 142 .area = MAC, 149 .area = MAC, [all …]
|
/linux-6.12.1/arch/powerpc/include/asm/ ! |
D | rtas-work-area.h | 12 * struct rtas_work_area - RTAS work area descriptor. 14 * Descriptor for a "work area" in PAPR terminology that satisfies 29 * rtas_work_area_alloc() - Acquire a work area of the requested size. 35 * "work area" in PAPR. Although callers are allowed to block while 36 * holding a work area, the amount of memory reserved for this purpose 38 * is to release any allocated work area before returning from a 43 * allocating more than one work area simultaneously in a single task 47 * Return: A &struct rtas_work_area descriptor for the allocated work area. 63 * rtas_work_area_free() - Release a work area. 64 * @area: Work area descriptor as returned from rtas_work_area_alloc(). [all …]
|
/linux-6.12.1/lib/ ! |
D | logic_iomem.c | 154 struct logic_iomem_area *area = get_area(addr); in iounmap() local 156 if (!area) { in iounmap() 161 if (area->ops->unmap) in iounmap() 162 area->ops->unmap(area->priv); in iounmap() 165 area->ops = NULL; in iounmap() 166 area->priv = NULL; in iounmap() 221 struct logic_iomem_area *area = get_area(addr); \ 223 if (!area) \ 226 return (u ## sz) area->ops->read(area->priv, \ 234 struct logic_iomem_area *area = get_area(addr); \ [all …]
|
/linux-6.12.1/arch/x86/xen/ ! |
D | grant-table.c | 26 struct vm_struct *area; member 40 *__shared = shared = gnttab_shared_vm_area.area->addr; in arch_gnttab_map_shared() 62 *__shared = shared = gnttab_status_vm_area.area->addr; in arch_gnttab_map_status() 81 if (shared == gnttab_status_vm_area.area->addr) in arch_gnttab_unmap() 96 struct gnttab_vm_area *area = data; in gnttab_apply() local 98 area->ptes[area->idx++] = pte; in gnttab_apply() 102 static int arch_gnttab_valloc(struct gnttab_vm_area *area, unsigned nr_frames) in arch_gnttab_valloc() argument 104 area->ptes = kmalloc_array(nr_frames, sizeof(*area->ptes), GFP_KERNEL); in arch_gnttab_valloc() 105 if (area->ptes == NULL) in arch_gnttab_valloc() 107 area->area = get_vm_area(PAGE_SIZE * nr_frames, VM_IOREMAP); in arch_gnttab_valloc() [all …]
|
/linux-6.12.1/sound/core/ ! |
D | memalloc.c | 28 int (*mmap)(struct snd_dma_buffer *dmab, struct vm_area_struct *area); 49 * snd_dma_alloc_dir_pages - allocate the buffer area according to the given 79 dmab->area = __snd_dma_alloc_pages(dmab, size); in snd_dma_alloc_dir_pages() 80 if (!dmab->area) in snd_dma_alloc_dir_pages() 88 * snd_dma_alloc_pages_fallback - allocate the buffer area according to the given type with fallback 115 if (! dmab->area) in snd_dma_alloc_pages_fallback() 187 * @area: VM area information 192 struct vm_area_struct *area) in snd_dma_buffer_mmap() argument 200 return ops->mmap(dmab, area); in snd_dma_buffer_mmap() 258 return virt_to_page(dmab->area + offset); in snd_sgbuf_get_page() [all …]
|
/linux-6.12.1/drivers/firmware/qcom/ ! |
D | qcom_tzmem.c | 58 static int qcom_tzmem_init_area(struct qcom_tzmem_area *area) in qcom_tzmem_init_area() argument 63 static void qcom_tzmem_cleanup_area(struct qcom_tzmem_area *area) in qcom_tzmem_cleanup_area() argument 110 static int qcom_tzmem_init_area(struct qcom_tzmem_area *area) in qcom_tzmem_init_area() argument 118 pfn_and_ns_perm = (u64)area->paddr | QCOM_SCM_PERM_RW; in qcom_tzmem_init_area() 119 ipfn_and_s_perm = (u64)area->paddr | QCOM_SCM_PERM_RW; in qcom_tzmem_init_area() 120 size_and_flags = area->size | (1 << QCOM_SHM_BRIDGE_NUM_VM_SHIFT); in qcom_tzmem_init_area() 132 area->priv = no_free_ptr(handle); in qcom_tzmem_init_area() 137 static void qcom_tzmem_cleanup_area(struct qcom_tzmem_area *area) in qcom_tzmem_cleanup_area() argument 139 u64 *handle = area->priv; in qcom_tzmem_cleanup_area() 155 struct qcom_tzmem_area *area __free(kfree) = kzalloc(sizeof(*area), in qcom_tzmem_pool_add_memory() [all …]
|
/linux-6.12.1/arch/powerpc/platforms/cell/ ! |
D | ras.c | 109 struct ptcal_area *area; in cbe_ptcal_enable_on_node() local 116 area = kmalloc(sizeof(*area), GFP_KERNEL); in cbe_ptcal_enable_on_node() 117 if (!area) in cbe_ptcal_enable_on_node() 120 area->nid = nid; in cbe_ptcal_enable_on_node() 121 area->order = order; in cbe_ptcal_enable_on_node() 122 area->pages = __alloc_pages_node(area->nid, in cbe_ptcal_enable_on_node() 124 area->order); in cbe_ptcal_enable_on_node() 126 if (!area->pages) { in cbe_ptcal_enable_on_node() 128 __func__, area->nid); in cbe_ptcal_enable_on_node() 133 * We move the ptcal area to the middle of the allocated in cbe_ptcal_enable_on_node() [all …]
|
/linux-6.12.1/arch/arm/mach-omap2/ ! |
D | fb.c | 33 DEFINE_RES_MEM_NAMED(0x70000000u, 0x4000000, "vrfb-area-0"), 34 DEFINE_RES_MEM_NAMED(0x74000000u, 0x4000000, "vrfb-area-1"), 35 DEFINE_RES_MEM_NAMED(0x78000000u, 0x4000000, "vrfb-area-2"), 36 DEFINE_RES_MEM_NAMED(0x7c000000u, 0x4000000, "vrfb-area-3"), 41 DEFINE_RES_MEM_NAMED(0x70000000u, 0x4000000, "vrfb-area-0"), 42 DEFINE_RES_MEM_NAMED(0x74000000u, 0x4000000, "vrfb-area-1"), 43 DEFINE_RES_MEM_NAMED(0x78000000u, 0x4000000, "vrfb-area-2"), 44 DEFINE_RES_MEM_NAMED(0x7c000000u, 0x4000000, "vrfb-area-3"), 45 DEFINE_RES_MEM_NAMED(0xe0000000u, 0x4000000, "vrfb-area-4"), 46 DEFINE_RES_MEM_NAMED(0xe4000000u, 0x4000000, "vrfb-area-5"), [all …]
|
/linux-6.12.1/drivers/video/fbdev/ ! |
D | dnfb.c | 109 static void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area); 151 void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) in dnfb_copyarea() argument 159 incr = (area->dy <= area->sy) ? 1 : -1; in dnfb_copyarea() 161 src = (ushort *)(info->screen_base + area->sy * info->fix.line_length + in dnfb_copyarea() 162 (area->sx >> 4)); in dnfb_copyarea() 163 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea() 166 y_delta = (info->fix.line_length * 8) - area->sx - area->width; in dnfb_copyarea() 167 x_end = area->dx + area->width - 1; in dnfb_copyarea() 168 x_word_count = (x_end >> 4) - (area->dx >> 4) + 1; in dnfb_copyarea() 169 start_mask = 0xffff0000 >> (area->dx & 0xf); in dnfb_copyarea() [all …]
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_2/ ! |
D | ia_css_ynr2_types.h | 31 u16 edge_sense_gain_0; /** Sensitivity of edge in dark area. 34 u16 edge_sense_gain_1; /** Sensitivity of edge in bright area. 37 u16 corner_sense_gain_0; /** Sensitivity of corner in dark area. 40 u16 corner_sense_gain_1; /** Sensitivity of corner in bright area. 56 u16 coring_pos_0; /** Coring threshold for positive edge in dark area. 59 u16 coring_pos_1; /** Coring threshold for positive edge in bright area. 62 u16 coring_neg_0; /** Coring threshold for negative edge in dark area. 65 u16 coring_neg_1; /** Coring threshold for negative edge in bright area. 68 u16 gain_pos_0; /** Gain for positive edge in dark area. 71 u16 gain_pos_1; /** Gain for positive edge in bright area. [all …]
|
/linux-6.12.1/kernel/ ! |
D | kcov.c | 56 /* The lock protects mode, size, area and t. */ 62 void *area; member 67 /* Size of remote area (in long's). */ 137 struct kcov_remote_area *area; in kcov_remote_area_get() local 141 area = list_entry(pos, struct kcov_remote_area, list); in kcov_remote_area_get() 142 if (area->size == size) { in kcov_remote_area_get() 143 list_del(&area->list); in kcov_remote_area_get() 144 return area; in kcov_remote_area_get() 151 static void kcov_remote_area_put(struct kcov_remote_area *area, in kcov_remote_area_put() argument 154 INIT_LIST_HEAD(&area->list); in kcov_remote_area_put() [all …]
|
/linux-6.12.1/arch/x86/mm/ ! |
D | mem_encrypt_boot.S | 36 /* Set up a one page stack in the non-encrypted memory area */ 42 movq %rdi, %r10 /* Encrypted area */ 43 movq %rsi, %r11 /* Decrypted area */ 44 movq %rdx, %r12 /* Area length */ 53 movq %r10, %rdi /* Encrypted area */ 54 movq %r11, %rsi /* Decrypted area */ 56 movq %r12, %rcx /* Area length */ 79 * routine is defined here and then copied to an area outside 87 * RCX - length of area 92 * The area will be encrypted by copying from the non-encrypted [all …]
|
/linux-6.12.1/drivers/md/ ! |
D | dm-snap-persistent.c | 116 void *area; member 119 * An area of zeros used to clear the next area. 124 * An area used for header. The header can be written 131 * Used to keep track of which metadata area the data in 158 * metadata area. 179 * a single metadata area. in alloc_area() 181 ps->area = vmalloc(len); in alloc_area() 182 if (!ps->area) in alloc_area() 199 vfree(ps->area); in alloc_area() 207 vfree(ps->area); in free_area() [all …]
|
/linux-6.12.1/mm/ ! |
D | vmalloc.c | 332 struct vm_struct *area; in ioremap_page_range() local 334 area = find_vm_area((void *)addr); in ioremap_page_range() 335 if (!area || !(area->flags & VM_IOREMAP)) { in ioremap_page_range() 339 if (addr != (unsigned long)area->addr || in ioremap_page_range() 340 (void *)end != area->addr + get_vm_area_size(area)) { in ioremap_page_range() 342 addr, end, (long)area->addr, in ioremap_page_range() 343 (long)area->addr + get_vm_area_size(area)); in ioremap_page_range() 472 * @addr: start of the VM area to unmap 473 * @end: end of the VM area to unmap (non-inclusive) 646 * @addr: start of the VM area to map [all …]
|
/linux-6.12.1/drivers/soc/fsl/qe/ ! |
D | tsa.c | 349 static void tsa_cpm1_init_entries_area(struct tsa *tsa, struct tsa_entries_area *area, in tsa_cpm1_init_entries_area() argument 362 area->entries_start = tsa->si_ram; in tsa_cpm1_init_entries_area() 363 area->entries_next = area->entries_start + half; in tsa_cpm1_init_entries_area() 364 area->last_entry = NULL; in tsa_cpm1_init_entries_area() 367 area->entries_start = tsa->si_ram + half; in tsa_cpm1_init_entries_area() 368 area->entries_next = area->entries_start + half; in tsa_cpm1_init_entries_area() 369 area->last_entry = NULL; in tsa_cpm1_init_entries_area() 376 area->entries_start = tsa->si_ram; in tsa_cpm1_init_entries_area() 377 area->entries_next = area->entries_start + quarter; in tsa_cpm1_init_entries_area() 378 area->last_entry = NULL; in tsa_cpm1_init_entries_area() [all …]
|
/linux-6.12.1/drivers/video/fbdev/sis/ ! |
D | sis_accel.c | 356 void fbcon_sis_copyarea(struct fb_info *info, const struct fb_copyarea *area) in fbcon_sis_copyarea() argument 361 int width = area->width; in fbcon_sis_copyarea() 362 int height = area->height; in fbcon_sis_copyarea() 369 cfb_copyarea(info, area); in fbcon_sis_copyarea() 374 area->sx >= vxres || area->sy >= vyres || in fbcon_sis_copyarea() 375 area->dx >= vxres || area->dy >= vyres) in fbcon_sis_copyarea() 379 if((area->sx + width) > vxres) width = vxres - area->sx; in fbcon_sis_copyarea() 380 if((area->dx + width) > vxres) width = vxres - area->dx; in fbcon_sis_copyarea() 381 if((area->sy + height) > vyres) height = vyres - area->sy; in fbcon_sis_copyarea() 382 if((area->dy + height) > vyres) height = vyres - area->dy; in fbcon_sis_copyarea() [all …]
|
/linux-6.12.1/kernel/dma/ ! |
D | remap.c | 11 struct vm_struct *area = find_vm_area(cpu_addr); in dma_common_find_pages() local 13 if (!area || !(area->flags & VM_DMA_COHERENT)) in dma_common_find_pages() 15 WARN(area->flags != VM_DMA_COHERENT, in dma_common_find_pages() 16 "unexpected flags in area: %p\n", cpu_addr); in dma_common_find_pages() 17 return area->pages; in dma_common_find_pages() 64 struct vm_struct *area = find_vm_area(cpu_addr); in dma_common_free_remap() local 66 if (!area || !(area->flags & VM_DMA_COHERENT)) { in dma_common_free_remap() 67 WARN(1, "trying to free invalid coherent area: %p\n", cpu_addr); in dma_common_free_remap()
|
/linux-6.12.1/drivers/pmdomain/renesas/ ! |
D | rcar-sysc.h | 16 #define PD_CPU BIT(0) /* Area contains main CPU core */ 17 #define PD_SCU BIT(1) /* Area contains SCU and L2 cache */ 18 #define PD_NO_CR BIT(2) /* Area lacks PWR{ON,OFF}CR registers */ 19 #define PD_OFF_DELAY BIT(3) /* Area is subject to power-off delay quirk */ 21 #define PD_CPU_CR PD_CPU /* CPU area has CR (R-Car H1) */ 22 #define PD_CPU_NOCR PD_CPU | PD_NO_CR /* CPU area lacks CR (R-Car Gen2/3) */ 23 #define PD_ALWAYS_ON PD_NO_CR /* Always-on area */ 27 * Description of a Power Area 32 u16 chan_offs; /* Offset of PWRSR register for this area */ 41 * SoC-specific Power Area Description
|