Home
last modified time | relevance | path

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

/drivers/video/via/
Dviamode.h36 struct io_reg *io_reg_table;
47 extern struct io_reg CN400_ModeXregs[];
48 extern struct io_reg CN700_ModeXregs[];
49 extern struct io_reg KM400_ModeXregs[];
50 extern struct io_reg CX700_ModeXregs[];
51 extern struct io_reg VX800_ModeXregs[];
52 extern struct io_reg VX855_ModeXregs[];
53 extern struct io_reg CLE266_ModeXregs[];
54 extern struct io_reg PM1024x768[];
Dviamode.c25 struct io_reg CN400_ModeXregs[] = { {VIASR, SR10, 0xFF, 0x01},
58 struct io_reg CN700_ModeXregs[] = { {VIASR, SR10, 0xFF, 0x01},
107 struct io_reg KM400_ModeXregs[] = {
145 struct io_reg CX700_ModeXregs[] = { {VIASR, SR10, 0xFF, 0x01},
180 struct io_reg VX855_ModeXregs[] = {
214 struct io_reg CLE266_ModeXregs[] = { {VIASR, SR1E, 0xF0, 0x00},
238 struct io_reg PM1024x768[] = { {VIASR, 0x16, 0xBF, 0x0C},
Dshare.h325 struct io_reg { struct
Dhw.h658 void viafb_write_regx(struct io_reg RegTable[], int ItemNum);
Dhw.c104 static struct io_reg scaling_parameters[] = {
121 static struct io_reg common_vga[] = {
1016 void viafb_write_regx(struct io_reg RegTable[], int ItemNum) in viafb_write_regx()
/drivers/gpio/
Dgpio-it8761e.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()
/drivers/video/backlight/
Dl4f00242t03.c32 struct regulator *io_reg; member
58 ret = regulator_set_voltage(priv->io_reg, 1800000, 1800000); in l4f00242t03_lcd_init()
63 ret = regulator_enable(priv->io_reg); in l4f00242t03_lcd_init()
72 regulator_disable(priv->io_reg); in l4f00242t03_lcd_init()
78 regulator_disable(priv->io_reg); in l4f00242t03_lcd_init()
98 regulator_disable(priv->io_reg); in l4f00242t03_lcd_powerdown()
212 priv->io_reg = devm_regulator_get(&spi->dev, "vdd"); in l4f00242t03_probe()
213 if (IS_ERR(priv->io_reg)) { in l4f00242t03_probe()
216 return PTR_ERR(priv->io_reg); in l4f00242t03_probe()
/drivers/input/touchscreen/
Dmms114.c58 struct regulator *io_reg; member
323 error = regulator_enable(data->io_reg); in mms114_start()
334 regulator_disable(data->io_reg); in mms114_start()
357 error = regulator_disable(data->io_reg); in mms114_stop()
493 data->io_reg = devm_regulator_get(&client->dev, "vdd"); in mms114_probe()
494 if (IS_ERR(data->io_reg)) { in mms114_probe()
495 error = PTR_ERR(data->io_reg); in mms114_probe()
/drivers/md/
Ddm-bufio.c1224 struct dm_io_region io_reg = { in dm_bufio_issue_flush() local
1232 return dm_io(&io_req, 1, &io_reg, NULL); in dm_bufio_issue_flush()
/drivers/media/i2c/
Dadv7604.c1947 u8 addr, u8 io_reg) in adv7604_dummy_client() argument
1952 io_write(sd, io_reg, addr << 1); in adv7604_dummy_client()
1953 return i2c_new_dummy(client->adapter, io_read(sd, io_reg) >> 1); in adv7604_dummy_client()