Home
last modified time | relevance | path

Searched refs:devm_request_region (Results 1 – 25 of 84) sorted by relevance

1234

/openbmc/linux/sound/pci/ymfpci/
H A Dymfpci.c110 r = devm_request_region(&chip->pci->dev, io_port, 1, in snd_ymfpci_create_gameport()
207 fm_res = devm_request_region(&pci->dev, fm_port[dev], in __snd_card_ymfpci_probe()
218 mpu_res = devm_request_region(&pci->dev, mpu_port[dev], in __snd_card_ymfpci_probe()
239 fm_res = devm_request_region(&pci->dev, fm_port[dev], in __snd_card_ymfpci_probe()
261 mpu_res = devm_request_region(&pci->dev, mpu_port[dev], in __snd_card_ymfpci_probe()
/openbmc/linux/drivers/gpio/
H A Dgpio-ts5500.c350 if (!devm_request_region(dev, 0x7a, 3, name)) { in ts5500_dio_probe()
359 if (!devm_request_region(dev, 0x7e, 2, name)) { in ts5500_dio_probe()
367 if (!devm_request_region(dev, 0x7d, 1, name)) { in ts5500_dio_probe()
379 if (!devm_request_region(dev, 0x72, 2, name)) { in ts5500_dio_probe()
385 if (!devm_request_region(dev, 0x7d, 1, name)) { in ts5500_dio_probe()
H A Dgpio-vx855.c256 if (!devm_request_region(&pdev->dev, res_gpi->start, in vx855gpio_probe()
261 if (!devm_request_region(&pdev->dev, res_gpo->start, in vx855gpio_probe()
H A Dgpio-gpio-mm.c68 if (!devm_request_region(dev, base[id], GPIOMM_EXTENT, name)) { in gpiomm_probe()
H A Dgpio-104-idio-16.c93 if (!devm_request_region(dev, base[id], IDIO_16_EXTENT, name)) { in idio_16_probe()
H A Dgpio-ich.c377 if (!devm_request_region(dev, in ichx_gpio_request_regions()
450 if (!devm_request_region(dev, res_pm->start, resource_size(res_pm), in ichx_gpio_probe()
H A Dgpio-104-idi-48.c135 if (!devm_request_region(dev, base[id], IDI_48_EXTENT, name)) { in idi_48_probe()
/openbmc/linux/drivers/platform/x86/
H A Dwinmate-fm07-keys.c88 if (!devm_request_region(dev, PORT_CMD, 1, "Winmate FM07 EC")) in fm07keys_probe()
90 if (!devm_request_region(dev, PORT_DATA, 1, "Winmate FM07 EC")) in fm07keys_probe()
/openbmc/linux/drivers/watchdog/
H A Dsimatic-ipc-wdt.c173 if (!devm_request_region(dev, io_resource_enable.start, in simatic_ipc_wdt_probe()
182 if (!devm_request_region(dev, io_resource_trigger.start, in simatic_ipc_wdt_probe()
H A Debc-c384_wdt.c94 if (!devm_request_region(dev, BASE_ADDR, ADDR_EXTENT, dev_name(dev))) { in ebc_c384_wdt_probe()
H A Dadvantech_ec_wdt.c155 if (!devm_request_region(dev, EC_BASE_ADDR, EC_ADDR_EXTENT, dev_name(dev))) { in adv_ec_wdt_probe()
H A DiTCO_wdt.c491 if (!devm_request_region(dev, p->smi_res->start, in iTCO_wdt_probe()
534 if (!devm_request_region(dev, p->tco_res->start, in iTCO_wdt_probe()
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_lpc.c364 if (!devm_request_region(dev, EC_HOST_CMD_REGION0, in cros_ec_lpc_probe()
383 if (!devm_request_region(dev, EC_LPC_ADDR_MEMMAP, EC_MEMMAP_SIZE, in cros_ec_lpc_probe()
400 if (!devm_request_region(dev, EC_HOST_CMD_REGION0 + EC_HOST_CMD_MEC_REGION_SIZE, in cros_ec_lpc_probe()
406 if (!devm_request_region(dev, EC_HOST_CMD_REGION1, in cros_ec_lpc_probe()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-pasemi-pci.c51 if (!devm_request_region(&dev->dev, base, size, in pasemi_smb_pci_probe()
/openbmc/linux/drivers/ata/
H A Dpata_falcon.c137 if (base_res && !devm_request_region(&pdev->dev, base_res->start, in pata_falcon_init_one()
144 if (ctl_res && !devm_request_region(&pdev->dev, ctl_res->start, in pata_falcon_init_one()
H A Dpata_legacy.c763 if (devm_request_region(&dev->dev, lp->private, 4, "qdi") == NULL) in qdi_port()
848 if (devm_request_region(&dev->dev, lp->private, 4, "winbond") == NULL) in winbond_port()
993 if (devm_request_region(&pdev->dev, io, 8, "pata_legacy") == NULL || in legacy_init_one()
994 devm_request_region(&pdev->dev, io + 0x0206, 1, in legacy_init_one()
/openbmc/linux/sound/isa/
H A Dadlib.c58 card->private_data = devm_request_region(dev, port[n], 4, CRD_NAME); in snd_adlib_probe()
/openbmc/linux/drivers/leds/simple/
H A Dsimatic-ipc-leds.c98 if (!devm_request_region(dev, res->start, resource_size(res), KBUILD_MODNAME)) { in simatic_ipc_leds_probe()
/openbmc/linux/sound/isa/galaxy/
H A Dgalaxy.c497 galaxy->res_port = devm_request_region(dev, port[n], 16, DRV_NAME); in __snd_galaxy_probe()
515 devm_request_region(dev, port[n] + GALAXY_PORT_CONFIG, 16, in __snd_galaxy_probe()
529 galaxy->res_wss_port = devm_request_region(dev, wss_port[n], 4, DRV_NAME); in __snd_galaxy_probe()
/openbmc/linux/drivers/iio/dac/
H A Dcio-dac.c124 if (!devm_request_region(dev, base[id], CIO_DAC_EXTENT, in cio_dac_probe()
/openbmc/linux/drivers/platform/chrome/wilco_ec/
H A Dcore.c33 return devm_request_region(dev, res->start, resource_size(res), in wilco_get_resource()
/openbmc/linux/drivers/net/arcnet/
H A Dcom20020-pci.c153 r = devm_request_region(&pdev->dev, ioaddr, mm->size, in com20020pci_probe()
182 r = devm_request_region(&pdev->dev, ioaddr, cm->size, in com20020pci_probe()
/openbmc/linux/drivers/leds/
H A Dleds-nic78bx.c146 if (!devm_request_region(dev, io_rc->start, resource_size(io_rc), in nic78bx_probe()
/openbmc/linux/sound/isa/sb/
H A Demu8000.c1074 if (!devm_request_region(card->dev, hw->port1, 4, "Emu8000-1") || in snd_emu8000_new()
1075 !devm_request_region(card->dev, hw->port2, 4, "Emu8000-2") || in snd_emu8000_new()
1076 !devm_request_region(card->dev, hw->port3, 4, "Emu8000-3")) { in snd_emu8000_new()
/openbmc/u-boot/include/linux/
H A Dioport.h168 #define devm_request_region(dev,start,n,name) \ macro

1234