Searched refs:i2c_status (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
D | saa7134-i2c.c | 52 enum i2c_status { enum 82 static inline enum i2c_status i2c_get_status(struct saa7134_dev *dev) in i2c_get_status() 84 enum i2c_status status; in i2c_get_status() 92 enum i2c_status status) in i2c_set_status() 104 static inline int i2c_is_error(enum i2c_status status) in i2c_is_error() 119 static inline int i2c_is_idle(enum i2c_status status) in i2c_is_idle() 130 static inline int i2c_is_busy(enum i2c_status status) in i2c_is_busy() 144 enum i2c_status status; in i2c_is_busy_wait() 160 enum i2c_status status; in i2c_reset() 189 enum i2c_status status; in i2c_send_byte() [all …]
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-xlr.c | 171 u32 i2c_status; in xlr_i2c_tx() local 208 i2c_status = xlr_i2c_rdreg(priv->iobase, XLR_I2C_STATUS); in xlr_i2c_tx() 210 if ((i2c_status & XLR_I2C_SDOEMPTY) && pos < len) { in xlr_i2c_tx() 218 if (i2c_status & XLR_I2C_ARB_STARTERR) { in xlr_i2c_tx() 224 if (i2c_status & XLR_I2C_ACK_ERR) in xlr_i2c_tx() 227 if (!xlr_i2c_busy(priv, i2c_status) && pos >= len) in xlr_i2c_tx() 237 u32 i2c_status; in xlr_i2c_rx() local 260 i2c_status = xlr_i2c_rdreg(priv->iobase, XLR_I2C_STATUS); in xlr_i2c_rx() 261 if (i2c_status & XLR_I2C_RXRDY) { in xlr_i2c_rx() 273 if (i2c_status & XLR_I2C_ARB_STARTERR) { in xlr_i2c_rx() [all …]
|
D | i2c-cros-ec-tunnel.c | 150 if (resp->i2c_status & EC_I2C_STATUS_TIMEOUT) in ec_i2c_parse_response() 152 else if (resp->i2c_status & EC_I2C_STATUS_NAK) in ec_i2c_parse_response() 154 else if (resp->i2c_status & EC_I2C_STATUS_ERROR) in ec_i2c_parse_response()
|
D | i2c-cadence.c | 332 unsigned int isr_status, i2c_status; in cdns_i2c_slave_isr() local 342 i2c_status = cdns_i2c_readreg(CDNS_I2C_SR_OFFSET); in cdns_i2c_slave_isr() 345 if (i2c_status & CDNS_I2C_SR_RXRW) { in cdns_i2c_slave_isr()
|
D | i2c-nomadik.c | 120 enum i2c_status { enum
|
/kernel/linux/linux-5.10/sound/pci/ctxfi/ |
D | cthw20k2.c | 1470 unsigned int i2c_status; in hw20k2_i2c_init() local 1486 i2c_status = hw_read_20kx(hw, I2C_IF_STATUS); in hw20k2_i2c_init() 1488 set_field(&i2c_status, I2C_STATUS_DCM, 1); /* Direct control mode */ in hw20k2_i2c_init() 1490 hw_write_20kx(hw, I2C_IF_STATUS, i2c_status); in hw20k2_i2c_init() 1497 unsigned int i2c_status; in hw20k2_i2c_uninit() local 1505 i2c_status = hw_read_20kx(hw, I2C_IF_STATUS); in hw20k2_i2c_uninit() 1507 set_field(&i2c_status, I2C_STATUS_DCM, 0); /* I2C mode */ in hw20k2_i2c_uninit() 1509 hw_write_20kx(hw, I2C_IF_STATUS, i2c_status); in hw20k2_i2c_uninit() 1529 unsigned int i2c_status; in hw20k2_i2c_read() local 1531 i2c_status = hw_read_20kx(hw, I2C_IF_STATUS); in hw20k2_i2c_read() [all …]
|
/kernel/linux/linux-5.10/drivers/media/i2c/s5c73m3/ |
D | s5c73m3-core.c | 261 u16 i2c_status = 0; in s5c73m3_check_status() local 264 s5c73m3_read(state, REG_I2C_STATUS, &i2c_status); in s5c73m3_check_status() 269 status, value, i2c_status, i2c_seq_status); in s5c73m3_check_status()
|
/kernel/linux/linux-5.10/drivers/scsi/esas2r/ |
D | atioctl.h | 804 u8 i2c_status; member
|
/kernel/linux/linux-5.10/include/linux/platform_data/ |
D | cros_ec_commands.h | 3923 uint8_t i2c_status; /* Status flags (EC_I2C_STATUS_...) */ member
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0020_linux_drivers_gpu.patch | 217 + u8 i2c_status = 0u; 231 + ret = cdns_mhdp_get_last_i2c_status(mhdp, &i2c_status); 239 + switch (i2c_status) { 259 + u8 i2c_status = 0u; 269 + ret = cdns_mhdp_get_last_i2c_status(mhdp, &i2c_status); 277 + switch (i2c_status) {
|