Home
last modified time | relevance | path

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

12345678910>>...94

/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/kernel/dma/
Dremap.c16 struct vm_struct *area = find_vm_area(cpu_addr); in dma_common_find_pages() local
18 if (!area || area->flags != VM_DMA_COHERENT) in dma_common_find_pages()
20 return area->pages; in dma_common_find_pages()
26 struct vm_struct *area; in __dma_common_pages_remap() local
28 area = get_vm_area_caller(size, VM_DMA_COHERENT, caller); in __dma_common_pages_remap()
29 if (!area) in __dma_common_pages_remap()
32 if (map_vm_area(area, prot, pages)) { in __dma_common_pages_remap()
33 vunmap(area->addr); in __dma_common_pages_remap()
37 return area; in __dma_common_pages_remap()
47 struct vm_struct *area; in dma_common_pages_remap() local
[all …]
/Linux-v5.4/arch/x86/xen/
Dgrant-table.c27 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()
94 static int arch_gnttab_valloc(struct gnttab_vm_area *area, unsigned nr_frames) in arch_gnttab_valloc() argument
96 area->ptes = kmalloc_array(nr_frames, sizeof(*area->ptes), GFP_KERNEL); in arch_gnttab_valloc()
97 if (area->ptes == NULL) in arch_gnttab_valloc()
100 area->area = alloc_vm_area(PAGE_SIZE * nr_frames, area->ptes); in arch_gnttab_valloc()
101 if (area->area == NULL) { in arch_gnttab_valloc()
102 kfree(area->ptes); in arch_gnttab_valloc()
[all …]
/Linux-v5.4/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-v5.4/mm/
Dvmalloc.c362 * find a lowest match of free area.
682 * free area is inserted. If VA has been merged, it is
726 /* Point to the new merged area. */ in merge_or_add_vmap_area()
1003 * Returns a start address of the newly allocated area, if success.
1081 * that we have it available when fit type of free area is in alloc_vmap_area()
1283 * Finally insert or merge lazily-freed area. It is in __purge_vmap_area_lazy()
1323 * Free a vmap area, caller ensuring that the area has been unmapped
1346 * Free and unmap a vmap area
1809 * vm_area_add_early - add vmap area early during boot
1812 * This function is used to add fixed kernel vm area to vmlist before
[all …]
/Linux-v5.4/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-v5.4/kernel/
Dkcov.c49 /* The lock protects mode, size, area and t. */
55 void *area; member
97 unsigned long *area; in __sanitizer_cov_trace_pc() local
105 area = t->kcov_area; in __sanitizer_cov_trace_pc()
107 pos = READ_ONCE(area[0]) + 1; in __sanitizer_cov_trace_pc()
109 area[pos] = ip; in __sanitizer_cov_trace_pc()
110 WRITE_ONCE(area[0], pos); in __sanitizer_cov_trace_pc()
119 u64 *area; in write_comp_data() local
132 area = (u64 *)t->kcov_area; in write_comp_data()
135 count = READ_ONCE(area[0]); in write_comp_data()
[all …]
/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/sound/core/
Dmemalloc.c34 dmab->area = dma_alloc_coherent(dmab->dev.dev, size, &dmab->addr, in snd_malloc_dev_pages()
37 if (dmab->area && dmab->dev.type == SNDRV_DMA_TYPE_DEV_UC) in snd_malloc_dev_pages()
38 set_memory_wc((unsigned long)dmab->area, in snd_malloc_dev_pages()
48 set_memory_wb((unsigned long)dmab->area, in snd_free_dev_pages()
51 dma_free_coherent(dmab->dev.dev, dmab->bytes, dmab->area, dmab->addr); in snd_free_dev_pages()
67 dmab->area = NULL; in snd_malloc_dev_iram()
79 dmab->area = gen_pool_dma_alloc(pool, size, &dmab->addr); in snd_malloc_dev_iram()
90 if (pool && dmab->area) in snd_free_dev_iram()
91 gen_pool_free(pool, (unsigned long)dmab->area, dmab->bytes); in snd_free_dev_iram()
104 * snd_dma_alloc_pages - allocate the buffer area according to the given type
[all …]
/Linux-v5.4/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
69 * Helpers for fixing up power area tables depending on SoC revision
/Linux-v5.4/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-v5.4/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-v5.4/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_nocache(area + FPGA_REGS_OFFSET, FPGA_REGS_SIZE); in sdk7786_fpga_probe()
37 /* Failed to remap this area, move along. */ in sdk7786_fpga_probe()
/Linux-v5.4/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-v5.4/Documentation/devicetree/bindings/usb/
Dcdns-usb3.txt6 - HOST registers area
7 - DEVICE registers area
8 - OTG/DRD registers area
9 - reg-names - register memory area names:
39 reg = <0xf3000000 0x10000>, /* memory area for HOST registers */
40 <0xf3010000 0x10000>, /* memory area for DEVICE registers */
41 <0xf3020000 0x10000>; /* memory area for OTG/DRD registers */
/Linux-v5.4/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-v5.4/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 …]
Dmulaw.c183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_decode()
188 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in mulaw_decode()
189 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in mulaw_decode()
190 src_step = src_channels[channel].area.step / 8; in mulaw_decode()
191 dst_step = dst_channels[channel].area.step / 8; in mulaw_decode()
229 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_encode()
234 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in mulaw_encode()
235 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in mulaw_encode()
236 src_step = src_channels[channel].area.step / 8; in mulaw_encode()
237 dst_step = dst_channels[channel].area.step / 8; in mulaw_encode()
[all …]

12345678910>>...94