Home
last modified time | relevance | path

Searched refs:num_resources (Results 1 – 25 of 102) sorted by relevance

12345

/drivers/mfd/
Dwm831x-core.c1021 .num_resources = ARRAY_SIZE(wm831x_dcdc1_resources),
1027 .num_resources = ARRAY_SIZE(wm831x_dcdc2_resources),
1033 .num_resources = ARRAY_SIZE(wm831x_dcdc3_resources),
1039 .num_resources = ARRAY_SIZE(wm831x_dcdc4_resources),
1055 .num_resources = ARRAY_SIZE(wm831x_gpio_resources),
1064 .num_resources = ARRAY_SIZE(wm831x_isink1_resources),
1070 .num_resources = ARRAY_SIZE(wm831x_isink2_resources),
1076 .num_resources = ARRAY_SIZE(wm831x_ldo1_resources),
1082 .num_resources = ARRAY_SIZE(wm831x_ldo2_resources),
1088 .num_resources = ARRAY_SIZE(wm831x_ldo3_resources),
[all …]
Dtimberdale.c381 .num_resources = ARRAY_SIZE(timberdale_dma_resources),
388 .num_resources = ARRAY_SIZE(timberdale_uart_resources),
393 .num_resources = ARRAY_SIZE(timberdale_xiic_resources),
400 .num_resources = ARRAY_SIZE(timberdale_gpio_resources),
407 .num_resources = ARRAY_SIZE(timberdale_video_resources),
414 .num_resources = ARRAY_SIZE(timberdale_radio_resources),
421 .num_resources = ARRAY_SIZE(timberdale_spi_resources),
428 .num_resources = ARRAY_SIZE(timberdale_eth_resources),
438 .num_resources = ARRAY_SIZE(timberdale_dma_resources),
445 .num_resources = ARRAY_SIZE(timberdale_uart_resources),
[all …]
Dmax8925-core.c33 .num_resources = ARRAY_SIZE(bk_resources),
51 .num_resources = 1,
69 .num_resources = 1,
87 .num_resources = 1,
110 .num_resources = 2,
212 .num_resources = ARRAY_SIZE(sd1_resources),
217 .num_resources = ARRAY_SIZE(sd2_resources),
222 .num_resources = ARRAY_SIZE(sd3_resources),
227 .num_resources = ARRAY_SIZE(ldo1_resources),
232 .num_resources = ARRAY_SIZE(ldo2_resources),
[all …]
D88pm860x-core.c169 .num_resources = ARRAY_SIZE(bk0_resources),
174 .num_resources = ARRAY_SIZE(bk1_resources),
179 .num_resources = ARRAY_SIZE(bk2_resources),
188 .num_resources = ARRAY_SIZE(led0_resources),
193 .num_resources = ARRAY_SIZE(led1_resources),
198 .num_resources = ARRAY_SIZE(led2_resources),
203 .num_resources = ARRAY_SIZE(led3_resources),
208 .num_resources = ARRAY_SIZE(led4_resources),
213 .num_resources = ARRAY_SIZE(led5_resources),
222 .num_resources = ARRAY_SIZE(buck1_resources),
[all …]
Dab8500-core.c1009 .num_resources = ARRAY_SIZE(ab8500_charger_resources),
1017 .num_resources = ARRAY_SIZE(ab8500_btemp_resources),
1025 .num_resources = ARRAY_SIZE(ab8500_fg_resources),
1033 .num_resources = ARRAY_SIZE(ab8500_chargalg_resources),
1045 .num_resources = ARRAY_SIZE(ab8500_debug_resources),
1064 .num_resources = ARRAY_SIZE(ab8500_gpadc_resources),
1070 .num_resources = ARRAY_SIZE(ab8500_rtc_resources),
1076 .num_resources = ARRAY_SIZE(ab8500_av_acc_detect_resources),
1083 .num_resources = ARRAY_SIZE(ab8500_poweronkey_db_resources),
1116 .num_resources = ARRAY_SIZE(ab8500_temp_resources),
[all …]
Dintel_msic.c128 .num_resources = ARRAY_SIZE(msic_touch_resources),
133 .num_resources = ARRAY_SIZE(msic_adc_resources),
138 .num_resources = ARRAY_SIZE(msic_battery_resources),
143 .num_resources = ARRAY_SIZE(msic_gpio_resources),
148 .num_resources = ARRAY_SIZE(msic_audio_resources),
153 .num_resources = ARRAY_SIZE(msic_hdmi_resources),
158 .num_resources = ARRAY_SIZE(msic_thermal_resources),
163 .num_resources = ARRAY_SIZE(msic_power_btn_resources),
168 .num_resources = ARRAY_SIZE(msic_ocd_resources),
Dcs5535-mfd.c80 .num_resources = 1,
86 .num_resources = 1,
92 .num_resources = 1,
98 .num_resources = 1,
107 .num_resources = 1,
Dda9055-core.c337 .num_resources = 1,
343 .num_resources = 1,
350 .num_resources = 1,
356 .num_resources = ARRAY_SIZE(da9055_rtc_resource),
362 .num_resources = 1,
Dlpc_sch.c60 .num_resources = 1,
66 .num_resources = 1,
72 .num_resources = 1,
Drdc321x-southbridge.c63 .num_resources = ARRAY_SIZE(rdc321x_wdt_resource),
69 .num_resources = ARRAY_SIZE(rdc321x_gpio_resources),
Dmfd-core.c93 res = kzalloc(sizeof(*res) * cell->num_resources, GFP_KERNEL); in mfd_add_device()
120 for (r = 0; r < cell->num_resources; r++) { in mfd_add_device()
157 ret = platform_device_add_resources(pdev, res, cell->num_resources); in mfd_add_device()
Dlpc_ich.c136 .num_resources = ARRAY_SIZE(wdt_ich_res),
142 .num_resources = ARRAY_SIZE(gpio_ich_res),
792 lpc_ich_cells[LPC_GPIO].num_resources--; in lpc_ich_init_gpio()
806 lpc_ich_cells[LPC_GPIO].num_resources--; in lpc_ich_init_gpio()
889 lpc_ich_cells[LPC_WDT].num_resources--; in lpc_ich_init_wdt()
Dretu-mfd.c65 .num_resources = ARRAY_SIZE(retu_pwrbutton_res),
101 .num_resources = ARRAY_SIZE(tahvo_usb_res),
Djz4740-adc.c188 .num_resources = ARRAY_SIZE(jz4740_hwmon_resources),
197 .num_resources = ARRAY_SIZE(jz4740_battery_resources),
Dvx855.c66 .num_resources = ARRAY_SIZE(vx855_gpio_resources),
Dtc3589x.c148 .num_resources = ARRAY_SIZE(gpio_resources),
157 .num_resources = ARRAY_SIZE(keypad_resources),
/drivers/pinctrl/sh-pfc/
Dcore.c32 if (pdev->num_resources == 0) in sh_pfc_ioremap()
35 pfc->window = devm_kzalloc(pfc->dev, pdev->num_resources * in sh_pfc_ioremap()
40 pfc->num_windows = pdev->num_resources; in sh_pfc_ioremap()
42 for (k = 0, res = pdev->resource; k < pdev->num_resources; k++, res++) { in sh_pfc_ioremap()
/drivers/ata/
Dpata_platform.c188 if ((pdev->num_resources != 3) && (pdev->num_resources != 2)) { in pata_platform_probe()
/drivers/leds/
Dleds-sunfire.c131 if (pdev->num_resources != 1) { in sunfire_led_generic_probe()
133 pdev->num_resources); in sunfire_led_generic_probe()
/drivers/dio/
Ddio.c193 dio_bus.num_resources = (hp300_model == HP_320 ? 1 : 2); in dio_init()
194 for (i = 0; i < dio_bus.num_resources; i++) in dio_init()
/drivers/bcma/
Ddriver_chipcommon_nflash.c15 .num_resources = 0,
/drivers/base/
Dplatform.c70 for (i = 0; i < dev->num_resources; i++) { in platform_get_resource()
112 for (i = 0; i < dev->num_resources; i++) { in platform_get_resource_byname()
241 pdev->num_resources = num; in platform_device_add_resources()
314 for (i = 0; i < pdev->num_resources; i++) { in platform_device_add()
381 for (i = 0; i < pdev->num_resources; i++) { in platform_device_del()
/drivers/mtd/maps/
Dphysmap.c125 for (i = 0; i < dev->num_resources; i++) { in physmap_flash_probe()
243 .num_resources = 1,
/drivers/usb/chipidea/
Dci13xxx_msm.c65 pdev->resource, pdev->num_resources, in ci13xxx_msm_probe()
/drivers/uio/
Duio_pdrv.c47 for (i = 0; i < pdev->num_resources; ++i) { in uio_pdrv_probe()

12345