Home
last modified time | relevance | path

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

/drivers/media/cec/platform/tegra/
Dtegra_cec.c57 static inline void cec_write(struct tegra_cec *cec, u32 reg, u32 val) in cec_write() function
67 cec_write(cec, TEGRA_CEC_HW_CONTROL, 0); in tegra_cec_error_recovery()
68 cec_write(cec, TEGRA_CEC_INT_STAT, 0xffffffff); in tegra_cec_error_recovery()
69 cec_write(cec, TEGRA_CEC_HW_CONTROL, hw_ctrl); in tegra_cec_error_recovery()
111 cec_write(cec, TEGRA_CEC_INT_MASK, in tegra_cec_irq_handler()
122 cec_write(cec, TEGRA_CEC_INT_MASK, in tegra_cec_irq_handler()
134 cec_write(cec, TEGRA_CEC_INT_STAT, in tegra_cec_irq_handler()
154 cec_write(cec, TEGRA_CEC_INT_MASK, in tegra_cec_irq_handler()
157 cec_write(cec, TEGRA_CEC_TX_REGISTER, in tegra_cec_irq_handler()
159 cec_write(cec, TEGRA_CEC_INT_STAT, in tegra_cec_irq_handler()
[all …]
/drivers/gpu/drm/i2c/
Dtda998x_drv.c406 cec_write(struct tda998x_priv *priv, u16 addr, u8 val) in cec_write() function
462 cec_write(priv, REG_CEC_ENAMODS, val); in cec_enamods()
470 cec_write(priv, 0xf3, 0xc0); in tda998x_cec_set_calibration()
471 cec_write(priv, 0xf4, 0xd4); in tda998x_cec_set_calibration()
476 cec_write(priv, REG_CEC_DES_FREQ2, val); in tda998x_cec_set_calibration()
479 cec_write(priv, REG_CEC_CLK, CEC_CLK_FRO); in tda998x_cec_set_calibration()
482 cec_write(priv, REG_CEC_CAL_XOSC_CTRL1, in tda998x_cec_set_calibration()
485 cec_write(priv, REG_CEC_CAL_XOSC_CTRL1, 0); in tda998x_cec_set_calibration()
1791 cec_write(priv, REG_CEC_RXSHPDINTENA, 0); in tda998x_destroy()
1841 cec_write(priv, REG_CEC_ENAMODS, in tda998x_create()
[all …]
/drivers/media/i2c/
Dadv7842.c386 static inline int cec_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cec_write() function
395 return cec_write(sd, reg, (cec_read(sd, reg) & ~mask) | val); in cec_write_clr_set()
917 cec_write(sd, reg->reg & 0xff, val); in adv7842_s_register()
2226 cec_write(sd, 0x26, 0x01); /* re-enable rx */ in adv7842_cec_isr()
2244 cec_write(sd, 0x2c, 0x01); /* cec soft reset */ in adv7842_cec_adap_enable()
2252 cec_write(sd, 0x26, 0x01); /* enable rx */ in adv7842_cec_adap_enable()
2342 cec_write(sd, i, msg->msg[i]); in adv7842_cec_adap_transmit()
2345 cec_write(sd, 0x10, len); in adv7842_cec_adap_transmit()
2347 cec_write(sd, 0x11, 0x01); in adv7842_cec_adap_transmit()
Dadv7604.c422 static inline int cec_write(struct v4l2_subdev *sd, u8 reg, u8 val) in cec_write() function
432 return cec_write(sd, reg, (cec_read(sd, reg) & ~mask) | val); in cec_write_clr_set()
2058 cec_write(sd, info->cec_rx_enable, in adv76xx_cec_isr()
2086 cec_write(sd, 0x2c, 0x01); /* cec soft reset */ in adv76xx_cec_adap_enable()
2094 cec_write(sd, info->cec_rx_enable, info->cec_rx_enable_mask); in adv76xx_cec_adap_enable()
2185 cec_write(sd, i, msg->msg[i]); in adv76xx_cec_adap_transmit()
2188 cec_write(sd, 0x10, len); in adv76xx_cec_adap_transmit()
2190 cec_write(sd, 0x11, 0x01); in adv76xx_cec_adap_transmit()