Home
last modified time | relevance | path

Searched refs:gpio_set_value (Results 1 – 25 of 68) sorted by relevance

123

/arch/arm/mach-s3c/
Dmach-h1940.c329 gpio_set_value(H1940_LATCH_SM803_ENABLE, 1); in h1940_enable_charger()
334 gpio_set_value(H1940_LATCH_SM803_ENABLE, 0); in h1940_disable_charger()
403 gpio_set_value(H1940_LATCH_LED_FLASH, 0); in h1940_led_blink_set()
404 gpio_set_value(blink_gpio, 0); in h1940_led_blink_set()
406 gpio_set_value(gpio, state); in h1940_led_blink_set()
410 gpio_set_value(gpio, 0); in h1940_led_blink_set()
411 gpio_set_value(H1940_LATCH_LED_FLASH, 1); in h1940_led_blink_set()
412 gpio_set_value(blink_gpio, 1); in h1940_led_blink_set()
463 gpio_set_value(H1940_LATCH_SD_POWER, 0); in h1940_set_mmc_power()
467 gpio_set_value(H1940_LATCH_SD_POWER, 1); in h1940_set_mmc_power()
[all …]
Dh1940-bluetooth.c29 gpio_set_value(H1940_LATCH_BLUETOOTH_POWER, 1); in h1940bt_enable()
33 gpio_set_value(S3C2410_GPH(1), 1); in h1940bt_enable()
35 gpio_set_value(S3C2410_GPH(1), 0); in h1940bt_enable()
40 gpio_set_value(S3C2410_GPH(1), 1); in h1940bt_enable()
42 gpio_set_value(S3C2410_GPH(1), 0); in h1940bt_enable()
44 gpio_set_value(H1940_LATCH_BLUETOOTH_POWER, 0); in h1940bt_enable()
Dmach-osiris-dvs.c72 gpio_set_value(OSIRIS_GPIO_DVS, 1); in osiris_dvs_notify()
80 gpio_set_value(OSIRIS_GPIO_DVS, 0); in osiris_dvs_notify()
130 gpio_set_value(OSIRIS_GPIO_DVS, 1); in osiris_dvs_remove()
146 gpio_set_value(OSIRIS_GPIO_DVS, 1); in osiris_dvs_suspend()
Dsimtec-usb.c50 gpio_set_value(S3C2410_GPB(4), 0); in usb_simtec_powercontrol()
52 gpio_set_value(S3C2410_GPB(4), 1); in usb_simtec_powercontrol()
/arch/arm/mach-pxa/
Dtosa-bt.c19 gpio_set_value(data->gpio_reset, 0); in tosa_bt_on()
20 gpio_set_value(data->gpio_pwr, 1); in tosa_bt_on()
21 gpio_set_value(data->gpio_reset, 1); in tosa_bt_on()
23 gpio_set_value(data->gpio_reset, 0); in tosa_bt_on()
28 gpio_set_value(data->gpio_reset, 1); in tosa_bt_off()
30 gpio_set_value(data->gpio_pwr, 0); in tosa_bt_off()
31 gpio_set_value(data->gpio_reset, 0); in tosa_bt_off()
Dmagician.c281 gpio_set_value(EGPIO_MAGICIAN_TOPPOLY_POWER, 1); in toppoly_lcd_power()
282 gpio_set_value(GPIO106_MAGICIAN_LCD_DCDC_NRESET, 1); in toppoly_lcd_power()
284 gpio_set_value(EGPIO_MAGICIAN_LCD_POWER, 1); in toppoly_lcd_power()
288 gpio_set_value(GPIO104_MAGICIAN_LCD_VOFF_EN, 1); in toppoly_lcd_power()
290 gpio_set_value(GPIO105_MAGICIAN_LCD_VON_EN, 1); in toppoly_lcd_power()
293 gpio_set_value(GPIO105_MAGICIAN_LCD_VON_EN, 0); in toppoly_lcd_power()
295 gpio_set_value(GPIO104_MAGICIAN_LCD_VOFF_EN, 0); in toppoly_lcd_power()
297 gpio_set_value(GPIO106_MAGICIAN_LCD_DCDC_NRESET, 0); in toppoly_lcd_power()
298 gpio_set_value(EGPIO_MAGICIAN_LCD_POWER, 0); in toppoly_lcd_power()
308 gpio_set_value(GPIO75_MAGICIAN_SAMSUNG_POWER, 1); in samsung_lcd_power()
[all …]
Dcorgi_pm.c53 gpio_set_value(CORGI_GPIO_ADC_TEMP_ON, on); in corgi_measure_temp()
60 gpio_set_value(CORGI_GPIO_CHRG_ON, 0); in corgi_charge()
61 gpio_set_value(CORGI_GPIO_CHRG_UKN, 1); in corgi_charge()
63 gpio_set_value(CORGI_GPIO_CHRG_ON, 1); in corgi_charge()
64 gpio_set_value(CORGI_GPIO_CHRG_UKN, 0); in corgi_charge()
67 gpio_set_value(CORGI_GPIO_CHRG_ON, 0); in corgi_charge()
68 gpio_set_value(CORGI_GPIO_CHRG_UKN, 0); in corgi_charge()
74 gpio_set_value(CORGI_GPIO_DISCHARGE_ON, on); in corgi_discharge()
Dspitz_pm.c54 gpio_set_value(SPITZ_GPIO_ADC_TEMP_ON, on); in spitz_measure_temp()
61 gpio_set_value(SPITZ_GPIO_JK_B, 1); in spitz_charge()
62 gpio_set_value(SPITZ_GPIO_CHRG_ON, 0); in spitz_charge()
64 gpio_set_value(SPITZ_GPIO_JK_B, 0); in spitz_charge()
65 gpio_set_value(SPITZ_GPIO_CHRG_ON, 0); in spitz_charge()
68 gpio_set_value(SPITZ_GPIO_JK_B, 0); in spitz_charge()
69 gpio_set_value(SPITZ_GPIO_CHRG_ON, 1); in spitz_charge()
75 gpio_set_value(SPITZ_GPIO_JK_A, on); in spitz_discharge()
82 gpio_set_value(SPITZ_GPIO_LED_GREEN, on); in spitz_discharge1()
Dhx4700.c363 gpio_set_value(GPIO84_HX4700_LCD_SQN, 1); in sony_lcd_init()
364 gpio_set_value(GPIO110_HX4700_LCD_LVDD_3V3_ON, 0); in sony_lcd_init()
365 gpio_set_value(GPIO111_HX4700_LCD_AVDD_3V3_ON, 0); in sony_lcd_init()
366 gpio_set_value(GPIO70_HX4700_LCD_SLIN1, 0); in sony_lcd_init()
367 gpio_set_value(GPIO62_HX4700_LCD_nRESET, 0); in sony_lcd_init()
369 gpio_set_value(GPIO59_HX4700_LCD_PC1, 0); in sony_lcd_init()
370 gpio_set_value(GPIO110_HX4700_LCD_LVDD_3V3_ON, 0); in sony_lcd_init()
373 gpio_set_value(GPIO110_HX4700_LCD_LVDD_3V3_ON, 1); in sony_lcd_init()
375 gpio_set_value(GPIO111_HX4700_LCD_AVDD_3V3_ON, 1); in sony_lcd_init()
380 gpio_set_value(GPIO70_HX4700_LCD_SLIN1, 1); in sony_lcd_init()
[all …]
Dam300epd.c151 gpio_set_value(CFG_GPIO_PIN, 1); in am300_init_gpio_regs()
152 gpio_set_value(RST_GPIO_PIN, 0); in am300_init_gpio_regs()
154 gpio_set_value(RST_GPIO_PIN, 1); in am300_init_gpio_regs()
206 gpio_set_value(DB0_GPIO_PIN + i, (data >> i) & 0x01); in am300_set_hdb()
215 gpio_set_value(CS_GPIO_PIN, state); in am300_set_ctl()
218 gpio_set_value(DC_GPIO_PIN, state); in am300_set_ctl()
221 gpio_set_value(WR_GPIO_PIN, state); in am300_set_ctl()
Dreset.c61 gpio_set_value(reset_gpio, 1); in do_gpio_reset()
64 gpio_set_value(reset_gpio, 0); in do_gpio_reset()
Dviper.c195 gpio_set_value(VIPER_PSU_CLK_GPIO, 0); in viper_set_core_cpu_voltage()
196 gpio_set_value(VIPER_PSU_nCS_LD_GPIO, 0); in viper_set_core_cpu_voltage()
201 gpio_set_value(VIPER_PSU_DATA_GPIO, step & i); in viper_set_core_cpu_voltage()
204 gpio_set_value(VIPER_PSU_CLK_GPIO, 1); in viper_set_core_cpu_voltage()
207 gpio_set_value(VIPER_PSU_CLK_GPIO, 0); in viper_set_core_cpu_voltage()
211 gpio_set_value(VIPER_PSU_nCS_LD_GPIO, 1); in viper_set_core_cpu_voltage()
214 gpio_set_value(VIPER_PSU_nCS_LD_GPIO, 0); in viper_set_core_cpu_voltage()
392 gpio_set_value(VIPER_LCD_EN_GPIO, !!brightness); in viper_backlight_notify()
393 gpio_set_value(VIPER_BCKLIGHT_EN_GPIO, !!brightness); in viper_backlight_notify()
932 gpio_set_value(VIPER_UPS_GPIO, 1); in viper_power_off()
Dtosa.c313 gpio_set_value(TOSA_GPIO_IR_POWERDWN, 0); in tosa_irda_transceiver_mode()
318 gpio_set_value(TOSA_GPIO_IR_POWERDWN, 1); in tosa_irda_transceiver_mode()
645 gpio_set_value(TOSA_GPIO_TC6393XB_SUSPEND, 1); in tosa_tc6393xb_enable()
649 gpio_set_value(TOSA_GPIO_TC6393XB_REST_IN, 1); in tosa_tc6393xb_enable()
650 gpio_set_value(TOSA_GPIO_TC6393XB_L3V_ON, 1); in tosa_tc6393xb_enable()
676 gpio_set_value(TOSA_GPIO_TC6393XB_SUSPEND, 1); in tosa_tc6393xb_resume()
678 gpio_set_value(TOSA_GPIO_TC6393XB_L3V_ON, 1); in tosa_tc6393xb_resume()
686 gpio_set_value(TOSA_GPIO_TC6393XB_L3V_ON, 0); in tosa_tc6393xb_suspend()
687 gpio_set_value(TOSA_GPIO_TC6393XB_SUSPEND, 0); in tosa_tc6393xb_suspend()
Deseries.c73 gpio_set_value(GPIO_ESERIES_TMIO_SUSPEND, 0); in eseries_tmio_enable()
74 gpio_set_value(GPIO_ESERIES_TMIO_PCLR, 0); in eseries_tmio_enable()
76 gpio_set_value(GPIO_ESERIES_TMIO_SUSPEND, 1); in eseries_tmio_enable()
78 gpio_set_value(GPIO_ESERIES_TMIO_PCLR, 1); in eseries_tmio_enable()
85 gpio_set_value(GPIO_ESERIES_TMIO_SUSPEND, 0); in eseries_tmio_disable()
86 gpio_set_value(GPIO_ESERIES_TMIO_PCLR, 0); in eseries_tmio_disable()
92 gpio_set_value(GPIO_ESERIES_TMIO_SUSPEND, 0); in eseries_tmio_suspend()
98 gpio_set_value(GPIO_ESERIES_TMIO_SUSPEND, 1); in eseries_tmio_resume()
Dpoodle.c266 gpio_set_value(POODLE_GPIO_SD_PWR, 1); in poodle_mci_setpower()
268 gpio_set_value(POODLE_GPIO_SD_PWR1, 1); in poodle_mci_setpower()
270 gpio_set_value(POODLE_GPIO_SD_PWR1, 0); in poodle_mci_setpower()
271 gpio_set_value(POODLE_GPIO_SD_PWR, 0); in poodle_mci_setpower()
Dgumstix.c172 gpio_set_value(GPIO_GUMSTIX_BTRESET, 0); in gumstix_bluetooth_init()
174 gpio_set_value(GPIO_GUMSTIX_BTRESET, 1); in gumstix_bluetooth_init()
/arch/arm/mach-sa1100/
Dh3100.c54 gpio_set_value(H3100_GPIO_LCD_3V_ON, enable); in h3100_lcd_power()
55 gpio_set_value(H3XXX_EGPIO_LCD_ON, enable); in h3100_lcd_power()
95 gpio_set_value(H3100_GPIO_IR_ON, state); in h3100_irda_set_power()
101 gpio_set_value(H3100_GPIO_IR_FSEL, !(speed < 4000000)); in h3100_irda_set_speed()
Dh3600.c103 gpio_set_value(H3600_EGPIO_IR_ON, state); in h3600_irda_set_power()
109 gpio_set_value(H3600_EGPIO_IR_FSEL, !(speed < 4000000)); in h3600_irda_set_speed()
/arch/sh/boards/mach-kfr2r09/
Dlcd_wqvga.c254 gpio_set_value(GPIO_PTF4, 0); /* PROTECT/ -> L */ in kfr2r09_lcd_setup()
255 gpio_set_value(GPIO_PTE4, 0); /* LCD_RST/ -> L */ in kfr2r09_lcd_setup()
256 gpio_set_value(GPIO_PTF4, 1); /* PROTECT/ -> H */ in kfr2r09_lcd_setup()
258 gpio_set_value(GPIO_PTE4, 1); /* LCD_RST/ -> H */ in kfr2r09_lcd_setup()
260 gpio_set_value(GPIO_PTF4, 0); /* PROTECT/ -> L */ in kfr2r09_lcd_setup()
/arch/arm/mach-omap2/
Dboard-n8x0.c75 gpio_set_value(TUSB6010_GPIO_ENABLE, 1); in tusb_set_power()
90 gpio_set_value(TUSB6010_GPIO_ENABLE, 0); in tusb_set_power()
187 gpio_set_value(N8X0_SLOT_SWITCH_GPIO, slot); in n8x0_mmc_switch_slot()
266 gpio_set_value(N810_EMMC_VSD_GPIO, 1); in n810_set_power_emmc()
268 gpio_set_value(N810_EMMC_VIO_GPIO, 1); in n810_set_power_emmc()
271 gpio_set_value(N810_EMMC_VIO_GPIO, 0); in n810_set_power_emmc()
273 gpio_set_value(N810_EMMC_VSD_GPIO, 0); in n810_set_power_emmc()
/arch/m68k/coldfire/
Ddevice.c283 gpio_set_value(MCFQSPI_CS0, cs_high); in mcf_cs_select()
286 gpio_set_value(MCFQSPI_CS1, cs_high); in mcf_cs_select()
289 gpio_set_value(MCFQSPI_CS2, cs_high); in mcf_cs_select()
293 gpio_set_value(MCFQSPI_CS3, cs_high); in mcf_cs_select()
304 gpio_set_value(MCFQSPI_CS0, !cs_high); in mcf_cs_deselect()
307 gpio_set_value(MCFQSPI_CS1, !cs_high); in mcf_cs_deselect()
310 gpio_set_value(MCFQSPI_CS2, !cs_high); in mcf_cs_deselect()
314 gpio_set_value(MCFQSPI_CS3, !cs_high); in mcf_cs_deselect()
/arch/arm/include/asm/
Dgpio.h10 #define gpio_set_value __gpio_set_value macro
/arch/sh/boards/mach-migor/
Dlcd_qvga.c32 gpio_set_value(GPIO_PTH2, 0); in reset_lcd_module()
34 gpio_set_value(GPIO_PTH2, 1); in reset_lcd_module()
/arch/sh/include/asm/
Dgpio.h28 static inline void gpio_set_value(unsigned gpio, int value) in gpio_set_value() function
/arch/arm/mach-ixp4xx/
Dgoramo_mlr.c92 gpio_set_value(GPIO_SCL, !!value); in set_scl()
98 gpio_set_value(GPIO_SDA, !!value); in set_sda()
104 gpio_set_value(GPIO_STR, !!value); in set_str()
194 gpio_set_value(port ? GPIO_HSS1_RTS_N : GPIO_HSS0_RTS_N, 0); in hss_open()
206 gpio_set_value(port ? GPIO_HSS1_RTS_N : GPIO_HSS0_RTS_N, 1); in hss_close()

123