Home
last modified time | relevance | path

Searched refs:res_base (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.4/drivers/ide/
Dide_platform.c47 struct resource *res_base, *res_alt, *res_irq; in plat_ide_probe() local
58 res_base = platform_get_resource(pdev, IORESOURCE_IO, 0); in plat_ide_probe()
61 if (!res_base || !res_alt) { in plat_ide_probe()
62 res_base = platform_get_resource(pdev, IORESOURCE_MEM, 0); in plat_ide_probe()
64 if (!res_base || !res_alt) { in plat_ide_probe()
79 res_base->start, resource_size(res_base)); in plat_ide_probe()
84 res_base->start, resource_size(res_base)); in plat_ide_probe()
/Linux-v5.4/drivers/gpio/
Dgpio-ich.c366 struct resource *res_base, const char *name, u8 use_gpio) in ichx_gpio_request_regions() argument
370 if (!res_base || !res_base->start || !res_base->end) in ichx_gpio_request_regions()
377 res_base->start + ichx_priv.desc->regs[0][i], in ichx_gpio_request_regions()
388 struct resource *res_base, *res_pm; in ichx_gpio_probe() local
426 res_base = platform_get_resource(pdev, IORESOURCE_IO, ICH_RES_GPIO); in ichx_gpio_probe()
427 err = ichx_gpio_request_regions(dev, res_base, pdev->name, in ichx_gpio_probe()
432 ichx_priv.gpio_base = res_base; in ichx_gpio_probe()
/Linux-v5.4/drivers/of/
Dof_reserved_mem.c31 phys_addr_t *res_base) in early_init_dt_alloc_reserved_memory_arch() argument
41 *res_base = base; in early_init_dt_alloc_reserved_memory_arch()
75 const char *uname, phys_addr_t *res_base, phys_addr_t *res_size) in __reserved_mem_alloc_size() argument
158 *res_base = base; in __reserved_mem_alloc_size()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_rcfw.c697 resource_size_t res_base; in bnxt_qplib_enable_rcfw_channel() local
713 res_base = pci_resource_start(pdev, rcfw->cmdq_bar_reg); in bnxt_qplib_enable_rcfw_channel()
714 if (!res_base) in bnxt_qplib_enable_rcfw_channel()
717 rcfw->cmdq_bar_reg_iomem = ioremap_nocache(res_base + in bnxt_qplib_enable_rcfw_channel()
733 res_base = pci_resource_start(pdev, rcfw->creq_bar_reg); in bnxt_qplib_enable_rcfw_channel()
734 if (!res_base) in bnxt_qplib_enable_rcfw_channel()
739 rcfw->creq_bar_reg_iomem = ioremap_nocache(res_base + cp_bar_reg_off, in bnxt_qplib_enable_rcfw_channel()
/Linux-v5.4/drivers/crypto/mediatek/
Dmtk-platform.c433 cryp->ring[i]->res_base, in mtk_desc_dma_free()
459 ring[i]->res_base = dma_alloc_coherent(cryp->dev, in mtk_desc_ring_alloc()
463 if (!ring[i]->res_base) in mtk_desc_ring_alloc()
467 ring[i]->res_next = ring[i]->res_base; in mtk_desc_ring_alloc()
474 ring[i]->res_base, ring[i]->res_dma); in mtk_desc_ring_alloc()
Dmtk-platform.h98 struct mtk_desc *res_base; member
Dmtk-aes.c315 if (++ring->res_next == ring->res_base + MTK_DESC_NUM) in mtk_aes_xmit()
316 ring->res_next = ring->res_base; in mtk_aes_xmit()
Dmtk-sha.c149 ring->res_next = ring->res_base; in mtk_sha_ring_shift()
/Linux-v5.4/sound/isa/wavefront/
Dwavefront.c318 release_and_free_resource(acard->wavefront.res_base); in snd_wavefront_free()
398 acard->wavefront.res_base = request_region(ics2115_port[dev], 16, in snd_wavefront_probe()
400 if (acard->wavefront.res_base == NULL) { in snd_wavefront_probe()
/Linux-v5.4/sound/drivers/
Dserial-u16550.c119 struct resource *res_base; member
327 uart->res_base = request_region(io_base, 8, "Serial MIDI"); in snd_uart16550_detect()
328 if (uart->res_base == NULL) { in snd_uart16550_detect()
760 release_and_free_resource(uart->res_base); in snd_uart16550_free()
/Linux-v5.4/include/sound/
Dsnd_wavefront.h53 struct resource *res_base; /* i/o port resource allocation */ member