Home
last modified time | relevance | path

Searched refs:io_reg (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/video/via/
Dviamode.h41 struct io_reg *io_reg_table;
61 extern struct io_reg CN400_ModeXregs[];
62 extern struct io_reg CN700_ModeXregs[];
63 extern struct io_reg KM400_ModeXregs[];
64 extern struct io_reg CX700_ModeXregs[];
65 extern struct io_reg VX800_ModeXregs[];
66 extern struct io_reg VX855_ModeXregs[];
67 extern struct io_reg CLE266_ModeXregs[];
68 extern struct io_reg PM1024x768[];
Dviamode.c25 struct io_reg CN400_ModeXregs[] = { {VIASR, SR10, 0xFF, 0x01},
63 struct io_reg CN700_ModeXregs[] = { {VIASR, SR10, 0xFF, 0x01},
113 struct io_reg KM400_ModeXregs[] = {
155 struct io_reg CX700_ModeXregs[] = { {VIASR, SR10, 0xFF, 0x01},
195 struct io_reg VX855_ModeXregs[] = {
237 struct io_reg CLE266_ModeXregs[] = { {VIASR, SR1E, 0xF0, 0x00},
261 struct io_reg PM1024x768[] = { {VIASR, 0x16, 0xBF, 0x0C},
Dshare.h690 struct io_reg { struct
Dhw.h938 void viafb_write_regx(struct io_reg RegTable[], int ItemNum);
Dhw.c294 static struct io_reg scaling_parameters[] = {
1232 void viafb_write_regx(struct io_reg RegTable[], int ItemNum) in viafb_write_regx()
/linux-2.6.39/drivers/video/backlight/
Dl4f00242t03.c29 struct regulator *io_reg; member
55 if (priv->io_reg) { in l4f00242t03_lcd_init()
56 regulator_set_voltage(priv->io_reg, 1800000, 1800000); in l4f00242t03_lcd_init()
57 regulator_enable(priv->io_reg); in l4f00242t03_lcd_init()
81 if (priv->io_reg) in l4f00242t03_lcd_powerdown()
82 regulator_disable(priv->io_reg); in l4f00242t03_lcd_powerdown()
205 priv->io_reg = regulator_get(NULL, pdata->io_supply); in l4f00242t03_probe()
207 if (IS_ERR(priv->io_reg)) { in l4f00242t03_probe()
244 if (priv->io_reg) in l4f00242t03_probe()
245 regulator_put(priv->io_reg); in l4f00242t03_probe()
[all …]
/linux-2.6.39/drivers/gpio/
Dit8761e_gpio.c92 u8 io_reg, bit; in it8761e_gpio_direction_in() local
95 io_reg = (gpio_num >= 8) ? GPIO2X_IO : GPIO1X_IO; in it8761e_gpio_direction_in()
102 curr_dirs = read_reg(io_reg, port); in it8761e_gpio_direction_in()
105 write_reg(curr_dirs & ~(1 << bit), io_reg, port); in it8761e_gpio_direction_in()
136 u8 curr_dirs, io_reg, bit; in it8761e_gpio_direction_out() local
139 io_reg = (gpio_num >= 8) ? GPIO2X_IO : GPIO1X_IO; in it8761e_gpio_direction_out()
148 curr_dirs = read_reg(io_reg, port); in it8761e_gpio_direction_out()
151 write_reg(curr_dirs | (1 << bit), io_reg, port); in it8761e_gpio_direction_out()