Searched refs:regs_res (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/vlynq/ |
D | vlynq.c | 656 struct resource *regs_res, *mem_res, *irq_res; in vlynq_probe() local 659 regs_res = platform_get_resource_byname(pdev, IORESOURCE_MEM, "regs"); in vlynq_probe() 660 if (!regs_res) in vlynq_probe() 685 dev->regs_start = regs_res->start; in vlynq_probe() 686 dev->regs_end = regs_res->end; in vlynq_probe() 690 len = resource_size(regs_res); in vlynq_probe() 691 if (!request_mem_region(regs_res->start, len, dev_name(&dev->dev))) { in vlynq_probe() 698 dev->local = ioremap(regs_res->start, len); in vlynq_probe() 739 release_mem_region(regs_res->start, len); in vlynq_probe()
|
/Linux-v6.1/drivers/char/xilinx_hwicap/ |
D | xilinx_hwicap.c | 603 const struct resource *regs_res, in hwicap_setup() argument 644 if (!regs_res) { in hwicap_setup() 650 drvdata->mem_start = regs_res->start; in hwicap_setup() 651 drvdata->mem_end = regs_res->end; in hwicap_setup() 652 drvdata->mem_size = resource_size(regs_res); in hwicap_setup() 657 (unsigned long long) regs_res->start); in hwicap_setup() 697 release_mem_region(regs_res->start, drvdata->mem_size); in hwicap_setup()
|
/Linux-v6.1/drivers/video/fbdev/ |
D | au1100fb.c | 412 struct resource *regs_res; in au1100fb_drv_probe() local 427 regs_res = platform_get_resource(dev, IORESOURCE_MEM, 0); in au1100fb_drv_probe() 428 if (!regs_res) { in au1100fb_drv_probe() 433 au1100fb_fix.mmio_start = regs_res->start; in au1100fb_drv_probe() 434 au1100fb_fix.mmio_len = resource_size(regs_res); in au1100fb_drv_probe()
|
D | sm501fb.c | 85 struct resource *regs_res; /* registers resource */ member 1546 info->regs_res = request_mem_region(res->start, in sm501fb_start() 1550 if (info->regs_res == NULL) { in sm501fb_start() 1649 release_mem_region(info->regs_res->start, in sm501fb_start() 1650 resource_size(info->regs_res)); in sm501fb_start() 1670 release_mem_region(info->regs_res->start, in sm501fb_stop() 1671 resource_size(info->regs_res)); in sm501fb_stop()
|
/Linux-v6.1/drivers/mfd/ |
D | sm501.c | 54 struct resource *regs_res; member 1051 gpio->regs_res = request_mem_region(iobase, 0x20, "sm501-gpio"); in sm501_register_gpio() 1052 if (!gpio->regs_res) { in sm501_register_gpio()
|