Home
last modified time | relevance | path

Searched refs:gpio_get_value (Results 1 – 25 of 69) sorted by relevance

123

/arch/arm/mach-pxa/
Dcorgi_pm.c99 PEDR, gpio_get_value(CORGI_GPIO_AC_IN), in corgi_should_wakeup()
100 gpio_get_value(CORGI_GPIO_CHRG_FULL), in corgi_should_wakeup()
101 gpio_get_value(CORGI_GPIO_KEY_INT), in corgi_should_wakeup()
102 gpio_get_value(CORGI_GPIO_WAKEUP)); in corgi_should_wakeup()
138 ret = (!gpio_get_value(CORGI_GPIO_AC_IN) << GPIO_bit(CORGI_GPIO_AC_IN)) in corgi_charger_wakeup()
139 | (!gpio_get_value(CORGI_GPIO_KEY_INT) in corgi_charger_wakeup()
141 | (!gpio_get_value(CORGI_GPIO_WAKEUP) in corgi_charger_wakeup()
150 return !gpio_get_value(CORGI_GPIO_AC_IN); in corgipm_read_devdata()
152 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in corgipm_read_devdata()
154 return gpio_get_value(sharpsl_pm.machinfo->gpio_batfull); in corgipm_read_devdata()
[all …]
Dspitz_pm.c171 ret = ((!gpio_get_value(SPITZ_GPIO_KEY_INT) in spitz_charger_wakeup()
173 | gpio_get_value(SPITZ_GPIO_SYNC)); in spitz_charger_wakeup()
181 return !gpio_get_value(SPITZ_GPIO_AC_IN); in spitzpm_read_devdata()
183 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); in spitzpm_read_devdata()
185 return gpio_get_value(sharpsl_pm.machinfo->gpio_batfull); in spitzpm_read_devdata()
187 return gpio_get_value(sharpsl_pm.machinfo->gpio_fatal); in spitzpm_read_devdata()
Dam300epd.c103 wait_event(par->waitq, gpio_get_value(RDY_GPIO_PIN)); in am300_wait_event()
196 res |= (gpio_get_value(DB0_GPIO_PIN + i)) ? (1 << i) : 0; in am300_get_hdb()
Dmioa701.c308 is_on = !!gpio_get_value(GPIO25_GSM_MOD_ON_STATE); in is_gsm_on()
377 return !gpio_get_value(GPIO13_nUSB_DETECT); in is_usb_connected()
465 is_bt_on = !!gpio_get_value(GPIO83_BT_ON); in mioa701_sys_suspend()
534 return gpio_get_value(GPIO96_AC_DETECT); in is_ac_connected()
Dmagician.c571 return gpio_get_value(EGPIO_MAGICIAN_CABLE_INSERTED) && in magician_is_ac_online()
572 gpio_get_value(EGPIO_MAGICIAN_CABLE_TYPE); /* AC=1 */ in magician_is_ac_online()
577 return gpio_get_value(EGPIO_MAGICIAN_CABLE_INSERTED) && in magician_is_usb_online()
578 (!gpio_get_value(EGPIO_MAGICIAN_CABLE_TYPE)); /* USB=0 */ in magician_is_usb_online()
Dam200epd.c315 return wait_event_timeout(par->waitq, gpio_get_value(RDY_GPIO_PIN), HZ); in am200_wait_event()
321 gpio_get_value(RDY_GPIO_PIN), HZ); in am200_wait_event_intr()
/arch/avr32/boards/merisc/
Dsetup.c61 return !gpio_get_value(GPIO_PIN_PB(26)); in ads7846_get_pendown_state_PB26()
66 return !gpio_get_value(GPIO_PIN_PB(28)); in ads7846_get_pendown_state_PB28()
234 merisc_board_id = !gpio_get_value(GPIO_PIN_PA(24)) + in detect_merisc_board_id()
235 !gpio_get_value(GPIO_PIN_PA(25)) * 2 + in detect_merisc_board_id()
236 !gpio_get_value(GPIO_PIN_PA(26)) * 4 + in detect_merisc_board_id()
237 !gpio_get_value(GPIO_PIN_PA(27)) * 8; in detect_merisc_board_id()
/arch/arm/mach-davinci/
Dboard-omapl138-hawk.c127 return gpio_get_value(DA850_HAWK_MMCSD_WP_PIN); in da850_hawk_mmc_get_ro()
132 return !gpio_get_value(DA850_HAWK_MMCSD_CD_PIN); in da850_hawk_mmc_get_cd()
199 return gpio_get_value(DA850_USB1_VBUS_PIN); in hawk_usb_get_power()
204 return !gpio_get_value(DA850_USB1_OC_PIN); in hawk_usb_get_oci()
Dboard-da830-evm.c61 return gpio_get_value(ON_BD_USB_DRV); in da830_evm_usb_get_power()
66 return !gpio_get_value(ON_BD_USB_OVC); in da830_evm_usb_get_oci()
230 return gpio_get_value(DA830_MMCSD_WP_PIN); in da830_evm_mmc_get_ro()
235 return !gpio_get_value(DA830_MMCSD_CD_PIN); in da830_evm_mmc_get_cd()
/arch/arm/mach-imx/
Dmach-imx27_visstrim_m10.c526 exp_version |= !gpio_get_value(EXPBOARD_BIT2) << 2; in visstrim_m10_revision()
527 exp_version |= !gpio_get_value(EXPBOARD_BIT1) << 1; in visstrim_m10_revision()
528 exp_version |= !gpio_get_value(EXPBOARD_BIT0); in visstrim_m10_revision()
531 mo_version |= !gpio_get_value(MOTHERBOARD_BIT2) << 2; in visstrim_m10_revision()
532 mo_version |= !gpio_get_value(MOTHERBOARD_BIT1) << 1; in visstrim_m10_revision()
533 mo_version |= !gpio_get_value(MOTHERBOARD_BIT0); in visstrim_m10_revision()
/arch/arm/include/asm/
Dgpio.h12 #define gpio_get_value __gpio_get_value macro
/arch/sh/include/asm/
Dgpio.h27 static inline int gpio_get_value(unsigned gpio) in gpio_get_value() function
/arch/avr32/mach-at32ap/include/mach/
Dgpio.h17 static inline int gpio_get_value(unsigned int gpio) in gpio_get_value() function
/arch/mips/include/asm/mach-au1x00/
Dgpio-au1300.h164 static inline int gpio_get_value(unsigned int gpio) in gpio_get_value() function
176 return gpio_get_value(gpio); in gpio_get_value_cansleep()
/arch/microblaze/kernel/
Dreset.c40 reset_val = gpio_get_value(handle); in of_platform_reset_gpio_probe()
/arch/mips/include/asm/txx9/
Djmr3927.h101 #define jmr3927_dipsw1() (gpio_get_value(11) == 0)
102 #define jmr3927_dipsw2() (gpio_get_value(10) == 0)
/arch/arm/mach-omap1/
Dboard-palmz71.c182 return !gpio_get_value(PALMZ71_PENIRQ_GPIO); in palmz71_get_pendown_state()
216 if (gpio_get_value(PALMZ71_USBDETECT_GPIO)) { in palmz71_powercable()
/arch/arm/mach-sa1100/
Dh3xxx.c131 if (gpio_get_value(H3XXX_GPIO_COM_DCD)) in h3xxx_uart_get_mctrl()
133 if (gpio_get_value(H3XXX_GPIO_COM_CTS)) in h3xxx_uart_get_mctrl()
/arch/unicore32/include/asm/
Dgpio.h67 static inline int gpio_get_value(unsigned gpio) in gpio_get_value() function
/arch/arm/mach-s3c24xx/
Dsimtec-usb.c65 if (gpio_get_value(S3C2410_GPG(10)) == 0) { in usb_simtec_ocirq()
Dmach-h1940.c233 return !gpio_get_value(S3C2410_GPF(2)); in h1940_is_ac_online()
395 if (!gpio_get_value(check_gpio1) && in h1940_led_blink_set()
396 !gpio_get_value(check_gpio2)) in h1940_led_blink_set()
538 value = gpio_get_value(S3C2410_GPC(6)); in h1940_lcd_power_set()
/arch/arm/mach-orion5x/
Dnet2big-setup.c161 if (gpio_get_value(NET2BIG_GPIO_SATA0_POWER) && in net2big_sata_power_init()
162 gpio_get_value(NET2BIG_GPIO_SATA1_POWER)) { in net2big_sata_power_init()
/arch/m68k/include/asm/
Dgpio.h30 static inline int gpio_get_value(unsigned gpio) in gpio_get_value() function
/arch/unicore32/kernel/
Dpuv3-nb0916.c90 if (gpio_get_value(GPI_LCD_CASE_OFF)) in nb0916_lcdcaseoff_handler()
/arch/blackfin/include/asm/
Dgpio.h193 static inline int gpio_get_value(unsigned int gpio) in gpio_get_value() function

123