Home
last modified time | relevance | path

Searched refs:platform_device_add_resources (Results 1 – 25 of 73) sorted by relevance

123

/openbmc/linux/arch/mips/cobalt/
H A Dbuttons.c27 error = platform_device_add_resources(pd, &cobalt_buttons_resource, 1); in cobalt_add_buttons()
H A Dlcd.c27 retval = platform_device_add_resources(pdev, &cobalt_lcd_resource, 1); in cobalt_lcd_add()
H A Dled.c34 retval = platform_device_add_resources(pdev, &cobalt_led_resource, 1); in cobalt_led_add()
H A Drtc.c35 retval = platform_device_add_resources(pdev, cobalt_rtc_resource, in cobalt_rtc_add()
H A Dserial.c58 …retval = platform_device_add_resources(pdev, cobalt_uart_resource, ARRAY_SIZE(cobalt_uart_resource… in cobalt_uart_add()
/openbmc/linux/drivers/usb/host/
H A Dxhci-ext-caps.c49 ret = platform_device_add_resources(pdev, &res, 1); in xhci_create_intel_xhci_sw_pdev()
/openbmc/linux/arch/mips/txx9/generic/
H A Dsetup.c560 platform_device_add_resources(pdev, &res, 1) || in txx9_physmap_flash_init()
579 platform_device_add_resources(pdev, &res, 1) || in txx9_ndfmc_init()
732 platform_device_add_resources(pdev, res, ARRAY_SIZE(res)) || in txx9_dmac_init()
748 platform_device_add_resources(pdev, chan_res, in txx9_dmac_init()
/openbmc/linux/drivers/usb/dwc2/
H A Dpci.c94 ret = platform_device_add_resources(dwc2, res, ARRAY_SIZE(res)); in dwc2_pci_probe()
/openbmc/linux/drivers/usb/dwc3/
H A Ddwc3-haps.c75 ret = platform_device_add_resources(dwc->dwc3, res, ARRAY_SIZE(res)); in dwc3_haps_probe()
H A Dhost.c104 ret = platform_device_add_resources(xhci, dwc->xhci_resources, in dwc3_host_init()
/openbmc/linux/arch/arm/mach-omap1/
H A Dtimer.c120 ret = platform_device_add_resources(pdev, res, in omap1_dm_timer_init()
H A Ddevices.c152 ret = platform_device_add_resources(pdev, res, ARRAY_SIZE(res)); in omap_mmc_add()
H A Dmcbsp.c311 platform_device_add_resources(new_mcbsp, &res[i * res_count], in omap_mcbsp_register_board_cfg()
/openbmc/linux/drivers/char/ipmi/
H A Dipmi_plat_data.c98 rv = platform_device_add_resources(pdev, r, num_r); in ipmi_platform_add()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-pxa-pci.c81 ret = platform_device_add_resources(pdev, res, ARRAY_SIZE(res)); in add_i2c_device()
/openbmc/linux/drivers/acpi/arm64/
H A Dapmt.c90 ret = platform_device_add_resources(pdev, res, count); in apmt_add_platform_device()
/openbmc/linux/drivers/usb/cdns3/
H A Dhost.c86 ret = platform_device_add_resources(xhci, cdns->xhci_res, in __cdns_host_init()
/openbmc/linux/drivers/firmware/
H A Dsysfb_simplefb.c148 ret = platform_device_add_resources(pd, &res, 1); in sysfb_create_simplefb()
/openbmc/linux/drivers/input/serio/
H A Dct82c710.c217 error = platform_device_add_resources(ct82c710_device, &ct82c710_iores, 1); in ct82c710_init()
/openbmc/linux/arch/powerpc/platforms/83xx/
H A Dmpc832x_rdb.c101 ret = platform_device_add_resources(pdev, res, in of_fsl_spi_probe()
/openbmc/linux/arch/mips/sgi-ip30/
H A Dip30-xtalk.c67 if (platform_device_add_resources(pdev_wd, &w1_res, 1)) { in bridge_platform_create()
/openbmc/linux/drivers/mcb/
H A Dmcb-lpc.c120 ret = platform_device_add_resources(mcb_lpc_pdev, res, 1); in mcb_lpc_create_platform_device()
/openbmc/linux/drivers/mfd/
H A Dkempld-core.c142 ret = platform_device_add_resources(kempld_pdev, pdata->ioresource, 1); in kempld_create_platform_device()
454 ret = platform_device_add_resources(pdev, pdata->ioresource, 1); in kempld_get_acpi_data()
471 ret = platform_device_add_resources(pdev, resources, count); in kempld_get_acpi_data()
/openbmc/linux/drivers/base/
H A Dplatform.c604 int platform_device_add_resources(struct platform_device *pdev, in platform_device_add_resources() function
620 EXPORT_SYMBOL_GPL(platform_device_add_resources);
827 ret = platform_device_add_resources(pdev, in platform_device_register_full()
991 error = platform_device_add_resources(pdev, res, n_res); in __platform_create_bundle()
/openbmc/linux/arch/mips/sgi-ip27/
H A Dip27-xtalk.c57 if (platform_device_add_resources(pdev_wd, &w1_res, 1)) { in bridge_platform_create()

123