Home
last modified time | relevance | path

Searched refs:mem0 (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.4/drivers/mfd/
Dmcp-sa11x0.c156 struct resource *mem0, *mem1; in mcp_sa11x0_probe() local
164 mem0 = platform_get_resource(dev, IORESOURCE_MEM, 0); in mcp_sa11x0_probe()
166 if (!mem0 || !mem1) in mcp_sa11x0_probe()
169 if (!request_mem_region(mem0->start, resource_size(mem0), in mcp_sa11x0_probe()
195 m->base0 = ioremap(mem0->start, resource_size(mem0)); in mcp_sa11x0_probe()
231 release_mem_region(mem0->start, resource_size(mem0)); in mcp_sa11x0_probe()
240 struct resource *mem0, *mem1; in mcp_sa11x0_remove() local
246 mem0 = platform_get_resource(dev, IORESOURCE_MEM, 0); in mcp_sa11x0_remove()
254 release_mem_region(mem0->start, resource_size(mem0)); in mcp_sa11x0_remove()
/Linux-v5.4/tools/testing/selftests/powerpc/alignment/
Dalignment_handler.c194 void *mem0, *mem1, *ci0, *ci1; in do_test() local
215 rc = posix_memalign(&mem0, bufsize, bufsize); in do_test()
224 free(mem0); in do_test()
236 preload_data(mem0, offset, width); // FIXME: remove?? in do_test()
237 memcpy(ci0, mem0, bufsize); in do_test()
241 test_memcmp(mem0, ci0, width, offset, test_name); in do_test()
244 r |= test_memcpy(mem1, mem0, width, offset, test_func); in do_test()
266 free(mem0); in do_test()
/Linux-v5.4/arch/microblaze/boot/dts/
Dsystem.dts151 xlnx,mem0-width = <0x10>;
/Linux-v5.4/arch/powerpc/boot/dts/
Dvirtex440-ml507.dts203 xlnx,mem0-width = <0x10>;
Dvirtex440-ml510.dts175 xlnx,mem0-width = <0x10>;