Home
last modified time | relevance | path

Searched full:area (Results 1 – 25 of 2578) sorted by relevance

12345678910>>...104

/linux-5.10/drivers/gpu/drm/omapdrm/
Dtcm.h48 /* 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 …]
Dtcm-sita.c64 /* found a long enough free area */ in r2l_b2t_1d()
130 /* assume the area is free until we find an overlap */ in l2r_t2b()
133 /* check subsequent rows to see if complete area is free */ in l2r_t2b()
154 /* set area as in-use. iterate over rows */ in l2r_t2b()
163 struct tcm_area *area) in sita_reserve_1d() argument
171 area->p0.x = pos % tcm->width; in sita_reserve_1d()
172 area->p0.y = pos / tcm->width; in sita_reserve_1d()
173 area->p1.x = (pos + num_slots - 1) % tcm->width; in sita_reserve_1d()
174 area->p1.y = (pos + num_slots - 1) / tcm->width; in sita_reserve_1d()
183 struct tcm_area *area) in sita_reserve_2d() argument
[all …]
/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c57 * @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 …]
Dnfp_cpp.h40 /* Max size of area it should be safe to request */
219 void nfp_cpp_area_free(struct nfp_cpp_area *area);
220 int nfp_cpp_area_acquire(struct nfp_cpp_area *area);
221 int nfp_cpp_area_acquire_nonblocking(struct nfp_cpp_area *area);
222 void nfp_cpp_area_release(struct nfp_cpp_area *area);
223 void nfp_cpp_area_release_free(struct nfp_cpp_area *area);
224 int nfp_cpp_area_read(struct nfp_cpp_area *area, unsigned long offset,
226 int nfp_cpp_area_write(struct nfp_cpp_area *area, unsigned long offset,
228 size_t nfp_cpp_area_size(struct nfp_cpp_area *area);
232 struct resource *nfp_cpp_area_resource(struct nfp_cpp_area *area);
[all …]
/linux-5.10/arch/x86/xen/
Dgrant-table.c26 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-5.10/arch/powerpc/platforms/cell/
Dras.c109 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-5.10/mm/
Dvmalloc.c157 * unmap_kernel_range_noflush - unmap kernel VM area
158 * @start: start of the VM area to unmap
159 * @size: size of the VM area to unmap
161 * Unmap PFN_UP(@size) pages at @addr. The VM area @addr and @size specify
275 * map_kernel_range_noflush - map kernel VM area with the specified pages
276 * @addr: start of the VM area to map
277 * @size: size of the VM area to map
281 * Map PFN_UP(@size) pages at @addr. The VM area @addr and @size specify should
442 * find a lowest match of free area.
734 * free area is inserted. If VA has been merged, it is
[all …]
/linux-5.10/arch/arm/mach-omap2/
Dfb.c33 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-5.10/drivers/video/fbdev/
Ddnfb.c109 static void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area);
149 void dnfb_copyarea(struct fb_info *info, const struct fb_copyarea *area) in dnfb_copyarea() argument
157 incr = (area->dy <= area->sy) ? 1 : -1; in dnfb_copyarea()
159 src = (ushort *)(info->screen_base + area->sy * info->fix.line_length + in dnfb_copyarea()
160 (area->sx >> 4)); in dnfb_copyarea()
161 dest = area->dy * (info->fix.line_length >> 1) + (area->dx >> 4); in dnfb_copyarea()
164 y_delta = (info->fix.line_length * 8) - area->sx - area->width; in dnfb_copyarea()
165 x_end = area->dx + area->width - 1; in dnfb_copyarea()
166 x_word_count = (x_end >> 4) - (area->dx >> 4) + 1; in dnfb_copyarea()
167 start_mask = 0xffff0000 >> (area->dx & 0xf); in dnfb_copyarea()
[all …]
/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/ynr/ynr_2/
Dia_css_ynr2_types.h31 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-5.10/kernel/
Dkcov.c54 /* The lock protects mode, size, area and t. */
60 void *area; member
65 /* Size of remote area (in long's). */
132 struct kcov_remote_area *area; in kcov_remote_area_get() local
136 area = list_entry(pos, struct kcov_remote_area, list); in kcov_remote_area_get()
137 if (area->size == size) { in kcov_remote_area_get()
138 list_del(&area->list); in kcov_remote_area_get()
139 return area; in kcov_remote_area_get()
146 static void kcov_remote_area_put(struct kcov_remote_area *area, in kcov_remote_area_put() argument
149 INIT_LIST_HEAD(&area->list); in kcov_remote_area_put()
[all …]
/linux-5.10/drivers/block/paride/
DTransition-notes23 consider the following area:
49 1) at any time at most one thread of execution can be in that area or
60 (1) can become not true if some thread enters that area while another is there.
62 In the first case the thread was already in the area. In the second,
66 area.
67 c) pi_do_claimed() is called by pd.c only from the area.
68 d) ps_tq_int() can enter the area only when the thread is holding
71 e) do_pd_{read,write}* could be called only from the area. The only
77 f) pi_wake_up() can enter the area only when the thread is holding
82 Indeed, pd_busy is reset only in the area and thread that resets
[all …]
/linux-5.10/arch/x86/mm/
Dmem_encrypt_boot.S36 /* 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 */
76 * routine is defined here and then copied to an area outside
84 * RCX - length of area
89 * The area will be encrypted by copying from the non-encrypted
[all …]
/linux-5.10/sound/core/
Dmemalloc.c35 dmab->area = dma_alloc_coherent(dmab->dev.dev, size, &dmab->addr, in snd_malloc_dev_pages()
38 if (dmab->area && dmab->dev.type == SNDRV_DMA_TYPE_DEV_UC) in snd_malloc_dev_pages()
39 set_memory_wc((unsigned long)dmab->area, in snd_malloc_dev_pages()
49 set_memory_wb((unsigned long)dmab->area, in snd_free_dev_pages()
52 dma_free_coherent(dmab->dev.dev, dmab->bytes, dmab->area, dmab->addr); in snd_free_dev_pages()
68 dmab->area = NULL; in snd_malloc_dev_iram()
80 dmab->area = gen_pool_dma_alloc(pool, size, &dmab->addr); in snd_malloc_dev_iram()
91 if (pool && dmab->area) in snd_free_dev_iram()
92 gen_pool_free(pool, (unsigned long)dmab->area, dmab->bytes); in snd_free_dev_iram()
113 * snd_dma_alloc_pages - allocate the buffer area according to the given type
[all …]
/linux-5.10/drivers/md/
Ddm-snap-persistent.c113 void *area; member
116 * An area of zeros used to clear the next area.
121 * An area used for header. The header can be written
128 * Used to keep track of which metadata area the data in
155 * metadata area.
176 * a single metadata area. in alloc_area()
178 ps->area = vmalloc(len); in alloc_area()
179 if (!ps->area) in alloc_area()
196 vfree(ps->area); in alloc_area()
204 vfree(ps->area); in free_area()
[all …]
/linux-5.10/drivers/video/fbdev/sis/
Dsis_accel.c356 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-5.10/drivers/soc/renesas/
Drcar-sysc.h16 #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 */
20 #define PD_CPU_CR PD_CPU /* CPU area has CR (R-Car H1) */
21 #define PD_CPU_NOCR PD_CPU | PD_NO_CR /* CPU area lacks CR (R-Car Gen2/3) */
22 #define PD_ALWAYS_ON PD_NO_CR /* Always-on area */
26 * Description of a Power Area
31 u16 chan_offs; /* Offset of PWRSR register for this area */
40 * SoC-specific Power Area Description
76 * Helpers for fixing up power area tables depending on SoC revision
/linux-5.10/Documentation/s390/
D3270.rst201 The driver defines three areas on the 3270 screen: the log area, the
202 input area, and the status area.
204 The log area takes up all but the bottom two lines of the screen. The
206 down. When it fills, the status area changes from "Linux Running" to
210 The input area extends from the beginning of the second-to-last screen
211 line to the start of the status area. You type commands in this area
214 The status area initializes to "Linux Running" to give you a warm
215 fuzzy feeling. When the log area fills up and output awaits, it
219 the input area to toggle between "Linux More..." and "Linux Holding",
231 Other things you may do when the log area fills up are: hit PA2 to
[all …]
/linux-5.10/drivers/staging/media/atomisp/pci/isp/kernels/xnr/xnr_3.0/
Dia_css_xnr3_types.h50 int y0; /** Sigma for Y range similarity in dark area */
51 int y1; /** Sigma for Y range similarity in bright area */
52 int u0; /** Sigma for U range similarity in dark area */
53 int u1; /** Sigma for U range similarity in bright area */
54 int v0; /** Sigma for V range similarity in dark area */
55 int v1; /** Sigma for V range similarity in bright area */
67 int u0; /** Coring threshold of U channel in dark area */
68 int u1; /** Coring threshold of U channel in bright area */
69 int v0; /** Coring threshold of V channel in dark area */
70 int v1; /** Coring threshold of V channel in bright area */
/linux-5.10/kernel/dma/
Dremap.c11 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 return area->pages; in dma_common_find_pages()
62 struct vm_struct *area = find_vm_area(cpu_addr); in dma_common_free_remap() local
64 if (!area || area->flags != VM_DMA_COHERENT) { in dma_common_free_remap()
65 WARN(1, "trying to free invalid coherent area: %p\n", cpu_addr); in dma_common_free_remap()
/linux-5.10/arch/sh/boards/mach-sdk7786/
Dsram.c21 unsigned int area; in fpga_sram_init() local
32 * FPGA_SEL determines the area mapping in fpga_sram_init()
34 area = (data & LCLASR_FPGA_SEL_MASK) >> LCLASR_FPGA_SEL_SHIFT; in fpga_sram_init()
35 if (unlikely(area == LCLASR_AREA_MASK)) { in fpga_sram_init()
41 * The memory itself occupies a 2KiB range at the top of the area in fpga_sram_init()
44 phys = (area << 26) + SZ_64M - SZ_4K; in fpga_sram_init()
57 "(area %d) to pool.\n", in fpga_sram_init()
58 SZ_2K >> 10, phys, phys + SZ_2K - 1, area); in fpga_sram_init()
Dfpga.c26 unsigned long area; in sdk7786_fpga_probe() local
31 * The possible range is anywhere from area 0 through 6, area 7 in sdk7786_fpga_probe()
34 for (area = PA_AREA0; area < PA_AREA7; area += SZ_64M) { in sdk7786_fpga_probe()
35 base = ioremap(area + FPGA_REGS_OFFSET, FPGA_REGS_SIZE); in sdk7786_fpga_probe()
37 /* Failed to remap this area, move along. */ in sdk7786_fpga_probe()
/linux-5.10/drivers/video/fbdev/mb862xx/
Dmb862xxfb_accel.c43 const struct fb_copyarea *area) in mb86290fb_copyarea() argument
52 if (area->sx >= area->dx && area->sy >= area->dy) in mb86290fb_copyarea()
54 else if (area->sx >= area->dx && area->sy <= area->dy) in mb86290fb_copyarea()
56 else if (area->sx <= area->dx && area->sy >= area->dy) in mb86290fb_copyarea()
61 cmd[3] = (area->sy << 16) | area->sx; in mb86290fb_copyarea()
62 cmd[4] = (area->dy << 16) | area->dx; in mb86290fb_copyarea()
63 cmd[5] = (area->height << 16) | area->width; in mb86290fb_copyarea()
/linux-5.10/arch/powerpc/include/asm/
Dspu_csa.h3 * spu_csa.h: Definitions for SPU context save area (CSA).
55 * struct spu_lscsa - Local Store Context Save Area.
66 * @ls: Saved contents of Local Storage Area.
95 * struct spu_problem_collapsed - condensed problem state area, w/o pads.
120 * struct spu_priv1_collapsed - condensed privileged 1 area, w/o pads.
184 * struct spu_priv2_collapsed - condensed privileged 2 area, w/o pads.
210 * @lscsa: Local Store Context Save Area.
211 * @prob: Collapsed Problem State Area, w/o pads.
212 * @priv1: Collapsed Privileged 1 Area, w/o pads.
213 * @priv2: Collapsed Privileged 2 Area, w/o pads.
[all …]
/linux-5.10/sound/core/oss/
Drate.c85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_expand()
90 src = (signed short *)src_channels[channel].area.addr + in resample_expand()
91 src_channels[channel].area.first / 8 / 2; in resample_expand()
92 dst = (signed short *)dst_channels[channel].area.addr + in resample_expand()
93 dst_channels[channel].area.first / 8 / 2; in resample_expand()
94 src_step = src_channels[channel].area.step / 8 / 2; in resample_expand()
95 dst_step = dst_channels[channel].area.step / 8 / 2; in resample_expand()
144 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_shrink()
149 src = (signed short *)src_channels[channel].area.addr + in resample_shrink()
150 src_channels[channel].area.first / 8 / 2; in resample_shrink()
[all …]

12345678910>>...104