Home
last modified time | relevance | path

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

/drivers/video/fbdev/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()
209 priv->io_reg = devm_regulator_get(&spi->dev, "vdd"); in l4f00242t03_probe()
210 if (IS_ERR(priv->io_reg)) { in l4f00242t03_probe()
213 return PTR_ERR(priv->io_reg); in l4f00242t03_probe()
/drivers/input/touchscreen/
Dmms114.c57 struct regulator *io_reg; member
322 error = regulator_enable(data->io_reg); in mms114_start()
333 regulator_disable(data->io_reg); in mms114_start()
356 error = regulator_disable(data->io_reg); in mms114_stop()
492 data->io_reg = devm_regulator_get(&client->dev, "vdd"); in mms114_probe()
493 if (IS_ERR(data->io_reg)) { in mms114_probe()
494 error = PTR_ERR(data->io_reg); in mms114_probe()
/drivers/pinctrl/qcom/
Dpinctrl-msm.c276 val = readl(pctrl->regs + g->io_reg); in msm_config_group_get()
340 val = readl(pctrl->regs + g->io_reg); in msm_config_group_set()
345 writel(val, pctrl->regs + g->io_reg); in msm_config_group_set()
419 val = readl(pctrl->regs + g->io_reg); in msm_gpio_direction_output()
424 writel(val, pctrl->regs + g->io_reg); in msm_gpio_direction_output()
443 val = readl(pctrl->regs + g->io_reg); in msm_gpio_get()
458 val = readl(pctrl->regs + g->io_reg); in msm_gpio_set()
463 writel(val, pctrl->regs + g->io_reg); in msm_gpio_set()
571 val = readl(pctrl->regs + g->io_reg) & BIT(g->in_bit); in msm_gpio_update_dual_edge_pos()
577 val2 = readl(pctrl->regs + g->io_reg) & BIT(g->in_bit); in msm_gpio_update_dual_edge_pos()
Dpinctrl-msm.h74 s16 io_reg; member
Dpinctrl-ipq8064.c200 .io_reg = 0x1004 + 0x10 * id, \
227 .io_reg = 0, \
Dpinctrl-apq8064.c247 .io_reg = 0x1004 + 0x10 * id, \
274 .io_reg = 0, \
Dpinctrl-msm8x74.c356 .io_reg = 0x1004 + 0x10 * id, \
382 .io_reg = 0, \
Dpinctrl-apq8084.c360 .io_reg = 0x1004 + 0x10 * id, \
387 .io_reg = 0, \
Dpinctrl-msm8960.c373 .io_reg = 0x1004 + 0x10 * id, \
400 .io_reg = 0, \
/drivers/md/
Ddm-bufio.c1300 struct dm_io_region io_reg = { in dm_bufio_issue_flush() local
1308 return dm_io(&io_req, 1, &io_reg, NULL); in dm_bufio_issue_flush()
/drivers/media/i2c/
Dadv7842.c2989 u8 addr, u8 io_reg) in adv7842_dummy_client() argument
2994 io_write(sd, io_reg, addr << 1); in adv7842_dummy_client()
3001 cp = i2c_new_dummy(client->adapter, io_read(sd, io_reg) >> 1); in adv7842_dummy_client()
Dadv7604.c2530 u8 addr, u8 io_reg) in adv7604_dummy_client() argument
2535 io_write(sd, io_reg, addr << 1); in adv7604_dummy_client()
2536 return i2c_new_dummy(client->adapter, io_read(sd, io_reg) >> 1); in adv7604_dummy_client()