/linux-4.1.27/arch/mips/include/asm/mach-bcm63xx/ |
H A D | gpio.h | 8 #define gpio_get_value __gpio_get_value macro
|
/linux-4.1.27/arch/mips/include/asm/mach-lantiq/ |
H A D | gpio.h | 6 #define gpio_get_value __gpio_get_value macro
|
/linux-4.1.27/arch/mips/include/asm/mach-cavium-octeon/ |
H A D | gpio.h | 5 #define gpio_get_value __gpio_get_value macro 13 int gpio_get_value(unsigned gpio);
|
/linux-4.1.27/arch/mips/include/asm/mach-generic/ |
H A D | gpio.h | 5 #define gpio_get_value __gpio_get_value macro 13 int gpio_get_value(unsigned gpio);
|
/linux-4.1.27/arch/mips/include/asm/mach-ath25/ |
H A D | gpio.h | 6 #define gpio_get_value __gpio_get_value macro
|
/linux-4.1.27/arch/mips/include/asm/mach-bcm47xx/ |
H A D | gpio.h | 6 #define gpio_get_value __gpio_get_value macro
|
/linux-4.1.27/arch/arm/mach-pxa/ |
H A D | corgi_pm.c | 99 PEDR, gpio_get_value(CORGI_GPIO_AC_IN), corgi_should_wakeup() 100 gpio_get_value(CORGI_GPIO_CHRG_FULL), corgi_should_wakeup() 101 gpio_get_value(CORGI_GPIO_KEY_INT), corgi_should_wakeup() 102 gpio_get_value(CORGI_GPIO_WAKEUP)); corgi_should_wakeup() 138 ret = (!gpio_get_value(CORGI_GPIO_AC_IN) << GPIO_bit(CORGI_GPIO_AC_IN)) corgi_charger_wakeup() 139 | (!gpio_get_value(CORGI_GPIO_KEY_INT) corgi_charger_wakeup() 141 | (!gpio_get_value(CORGI_GPIO_WAKEUP) corgi_charger_wakeup() 150 return !gpio_get_value(CORGI_GPIO_AC_IN); corgipm_read_devdata() 152 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); corgipm_read_devdata() 154 return gpio_get_value(sharpsl_pm.machinfo->gpio_batfull); corgipm_read_devdata() 156 return gpio_get_value(sharpsl_pm.machinfo->gpio_fatal); corgipm_read_devdata()
|
H A D | spitz_pm.c | 171 ret = ((!gpio_get_value(SPITZ_GPIO_KEY_INT) spitz_charger_wakeup() 173 | gpio_get_value(SPITZ_GPIO_SYNC)); spitz_charger_wakeup() 181 return !gpio_get_value(SPITZ_GPIO_AC_IN); spitzpm_read_devdata() 183 return gpio_get_value(sharpsl_pm.machinfo->gpio_batlock); spitzpm_read_devdata() 185 return gpio_get_value(sharpsl_pm.machinfo->gpio_batfull); spitzpm_read_devdata() 187 return gpio_get_value(sharpsl_pm.machinfo->gpio_fatal); spitzpm_read_devdata()
|
H A D | am300epd.c | 103 wait_event(par->waitq, gpio_get_value(RDY_GPIO_PIN)); am300_wait_event() 196 res |= (gpio_get_value(DB0_GPIO_PIN + i)) ? (1 << i) : 0; am300_get_hdb()
|
H A D | mioa701.c | 304 is_on = !!gpio_get_value(GPIO25_GSM_MOD_ON_STATE); is_gsm_on() 373 return !gpio_get_value(GPIO13_nUSB_DETECT); is_usb_connected() 461 is_bt_on = !!gpio_get_value(GPIO83_BT_ON); mioa701_sys_suspend() 530 return gpio_get_value(GPIO96_AC_DETECT); is_ac_connected()
|
H A D | zylonite_pxa320.c | 182 if (gpio_get_value(gpio)) zylonite_detect_lcd_panel()
|
H A D | am200epd.c | 315 return wait_event_timeout(par->waitq, gpio_get_value(RDY_GPIO_PIN), HZ); am200_wait_event() 321 gpio_get_value(RDY_GPIO_PIN), HZ); am200_wait_event_intr()
|
H A D | palm27x.c | 391 return gpio_get_value(palm_ac_state); palm27x_is_ac_online() 396 return !gpio_get_value(palm_usb_state); palm27x_is_usb_online()
|
H A D | palmte2.c | 231 return gpio_get_value(GPIO_NR_PALMTE2_POWER_DETECT); palmte2_is_ac_online()
|
H A D | zylonite_pxa300.c | 203 if (gpio_get_value(gpio)) zylonite_detect_lcd_panel()
|
H A D | corgi.c | 525 while (gpio_get_value(CORGI_GPIO_HSYNC)) corgi_wait_for_hsync() 528 while (!gpio_get_value(CORGI_GPIO_HSYNC)) corgi_wait_for_hsync()
|
H A D | em-x270.c | 325 return gpio_get_value(nand_rb); em_x270_nand_device_ready() 630 return gpio_get_value(GPIO95_MMC_WP); em_x270_mci_get_ro()
|
H A D | raumfeld.c | 746 return !gpio_get_value(GPIO_CHARGE_DC_OK); raumfeld_is_ac_online() 770 if (!gpio_get_value(GPIO_CHARGE_DONE)) raumfeld_power_resume()
|
H A D | spitz.c | 499 while (gpio_get_value(SPITZ_GPIO_HSYNC)) spitz_ads7846_wait_for_hsync() 502 while (!gpio_get_value(SPITZ_GPIO_HSYNC)) spitz_ads7846_wait_for_hsync()
|
H A D | magician.c | 531 return gpio_get_value(EGPIO_MAGICIAN_CABLE_STATE_AC); magician_is_ac_online()
|
H A D | hx4700.c | 648 return !gpio_get_value(GPIOD9_nAC_IN); hx4700_is_ac_online()
|
H A D | zeus.c | 736 pcb_info |= !!gpio_get_value(pcb_bit) << i; zeus_get_pcb_info()
|
/linux-4.1.27/arch/mips/include/asm/mach-pistachio/ |
H A D | gpio.h | 16 #define gpio_get_value __gpio_get_value macro
|
/linux-4.1.27/drivers/input/mouse/ |
H A D | gpio_mouse.c | 30 gpio_get_value(gpio->bleft) ^ gpio->polarity); gpio_mouse_scan() 33 gpio_get_value(gpio->bmiddle) ^ gpio->polarity); gpio_mouse_scan() 36 gpio_get_value(gpio->bright) ^ gpio->polarity); gpio_mouse_scan() 38 x = (gpio_get_value(gpio->right) ^ gpio->polarity) gpio_mouse_scan() 39 - (gpio_get_value(gpio->left) ^ gpio->polarity); gpio_mouse_scan() 40 y = (gpio_get_value(gpio->down) ^ gpio->polarity) gpio_mouse_scan() 41 - (gpio_get_value(gpio->up) ^ gpio->polarity); gpio_mouse_scan()
|
/linux-4.1.27/arch/mips/include/asm/mach-ath79/ |
H A D | gpio.h | 21 int gpio_get_value(unsigned gpio);
|
/linux-4.1.27/include/linux/platform_data/ |
H A D | mmc-s3cmci.h | 17 * and the default sense is that 0 returned from gpio_get_value() means 19 * gpio_get_value() is inverted, which makes 1 mean card inserted. 22 * protected if @no_wprotect is not set. A 0 returned from gpio_get_value() 24 * will invert the value returned from gpio_get_value().
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | gpio.h | 12 #define gpio_get_value __gpio_get_value macro
|
/linux-4.1.27/arch/avr32/boards/merisc/ |
H A D | setup.c | 61 return !gpio_get_value(GPIO_PIN_PB(26)); ads7846_get_pendown_state_PB26() 66 return !gpio_get_value(GPIO_PIN_PB(28)); ads7846_get_pendown_state_PB28() 234 merisc_board_id = !gpio_get_value(GPIO_PIN_PA(24)) + detect_merisc_board_id() 235 !gpio_get_value(GPIO_PIN_PA(25)) * 2 + detect_merisc_board_id() 236 !gpio_get_value(GPIO_PIN_PA(26)) * 4 + detect_merisc_board_id() 237 !gpio_get_value(GPIO_PIN_PA(27)) * 8; detect_merisc_board_id()
|
/linux-4.1.27/drivers/pcmcia/ |
H A D | pxa2xx_colibri.c | 83 state->detect = !!gpio_get_value(colibri_pcmcia_gpios[DETECT].gpio); colibri_pcmcia_socket_state() 84 state->ready = !!gpio_get_value(colibri_pcmcia_gpios[READY].gpio); colibri_pcmcia_socket_state() 85 state->bvd1 = !!gpio_get_value(colibri_pcmcia_gpios[BVD1].gpio); colibri_pcmcia_socket_state() 86 state->bvd2 = !!gpio_get_value(colibri_pcmcia_gpios[BVD2].gpio); colibri_pcmcia_socket_state()
|
H A D | xxs1500_ss.c | 122 if (!gpio_get_value(GPIO_CDA) && !gpio_get_value(GPIO_CDB)) xxs1500_pcmcia_get_status() 126 i = (!!gpio_get_value(GPIO_VSL)) | ((!!gpio_get_value(GPIO_VSH)) << 1); xxs1500_pcmcia_get_status() 140 status |= gpio_get_value(GPIO_POWER) ? 0 : SS_POWERON; xxs1500_pcmcia_get_status() 143 status |= gpio_get_value(GPIO_RESET) ? SS_RESET : SS_READY; xxs1500_pcmcia_get_status() 146 status |= gpio_get_value(GPIO_BATTDEAD) ? 0 : SS_BATDEAD; xxs1500_pcmcia_get_status() 147 status |= gpio_get_value(GPIO_BATTWARN) ? 0 : SS_BATWARN; xxs1500_pcmcia_get_status()
|
H A D | at91_cf.c | 58 return !gpio_get_value(cf->board->det_pin); at91_cf_present() 102 if (!rdy || gpio_get_value(cf->board->irq_pin)) at91_cf_get_status() 104 if (!vcc || gpio_get_value(cf->board->vcc_pin)) at91_cf_get_status()
|
H A D | pxa2xx_palmtc.c | 80 while (!gpio_get_value(GPIO_NR_PALMTC_PCMCIA_PWRREADY) && palmtc_wifi_powerup()
|
H A D | soc_common.c | 213 state.detect = !gpio_get_value(skt->stat[SOC_STAT_CD].gpio); soc_common_pcmcia_skt_state() 217 state.ready = !!gpio_get_value(skt->stat[SOC_STAT_RDY].gpio); soc_common_pcmcia_skt_state() 219 state.bvd1 = !!gpio_get_value(skt->stat[SOC_STAT_BVD1].gpio); soc_common_pcmcia_skt_state() 221 state.bvd2 = !!gpio_get_value(skt->stat[SOC_STAT_BVD2].gpio); soc_common_pcmcia_skt_state()
|
H A D | bfin_cf_pcmcia.c | 53 #define bfin_cf_present(pfx) (gpio_get_value(pfx))
|
H A D | bcm63xx_pcmcia.c | 240 if (gpio_get_value(skt->pd->ready_gpio)) __get_socket_status()
|
H A D | db1xxx_ss.c | 86 return !gpio_get_value(irq_to_gpio(sock->insert_irq)); db1000_card_inserted()
|
/linux-4.1.27/arch/avr32/mach-at32ap/include/mach/ |
H A D | gpio.h | 17 static inline int gpio_get_value(unsigned int gpio) gpio_get_value() function
|
/linux-4.1.27/arch/mips/include/asm/mach-ar7/ |
H A D | gpio.h | 30 #define gpio_get_value __gpio_get_value macro
|
/linux-4.1.27/arch/mips/include/asm/mach-loongson/ |
H A D | gpio.h | 19 #define gpio_get_value __gpio_get_value macro
|
/linux-4.1.27/drivers/watchdog/ |
H A D | mena21_wdt.c | 49 reset |= gpio_get_value(drv->gpios[GPIO_WD_RST0]) ? (1 << 0) : 0; a21_wdt_get_bootstatus() 50 reset |= gpio_get_value(drv->gpios[GPIO_WD_RST1]) ? (1 << 1) : 0; a21_wdt_get_bootstatus() 51 reset |= gpio_get_value(drv->gpios[GPIO_WD_RST2]) ? (1 << 2) : 0; a21_wdt_get_bootstatus() 189 gpio_get_value(drv->gpios[i])); a21_wdt_probe()
|
/linux-4.1.27/arch/sh/include/asm/ |
H A D | gpio.h | 27 static inline int gpio_get_value(unsigned gpio) gpio_get_value() function
|
/linux-4.1.27/drivers/power/ |
H A D | max8903_charger.c | 57 if (gpio_get_value(data->pdata.chg) == 0) max8903_get_property() 88 ta_in = gpio_get_value(pdata->dok) ? false : true; max8903_dcin() 129 usb_in = gpio_get_value(pdata->uok) ? false : true; max8903_usbin() 167 fault = gpio_get_value(pdata->flt) ? false : true; max8903_fault() 212 ta_in = gpio_get_value(gpio) ? 0 : 1; max8903_probe() 237 usb_in = gpio_get_value(gpio) ? 0 : 1; max8903_probe()
|
H A D | s3c_adc_battery.c | 136 !gpio_get_value(bat->pdata->gpio_charge_finished) : charge_finished() 137 gpio_get_value(bat->pdata->gpio_charge_finished); charge_finished()
|
H A D | tosa_battery.c | 143 return gpio_get_value(TOSA_GPIO_JACKET_DETECT) == 0; tosa_jacket_bat_is_present() 177 if (gpio_get_value(bat->gpio_full)) { tosa_bat_update()
|
H A D | collie_battery.c | 174 if (gpio_get_value(bat->gpio_full)) { collie_bat_update()
|
H A D | jz4740-battery.c | 197 is_charging = gpio_get_value(jz_battery->pdata->gpio_charge); jz_battery_update()
|
H A D | wm97xx_battery.c | 114 (gpio_get_value(pdata->charge_gpio) ? wm97xx_bat_update()
|
H A D | z2_battery.c | 103 (gpio_get_value(info->charge_gpio) ? z2_batt_update()
|
H A D | generic-adc-battery.c | 95 bool ret = gpio_get_value(pdata->gpio_charge_finished); gab_charge_finished()
|
H A D | pm2301_charger.c | 500 } while (gpio_get_value(pm2->pdata->gpio_irq_number) == 0); pm2xxx_irq_int() 972 if (gpio_is_valid(pm2->lpn_pin) && gpio_get_value(pm2->lpn_pin) == 0) pm2xxx_runtime_resume()
|
H A D | sbs-battery.c | 305 ret = gpio_get_value(chip->pdata->battery_detect); sbs_get_battery_presence_and_health()
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | mach-imx27_visstrim_m10.c | 526 exp_version |= !gpio_get_value(EXPBOARD_BIT2) << 2; visstrim_m10_revision() 527 exp_version |= !gpio_get_value(EXPBOARD_BIT1) << 1; visstrim_m10_revision() 528 exp_version |= !gpio_get_value(EXPBOARD_BIT0); visstrim_m10_revision() 531 mo_version |= !gpio_get_value(MOTHERBOARD_BIT2) << 2; visstrim_m10_revision() 532 mo_version |= !gpio_get_value(MOTHERBOARD_BIT1) << 1; visstrim_m10_revision() 533 mo_version |= !gpio_get_value(MOTHERBOARD_BIT0); visstrim_m10_revision()
|
H A D | mach-cpuimx35.c | 59 return !gpio_get_value(TSC2007_IRQGPIO); tsc2007_get_pendown_state()
|
H A D | mx31lilly-db.c | 98 return gpio_get_value(IOMUX_TO_GPIO(MX31_PIN_LCS0)); mxc_mmc1_get_ro()
|
H A D | mx31lite-db.c | 84 return gpio_get_value(IOMUX_TO_GPIO(MX31_PIN_GPIO1_6)); mxc_mmc1_get_ro()
|
H A D | mach-qong.c | 150 return gpio_get_value(IOMUX_TO_GPIO(MX31_PIN_NFRB)); qong_nand_device_ready()
|
H A D | mx31moboard-devboard.c | 61 return !gpio_get_value(SDHC2_WP); devboard_sdhc2_get_ro()
|
H A D | mach-mx21ads.c | 254 return gpio_get_value(MX21ADS_IO_SD_WP); mx21ads_sdhc_get_ro()
|
H A D | mx31moboard-marxbot.c | 73 return !gpio_get_value(SDHC2_WP); marxbot_sdhc2_get_ro()
|
H A D | mach-armadillo5x0.c | 382 return gpio_get_value(IOMUX_TO_GPIO(MX31_PIN_ATA_RESET_B)); armadillo5x0_sdhc1_get_ro()
|
H A D | mach-mx31moboard.c | 319 return !gpio_get_value(SDHC1_WP); moboard_sdhc1_get_ro()
|
H A D | mach-pcm037.c | 349 return gpio_get_value(IOMUX_TO_GPIO(MX31_PIN_SFS6)); pcm970_sdhc1_get_ro()
|
/linux-4.1.27/drivers/staging/olpc_dcon/ |
H A D | olpc_dcon_xo_1_5.c | 148 *status = gpio_get_value(VX855_GPI(10)); dcon_read_status_xo_1_5() 149 *status |= gpio_get_value(VX855_GPI(11)) << 1; dcon_read_status_xo_1_5()
|
H A D | olpc_dcon_xo_1.c | 191 *status = gpio_get_value(OLPC_GPIO_DCON_STAT0); dcon_read_status_xo_1() 192 *status |= gpio_get_value(OLPC_GPIO_DCON_STAT1) << 1; dcon_read_status_xo_1()
|
/linux-4.1.27/drivers/leds/ |
H A D | leds-ns2.c | 88 cmd_level = gpio_get_value(led_dat->cmd); ns2_led_get_mode() 89 slow_level = gpio_get_value(led_dat->slow); ns2_led_get_mode() 202 gpio_get_value(template->cmd) ? create_ns2_led() 212 gpio_get_value(template->slow) ? create_ns2_led()
|
/linux-4.1.27/arch/unicore32/include/asm/ |
H A D | gpio.h | 67 static inline int gpio_get_value(unsigned gpio) gpio_get_value() function
|
/linux-4.1.27/arch/microblaze/kernel/ |
H A D | reset.c | 40 reset_val = gpio_get_value(handle); of_platform_reset_gpio_probe()
|
/linux-4.1.27/arch/mips/include/asm/mach-rc32434/ |
H A D | gpio.h | 21 #define gpio_get_value __gpio_get_value macro
|
/linux-4.1.27/arch/arm/mach-davinci/ |
H A D | board-omapl138-hawk.c | 127 return gpio_get_value(DA850_HAWK_MMCSD_WP_PIN); da850_hawk_mmc_get_ro() 132 return !gpio_get_value(DA850_HAWK_MMCSD_CD_PIN); da850_hawk_mmc_get_cd() 199 return gpio_get_value(DA850_USB1_VBUS_PIN); hawk_usb_get_power() 204 return !gpio_get_value(DA850_USB1_OC_PIN); hawk_usb_get_oci()
|
H A D | board-da830-evm.c | 61 return gpio_get_value(ON_BD_USB_DRV); da830_evm_usb_get_power() 66 return !gpio_get_value(ON_BD_USB_OVC); da830_evm_usb_get_oci() 230 return gpio_get_value(DA830_MMCSD_WP_PIN); da830_evm_mmc_get_ro() 235 return !gpio_get_value(DA830_MMCSD_CD_PIN); da830_evm_mmc_get_cd()
|
H A D | board-da850-evm.c | 781 return gpio_get_value(DA850_MMCSD_WP_PIN); da850_evm_mmc_get_ro() 786 return !gpio_get_value(DA850_MMCSD_CD_PIN); da850_evm_mmc_get_cd()
|
/linux-4.1.27/include/linux/ |
H A D | i2c-gpio.h | 22 * gpio_get_value() must return the actual pin state even if the
|
H A D | gpio.h | 53 static inline int gpio_get_value(unsigned int gpio) gpio_get_value() function 151 static inline int gpio_get_value(unsigned gpio) gpio_get_value() function
|
/linux-4.1.27/drivers/rtc/ |
H A D | rtc-ds2404.c | 138 if (gpio_get_value(ds2404_gpio[DS2404_DQ].gpio)) ds2404_read_byte() 192 while (gpio_get_value(ds2404_gpio[DS2404_DQ].gpio)) ds2404_write_memory()
|
H A D | rtc-moxart.c | 92 if (gpio_get_value(moxart_rtc->gpio_data)) moxart_rtc_read_byte()
|
H A D | rtc-v3020.c | 172 bit = !!gpio_get_value(chip->gpio[V3020_IO].gpio); v3020_gpio_read_bit()
|
/linux-4.1.27/arch/mips/ath79/ |
H A D | gpio.c | 214 int gpio_get_value(unsigned gpio) gpio_get_value() function 221 EXPORT_SYMBOL(gpio_get_value); variable
|
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/ |
H A D | gpio-au1300.h | 164 static inline int gpio_get_value(unsigned int gpio) gpio_get_value() function 176 return gpio_get_value(gpio); gpio_get_value_cansleep()
|
H A D | gpio.h | 74 #define gpio_get_value __gpio_get_value macro
|
H A D | gpio-au1000.h | 563 static inline int gpio_get_value(int gpio) gpio_get_value() function 575 return gpio_get_value(gpio); gpio_get_value_cansleep()
|
/linux-4.1.27/arch/mips/include/asm/txx9/ |
H A D | jmr3927.h | 101 #define jmr3927_dipsw1() (gpio_get_value(11) == 0) 102 #define jmr3927_dipsw2() (gpio_get_value(10) == 0)
|
/linux-4.1.27/arch/arm/mach-sa1100/ |
H A D | h3xxx.c | 131 if (gpio_get_value(H3XXX_GPIO_COM_DCD)) h3xxx_uart_get_mctrl() 133 if (gpio_get_value(H3XXX_GPIO_COM_CTS)) h3xxx_uart_get_mctrl()
|
/linux-4.1.27/arch/arm/mach-omap1/ |
H A D | board-palmz71.c | 182 return !gpio_get_value(PALMZ71_PENIRQ_GPIO); palmz71_get_pendown_state() 216 if (gpio_get_value(PALMZ71_USBDETECT_GPIO)) { palmz71_powercable()
|
H A D | board-nokia770.c | 176 return gpio_get_value(NOKIA770_GPIO_MMC_SWITCH); nokia770_mmc_get_cover_state()
|
H A D | board-palmtt.c | 215 return !gpio_get_value(6); palmtt_get_pendown_state()
|
H A D | board-perseus2.c | 149 return gpio_get_value(P2_NAND_RB_GPIO_PIN); nand_dev_ready()
|
H A D | board-fsample.c | 191 return gpio_get_value(FSAMPLE_NAND_RB_GPIO_PIN); nand_dev_ready()
|
H A D | board-h2.c | 187 return gpio_get_value(H2_NAND_RB_GPIO_PIN); h2_nand_dev_ready()
|
H A D | board-h3.c | 190 return gpio_get_value(H3_NAND_RB_GPIO_PIN); nand_dev_ready()
|
H A D | board-htcherald.c | 545 } while ((value = gpio_get_value(HTCHERALD_GPIO_USB_EN1)) == 1 && htcherald_usb_enable()
|
H A D | board-osk.c | 423 return !gpio_get_value(4); mistral_get_pendown_state()
|
/linux-4.1.27/drivers/staging/iio/adc/ |
H A D | ad7606_ring.c | 60 if (!gpio_get_value(st->pdata->gpio_frstdata)) { ad7606_poll_bh_to_ring()
|
H A D | ad7816.c | 82 while (gpio_get_value(chip->busy_pin)) ad7816_spi_read()
|
H A D | ad7606_core.c | 55 if (!gpio_get_value(st->pdata->gpio_frstdata)) { ad7606_scan_direct()
|
/linux-4.1.27/drivers/input/misc/ |
H A D | rb532_button.c | 39 val = gpio_get_value(GPIO_BTN_S1); rb532_button_pressed()
|
H A D | ixp4xx-beeper.c | 85 gpio_set_value(pin, !gpio_get_value(pin)); ixp4xx_spkr_interrupt()
|
H A D | rotary_encoder.c | 50 int a = !!gpio_get_value(pdata->gpio_a); rotary_encoder_get_state() 51 int b = !!gpio_get_value(pdata->gpio_b); rotary_encoder_get_state()
|
H A D | gp2ap002a00f.c | 44 int vo = gpio_get_value(dt->pdata->vout_gpio); gp2a_report()
|
H A D | gpio_tilt_polled.c | 53 state |= (!!gpio_get_value(pdata->gpios[i].gpio) << i); gpio_tilt_polled_poll()
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | puv3-nb0916.c | 86 if (gpio_get_value(GPI_LCD_CASE_OFF)) nb0916_lcdcaseoff_handler()
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | gpio.h | 30 static inline int gpio_get_value(unsigned gpio) gpio_get_value() function
|
/linux-4.1.27/arch/arm/mach-s3c24xx/ |
H A D | simtec-usb.c | 65 if (gpio_get_value(S3C2410_GPG(10)) == 0) { usb_simtec_ocirq()
|
H A D | mach-h1940.c | 232 return !gpio_get_value(S3C2410_GPF(2)); h1940_is_ac_online() 394 if (!gpio_get_value(check_gpio1) && h1940_led_blink_set() 395 !gpio_get_value(check_gpio2)) h1940_led_blink_set() 535 value = gpio_get_value(S3C2410_GPC(6)); h1940_lcd_power_set()
|
H A D | mach-rx1950.c | 133 return !gpio_get_value(S3C2410_GPF(2)); rx1950_is_ac_online() 281 if (!gpio_get_value(check_gpio)) rx1950_led_blink_set()
|
/linux-4.1.27/drivers/regulator/ |
H A D | lp8788-buck.c | 223 idx = gpio_get_value(b1_dvs->gpio) ? 1 : 0; lp8788_select_buck_vout_addr() 236 pin1 = gpio_get_value(b2_dvs->gpio[0]); lp8788_select_buck_vout_addr() 237 pin2 = gpio_get_value(b2_dvs->gpio[1]); lp8788_select_buck_vout_addr()
|
H A D | max8998.c | 362 i2c->name, gpio_get_value(pdata->buck1_set1), max8998_set_voltage_buck_sel() 363 gpio_get_value(pdata->buck1_set2)); max8998_set_voltage_buck_sel() 396 gpio_get_value(pdata->buck2_set3)); max8998_set_voltage_buck_sel()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
H A D | board-omap3beagle.c | 150 beagle_rev = gpio_get_value(171) | (gpio_get_value(172) << 1) omap3_beagle_init_rev() 151 | (gpio_get_value(173) << 2); omap3_beagle_init_rev()
|
H A D | board-n8x0.c | 85 while (i && gpio_get_value(TUSB6010_GPIO_INT)) { tusb_set_power()
|
/linux-4.1.27/drivers/tty/serial/ |
H A D | bfin_sport_uart.h | 76 #define SPORT_UART_GET_CTS(x) gpio_get_value(x->cts_pin)
|
H A D | ifx6x60.c | 260 int val = gpio_get_value(ifx_dev->gpio.srdy); mrdy_assert() 704 srdy = gpio_get_value(ifx_dev->gpio.srdy); ifx_spi_complete() 911 int val = gpio_get_value(ifx_dev->gpio.reset_out); ifx_spi_reset_interrupt() 1205 srdy = gpio_get_value(ifx_dev->gpio.srdy); ifx_spi_spi_probe()
|
H A D | omap-serial.c | 331 if (gpio_get_value(up->rts_gpio) != res) { serial_omap_stop_tx() 440 if (gpio_get_value(up->rts_gpio) != res) { serial_omap_start_tx()
|
H A D | sirfsoc_uart.c | 136 if (!gpio_get_value(sirfport->cts_gpio)) sirfsoc_uart_get_mctrl() 365 !gpio_get_value(sirfport->cts_gpio)); sirfsoc_uart_usp_cts_handler()
|
/linux-4.1.27/drivers/i2c/busses/ |
H A D | i2c-gpio.c | 78 return gpio_get_value(pdata->sda_pin); i2c_gpio_getsda() 85 return gpio_get_value(pdata->scl_pin); i2c_gpio_getscl()
|
H A D | i2c-cbus-gpio.c | 82 ret = gpio_get_value(host->dat_gpio); cbus_receive_bit()
|
/linux-4.1.27/arch/arm/mach-orion5x/ |
H A D | net2big-setup.c | 161 if (gpio_get_value(NET2BIG_GPIO_SATA0_POWER) && net2big_sata_power_init() 162 gpio_get_value(NET2BIG_GPIO_SATA1_POWER)) { net2big_sata_power_init()
|
/linux-4.1.27/drivers/leds/trigger/ |
H A D | ledtrig-gpio.c | 36 /* just schedule_work since gpio_get_value can sleep */ gpio_trig_irq()
|
/linux-4.1.27/drivers/mtd/nand/ |
H A D | cmx270_nand.c | 132 return (gpio_get_value(GPIO_NAND_RB)); cmx270_device_ready()
|
H A D | ams-delta.c | 136 return gpio_get_value(AMS_DELTA_GPIO_PIN_NAND_RB); ams_delta_nand_ready()
|
H A D | fsl_upm.c | 59 if (gpio_get_value(fun->rnb_gpio[fun->mchip_number])) fun_chip_ready()
|
H A D | gpio.c | 95 return gpio_get_value(gpiomtd->plat.gpio_rdy); gpio_nand_devready()
|
H A D | atmel_nand.c | 211 return gpio_get_value(host->board.rdy_pin) ^ atmel_nand_device_ready() 2196 if (gpio_get_value(host->board.det_pin)) { atmel_nand_probe()
|
H A D | sunxi_nand.c | 360 ret = gpio_get_value(rb->info.gpio); sunxi_nfc_dev_ready()
|
/linux-4.1.27/drivers/net/ethernet/wiznet/ |
H A D | w5100.c | 390 return !!gpio_get_value(priv->link_gpio); w5100_get_link() 542 if (gpio_get_value(priv->link_gpio) != 0) { w5100_detect_link() 586 gpio_get_value(priv->link_gpio) != 0) w5100_open() 779 gpio_get_value(priv->link_gpio) != 0) w5100_resume()
|
H A D | w5300.c | 309 return !!gpio_get_value(priv->link_gpio); w5300_get_link() 462 if (gpio_get_value(priv->link_gpio) != 0) { w5300_detect_link() 506 gpio_get_value(priv->link_gpio) != 0) w5300_open() 691 gpio_get_value(priv->link_gpio) != 0) w5300_resume()
|
/linux-4.1.27/drivers/extcon/ |
H A D | extcon-gpio.c | 53 state = gpio_get_value(data->gpio); gpio_extcon_work()
|
/linux-4.1.27/drivers/ata/ |
H A D | pata_rb532_cf.c | 62 if (gpio_get_value(info->gpio_line)) { rb532_pata_irq_handler()
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
H A D | output.c | 62 if (gpio_get_value(output->hpd_gpio) == 0) tegra_output_connector_detect()
|
/linux-4.1.27/drivers/video/fbdev/msm/ |
H A D | mddi_client_nt35399.c | 172 gpio, gpio_get_value(gpio)); setup_vsync()
|
H A D | mddi_client_toshiba.c | 202 gpio, gpio_get_value(gpio)); setup_vsync()
|
/linux-4.1.27/drivers/w1/masters/ |
H A D | w1-gpio.c | 67 return gpio_get_value(pdata->pin) ? 1 : 0; w1_gpio_read_bit()
|
/linux-4.1.27/drivers/pps/clients/ |
H A D | pps-gpio.c | 64 rising_edge = gpio_get_value(info->gpio_pin); pps_gpio_irq_handler()
|
/linux-4.1.27/arch/blackfin/include/asm/ |
H A D | gpio.h | 193 static inline int gpio_get_value(unsigned int gpio) gpio_get_value() function
|
H A D | bfin_serial.h | 415 #define UART_GET_CTS(x) gpio_get_value((x)->cts_pin)
|
/linux-4.1.27/sound/pci/cs5535audio/ |
H A D | cs5535audio_olpc.c | 77 v->value.integer.value[0] = gpio_get_value(OLPC_GPIO_MIC_AC); olpc_dc_get()
|
/linux-4.1.27/arch/arm/mach-ixp4xx/ |
H A D | goramo_mlr.c | 156 int i = gpio_get_value(port ? GPIO_HSS1_DCD_N : GPIO_HSS0_DCD_N); hss_dcd_irq() 172 i = gpio_get_value(port ? GPIO_HSS1_DCD_N : GPIO_HSS0_DCD_N); hss_open()
|
H A D | dsmg600-setup.c | 186 if (gpio_get_value(DSMG600_PB_GPIO)) { dsmg600_power_handler()
|
H A D | nas100d-setup.c | 208 if (gpio_get_value(NAS100D_PB_GPIO)) { nas100d_power_handler()
|
/linux-4.1.27/drivers/staging/emxx_udc/ |
H A D | emxx_udc.c | 2403 reg_dt = gpio_get_value(VBUS_VALUE); _nbu2ss_check_vbus() 2431 reg_dt = gpio_get_value(VBUS_VALUE); _nbu2ss_check_vbus() 2495 reg_dt = gpio_get_value(VBUS_VALUE); _nbu2ss_int_usb_suspend() 2535 if (gpio_get_value(VBUS_VALUE) == 0) { _nbu2ss_udc_irq() 2544 if (gpio_get_value(VBUS_VALUE) == 0) { _nbu2ss_udc_irq() 2966 data = gpio_get_value(VBUS_VALUE); nbu2ss_ep_fifo_status() 3012 data = gpio_get_value(VBUS_VALUE); nbu2ss_ep_fifo_flush() 3062 data = gpio_get_value(VBUS_VALUE); nbu2ss_gad_get_frame() 3092 data = gpio_get_value(VBUS_VALUE); nbu2ss_gad_wakeup() 3444 data = gpio_get_value(VBUS_VALUE); nbu2ss_drv_resume()
|
/linux-4.1.27/drivers/hwmon/ |
H A D | sht15.c | 311 if (gpio_get_value(data->pdata->gpio_data)) { sht15_wait_for_response() 421 byte |= !!gpio_get_value(data->pdata->gpio_data); sht15_read_byte() 548 if (gpio_get_value(data->pdata->gpio_data) == 0) { sht15_measurement() 840 if (gpio_get_value(data->pdata->gpio_data)) { sht15_bh_read_data() 848 if (gpio_get_value(data->pdata->gpio_data) sht15_bh_read_data()
|
/linux-4.1.27/arch/sh/boards/mach-ecovec24/ |
H A D | setup.c | 255 return gpio_get_value(GPIO_PTB3); usbhs_get_id() 261 if (!gpio_get_value(GPIO_PTB3)) usbhs_phy_reset() 512 val = gpio_get_value(GPIO_PTZ0); ts_get_pendown_state() 1140 if (gpio_get_value(GPIO_PTB3)) { arch_setup() 1191 if (gpio_get_value(GPIO_PTE6)) { arch_setup()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | fhci-hcd.c | 157 if (!gpio_get_value(fhci->gpios[GPIO_USBOE])) fhci_ioports_check_bus_state() 161 if (gpio_get_value(fhci->gpios[GPIO_USBRP])) fhci_ioports_check_bus_state() 165 if (gpio_get_value(fhci->gpios[GPIO_USBRN])) fhci_ioports_check_bus_state()
|
H A D | ohci-at91.c | 252 return gpio_get_value(pdata->vbus_pin[port]) ^ ohci_at91_usb_get_power() 417 val = gpio_get_value(gpio);
|
/linux-4.1.27/drivers/i2c/muxes/ |
H A D | i2c-arb-gpio-challenge.c | 77 int gpio_val = !!gpio_get_value(arb->their_gpio); i2c_arbitrator_select()
|
/linux-4.1.27/drivers/iio/humidity/ |
H A D | dht11.c | 159 gpio_get_value(dht11->gpio); dht11_handle_irq()
|
/linux-4.1.27/drivers/staging/iio/accel/ |
H A D | lis3l02dq_ring.c | 260 if (gpio_get_value(st->gpio)) lis3l02dq_trig_try_reen()
|
/linux-4.1.27/drivers/gpio/ |
H A D | gpio-ep93xx.c | 201 if (gpio_get_value(gpio)) ep93xx_gpio_irq_type()
|
H A D | gpio-mxs.c | 96 val = gpio_get_value(port->bgc.gc.base + d->hwirq); mxs_gpio_set_irq_type()
|
H A D | gpio-dwapb.c | 122 if (gpio_get_value(gpio->ports[0].bgc.gc.base + offs)) dwapb_toggle_trigger()
|
H A D | gpio-mxc.c | 191 val = gpio_get_value(gpio); gpio_set_irq_type()
|
/linux-4.1.27/drivers/input/keyboard/ |
H A D | omap-keypad.c | 82 if (gpio_get_value(row_gpios[row])) get_row_gpio_val()
|
/linux-4.1.27/drivers/input/touchscreen/ |
H A D | eeti_ts.c | 65 return gpio_get_value(priv->irq_gpio) == priv->irq_active_high; eeti_ts_irq_active()
|
H A D | tsc2007.c | 287 return !gpio_get_value(ts->gpio); tsc2007_get_pendown_state_gpio()
|
H A D | atmel-wm97xx.c | 198 int pen_down = gpio_get_value(atmel_wm97xx->gpio_pen); atmel_wm97xx_acc_pen_up()
|
H A D | auo-pixcir-ts.c | 195 if (gpio_get_value(pdata->gpio_int) == 0) { auo_pixcir_interrupt()
|
H A D | bu21013_ts.c | 269 data->intr_pin = gpio_get_value(data->chip->touch_pin); bu21013_gpio_irq()
|
H A D | pixcir_i2c_ts.c | 174 if (gpio_get_value(pdata->gpio_attb)) { pixcir_ts_isr()
|
H A D | zforce_ts.c | 503 while (!gpio_get_value(pdata->gpio_int)) { zforce_irq_thread()
|
H A D | ads7846.c | 615 return !gpio_get_value(ts->gpio_pendown); get_pendown_state()
|
/linux-4.1.27/drivers/tty/serial/cpm_uart/ |
H A D | cpm_uart_core.c | 123 if (gpio_get_value(pinfo->gpios[GPIO_CTS])) cpm_uart_get_mctrl() 128 if (gpio_get_value(pinfo->gpios[GPIO_DSR])) cpm_uart_get_mctrl() 133 if (gpio_get_value(pinfo->gpios[GPIO_DCD])) cpm_uart_get_mctrl() 138 if (!gpio_get_value(pinfo->gpios[GPIO_RI])) cpm_uart_get_mctrl()
|
/linux-4.1.27/arch/mips/rb532/ |
H A D | devices.c | 145 return gpio_get_value(GPIO_RDY); rb532_dev_ready()
|
/linux-4.1.27/arch/avr32/boards/atngw100/ |
H A D | mrmt.c | 189 return !gpio_get_value( PIN_TS_EXTINT ); /* PENIRQ.*/ ads7846_pendown_state()
|
/linux-4.1.27/arch/avr32/boards/favr-32/ |
H A D | setup.c | 66 return !gpio_get_value(GPIO_PIN_PB(3)); ads7843_get_pendown_state()
|
/linux-4.1.27/arch/blackfin/mach-bf561/boards/ |
H A D | acvilon.c | 284 return gpio_get_value(BFIN_NAND_PLAT_READY); bfin_plat_nand_dev_ready()
|
/linux-4.1.27/arch/arm/mach-s3c64xx/ |
H A D | mach-smartq.c | 88 if (gpio_get_value(S3C64XX_GPL(10)) == 0) { smartq_usb_host_ocirq()
|
/linux-4.1.27/arch/arm/mach-iop32x/ |
H A D | n2100.c | 310 if (gpio_get_value(N2100_POWER_BUTTON) == 0) { power_button_poll()
|
/linux-4.1.27/include/linux/gpio/ |
H A D | driver.h | 71 * are referenced through calls like gpio_get_value(gpio), the offset
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | pxamci.c | 455 return !gpio_get_value(host->pdata->gpio_card_ro); pxamci_get_ro() 457 return gpio_get_value(host->pdata->gpio_card_ro); pxamci_get_ro()
|
H A D | s3cmci.c | 310 if (gpio_get_value(S3C2410_GPE(8)) == 0) { s3cmci_check_sdio_irq() 1190 ret = gpio_get_value(pdata->gpio_detect) ? 0 : 1; s3cmci_card_present() 1308 ret = gpio_get_value(pdata->gpio_wprotect) ? 1 : 0; s3cmci_get_ro()
|
H A D | atmel-mci.c | 1437 read_only = gpio_get_value(slot->wp_pin); atmci_get_ro() 1451 present = !(gpio_get_value(slot->detect_pin) ^ atmci_get_cd() 1568 present = !(gpio_get_value(slot->detect_pin) ^ atmci_detect_change() 2211 } else if (gpio_get_value(slot->detect_pin) ^ atmci_init_slot()
|
/linux-4.1.27/drivers/staging/iio/resolver/ |
H A D | ad2s1210.c | 168 (gpio_get_value(st->pdata->res[0]) << 1) | ad2s1210_read_resolution_pin() 169 gpio_get_value(st->pdata->res[1])]; ad2s1210_read_resolution_pin()
|
/linux-4.1.27/drivers/mfd/ |
H A D | ezx-pcap.c | 205 } while (gpio_get_value(pdata->gpio)); pcap_isr_work()
|
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/ |
H A D | hdmi_connector.c | 280 return gpio_get_value(config->hpd_gpio) ? detect_gpio()
|
/linux-4.1.27/drivers/usb/phy/ |
H A D | phy-gpio-vbus-usb.c | 93 vbus = gpio_get_value(pdata->gpio_vbus); is_vbus_powered()
|
/linux-4.1.27/arch/arm/mach-shmobile/ |
H A D | board-armadillo800eva.c | 236 return gpio_get_value(209); usbhsf_get_vbus() 1258 if (gpio_get_value(159)) { eva_init() 1299 if (gpio_get_value(6)) { eva_init()
|
/linux-4.1.27/drivers/iio/frequency/ |
H A D | adf4350.c | 323 if (!gpio_get_value(st->pdata->gpio_lock_detect)) { adf4350_read()
|
/linux-4.1.27/drivers/gpu/drm/gma500/ |
H A D | mdfld_dsi_output.c | 479 gpio_get_value(128); mdfld_dsi_panel_reset()
|
/linux-4.1.27/drivers/usb/renesas_usbhs/ |
H A D | common.c | 634 ret = !gpio_get_value(priv->dparam.enable_gpio); usbhs_probe()
|
/linux-4.1.27/arch/sh/boards/mach-kfr2r09/ |
H A D | setup.c | 512 plugged_in = gpio_get_value(GPIO_PTN4); kfr2r09_usb0_gadget_setup()
|
/linux-4.1.27/arch/sh/boards/mach-migor/ |
H A D | setup.c | 185 return gpio_get_value(GPIO_PTA1); /* NAND_RBn */ migor_nand_flash_ready()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
H A D | exynos_dp_reg.c | 359 reg = gpio_get_value(dp->hpd_gpio); exynos_dp_get_irq_type() 421 if (gpio_get_value(dp->hpd_gpio)) exynos_dp_get_plug_in_status()
|
H A D | exynos_hdmi.c | 1040 hdata->hpd = gpio_get_value(hdata->hpd_gpio); hdmi_detect() 2152 hdata->hpd = gpio_get_value(hdata->hpd_gpio); hdmi_hotplug_work_func() 2456 hdata->hpd = gpio_get_value(hdata->hpd_gpio); hdmi_probe()
|
/linux-4.1.27/drivers/iio/magnetometer/ |
H A D | ak8975.c | 546 if (gpio_get_value(data->eoc_gpio)) wait_conversion_complete_gpio()
|
/linux-4.1.27/drivers/mtd/onenand/ |
H A D | omap2.c | 163 result = gpio_get_value(c->gpio_irq); omap2_onenand_wait()
|
/linux-4.1.27/arch/blackfin/mach-bf537/boards/ |
H A D | stamp.c | 421 return gpio_get_value(BFIN_NAND_PLAT_READY); bfin_plat_nand_dev_ready() 886 return gpio_get_value(GPIO_PF6); ads7873_get_pendown_state()
|
/linux-4.1.27/drivers/net/ieee802154/ |
H A D | cc2520.c | 680 if (gpio_get_value(priv->fifo_pin)) cc2520_fifop_irqwork()
|
/linux-4.1.27/drivers/staging/nvec/ |
H A D | nvec.c | 245 gpio_get_value(nvec->gpio), value); nvec_gpio_set_value()
|
/linux-4.1.27/drivers/block/ |
H A D | mg_disk.c | 274 if (gpio_get_value(rstout) == 1) mg_wait_rstout()
|
/linux-4.1.27/drivers/pinctrl/ |
H A D | pinctrl-adi2.c | 422 if (gpio_get_value(port->chip.base + d->hwirq)) adi_gpio_irq_type()
|
/linux-4.1.27/drivers/i2c/ |
H A D | i2c-core.c | 502 return gpio_get_value(adap->bus_recovery_info->scl_gpio); get_scl_gpio_value() 512 return gpio_get_value(adap->bus_recovery_info->sda_gpio); get_sda_gpio_value()
|
/linux-4.1.27/drivers/staging/fbtft/ |
H A D | fbtft-core.c | 308 if (!gpio_get_value(par->gpio.led[0])) fbtft_register_backlight()
|
/linux-4.1.27/drivers/hsi/controllers/ |
H A D | omap_ssi_port.c | 46 return gpio_get_value(omap_port->wake_gpio); ssi_wakein()
|
/linux-4.1.27/drivers/usb/gadget/udc/ |
H A D | s3c2410_udc.c | 1501 value = gpio_get_value(udc_info->vbus_pin) ? 1 : 0; s3c2410_udc_vbus_irq()
|
H A D | at91_udc.c | 1521 at91_vbus_update(udc, gpio_get_value(udc->board.vbus_pin)); at91_vbus_irq()
|
H A D | atmel_usba_udc.c | 336 return gpio_get_value(udc->vbus_pin) ^ udc->vbus_pin_inverted; vbus_is_present()
|
H A D | pch_udc.c | 1271 vbus = gpio_get_value(dev->vbus_gpio.port) ? 1 : 0; pch_vbus_gpio_get_value()
|
/linux-4.1.27/sound/soc/codecs/ |
H A D | rt5645.c | 2428 gpio_state = gpio_get_value(rt5645->pdata.hp_det_gpio); rt5645_jack_detect()
|