Searched refs:attiny_set_port_state (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/regulator/ |
H A D | rpi-panel-attiny-regulator.c | 81 static int attiny_set_port_state(struct attiny_lcd *state, int reg, u8 val) in attiny_set_port_state() function 99 attiny_set_port_state(state, REG_PORTC, 0); in attiny_lcd_power_enable() 107 attiny_set_port_state(state, REG_PORTA, PA_LCD_LR); in attiny_lcd_power_enable() 110 attiny_set_port_state(state, REG_PORTB, PB_LCD_MAIN); in attiny_lcd_power_enable() 113 attiny_set_port_state(state, REG_PORTC, PC_LED_EN); in attiny_lcd_power_enable() 131 attiny_set_port_state(state, REG_PORTA, 0); in attiny_lcd_power_disable() 133 attiny_set_port_state(state, REG_PORTB, PB_LCD_VCC_N); in attiny_lcd_power_disable() 135 attiny_set_port_state(state, REG_PORTC, 0); in attiny_lcd_power_disable() 230 attiny_set_port_state(state, mappings[off].reg, last_val); in attiny_gpio_set()
|