/arch/unicore32/kernel/ |
D | gpio.c | 103 gpio_set_value(GPO_WIFI_EN, 1); in puv3_init_gpio() 104 gpio_set_value(GPO_HDD_LED, 1); in puv3_init_gpio() 105 gpio_set_value(GPO_VGA_EN, 1); in puv3_init_gpio() 106 gpio_set_value(GPO_LCD_EN, 1); in puv3_init_gpio() 107 gpio_set_value(GPO_CAM_PWR_EN, 0); in puv3_init_gpio() 108 gpio_set_value(GPO_LCD_VCC_EN, 1); in puv3_init_gpio() 109 gpio_set_value(GPO_SOFT_OFF, 1); in puv3_init_gpio() 110 gpio_set_value(GPO_BT_EN, 1); in puv3_init_gpio() 111 gpio_set_value(GPO_FAN_ON, 0); in puv3_init_gpio() 112 gpio_set_value(GPO_SPKR, 0); in puv3_init_gpio() [all …]
|
/arch/arm/mach-s3c24xx/ |
D | mach-h1940.c | 321 gpio_set_value(H1940_LATCH_SM803_ENABLE, 1); in h1940_enable_charger() 326 gpio_set_value(H1940_LATCH_SM803_ENABLE, 0); in h1940_disable_charger() 397 gpio_set_value(H1940_LATCH_LED_FLASH, 0); in h1940_led_blink_set() 398 gpio_set_value(blink_gpio, 0); in h1940_led_blink_set() 400 gpio_set_value(gpio, state); in h1940_led_blink_set() 404 gpio_set_value(gpio, 0); in h1940_led_blink_set() 405 gpio_set_value(H1940_LATCH_LED_FLASH, 1); in h1940_led_blink_set() 406 gpio_set_value(blink_gpio, 1); in h1940_led_blink_set() 455 gpio_set_value(H1940_LATCH_SD_POWER, 0); in h1940_set_mmc_power() 459 gpio_set_value(H1940_LATCH_SD_POWER, 1); in h1940_set_mmc_power() [all …]
|
D | h1940-bluetooth.c | 36 gpio_set_value(H1940_LATCH_BLUETOOTH_POWER, 1); 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() 47 gpio_set_value(S3C2410_GPH(1), 1); in h1940bt_enable() 49 gpio_set_value(S3C2410_GPH(1), 0); in h1940bt_enable() 51 gpio_set_value(H1940_LATCH_BLUETOOTH_POWER, 0); in h1940bt_enable()
|
D | mach-osiris-dvs.c | 77 gpio_set_value(OSIRIS_GPIO_DVS, 1); in osiris_dvs_notify() 85 gpio_set_value(OSIRIS_GPIO_DVS, 0); in osiris_dvs_notify() 135 gpio_set_value(OSIRIS_GPIO_DVS, 1); in osiris_dvs_remove() 151 gpio_set_value(OSIRIS_GPIO_DVS, 1); in osiris_dvs_suspend()
|
/arch/arm/mach-pxa/ |
D | magician.c | 285 gpio_set_value(EGPIO_MAGICIAN_TOPPOLY_POWER, 1); in toppoly_lcd_power() 286 gpio_set_value(GPIO106_MAGICIAN_LCD_DCDC_NRESET, 1); in toppoly_lcd_power() 288 gpio_set_value(EGPIO_MAGICIAN_LCD_POWER, 1); in toppoly_lcd_power() 292 gpio_set_value(GPIO104_MAGICIAN_LCD_VOFF_EN, 1); in toppoly_lcd_power() 294 gpio_set_value(GPIO105_MAGICIAN_LCD_VON_EN, 1); in toppoly_lcd_power() 297 gpio_set_value(GPIO105_MAGICIAN_LCD_VON_EN, 0); in toppoly_lcd_power() 299 gpio_set_value(GPIO104_MAGICIAN_LCD_VOFF_EN, 0); in toppoly_lcd_power() 301 gpio_set_value(GPIO106_MAGICIAN_LCD_DCDC_NRESET, 0); in toppoly_lcd_power() 302 gpio_set_value(EGPIO_MAGICIAN_LCD_POWER, 0); in toppoly_lcd_power() 312 gpio_set_value(GPIO75_MAGICIAN_SAMSUNG_POWER, 1); in samsung_lcd_power() [all …]
|
D | tosa-bt.c | 23 gpio_set_value(data->gpio_reset, 0); in tosa_bt_on() 24 gpio_set_value(data->gpio_pwr, 1); in tosa_bt_on() 25 gpio_set_value(data->gpio_reset, 1); in tosa_bt_on() 27 gpio_set_value(data->gpio_reset, 0); in tosa_bt_on() 32 gpio_set_value(data->gpio_reset, 1); in tosa_bt_off() 34 gpio_set_value(data->gpio_pwr, 0); in tosa_bt_off() 35 gpio_set_value(data->gpio_reset, 0); in tosa_bt_off()
|
D | spitz_pm.c | 58 gpio_set_value(SPITZ_GPIO_ADC_TEMP_ON, on); in spitz_measure_temp() 65 gpio_set_value(SPITZ_GPIO_JK_B, 1); in spitz_charge() 66 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, 0); in spitz_charge() 72 gpio_set_value(SPITZ_GPIO_JK_B, 0); in spitz_charge() 73 gpio_set_value(SPITZ_GPIO_CHRG_ON, 1); in spitz_charge() 79 gpio_set_value(SPITZ_GPIO_JK_A, on); in spitz_discharge() 86 gpio_set_value(SPITZ_GPIO_LED_GREEN, on); in spitz_discharge1()
|
D | corgi_pm.c | 57 gpio_set_value(CORGI_GPIO_ADC_TEMP_ON, on); in corgi_measure_temp() 64 gpio_set_value(CORGI_GPIO_CHRG_ON, 0); in corgi_charge() 65 gpio_set_value(CORGI_GPIO_CHRG_UKN, 1); in corgi_charge() 67 gpio_set_value(CORGI_GPIO_CHRG_ON, 1); in corgi_charge() 68 gpio_set_value(CORGI_GPIO_CHRG_UKN, 0); in corgi_charge() 71 gpio_set_value(CORGI_GPIO_CHRG_ON, 0); in corgi_charge() 72 gpio_set_value(CORGI_GPIO_CHRG_UKN, 0); in corgi_charge() 78 gpio_set_value(CORGI_GPIO_DISCHARGE_ON, on); in corgi_discharge()
|
D | hx4700.c | 366 gpio_set_value(GPIO84_HX4700_LCD_SQN, 1); in sony_lcd_init() 367 gpio_set_value(GPIO110_HX4700_LCD_LVDD_3V3_ON, 0); in sony_lcd_init() 368 gpio_set_value(GPIO111_HX4700_LCD_AVDD_3V3_ON, 0); in sony_lcd_init() 369 gpio_set_value(GPIO70_HX4700_LCD_SLIN1, 0); in sony_lcd_init() 370 gpio_set_value(GPIO62_HX4700_LCD_nRESET, 0); in sony_lcd_init() 372 gpio_set_value(GPIO59_HX4700_LCD_PC1, 0); in sony_lcd_init() 373 gpio_set_value(GPIO110_HX4700_LCD_LVDD_3V3_ON, 0); in sony_lcd_init() 376 gpio_set_value(GPIO110_HX4700_LCD_LVDD_3V3_ON, 1); in sony_lcd_init() 378 gpio_set_value(GPIO111_HX4700_LCD_AVDD_3V3_ON, 1); in sony_lcd_init() 383 gpio_set_value(GPIO70_HX4700_LCD_SLIN1, 1); in sony_lcd_init() [all …]
|
D | am300epd.c | 151 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()
|
D | reset.c | 65 gpio_set_value(reset_gpio, 1); in do_gpio_reset() 68 gpio_set_value(reset_gpio, 0); in do_gpio_reset()
|
D | viper.c | 197 gpio_set_value(VIPER_PSU_CLK_GPIO, 0); in viper_set_core_cpu_voltage() 198 gpio_set_value(VIPER_PSU_nCS_LD_GPIO, 0); in viper_set_core_cpu_voltage() 203 gpio_set_value(VIPER_PSU_DATA_GPIO, step & i); in viper_set_core_cpu_voltage() 206 gpio_set_value(VIPER_PSU_CLK_GPIO, 1); in viper_set_core_cpu_voltage() 209 gpio_set_value(VIPER_PSU_CLK_GPIO, 0); in viper_set_core_cpu_voltage() 213 gpio_set_value(VIPER_PSU_nCS_LD_GPIO, 1); in viper_set_core_cpu_voltage() 216 gpio_set_value(VIPER_PSU_nCS_LD_GPIO, 0); in viper_set_core_cpu_voltage() 394 gpio_set_value(VIPER_LCD_EN_GPIO, !!brightness); in viper_backlight_notify() 395 gpio_set_value(VIPER_BCKLIGHT_EN_GPIO, !!brightness); in viper_backlight_notify() 918 gpio_set_value(VIPER_UPS_GPIO, 1); in viper_power_off()
|
/arch/m68k/coldfire/ |
D | device.c | 279 gpio_set_value(MCFQSPI_CS0, cs_high); in mcf_cs_select() 282 gpio_set_value(MCFQSPI_CS1, cs_high); in mcf_cs_select() 285 gpio_set_value(MCFQSPI_CS2, cs_high); in mcf_cs_select() 289 gpio_set_value(MCFQSPI_CS3, cs_high); in mcf_cs_select() 300 gpio_set_value(MCFQSPI_CS0, !cs_high); in mcf_cs_deselect() 303 gpio_set_value(MCFQSPI_CS1, !cs_high); in mcf_cs_deselect() 306 gpio_set_value(MCFQSPI_CS2, !cs_high); in mcf_cs_deselect() 310 gpio_set_value(MCFQSPI_CS3, !cs_high); in mcf_cs_deselect()
|
/arch/arm/mach-imx/ |
D | mach-pca100.c | 215 gpio_set_value(GPIO_PORTC + 20, 1); in pca100_ac97_warm_reset() 217 gpio_set_value(GPIO_PORTC + 20, 0); in pca100_ac97_warm_reset() 225 gpio_set_value(GPIO_PORTC + 20, 0); in pca100_ac97_cold_reset() 227 gpio_set_value(GPIO_PORTC + 22, 0); in pca100_ac97_cold_reset() 229 gpio_set_value(GPIO_PORTC + 28, 0); in pca100_ac97_cold_reset() 231 gpio_set_value(GPIO_PORTC + 28, 1); in pca100_ac97_cold_reset() 269 gpio_set_value(OTG_PHY_CS_GPIO, 0); in otg_phy_init() 283 gpio_set_value(USBH2_PHY_CS_GPIO, 0); in usbh2_phy_init() 397 gpio_set_value(OTG_PHY_CS_GPIO, 0); in pca100_init()
|
D | mach-imx27_visstrim_m10.c | 210 gpio_set_value(TVP5150_PWDN, on); in visstrim_camera_power() 217 gpio_set_value(TVP5150_RSTN, 0); in visstrim_camera_reset() 219 gpio_set_value(TVP5150_RSTN, 1); in visstrim_camera_reset() 250 gpio_set_value(TVP5150_PWDN, 1); in visstrim_analog_camera_init() 252 gpio_set_value(TVP5150_RSTN, 0); in visstrim_analog_camera_init() 254 gpio_set_value(TVP5150_RSTN, 1); in visstrim_analog_camera_init() 587 gpio_set_value(TVP5150_PWDN, 1); in visstrim_m10_board_init() 589 gpio_set_value(TVP5150_RSTN, 0); in visstrim_m10_board_init()
|
D | mx31moboard-smartbot.c | 64 gpio_set_value(CAM_POWER, !on); in smartbot_cam_power() 70 gpio_set_value(CAM_RST_B, 0); in smartbot_cam_reset() 72 gpio_set_value(CAM_RST_B, 1); in smartbot_cam_reset()
|
/arch/arm/mach-sa1100/ |
D | h3100.c | 58 gpio_set_value(H3100_GPIO_LCD_3V_ON, enable); in h3100_lcd_power() 59 gpio_set_value(H3XXX_EGPIO_LCD_ON, enable); in h3100_lcd_power() 99 gpio_set_value(H3100_GPIO_IR_ON, state); in h3100_irda_set_power() 105 gpio_set_value(H3100_GPIO_IR_FSEL, !(speed < 4000000)); in h3100_irda_set_speed()
|
/arch/arm/mach-lpc32xx/ |
D | phy3250.c | 137 gpio_set_value(BKL_POWER_GPIO, 0); in clcd_disable() 138 gpio_set_value(LCD_POWER_GPIO, 0); in clcd_disable() 143 gpio_set_value(BKL_POWER_GPIO, 1); in clcd_enable() 144 gpio_set_value(LCD_POWER_GPIO, 1); in clcd_enable() 195 gpio_set_value(MMC_PWR_ENABLE_GPIO, 0); in mmc_handle_ios() 197 gpio_set_value(MMC_PWR_ENABLE_GPIO, 1); in mmc_handle_ios()
|
/arch/arm/mach-clps711x/ |
D | board-p720t.c | 269 gpio_set_value(PLD_LCDEN_EN, 1); in p720t_lcd_power_set() 270 gpio_set_value(PLD_S1_ON, 1); in p720t_lcd_power_set() 271 gpio_set_value(PLD_S2_ON, 1); in p720t_lcd_power_set() 272 gpio_set_value(PLD_S4_ON, 1); in p720t_lcd_power_set() 274 gpio_set_value(PLD_S1_ON, 0); in p720t_lcd_power_set() 275 gpio_set_value(PLD_S2_ON, 0); in p720t_lcd_power_set() 276 gpio_set_value(PLD_S4_ON, 0); in p720t_lcd_power_set() 277 gpio_set_value(PLD_LCDEN_EN, 0); in p720t_lcd_power_set() 287 gpio_set_value(PLD_S3_ON, intensity); in p720t_lcd_backlight_set_intensity()
|
D | board-edb7211.c | 98 gpio_set_value(EDB7211_LCDEN, 1); in edb7211_lcd_power_set() 100 gpio_set_value(EDB7211_LCD_DC_DC_EN, 1); in edb7211_lcd_power_set() 102 gpio_set_value(EDB7211_LCD_DC_DC_EN, 0); in edb7211_lcd_power_set() 104 gpio_set_value(EDB7211_LCDEN, 0); in edb7211_lcd_power_set()
|
/arch/microblaze/kernel/ |
D | reset.c | 50 gpio_set_value(handle, 0); in of_platform_reset_gpio_probe() 64 gpio_set_value(handle, 1 - reset_val); in gpio_system_reset()
|
/arch/arm/mach-ep93xx/ |
D | vision_ep9307.c | 103 gpio_set_value(VISION_LCD_ENABLE, 0); in vision_lcd_blank() 105 gpio_set_value(VISION_LCD_ENABLE, 1); in vision_lcd_blank() 191 gpio_set_value(EP93XX_GPIO_LINE_EGPIO6, value); in vision_cs4271_hw_cs_control() 240 gpio_set_value(VISION_SPI_FLASH_CS, value); in vision_spi_flash_hw_cs_control() 280 gpio_set_value(VISION_SPI_MMC_CS, value); in vision_spi_mmc_hw_cs_control()
|
/arch/sh/boards/mach-kfr2r09/ |
D | lcd_wqvga.c | 257 gpio_set_value(GPIO_PTF4, 0); /* PROTECT/ -> L */ in kfr2r09_lcd_setup() 258 gpio_set_value(GPIO_PTE4, 0); /* LCD_RST/ -> L */ in kfr2r09_lcd_setup() 259 gpio_set_value(GPIO_PTF4, 1); /* PROTECT/ -> H */ in kfr2r09_lcd_setup() 261 gpio_set_value(GPIO_PTE4, 1); /* LCD_RST/ -> H */ in kfr2r09_lcd_setup() 263 gpio_set_value(GPIO_PTF4, 0); /* PROTECT/ -> L */ in kfr2r09_lcd_setup()
|
/arch/arm/mach-omap2/ |
D | board-n8x0.c | 80 gpio_set_value(TUSB6010_GPIO_ENABLE, 1); in tusb_set_power() 95 gpio_set_value(TUSB6010_GPIO_ENABLE, 0); in tusb_set_power() 193 gpio_set_value(N8X0_SLOT_SWITCH_GPIO, slot); in n8x0_mmc_switch_slot() 272 gpio_set_value(N810_EMMC_VSD_GPIO, 1); in n810_set_power_emmc() 274 gpio_set_value(N810_EMMC_VIO_GPIO, 1); in n810_set_power_emmc() 277 gpio_set_value(N810_EMMC_VIO_GPIO, 0); in n810_set_power_emmc() 279 gpio_set_value(N810_EMMC_VSD_GPIO, 0); in n810_set_power_emmc()
|
/arch/avr32/boards/atngw100/ |
D | mrmt.c | 269 gpio_set_value( PIN_PWR_ON, 0 ); in mrmt_power_off() 274 gpio_set_value( PIN_PWR_ON, 1 ); /* Ensure PWR_ON is enabled */ in mrmt1_init() 332 gpio_set_value( PIN_LCD_DISP, 1 ); /* DISP asserted first */ in mrmt1_init() 361 gpio_set_value( PIN_ZB_RST_N, 1 ); in mrmt1_init() 366 gpio_set_value( PIN_BT_RST, 0 ); in mrmt1_init()
|