Searched refs:platform_device_add_resources (Results 1 - 77 of 77) sorted by relevance

/linux-4.1.27/arch/x86/kernel/
H A Dpmem.c20 error = platform_device_add_resources(pdev, res, 1); register_pmem_device()
/linux-4.1.27/arch/mips/mti-sead3/
H A Dsead3-lcd.c27 retval = platform_device_add_resources(pdev, &sead3_lcd_resource, 1); sead3_lcd_add()
/linux-4.1.27/arch/x86/platform/intel-mid/device_libs/
H A Dplatform_ipc.c55 platform_device_add_resources(pdev, &res, 1); ipc_device_handler()
/linux-4.1.27/arch/mips/cobalt/
H A Dbuttons.c40 error = platform_device_add_resources(pd, &cobalt_buttons_resource, 1); cobalt_add_buttons()
H A Dlcd.c40 retval = platform_device_add_resources(pdev, &cobalt_lcd_resource, 1); cobalt_lcd_add()
H A Dled.c47 retval = platform_device_add_resources(pdev, &cobalt_led_resource, 1); cobalt_led_add()
H A Drtc.c48 retval = platform_device_add_resources(pdev, cobalt_rtc_resource, cobalt_rtc_add()
H A Dserial.c71 retval = platform_device_add_resources(pdev, cobalt_uart_resource, ARRAY_SIZE(cobalt_uart_resource)); cobalt_uart_add()
/linux-4.1.27/drivers/video/fbdev/msm/
H A Dmddi_client_dummy.c66 platform_device_add_resources(&panel->pdev, mddi_dummy_probe()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dmv64x60_dev.c69 err = platform_device_add_resources(pdev, r, 2); mv64x60_mpsc_register_shared_pdev()
191 err = platform_device_add_resources(pdev, r, 5); mv64x60_mpsc_device_setup()
316 err = platform_device_add_resources(pdev, r, 1); mv64x60_eth_device_setup()
372 err = platform_device_add_resources(pdev, r, 2); mv64x60_i2c_device_setup()
424 err = platform_device_add_resources(pdev, &r, 1); mv64x60_wdt_device_setup()
/linux-4.1.27/drivers/usb/dwc3/
H A Dhost.c43 ret = platform_device_add_resources(xhci, dwc->xhci_resources, dwc3_host_init()
H A Ddwc3-pci.c121 ret = platform_device_add_resources(dwc3, res, ARRAY_SIZE(res)); dwc3_pci_probe()
/linux-4.1.27/arch/mips/lasat/
H A Dserial.c78 retval = platform_device_add_resources(pdev, lasat_serial_res, ARRAY_SIZE(lasat_serial_res)); lasat_uart_add()
/linux-4.1.27/arch/mips/vr41xx/common/
H A Dgiu.c108 retval = platform_device_add_resources(pdev, res, num); vr41xx_giu_add()
H A Drtc.c103 retval = platform_device_add_resources(pdev, res, num); vr41xx_rtc_add()
H A Dsiu.c106 retval = platform_device_add_resources(pdev, res, num); vr41xx_siu_add()
/linux-4.1.27/arch/arm/mach-imx/devices/
H A Dplatform-ipu-core.c89 ret = platform_device_add_resources(pdev, res, ARRAY_SIZE(res)); imx_alloc_mx3_camera()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-pxa-pci.c78 ret = platform_device_add_resources(pdev, res, ARRAY_SIZE(res)); add_i2c_device()
/linux-4.1.27/drivers/usb/gadget/udc/bdc/
H A Dbdc_pci.c81 ret = platform_device_add_resources(bdc, res, ARRAY_SIZE(res)); bdc_pci_probe()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dgpmc-nand.c135 err = platform_device_add_resources(pdev, gpmc_nand_res, gpmc_nand_init()
H A Domap_device.c460 ret = platform_device_add_resources(pdev, res, res_count); omap_device_alloc()
/linux-4.1.27/arch/arm/mach-omap1/
H A Dtimer.c127 ret = platform_device_add_resources(pdev, res, omap1_dm_timer_init()
H A Ddma.c299 ret = platform_device_add_resources(pdev, res, ARRAY_SIZE(res)); omap1_system_dma_init()
H A Dmcbsp.c406 platform_device_add_resources(new_mcbsp, &res[i * res_count], omap_mcbsp_register_board_cfg()
H A Ddevices.c187 ret = platform_device_add_resources(pdev, res, ARRAY_SIZE(res)); omap_mmc_add()
/linux-4.1.27/arch/avr32/mach-at32ap/
H A Dat32ap700x.c900 if (platform_device_add_resources(pdev, atmel_psif0_resource, at32_add_device_psif()
909 if (platform_device_add_resources(pdev, atmel_psif1_resource, at32_add_device_psif()
1295 if (platform_device_add_resources(pdev, atmel_twi0_resource, at32_add_device_twi()
1365 if (platform_device_add_resources(pdev, atmel_mci0_resource, at32_add_device_mci()
1591 if (platform_device_add_resources(pdev, atmel_pwm0_resource, at32_add_device_pwm()
1790 if (platform_device_add_resources(pdev, usba0_resource, at32_add_device_usba()
1865 ret = platform_device_add_resources(pdev, at32_init_ide_or_cf()
1876 ret = platform_device_add_resources(pdev, at32_init_ide_or_cf()
1995 if (platform_device_add_resources(pdev, smc_cs3_resource, at32_add_device_nand()
2055 if (platform_device_add_resources(pdev, atmel_ac97c0_resource, at32_add_device_ac97c()
2144 if (platform_device_add_resources(pdev, abdac0_resource, at32_add_device_abdac()
/linux-4.1.27/arch/mips/txx9/generic/
H A Dsetup.c664 platform_device_add_resources(pdev, &res, 1) || txx9_physmap_flash_init()
683 platform_device_add_resources(pdev, &res, 1) || txx9_ndfmc_init()
838 platform_device_add_resources(pdev, res, ARRAY_SIZE(res)) || txx9_dmac_init()
854 platform_device_add_resources(pdev, chan_res, txx9_dmac_init()
893 platform_device_add_resources(pdev, res, ARRAY_SIZE(res)) || txx9_aclc_init()
H A Dsetup_tx4938.c376 platform_device_add_resources(pdev, res, ARRAY_SIZE(res)) || tx4938_ata_init()
/linux-4.1.27/drivers/usb/dwc2/
H A Dpci.c110 ret = platform_device_add_resources(dwc2, res, ARRAY_SIZE(res)); dwc2_pci_probe()
/linux-4.1.27/drivers/usb/musb/
H A Djz4740.c156 ret = platform_device_add_resources(musb, pdev->resource, jz4740_probe()
H A Dux500.c300 ret = platform_device_add_resources(musb, musb_resources, ux500_probe()
H A Dblackfin.c537 ret = platform_device_add_resources(musb, musb_resources, bfin_probe()
H A Domap2430.c611 ret = platform_device_add_resources(musb, musb_resources, omap2430_probe()
H A Dmusb_dsps.c724 ret = platform_device_add_resources(musb, resources, dsps_create_musb_pdev()
/linux-4.1.27/arch/powerpc/platforms/83xx/
H A Dmpc832x_rdb.c103 ret = platform_device_add_resources(pdev, res, for_each_compatible_node()
/linux-4.1.27/drivers/base/
H A Dplatform.c247 * platform_device_add_resources - add resources to a platform device
256 int platform_device_add_resources(struct platform_device *pdev, platform_device_add_resources() function
272 EXPORT_SYMBOL_GPL(platform_device_add_resources); variable
480 ret = platform_device_add_resources(pdev, platform_device_register_full()
674 error = platform_device_add_resources(pdev, res, n_res); __platform_create_bundle()
/linux-4.1.27/drivers/hwmon/
H A Dsmsc47b397.c278 err = platform_device_add_resources(pdev, &res, 1); smsc47b397_device_add()
H A Dsch56xx-common.c575 err = platform_device_add_resources(sch56xx_pdev, &res, 1); sch56xx_device_add()
H A Dsmsc47m1.c879 err = platform_device_add_resources(pdev, &res, 1); smsc47m1_device_add()
H A Dlm78.c949 err = platform_device_add_resources(pdev, &res, 1); lm78_isa_device_add()
H A Dnct6683.c1414 err = platform_device_add_resources(pdev[i], &res, 1); sensors_nct6683_init()
H A Dpc87427.c1192 err = platform_device_add_resources(pdev, res, res_count); pc87427_device_add()
H A Dsis5595.c800 err = platform_device_add_resources(pdev, &res, 1); sis5595_device_add()
H A Dvia686a.c853 err = platform_device_add_resources(pdev, &res, 1); via686a_device_add()
H A Dvt1211.c1263 err = platform_device_add_resources(pdev, &res, 1); vt1211_device_add()
H A Dvt8231.c967 err = platform_device_add_resources(pdev, &res, 1); vt8231_device_add()
H A Dabituguru3.c1288 err = platform_device_add_resources(abituguru3_pdev, &res, 1); abituguru3_init()
H A Df71805f.c1534 err = platform_device_add_resources(pdev, &res, 1); f71805f_device_add()
H A Dpc87360.c1745 err = platform_device_add_resources(pdev, res, res_count); pc87360_device_add()
H A Df71882fg.c2632 err = platform_device_add_resources(f71882fg_pdev, &res, 1); f71882fg_device_add()
H A Dw83627hf.c1941 err = platform_device_add_resources(pdev, &res, 1); w83627hf_device_add()
H A Dw83781d.c1965 err = platform_device_add_resources(pdev, &res, 1); w83781d_isa_device_add()
H A Dabituguru.c1617 err = platform_device_add_resources(abituguru_pdev, &res, 1); abituguru_init()
H A Ddme1737.c2614 err = platform_device_add_resources(pdev, &res, 1); dme1737_isa_device_add()
H A Dit87.c2764 err = platform_device_add_resources(pdev, &res, 1); it87_device_add()
H A Dw83627ehf.c2862 err = platform_device_add_resources(pdev, &res, 1); sensors_w83627ehf_init()
H A Dnct6775.c4252 err = platform_device_add_resources(pdev[i], &res, 1); sensors_nct6775_init()
/linux-4.1.27/drivers/mtd/maps/
H A Dpismo.c113 ret = platform_device_add_resources(dev, &res, 1); pismo_add_device()
/linux-4.1.27/drivers/mfd/
H A Dmfd-core.c216 ret = platform_device_add_resources(pdev, res, cell->num_resources); mfd_add_device()
H A Domap-usb-host.c191 ret = platform_device_add_resources(child, res, num_resources); omap_usbhs_alloc_child()
193 dev_err(dev, "platform_device_add_resources failed\n"); omap_usbhs_alloc_child()
H A Ddm355evm_msp.c225 status = platform_device_add_resources(pdev, &r, 1); add_child()
H A Dkempld-core.c157 ret = platform_device_add_resources(kempld_pdev, pdata->ioresource, 1); kempld_create_platform_device()
H A Dtwl-core.c647 status = platform_device_add_resources(pdev, r, irq1 ? 2 : 1); add_numbered_child()
/linux-4.1.27/drivers/net/wireless/ti/wlcore/
H A Dspi.c376 ret = platform_device_add_resources(glue->core, res, ARRAY_SIZE(res)); wl1271_probe()
H A Dsdio.c338 ret = platform_device_add_resources(glue->core, res, ARRAY_SIZE(res)); wl1271_probe()
/linux-4.1.27/drivers/input/serio/
H A Dct82c710.c236 error = platform_device_add_resources(ct82c710_device, &ct82c710_iores, 1); ct82c710_init()
/linux-4.1.27/drivers/usb/host/
H A Dbcma-hcd.c191 ret = platform_device_add_resources(hci_dev, hci_res, bcma_hcd_create_pdev()
H A Dfsl-mph-dr-of.c104 retval = platform_device_add_resources(pdev, res, num); fsl_usb2_device_register()
H A Dssb-hcd.c127 ret = platform_device_add_resources(hci_dev, hci_res, ssb_hcd_create_pdev()
/linux-4.1.27/arch/arm/mach-mmp/
H A Ddevices.c58 ret = platform_device_add_resources(pdev, res, nres); pxa_register_device()
/linux-4.1.27/arch/x86/platform/intel-mid/
H A Dsfi.c330 platform_device_add_resources(pdev, &res, 1); install_irq_resource()
/linux-4.1.27/include/linux/
H A Dplatform_device.h165 extern int platform_device_add_resources(struct platform_device *pdev,
/linux-4.1.27/arch/mips/txx9/rbtx4939/
H A Dsetup.c488 platform_device_add_resources(pdev, smc_res, ARRAY_SIZE(smc_res)) || rbtx4939_device_init()
/linux-4.1.27/arch/mips/cavium-octeon/
H A Docteon-platform.c56 ret = platform_device_add_resources(pd, rng_resources, octeon_rng_device_init()
/linux-4.1.27/drivers/usb/chipidea/
H A Dcore.c625 ret = platform_device_add_resources(pdev, res, nres); ci_hdrc_add_device()
/linux-4.1.27/drivers/media/platform/soc_camera/
H A Dsh_mobile_ceu_camera.c1867 * platform_device_add_resources() sh_mobile_ceu_probe()
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmv643xx_eth.c2751 ret = platform_device_add_resources(ppdev, &res, 1); mv643xx_eth_shared_of_add_port()

Completed in 1224 milliseconds