/arch/arm/mach-pxa/ |
D | corgi_pm.c | 99 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 …]
|
D | spitz_pm.c | 171 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()
|
D | am300epd.c | 103 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()
|
D | mioa701.c | 308 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()
|
D | magician.c | 571 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()
|
D | am200epd.c | 315 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/ |
D | setup.c | 61 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/ |
D | board-omapl138-hawk.c | 127 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()
|
D | board-da830-evm.c | 61 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/ |
D | mach-imx27_visstrim_m10.c | 526 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/ |
D | gpio.h | 12 #define gpio_get_value __gpio_get_value macro
|
/arch/sh/include/asm/ |
D | gpio.h | 27 static inline int gpio_get_value(unsigned gpio) in gpio_get_value() function
|
/arch/avr32/mach-at32ap/include/mach/ |
D | gpio.h | 17 static inline int gpio_get_value(unsigned int gpio) in gpio_get_value() function
|
/arch/mips/include/asm/mach-au1x00/ |
D | gpio-au1300.h | 164 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/ |
D | reset.c | 40 reset_val = gpio_get_value(handle); in of_platform_reset_gpio_probe()
|
/arch/mips/include/asm/txx9/ |
D | jmr3927.h | 101 #define jmr3927_dipsw1() (gpio_get_value(11) == 0) 102 #define jmr3927_dipsw2() (gpio_get_value(10) == 0)
|
/arch/arm/mach-omap1/ |
D | board-palmz71.c | 182 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/ |
D | h3xxx.c | 131 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/ |
D | gpio.h | 67 static inline int gpio_get_value(unsigned gpio) in gpio_get_value() function
|
/arch/arm/mach-s3c24xx/ |
D | simtec-usb.c | 65 if (gpio_get_value(S3C2410_GPG(10)) == 0) { in usb_simtec_ocirq()
|
D | mach-h1940.c | 233 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/ |
D | net2big-setup.c | 161 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/ |
D | gpio.h | 30 static inline int gpio_get_value(unsigned gpio) in gpio_get_value() function
|
/arch/unicore32/kernel/ |
D | puv3-nb0916.c | 90 if (gpio_get_value(GPI_LCD_CASE_OFF)) in nb0916_lcdcaseoff_handler()
|
/arch/blackfin/include/asm/ |
D | gpio.h | 193 static inline int gpio_get_value(unsigned int gpio) in gpio_get_value() function
|