Home
last modified time | relevance | path

Searched refs:cec_write (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/media/platform/tegra-cec/
Dtegra_cec.c68 static inline void cec_write(struct tegra_cec *cec, u32 reg, u32 val) in cec_write() function
78 cec_write(cec, TEGRA_CEC_HW_CONTROL, 0); in tegra_cec_error_recovery()
79 cec_write(cec, TEGRA_CEC_INT_STAT, 0xffffffff); in tegra_cec_error_recovery()
80 cec_write(cec, TEGRA_CEC_HW_CONTROL, hw_ctrl); in tegra_cec_error_recovery()
122 cec_write(cec, TEGRA_CEC_INT_MASK, in tegra_cec_irq_handler()
133 cec_write(cec, TEGRA_CEC_INT_MASK, in tegra_cec_irq_handler()
145 cec_write(cec, TEGRA_CEC_INT_STAT, in tegra_cec_irq_handler()
165 cec_write(cec, TEGRA_CEC_INT_MASK, in tegra_cec_irq_handler()
168 cec_write(cec, TEGRA_CEC_TX_REGISTER, in tegra_cec_irq_handler()
170 cec_write(cec, TEGRA_CEC_INT_STAT, in tegra_cec_irq_handler()
[all …]
/Linux-v4.19/drivers/gpu/drm/i2c/
Dtda998x_drv.c393 cec_write(struct tda998x_priv *priv, u16 addr, u8 val) in cec_write() function
449 cec_write(priv, REG_CEC_ENAMODS, val); in cec_enamods()
457 cec_write(priv, 0xf3, 0xc0); in tda998x_cec_set_calibration()
458 cec_write(priv, 0xf4, 0xd4); in tda998x_cec_set_calibration()
463 cec_write(priv, REG_CEC_DES_FREQ2, val); in tda998x_cec_set_calibration()
466 cec_write(priv, REG_CEC_CLK, CEC_CLK_FRO); in tda998x_cec_set_calibration()
469 cec_write(priv, REG_CEC_CAL_XOSC_CTRL1, in tda998x_cec_set_calibration()
472 cec_write(priv, REG_CEC_CAL_XOSC_CTRL1, 0); in tda998x_cec_set_calibration()
1639 cec_write(priv, REG_CEC_RXSHPDINTENA, 0); in tda998x_destroy()
1690 cec_write(priv, REG_CEC_ENAMODS, in tda998x_create()
[all …]
/Linux-v4.19/drivers/media/i2c/
Dadv7842.c408 static inline int cec_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cec_write() function
417 return cec_write(sd, reg, (cec_read(sd, reg) & ~mask) | val); in cec_write_clr_set()
927 cec_write(sd, reg->reg & 0xff, val); in adv7842_s_register()
2227 cec_write(sd, 0x26, 0x01); /* re-enable rx */ in adv7842_cec_isr()
2245 cec_write(sd, 0x2c, 0x01); /* cec soft reset */ in adv7842_cec_adap_enable()
2253 cec_write(sd, 0x26, 0x01); /* enable rx */ in adv7842_cec_adap_enable()
2343 cec_write(sd, i, msg->msg[i]); in adv7842_cec_adap_transmit()
2346 cec_write(sd, 0x10, len); in adv7842_cec_adap_transmit()
2348 cec_write(sd, 0x11, 0x01); in adv7842_cec_adap_transmit()
Dadv7604.c409 static inline int cec_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cec_write() function
419 return cec_write(sd, reg, (cec_read(sd, reg) & ~mask) | val); in cec_write_clr_set()
2027 cec_write(sd, 0x26, 0x01); /* re-enable rx */ in adv76xx_cec_isr()
2048 cec_write(sd, 0x2c, 0x01); /* cec soft reset */ in adv76xx_cec_adap_enable()
2056 cec_write(sd, 0x26, 0x01); /* enable rx */ in adv76xx_cec_adap_enable()
2147 cec_write(sd, i, msg->msg[i]); in adv76xx_cec_adap_transmit()
2150 cec_write(sd, 0x10, len); in adv76xx_cec_adap_transmit()
2152 cec_write(sd, 0x11, 0x01); in adv76xx_cec_adap_transmit()