Home
last modified time | relevance | path

Searched refs:outreg (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/video/fbdev/mb862xx/
H A Dmb862xxfbdrv.c234 outreg(disp, GC_L0M, reg); in mb862xxfb_set_par()
335 outreg(cap, GC_CAP_CSC, in mb862xxfb_ioctl()
343 outreg(cap, GC_CAP_CSC, in mb862xxfb_ioctl()
355 outreg(cap, GC_CAP_CBM, in mb862xxfb_ioctl()
359 outreg(cap, GC_CAP_CBM, in mb862xxfb_ioctl()
380 outreg(cap, GC_CAP_VCM, in mb862xxfb_ioctl()
385 outreg(cap, GC_CAP_VCM, in mb862xxfb_ioctl()
387 outreg(disp, GC_DCM1, in mb862xxfb_ioctl()
394 outreg(cap, GC_CAP_VCM, in mb862xxfb_ioctl()
397 outreg(cap, GC_CAP_VCM, in mb862xxfb_ioctl()
[all …]
H A Dmb862xx-i2c.c36 outreg(i2c, GC_I2C_DAR, addr); in mb862xx_i2c_do_address()
37 outreg(i2c, GC_I2C_CCR, I2C_CLOCK_AND_ENABLE); in mb862xx_i2c_do_address()
38 outreg(i2c, GC_I2C_BCR, par->i2c_rs ? I2C_REPEATED_START : I2C_START); in mb862xx_i2c_do_address()
49 outreg(i2c, GC_I2C_DAR, byte); in mb862xx_i2c_write_byte()
50 outreg(i2c, GC_I2C_BCR, I2C_START); in mb862xx_i2c_write_byte()
60 outreg(i2c, GC_I2C_BCR, I2C_START | (last ? 0 : I2C_ACK)); in mb862xx_i2c_read_byte()
71 outreg(i2c, GC_I2C_BCR, I2C_STOP); in mb862xx_i2c_stop()
72 outreg(i2c, GC_I2C_CCR, I2C_DISABLE); in mb862xx_i2c_stop()
H A Dmb862xxfb_accel.c31 outreg(geo, GDC_GEO_REG_INPUT_FIFO, data[total]); in mb862xxfb_write_fifo()
311 outreg(disp, GC_L0EM, 3); in mb862xxfb_init_accel()
316 outreg(draw, GDC_REG_DRAW_BASE, 0); in mb862xxfb_init_accel()
317 outreg(draw, GDC_REG_MODE_MISC, 0x8000); in mb862xxfb_init_accel()
318 outreg(draw, GDC_REG_X_RESOLUTION, xres); in mb862xxfb_init_accel()
H A Dmb862xxfb.h115 #define outreg(type, off, val) \ macro
/openbmc/linux/drivers/media/dvb-frontends/
H A Ddib7000p.c177 outreg = 0; in dib7000p_set_output_mode()
185 outreg = (1 << 10); /* 0x0400 */ in dib7000p_set_output_mode()
197 outreg = (1 << 11); in dib7000p_set_output_mode()
202 outreg = (1 << 10) | (5 << 6); in dib7000p_set_output_mode()
205 outreg = (1 << 10) | (3 << 6); in dib7000p_set_output_mode()
208 outreg = 0; in dib7000p_set_output_mode()
2629 outreg = 0; in dib7090_set_output_mode()
2652 outreg |= (0<<6); in dib7090_set_output_mode()
2659 outreg |= (1<<6); in dib7090_set_output_mode()
2665 outreg |= (5<<6); in dib7090_set_output_mode()
[all …]
H A Ddib7000m.c154 u16 outreg, fifo_threshold, smo_mode, in dib7000m_set_output_mode() local
157 outreg = 0; in dib7000m_set_output_mode()
165 outreg = (1 << 10); /* 0x0400 */ in dib7000m_set_output_mode()
168 outreg = (1 << 10) | (1 << 6); /* 0x0440 */ in dib7000m_set_output_mode()
171 outreg = (1 << 10) | (2 << 6) | (0 << 1); /* 0x0482 */ in dib7000m_set_output_mode()
175 outreg = (1 << 10) | (4 << 6); /* 0x0500 */ in dib7000m_set_output_mode()
182 outreg = (1 << 10) | (5 << 6); in dib7000m_set_output_mode()
185 outreg = 0; in dib7000m_set_output_mode()
197 ret |= dib7000m_write_word(state, 1795, outreg); in dib7000m_set_output_mode()
H A Ddib8000.c411 outreg = 0; in dib8000_set_output_mode()
420 outreg = (1 << 10); /* 0x0400 */ in dib8000_set_output_mode()
438 outreg = (1 << 10) | (5 << 6); in dib8000_set_output_mode()
441 outreg = 0; in dib8000_set_output_mode()
445 outreg = (1 << 10) | (3 << 6); in dib8000_set_output_mode()
1578 outreg = 0; in dib8096p_set_output_mode()
1590 outreg |= (2 << 6) | (0 << 1); in dib8096p_set_output_mode()
1603 outreg |= (0 << 6); in dib8096p_set_output_mode()
1610 outreg |= (1 << 6); in dib8096p_set_output_mode()
1618 outreg |= (5 << 6); in dib8096p_set_output_mode()
[all …]
H A Ddib3000mc.c188 u16 outreg = 0; in dib3000mc_set_output_mode() local
236 outreg = dib3000mc_read_word(state, 244) & 0x07FF; in dib3000mc_set_output_mode()
237 outreg |= (outmode << 11); in dib3000mc_set_output_mode()
238 ret |= dib3000mc_write_word(state, 244, outreg); in dib3000mc_set_output_mode()
H A Ddib9000.c1539 u16 outreg, smo_mode; in dib9000_fw_set_output_mode() local
1545 outreg = (1 << 10); /* 0x0400 */ in dib9000_fw_set_output_mode()
1548 outreg = (1 << 10) | (1 << 6); /* 0x0440 */ in dib9000_fw_set_output_mode()
1551 outreg = (1 << 10) | (2 << 6) | (0 << 1); /* 0x0482 */ in dib9000_fw_set_output_mode()
1554 outreg = (1 << 10) | (4 << 6); /* 0x0500 */ in dib9000_fw_set_output_mode()
1557 outreg = (1 << 10) | (5 << 6); in dib9000_fw_set_output_mode()
1560 outreg = 0; in dib9000_fw_set_output_mode()
1567 dib9000_write_word(state, 1795, outreg); in dib9000_fw_set_output_mode()
1581 outreg = to_fw_output_mode(mode); in dib9000_fw_set_output_mode()
1582 return dib9000_mbx_send(state, OUT_MSG_SET_OUTPUT_MODE, &outreg, 1); in dib9000_fw_set_output_mode()
/openbmc/linux/drivers/watchdog/
H A Deurotechwdt.c442 goto outreg; in eurwdt_init()
463 outreg: in eurwdt_init()
H A Dwdt.c614 goto outreg; in wdt_init()
653 outreg: in wdt_init()
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-cy8c95x0.c568 u8 outreg = CY8C95X0_OUTPUT_(port); in cy8c95x0_gpio_direction_output() local
573 ret = regmap_write_bits(chip->regmap, outreg, bit, val ? bit : 0); in cy8c95x0_gpio_direction_output()
606 u8 outreg = CY8C95X0_OUTPUT_(cypress_get_port(chip, off)); in cy8c95x0_gpio_set_value() local
609 regmap_write_bits(chip->regmap, outreg, bit, val ? bit : 0); in cy8c95x0_gpio_set_value()
/openbmc/linux/drivers/gpio/
H A Dgpio-pca953x.c536 u8 outreg = chip->recalc_addr(chip, chip->regs->output, off); in pca953x_gpio_direction_output() local
542 ret = regmap_write_bits(chip->regmap, outreg, bit, val ? bit : 0); in pca953x_gpio_direction_output()
573 u8 outreg = chip->recalc_addr(chip, chip->regs->output, off); in pca953x_gpio_set_value() local
577 regmap_write_bits(chip->regmap, outreg, bit, val ? bit : 0); in pca953x_gpio_set_value()