Home
last modified time | relevance | path

Searched refs:I2C_CLIENT_PEC (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/drivers/power/supply/
H A Dsbs-battery.c279 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
304 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
313 client->flags |= I2C_CLIENT_PEC; in sbs_update_presence()
315 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
318 && client->flags & I2C_CLIENT_PEC) { in sbs_update_presence()
320 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()
323 dev_dbg(&client->dev, "PEC: %s\n", (client->flags & I2C_CLIENT_PEC) ? in sbs_update_presence()
432 bool pec = client->flags & I2C_CLIENT_PEC; in sbs_read_string_data()
433 client->flags &= ~I2C_CLIENT_PEC; in sbs_read_string_data()
436 client->flags |= I2C_CLIENT_PEC; in sbs_read_string_data()
/openbmc/linux/drivers/iio/temperature/
H A Dmlx90614.c126 client->flags | I2C_CLIENT_PEC, in mlx90614_write_word()
136 client->flags | I2C_CLIENT_PEC, in mlx90614_write_word()
485 data->client->flags | I2C_CLIENT_PEC, in mlx90614_sleep()
/openbmc/linux/drivers/i2c/
H A Di2c-core-smbus.c351 bool wants_pec = ((flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK in i2c_smbus_xfer_emulated()
576 flags &= I2C_M_TEN | I2C_CLIENT_PEC | I2C_CLIENT_SCCB; in __i2c_smbus_xfer()
H A Di2c-dev.c426 client->flags |= I2C_CLIENT_PEC; in i2cdev_ioctl()
428 client->flags &= ~I2C_CLIENT_PEC; in i2cdev_ioctl()
/openbmc/linux/drivers/i2c/busses/
H A Di2c-nforce2.c189 pec = (flags & I2C_CLIENT_PEC) ? NVIDIA_SMB_PRTCL_PEC : 0; in nforce2_access()
H A Di2c-amd8111.c199 pec = (flags & I2C_CLIENT_PEC) ? AMD_SMB_PRTCL_PEC : 0; in amd8111_access()
H A Di2c-xlp9xx.c358 priv->client_pec = msg->flags & I2C_CLIENT_PEC; in xlp9xx_i2c_xfer_msg()
H A Di2c-npcm7xx.c1281 if (client->flags & I2C_CLIENT_PEC) in npcm_i2c_reg_slave()
2111 if (msg0->flags & I2C_CLIENT_PEC) in npcm_i2c_master_xfer()
2127 if (msg1->flags & I2C_CLIENT_PEC) in npcm_i2c_master_xfer()
H A Di2c-stm32f7.c1065 if ((flags & I2C_CLIENT_PEC) && f7_msg->size != I2C_SMBUS_QUICK) { in stm32f7_i2c_smbus_xfer_msg()
1831 if ((flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK && read_write) { in stm32f7_i2c_smbus_xfer()
1891 if (slave->flags & I2C_CLIENT_PEC) { in stm32f7_i2c_reg_slave()
H A Di2c-ismt.c426 if ((flags & I2C_CLIENT_PEC) && (size != I2C_SMBUS_QUICK) in ismt_access()
H A Di2c-designware-master.c590 len += (flags & I2C_CLIENT_PEC) ? 2 : 1; in i2c_dw_recv_len()
H A Di2c-aspeed.c563 ((msg->flags & I2C_CLIENT_PEC) ? 2 : 1); in aspeed_i2c_master_irq()
H A Di2c-i801.c891 hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) in i801_access()
H A Di2c-mlxbf.c2165 if (slave->flags & (I2C_CLIENT_TEN | I2C_CLIENT_PEC)) { in mlxbf_i2c_reg_slave()
/openbmc/linux/drivers/char/ipmi/
H A Dipmb_dev_int.c130 i2c_msg.flags = client->flags & I2C_CLIENT_PEC; in ipmb_i2c_write()
H A Dipmi_ssif.c1851 ssif_info->client->flags |= I2C_CLIENT_PEC; in ssif_probe()
/openbmc/linux/drivers/hwmon/
H A Dlm90.c740 client->flags & ~I2C_CLIENT_PEC, in lm90_write_no_pec()
753 bool partial_pec = (client->flags & I2C_CLIENT_PEC) && in lm90_read_reg()
1279 return sprintf(buf, "%d\n", !!(client->flags & I2C_CLIENT_PEC)); in pec_show()
1295 client->flags &= ~I2C_CLIENT_PEC; in pec_store()
1298 client->flags |= I2C_CLIENT_PEC; in pec_store()
/openbmc/linux/drivers/hwmon/pmbus/
H A Dpmbus_core.c2581 return sysfs_emit(buf, "%d\n", !!(client->flags & I2C_CLIENT_PEC)); in pec_show()
2596 client->flags |= I2C_CLIENT_PEC; in pec_store()
2598 client->flags &= ~I2C_CLIENT_PEC; in pec_store()
2620 client->flags &= ~I2C_CLIENT_PEC; in pmbus_init_common()
2627 client->flags |= I2C_CLIENT_PEC; in pmbus_init_common()
2700 if (client->flags & I2C_CLIENT_PEC) { in pmbus_init_common()
2702 * If I2C_CLIENT_PEC is set here, both the I2C adapter and the in pmbus_init_common()
H A Dadm1266.c120 if (client->flags & I2C_CLIENT_PEC) { in adm1266_pmbus_block_xfer()
/openbmc/linux/include/linux/
H A Di2c.h332 #define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */ macro
/openbmc/linux/drivers/misc/eeprom/
H A Didt_89hpesx.c1163 client->flags |= I2C_CLIENT_PEC; in idt_create_pdev()