Home
last modified time | relevance | path

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

123

/linux-6.1.9/drivers/video/fbdev/via/
Dviamode.h22 struct io_reg *io_reg_table;
33 extern struct io_reg CN400_ModeXregs[];
34 extern struct io_reg CN700_ModeXregs[];
35 extern struct io_reg KM400_ModeXregs[];
36 extern struct io_reg CX700_ModeXregs[];
37 extern struct io_reg VX800_ModeXregs[];
38 extern struct io_reg VX855_ModeXregs[];
39 extern struct io_reg CLE266_ModeXregs[];
40 extern struct io_reg PM1024x768[];
Dviamode.c11 struct io_reg CN400_ModeXregs[] = { {VIASR, SR10, 0xFF, 0x01},
44 struct io_reg CN700_ModeXregs[] = { {VIASR, SR10, 0xFF, 0x01},
93 struct io_reg KM400_ModeXregs[] = {
131 struct io_reg CX700_ModeXregs[] = { {VIASR, SR10, 0xFF, 0x01},
166 struct io_reg VX855_ModeXregs[] = {
200 struct io_reg CLE266_ModeXregs[] = { {VIASR, SR1E, 0xF0, 0x00},
224 struct io_reg PM1024x768[] = { {VIASR, 0x16, 0xBF, 0x0C},
Dshare.h311 struct io_reg { struct
Dhw.h644 void viafb_write_regx(struct io_reg RegTable[], int ItemNum);
/linux-6.1.9/drivers/platform/x86/intel/speed_select_if/
Disst_if_mmio.c44 struct isst_if_io_reg *io_reg; in isst_if_mmio_rd_wr() local
47 io_reg = (struct isst_if_io_reg *)cmd_ptr; in isst_if_mmio_rd_wr()
49 if (io_reg->reg % 4) in isst_if_mmio_rd_wr()
52 if (io_reg->read_write && !capable(CAP_SYS_ADMIN)) in isst_if_mmio_rd_wr()
55 pdev = isst_if_get_pci_dev(io_reg->logical_cpu, 0, 0, 1); in isst_if_mmio_rd_wr()
63 if (io_reg->reg < punit_dev->mmio_range[0].beg || in isst_if_mmio_rd_wr()
64 io_reg->reg > punit_dev->mmio_range[1].end) in isst_if_mmio_rd_wr()
72 if (io_reg->read_write) { in isst_if_mmio_rd_wr()
73 writel(io_reg->value, punit_dev->punit_mmio+io_reg->reg); in isst_if_mmio_rd_wr()
76 io_reg->value = readl(punit_dev->punit_mmio+io_reg->reg); in isst_if_mmio_rd_wr()
[all …]
/linux-6.1.9/drivers/video/backlight/
Dl4f00242t03.c27 struct regulator *io_reg; member
54 ret = regulator_set_voltage(priv->io_reg, 1800000, 1800000); in l4f00242t03_lcd_init()
59 ret = regulator_enable(priv->io_reg); in l4f00242t03_lcd_init()
68 regulator_disable(priv->io_reg); in l4f00242t03_lcd_init()
74 regulator_disable(priv->io_reg); in l4f00242t03_lcd_init()
93 regulator_disable(priv->io_reg); in l4f00242t03_lcd_powerdown()
197 priv->io_reg = devm_regulator_get(&spi->dev, "vdd"); in l4f00242t03_probe()
198 if (IS_ERR(priv->io_reg)) { in l4f00242t03_probe()
201 return PTR_ERR(priv->io_reg); in l4f00242t03_probe()
/linux-6.1.9/drivers/input/touchscreen/
Dmms114.c67 struct regulator *io_reg; member
362 error = regulator_enable(data->io_reg); in mms114_start()
373 regulator_disable(data->io_reg); in mms114_start()
390 error = regulator_disable(data->io_reg); in mms114_stop()
535 data->io_reg = devm_regulator_get(&client->dev, "vdd"); in mms114_probe()
536 if (IS_ERR(data->io_reg)) { in mms114_probe()
537 error = PTR_ERR(data->io_reg); in mms114_probe()
/linux-6.1.9/drivers/pinctrl/qcom/
Dpinctrl-msm.h67 u32 io_reg; member
Dpinctrl-qdf2xxx.c106 groups[gpio].io_reg = 0x04 + 0x10000 * gpio; in qdf2xxx_pinctrl_probe()
Dpinctrl-msm.c638 u32 ctl_reg, io_reg; in msm_gpio_dbg_show_one() local
658 io_reg = msm_readl_io(pctrl, g); in msm_gpio_dbg_show_one()
669 val = !!(io_reg & BIT(g->out_bit)); in msm_gpio_dbg_show_one()
671 val = !!(io_reg & BIT(g->in_bit)); in msm_gpio_dbg_show_one()
Dpinctrl-sdx65.c41 .io_reg = REG_BASE + 0x4 + REG_SIZE * id, \
67 .io_reg = 0, \
92 .io_reg = offset + 0x4, \
Dpinctrl-ipq8064.c191 .io_reg = 0x1004 + 0x10 * id, \
218 .io_reg = 0, \
Dpinctrl-sm6115.c51 .io_reg = 0x4 + 0x1000 * id, \
78 .io_reg = 0, \
104 .io_reg = offset + 0x4, \
Dpinctrl-msm8x74.c352 .io_reg = 0x1004 + 0x10 * id, \
378 .io_reg = 0, \
409 .io_reg = 0, \
Dpinctrl-qcm2290.c41 .io_reg = 0x4 + REG_SIZE * id, \
67 .io_reg = 0, \
92 .io_reg = offset + 0x4, \
Dpinctrl-sc7180.c49 .io_reg = 0x1000 * id + 0x4, \
76 .io_reg = 0, \
102 .io_reg = offset + 0x4, \
Dpinctrl-apq8064.c239 .io_reg = 0x1004 + 0x10 * id, \
266 .io_reg = 0, \
Dpinctrl-msm8226.c290 .io_reg = 0x1004 + 0x10 * id, \
316 .io_reg = 0, \
Dpinctrl-sm6125.c48 .io_reg = 0x4 + 0x1000 * id, \
75 .io_reg = 0, \
101 .io_reg = offset + 0x4, \
Dpinctrl-sm6350.c41 .io_reg = 0x4 + REG_SIZE * id, \
67 .io_reg = 0, \
92 .io_reg = offset + 0x4, \
Dpinctrl-sm6375.c42 .io_reg = REG_SIZE * id + 0x4, \
70 .io_reg = 0, \
95 .io_reg = offset + 0x4, \
/linux-6.1.9/include/uapi/linux/
Disst_if.h95 struct isst_if_io_reg io_reg[1]; member
/linux-6.1.9/drivers/media/i2c/adv748x/
Dadv748x-core.c160 u8 io_reg; in adv748x_set_slave_addresses() local
163 io_reg = ADV748X_IO_SLAVE_ADDR_BASE + i; in adv748x_set_slave_addresses()
166 io_write(state, io_reg, client->addr << 1); in adv748x_set_slave_addresses()
/linux-6.1.9/tools/power/x86/intel-speed-select/
Disst-config.c750 io_regs.io_reg[0].logical_cpu = cpu; in isst_send_mmio_command()
751 io_regs.io_reg[0].reg = reg; in isst_send_mmio_command()
754 io_regs.io_reg[0].read_write = 1; in isst_send_mmio_command()
755 io_regs.io_reg[0].value = *value; in isst_send_mmio_command()
757 io_regs.io_reg[0].read_write = 0; in isst_send_mmio_command()
770 *value = io_regs.io_reg[0].value; in isst_send_mmio_command()
/linux-6.1.9/drivers/md/
Ddm-bufio.c1370 struct dm_io_region io_reg = { in dm_bufio_issue_flush() local
1378 return dm_io(&io_req, 1, &io_reg, NULL); in dm_bufio_issue_flush()
1393 struct dm_io_region io_reg = { in dm_bufio_issue_discard() local
1401 return dm_io(&io_req, 1, &io_reg, NULL); in dm_bufio_issue_discard()

123