/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 | 327 gpio_set_value(H1940_LATCH_SM803_ENABLE, 1); in h1940_enable_charger() 332 gpio_set_value(H1940_LATCH_SM803_ENABLE, 0); in h1940_disable_charger() 402 gpio_set_value(H1940_LATCH_LED_FLASH, 0); in h1940_led_blink_set() 403 gpio_set_value(blink_gpio, 0); in h1940_led_blink_set() 405 gpio_set_value(gpio, state); in h1940_led_blink_set() 409 gpio_set_value(gpio, 0); in h1940_led_blink_set() 410 gpio_set_value(H1940_LATCH_LED_FLASH, 1); in h1940_led_blink_set() 411 gpio_set_value(blink_gpio, 1); in h1940_led_blink_set() 460 gpio_set_value(H1940_LATCH_SD_POWER, 0); in h1940_set_mmc_power() 464 gpio_set_value(H1940_LATCH_SD_POWER, 1); in h1940_set_mmc_power() [all …]
|
D | h1940-bluetooth.c | 34 gpio_set_value(H1940_LATCH_BLUETOOTH_POWER, 1); in h1940bt_enable() 38 gpio_set_value(S3C2410_GPH(1), 1); in h1940bt_enable() 40 gpio_set_value(S3C2410_GPH(1), 0); in h1940bt_enable() 45 gpio_set_value(S3C2410_GPH(1), 1); in h1940bt_enable() 47 gpio_set_value(S3C2410_GPH(1), 0); in h1940bt_enable() 49 gpio_set_value(H1940_LATCH_BLUETOOTH_POWER, 0); in h1940bt_enable()
|
D | mach-osiris-dvs.c | 76 gpio_set_value(OSIRIS_GPIO_DVS, 1); in osiris_dvs_notify() 84 gpio_set_value(OSIRIS_GPIO_DVS, 0); in osiris_dvs_notify() 134 gpio_set_value(OSIRIS_GPIO_DVS, 1); in osiris_dvs_remove() 150 gpio_set_value(OSIRIS_GPIO_DVS, 1); in osiris_dvs_suspend()
|
/arch/arm/mach-pxa/ |
D | magician.c | 273 gpio_set_value(EGPIO_MAGICIAN_TOPPOLY_POWER, 1); in toppoly_lcd_power() 274 gpio_set_value(GPIO106_MAGICIAN_LCD_POWER_3, 1); in toppoly_lcd_power() 276 gpio_set_value(EGPIO_MAGICIAN_LCD_POWER, 1); in toppoly_lcd_power() 280 gpio_set_value(GPIO104_MAGICIAN_LCD_POWER_1, 1); in toppoly_lcd_power() 282 gpio_set_value(GPIO105_MAGICIAN_LCD_POWER_2, 1); in toppoly_lcd_power() 286 gpio_set_value(GPIO105_MAGICIAN_LCD_POWER_2, 0); in toppoly_lcd_power() 288 gpio_set_value(GPIO104_MAGICIAN_LCD_POWER_1, 0); in toppoly_lcd_power() 290 gpio_set_value(GPIO106_MAGICIAN_LCD_POWER_3, 0); in toppoly_lcd_power() 291 gpio_set_value(EGPIO_MAGICIAN_LCD_POWER, 0); in toppoly_lcd_power() 302 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 | hx4700.c | 351 gpio_set_value(GPIO84_HX4700_LCD_SQN, 1); in sony_lcd_init() 352 gpio_set_value(GPIO110_HX4700_LCD_LVDD_3V3_ON, 0); in sony_lcd_init() 353 gpio_set_value(GPIO111_HX4700_LCD_AVDD_3V3_ON, 0); in sony_lcd_init() 354 gpio_set_value(GPIO70_HX4700_LCD_SLIN1, 0); in sony_lcd_init() 355 gpio_set_value(GPIO62_HX4700_LCD_nRESET, 0); in sony_lcd_init() 357 gpio_set_value(GPIO59_HX4700_LCD_PC1, 0); in sony_lcd_init() 358 gpio_set_value(GPIO110_HX4700_LCD_LVDD_3V3_ON, 0); in sony_lcd_init() 361 gpio_set_value(GPIO110_HX4700_LCD_LVDD_3V3_ON, 1); in sony_lcd_init() 363 gpio_set_value(GPIO111_HX4700_LCD_AVDD_3V3_ON, 1); in sony_lcd_init() 368 gpio_set_value(GPIO70_HX4700_LCD_SLIN1, 1); in sony_lcd_init() [all …]
|
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 | am300epd.c | 150 gpio_set_value(CFG_GPIO_PIN, 1); in am300_init_gpio_regs() 151 gpio_set_value(RST_GPIO_PIN, 0); in am300_init_gpio_regs() 153 gpio_set_value(RST_GPIO_PIN, 1); in am300_init_gpio_regs() 205 gpio_set_value(DB0_GPIO_PIN + i, (data >> i) & 0x01); in am300_set_hdb() 214 gpio_set_value(CS_GPIO_PIN, state); in am300_set_ctl() 217 gpio_set_value(DC_GPIO_PIN, state); in am300_set_ctl() 220 gpio_set_value(WR_GPIO_PIN, state); in am300_set_ctl()
|
D | reset.c | 64 gpio_set_value(reset_gpio, 1); in do_gpio_reset() 67 gpio_set_value(reset_gpio, 0); in do_gpio_reset()
|
/arch/arm/mach-omap1/ |
D | leds-h2p2-debug.c | 67 gpio_set_value(GPIO_TIMER, 0); in h2p2_dbg_leds_event() 68 gpio_set_value(GPIO_IDLE, 0); in h2p2_dbg_leds_event() 96 gpio_set_value(GPIO_TIMER, led_state & LED_TIMER_ON); in h2p2_dbg_leds_event() 108 gpio_set_value(GPIO_IDLE, 1); in h2p2_dbg_leds_event() 118 gpio_set_value(GPIO_IDLE, 0); in h2p2_dbg_leds_event()
|
D | board-voiceblue.c | 199 gpio_set_value(0, 1); in voiceblue_wdt_enable() 200 gpio_set_value(0, 0); in voiceblue_wdt_enable() 206 gpio_set_value(0, 0); in voiceblue_wdt_disable() 207 gpio_set_value(0, 1); in voiceblue_wdt_disable() 208 gpio_set_value(0, 0); in voiceblue_wdt_disable() 218 gpio_set_value(0, wdt_gpio_state); in voiceblue_wdt_ping() 257 gpio_set_value(7, 0); in voiceblue_init()
|
D | leds-osk.c | 45 gpio_set_value(GPIO_LED_GREEN, green); in mistral_setled() 46 gpio_set_value(GPIO_LED_RED, red); in mistral_setled()
|
/arch/m68k/platform/coldfire/ |
D | device.c | 220 gpio_set_value(MCFQSPI_CS0, cs_high); in mcf_cs_select() 223 gpio_set_value(MCFQSPI_CS1, cs_high); in mcf_cs_select() 226 gpio_set_value(MCFQSPI_CS2, cs_high); in mcf_cs_select() 230 gpio_set_value(MCFQSPI_CS3, cs_high); in mcf_cs_select() 241 gpio_set_value(MCFQSPI_CS0, !cs_high); in mcf_cs_deselect() 244 gpio_set_value(MCFQSPI_CS1, !cs_high); in mcf_cs_deselect() 247 gpio_set_value(MCFQSPI_CS2, !cs_high); in mcf_cs_deselect() 251 gpio_set_value(MCFQSPI_CS3, !cs_high); in mcf_cs_deselect()
|
/arch/arm/mach-imx/ |
D | mach-imx27_visstrim_m10.c | 127 gpio_set_value(TVP5150_PWDN, on); in visstrim_camera_power() 134 gpio_set_value(TVP5150_RSTN, 0); in visstrim_camera_reset() 136 gpio_set_value(TVP5150_RSTN, 1); in visstrim_camera_reset() 170 gpio_set_value(TVP5150_RSTN, 1); in visstrim_camera_init() 171 gpio_set_value(TVP5150_PWDN, 0); in visstrim_camera_init() 174 gpio_set_value(TVP5150_PWDN, 1); in visstrim_camera_init() 176 gpio_set_value(TVP5150_RSTN, 0); in visstrim_camera_init() 178 gpio_set_value(TVP5150_RSTN, 1); in visstrim_camera_init() 354 gpio_set_value(OTG_PHY_CS_GPIO, 0); in otg_phy_init()
|
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() 270 gpio_set_value(OTG_PHY_CS_GPIO, 0); in otg_phy_init() 284 gpio_set_value(USBH2_PHY_CS_GPIO, 0); in usbh2_phy_init() 398 gpio_set_value(OTG_PHY_CS_GPIO, 0); in pca100_init()
|
/arch/mips/loongson/common/ |
D | gpio.c | 44 void gpio_set_value(unsigned gpio, int state) in gpio_set_value() function 65 EXPORT_SYMBOL(gpio_set_value); 103 gpio_set_value(gpio, level); in ls2f_gpio_direction_output() 122 gpio_set_value(gpio, value); in ls2f_gpio_set_value()
|
/arch/mips/include/asm/mach-generic/ |
D | gpio.h | 6 #define gpio_set_value __gpio_set_value macro 14 void gpio_set_value(unsigned gpio, int value);
|
/arch/arm/mach-sa1100/ |
D | h3100.c | 34 gpio_set_value(H3100_GPIO_LCD_3V_ON, enable); in h3100_lcd_power() 74 gpio_set_value(H3100_GPIO_IR_ON, state); in h3100_irda_set_power() 80 gpio_set_value(H3100_GPIO_IR_FSEL, !(speed < 4000000)); in h3100_irda_set_speed()
|
/arch/arm/mach-ks8695/ |
D | leds.c | 21 gpio_set_value(led, 0); in ks8695_led_on() 26 gpio_set_value(led, 1); in ks8695_led_off()
|
/arch/arm/plat-omap/ |
D | debug-leds.c | 84 gpio_set_value(GPIO_TIMER, 0); in h2p2_dbg_leds_event() 85 gpio_set_value(GPIO_IDLE, 0); in h2p2_dbg_leds_event() 108 gpio_set_value(GPIO_TIMER, in h2p2_dbg_leds_event() 122 gpio_set_value(GPIO_IDLE, 1); in h2p2_dbg_leds_event() 132 gpio_set_value(GPIO_IDLE, 0); in h2p2_dbg_leds_event()
|
/arch/microblaze/kernel/ |
D | reset.c | 50 gpio_set_value(handle, 0); in of_platform_reset_gpio_probe() 63 gpio_set_value(handle, 1 - reset_val); in gpio_system_reset()
|
/arch/arm/mach-omap2/ |
D | board-overo.c | 214 gpio_set_value(OVERO_GPIO_LCD_EN, 1); in overo_panel_enable_lcd() 215 gpio_set_value(OVERO_GPIO_LCD_BL, 1); in overo_panel_enable_lcd() 222 gpio_set_value(OVERO_GPIO_LCD_EN, 0); in overo_panel_disable_lcd() 223 gpio_set_value(OVERO_GPIO_LCD_BL, 0); in overo_panel_disable_lcd() 538 gpio_set_value(OVERO_GPIO_W2W_NRESET, 0); in overo_init() 540 gpio_set_value(OVERO_GPIO_W2W_NRESET, 1); in overo_init() 552 gpio_set_value(OVERO_GPIO_BT_NRESET, 0); in overo_init() 554 gpio_set_value(OVERO_GPIO_BT_NRESET, 1); in overo_init()
|
D | board-rx51-video.c | 32 gpio_set_value(dssdev->reset_gpio, 1); in rx51_lcd_enable() 38 gpio_set_value(dssdev->reset_gpio, 0); in rx51_lcd_disable()
|