Home
last modified time | relevance | path

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

123

/linux-6.12.1/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.12.1/drivers/platform/x86/intel/speed_select_if/
Disst_if_mmio.c45 struct isst_if_io_reg *io_reg; in isst_if_mmio_rd_wr() local
48 io_reg = (struct isst_if_io_reg *)cmd_ptr; in isst_if_mmio_rd_wr()
50 if (io_reg->reg % 4) in isst_if_mmio_rd_wr()
53 if (io_reg->read_write && !capable(CAP_SYS_ADMIN)) in isst_if_mmio_rd_wr()
56 pdev = isst_if_get_pci_dev(io_reg->logical_cpu, 0, 0, 1); in isst_if_mmio_rd_wr()
64 if (io_reg->reg < punit_dev->mmio_range[0].beg || in isst_if_mmio_rd_wr()
65 io_reg->reg > punit_dev->mmio_range[1].end) in isst_if_mmio_rd_wr()
73 if (io_reg->read_write) { in isst_if_mmio_rd_wr()
74 writel(io_reg->value, punit_dev->punit_mmio+io_reg->reg); in isst_if_mmio_rd_wr()
77 io_reg->value = readl(punit_dev->punit_mmio+io_reg->reg); in isst_if_mmio_rd_wr()
[all …]
/linux-6.12.1/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()
196 priv->io_reg = devm_regulator_get(&spi->dev, "vdd"); in l4f00242t03_probe()
197 if (IS_ERR(priv->io_reg)) in l4f00242t03_probe()
198 return dev_err_probe(&spi->dev, PTR_ERR(priv->io_reg), in l4f00242t03_probe()
/linux-6.12.1/drivers/input/touchscreen/
Dmms114.c67 struct regulator *io_reg; member
398 error = regulator_enable(data->io_reg); in mms114_start()
409 regulator_disable(data->io_reg); in mms114_start()
426 error = regulator_disable(data->io_reg); in mms114_stop()
607 data->io_reg = devm_regulator_get(&client->dev, "vdd"); in mms114_probe()
608 if (IS_ERR(data->io_reg)) { in mms114_probe()
609 error = PTR_ERR(data->io_reg); in mms114_probe()
/linux-6.12.1/tools/power/x86/intel-speed-select/
Disst-core-mbox.c91 io_regs.io_reg[0].logical_cpu = cpu; in _send_mmio_command()
92 io_regs.io_reg[0].reg = reg; in _send_mmio_command()
95 io_regs.io_reg[0].read_write = 1; in _send_mmio_command()
96 io_regs.io_reg[0].value = *value; in _send_mmio_command()
98 io_regs.io_reg[0].read_write = 0; in _send_mmio_command()
111 *value = io_regs.io_reg[0].value; in _send_mmio_command()
/linux-6.12.1/drivers/pinctrl/qcom/
Dpinctrl-msm.h82 u32 io_reg; member
Dpinctrl-qdf2xxx.c106 groups[gpio].io_reg = 0x04 + 0x10000 * gpio; in qdf2xxx_pinctrl_probe()
Dpinctrl-sdx65.c33 .io_reg = REG_BASE + 0x4 + REG_SIZE * id, \
59 .io_reg = 0, \
84 .io_reg = offset + 0x4, \
Dpinctrl-msm.c676 u32 ctl_reg, io_reg; in msm_gpio_dbg_show_one() local
696 io_reg = msm_readl_io(pctrl, g); in msm_gpio_dbg_show_one()
707 val = !!(io_reg & BIT(g->out_bit)); in msm_gpio_dbg_show_one()
709 val = !!(io_reg & BIT(g->in_bit)); in msm_gpio_dbg_show_one()
Dpinctrl-sdm670.c37 .io_reg = base + 0x4 + REG_SIZE * id, \
67 .io_reg = 0, \
92 .io_reg = 0, \
117 .io_reg = offset + 0x4, \
Dpinctrl-ipq8064.c183 .io_reg = 0x1004 + 0x10 * id, \
210 .io_reg = 0, \
Dpinctrl-sm6115.c43 .io_reg = 0x4 + 0x1000 * id, \
70 .io_reg = 0, \
96 .io_reg = offset + 0x4, \
Dpinctrl-sm7150.c47 .io_reg = 0x4 + REG_SIZE * id, \
74 .io_reg = 0, \
100 .io_reg = offset + 0x4, \
Dpinctrl-qcm2290.c33 .io_reg = 0x4 + REG_SIZE * id, \
59 .io_reg = 0, \
84 .io_reg = offset + 0x4, \
Dpinctrl-sc7180.c41 .io_reg = 0x1000 * id + 0x4, \
68 .io_reg = 0, \
94 .io_reg = offset + 0x4, \
Dpinctrl-msm8x74.c344 .io_reg = 0x1004 + 0x10 * id, \
370 .io_reg = 0, \
401 .io_reg = 0, \
Dpinctrl-sm4450.c33 .io_reg = 0x4 + REG_SIZE * id, \
61 .io_reg = 0, \
86 .io_reg = offset + 0x4, \
Dpinctrl-msm8226.c282 .io_reg = 0x1004 + 0x10 * id, \
308 .io_reg = 0, \
Dpinctrl-apq8064.c231 .io_reg = 0x1004 + 0x10 * id, \
258 .io_reg = 0, \
Dpinctrl-qdu1000.c35 .io_reg = REG_BASE + 0x4 + REG_SIZE * id, \
61 .io_reg = 0, \
86 .io_reg = offset + 0x4, \
/linux-6.12.1/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.12.1/include/uapi/linux/
Disst_if.h95 struct isst_if_io_reg io_reg[1]; member

123