Home
last modified time | relevance | path

Searched refs:gpio_is_valid (Results 1 – 21 of 21) sorted by relevance

/arch/microblaze/kernel/
Dreset.c28 if (!gpio_is_valid(handle)) { in of_platform_reset_gpio_probe()
64 if (gpio_is_valid(handle)) in gpio_system_reset()
/arch/arm/mach-pxa/
Dpalm27x.c147 if (gpio_is_valid(power)) { in palm27x_lcd_init()
287 if (gpio_is_valid(palm_lcd_power)) { in palm27x_backlight_init()
308 if (gpio_is_valid(palm_lcd_power)) in palm27x_backlight_notify()
316 if (gpio_is_valid(palm_lcd_power)) in palm27x_backlight_exit()
365 if (gpio_is_valid(palm_usb_state)) { in palm27x_power_supply_init()
/arch/arm/mach-at91/
Dat91sam9263_devices.c76 if (gpio_is_valid(data->vbus_pin[i])) in at91_add_device_usbh()
83 if (gpio_is_valid(data->overcurrent_pin[i])) in at91_add_device_usbh()
130 if (gpio_is_valid(data->vbus_pin)) { in at91_add_device_udc()
183 if (gpio_is_valid(data->phy_irq_pin)) { in at91_add_device_eth()
291 if (gpio_is_valid(data->slot[i].detect_pin)) { in at91_add_device_mci()
297 if (gpio_is_valid(data->slot[i].wp_pin)) in at91_add_device_mci()
462 if (gpio_is_valid(data->det_pin)) { in at91_add_device_cf()
467 if (gpio_is_valid(data->irq_pin)) { in at91_add_device_cf()
472 if (gpio_is_valid(data->vcc_pin)) in at91_add_device_cf()
532 if (gpio_is_valid(data->enable_pin)) in at91_add_device_nand()
[all …]
Dat91rm9200_devices.c74 if (gpio_is_valid(data->overcurrent_pin[i])) in at91_add_device_usbh()
121 if (gpio_is_valid(data->vbus_pin)) { in at91_add_device_udc()
125 if (gpio_is_valid(data->pullup_pin)) in at91_add_device_udc()
174 if (gpio_is_valid(data->phy_irq_pin)) { in at91_add_device_eth()
267 if (gpio_is_valid(data->irq_pin)) { in at91_add_device_cf()
275 if (gpio_is_valid(data->vcc_pin)) in at91_add_device_cf()
343 if (gpio_is_valid(data->slot[i].detect_pin)) { in at91_add_device_mci()
347 if (gpio_is_valid(data->slot[i].wp_pin)) in at91_add_device_mci()
442 if (gpio_is_valid(data->enable_pin)) in at91_add_device_nand()
446 if (gpio_is_valid(data->rdy_pin)) in at91_add_device_nand()
[all …]
Dat91sam9260_devices.c75 if (gpio_is_valid(data->overcurrent_pin[i])) in at91_add_device_usbh()
122 if (gpio_is_valid(data->vbus_pin)) { in at91_add_device_udc()
175 if (gpio_is_valid(data->phy_irq_pin)) { in at91_add_device_eth()
255 if (gpio_is_valid(data->slot[i].detect_pin)) { in at91_add_device_mci()
259 if (gpio_is_valid(data->slot[i].wp_pin)) in at91_add_device_mci()
351 if (gpio_is_valid(data->enable_pin)) in at91_add_device_nand()
355 if (gpio_is_valid(data->rdy_pin)) in at91_add_device_nand()
359 if (gpio_is_valid(data->det_pin)) in at91_add_device_nand()
528 if (!gpio_is_valid(cs_pin)) in at91_add_device_spi()
1238 if (gpio_is_valid(data->rst_pin)) { in at91_add_device_cf()
[all …]
Dat91sam9261_devices.c76 if (gpio_is_valid(data->overcurrent_pin[i])) in at91_add_device_usbh()
123 if (gpio_is_valid(data->vbus_pin)) { in at91_add_device_udc()
177 if (gpio_is_valid(data->slot[0].detect_pin)) { in at91_add_device_mci()
181 if (gpio_is_valid(data->slot[0].wp_pin)) in at91_add_device_mci()
245 if (gpio_is_valid(data->enable_pin)) in at91_add_device_nand()
249 if (gpio_is_valid(data->rdy_pin)) in at91_add_device_nand()
253 if (gpio_is_valid(data->det_pin)) in at91_add_device_nand()
425 if (!gpio_is_valid(cs_pin)) in at91_add_device_spi()
Dat91sam9g45_devices.c126 if (gpio_is_valid(data->vbus_pin[i])) in at91_add_device_usbh_ohci()
133 if (gpio_is_valid(data->overcurrent_pin[i])) in at91_add_device_usbh_ohci()
188 if (gpio_is_valid(data->vbus_pin[i])) in at91_add_device_usbh_ehci()
271 if (data && gpio_is_valid(data->vbus_pin)) { in at91_add_device_usba()
324 if (gpio_is_valid(data->phy_irq_pin)) { in at91_add_device_eth()
455 if (gpio_is_valid(data->slot[0].detect_pin)) { in at91_add_device_mci()
459 if (gpio_is_valid(data->slot[0].wp_pin)) in at91_add_device_mci()
562 if (gpio_is_valid(data->enable_pin)) in at91_add_device_nand()
566 if (gpio_is_valid(data->rdy_pin)) in at91_add_device_nand()
570 if (gpio_is_valid(data->det_pin)) in at91_add_device_nand()
[all …]
Dat91sam9rl_devices.c148 if (data && gpio_is_valid(data->vbus_pin)) { in at91_add_device_usba()
203 if (gpio_is_valid(data->slot[0].detect_pin)) { in at91_add_device_mci()
207 if (gpio_is_valid(data->slot[0].wp_pin)) in at91_add_device_mci()
276 if (gpio_is_valid(data->enable_pin)) in at91_add_device_nand()
280 if (gpio_is_valid(data->rdy_pin)) in at91_add_device_nand()
284 if (gpio_is_valid(data->det_pin)) in at91_add_device_nand()
425 if (!gpio_is_valid(cs_pin)) in at91_add_device_spi()
487 if (gpio_is_valid(data->reset_pin)) in at91_add_device_ac97()
/arch/powerpc/platforms/85xx/
Dsgy_cts1000.c51 if (!gpio_is_valid(gpio)) in gpio_halt_cb()
94 if (!gpio_is_valid(gpio)) in gpio_halt_probe()
/arch/arm/mach-omap2/
Dusb-host.c449 if (!gpio_is_valid(phy->reset_gpio) && in usbhs_init_phys()
450 !gpio_is_valid(phy->vcc_gpio)) in usbhs_init_phys()
461 if (gpio_is_valid(phy->vcc_gpio)) in usbhs_init_phys()
486 if (gpio_is_valid(phy->vcc_gpio)) { in usbhs_init_phys()
Dgpmc-smsc911x.c67 if (gpio_is_valid(gpmc_cfg->gpio_reset)) { in gpmc_smsc911x_init()
Dboard-omap3beagle.c545 if (gpio_is_valid(beagle_config.mmc1_gpio_wp)) in omap3_beagle_init()
556 if (gpio_is_valid(beagle_config.dvi_pd_gpio)) in omap3_beagle_init()
Dhsmmc.c167 if (gpio_is_valid(mmc_controller->slots[0].switch_pin) && in omap_hsmmc_mux()
171 if (gpio_is_valid(mmc_controller->slots[0].gpio_wp) && in omap_hsmmc_mux()
/arch/arm/mach-davinci/
Dboard-dm355-leopard.c184 if (!gpio_is_valid(leopard_mmc_gpio)) in dm355leopard_mmc_get_cd()
192 if (!gpio_is_valid(leopard_mmc_gpio)) in dm355leopard_mmc_get_ro()
Dboard-dm355-evm.c326 if (!gpio_is_valid(dm355evm_mmc_gpios)) in dm355evm_mmc_get_cd()
334 if (!gpio_is_valid(dm355evm_mmc_gpios)) in dm355evm_mmc_get_ro()
/arch/mips/pci/
Dpci-lantiq.c132 if (gpio_is_valid(reset_gpio)) { in ltq_pci_startup()
203 if (gpio_is_valid(reset_gpio)) { in ltq_pci_startup()
/arch/mips/include/asm/mach-au1x00/
Dgpio-au1300.h184 static inline int gpio_is_valid(unsigned int gpio) in gpio_is_valid() function
Dgpio-au1000.h583 static inline int gpio_is_valid(int gpio) in gpio_is_valid() function
/arch/arm/mach-imx/
Dmach-mx35_3ds.c107 if (!gpio_is_valid(lcd_power_gpio)) { in mx35_3ds_lcd_set_power()
122 if (gpio_is_valid(lcd_power_gpio)) in mx35_3ds_lcd_set_power()
/arch/avr32/mach-at32ap/
Dat32ap700x.c1383 if (gpio_is_valid(data->slot[0].detect_pin)) in at32_add_device_mci()
1385 if (gpio_is_valid(data->slot[0].wp_pin)) in at32_add_device_mci()
1409 if (gpio_is_valid(data->slot[1].detect_pin)) in at32_add_device_mci()
1411 if (gpio_is_valid(data->slot[1].wp_pin)) in at32_add_device_mci()
1793 if (gpio_is_valid(data->vbus_pin)) in at32_add_device_usba()
1935 if (gpio_is_valid(data->detect_pin)) in at32_add_device_cf()
1937 if (gpio_is_valid(data->reset_pin)) in at32_add_device_cf()
1939 if (gpio_is_valid(data->vcc_pin)) in at32_add_device_cf()
2077 if (gpio_is_valid(data->reset_pin)) in at32_add_device_ac97c()
/arch/arm/mach-s3c24xx/
Dmach-h1940.c397 if (gpio_is_valid(gpio)) in h1940_led_blink_set()
401 if (gpio_is_valid(gpio)) in h1940_led_blink_set()