/openbmc/linux/drivers/power/supply/ |
H A D | sbs-battery.c | 279 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 D | mlx90614.c | 126 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 D | i2c-core-smbus.c | 351 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 D | i2c-dev.c | 426 client->flags |= I2C_CLIENT_PEC; in i2cdev_ioctl() 428 client->flags &= ~I2C_CLIENT_PEC; in i2cdev_ioctl()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-nforce2.c | 189 pec = (flags & I2C_CLIENT_PEC) ? NVIDIA_SMB_PRTCL_PEC : 0; in nforce2_access()
|
H A D | i2c-amd8111.c | 199 pec = (flags & I2C_CLIENT_PEC) ? AMD_SMB_PRTCL_PEC : 0; in amd8111_access()
|
H A D | i2c-xlp9xx.c | 358 priv->client_pec = msg->flags & I2C_CLIENT_PEC; in xlp9xx_i2c_xfer_msg()
|
H A D | i2c-npcm7xx.c | 1281 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 D | i2c-stm32f7.c | 1065 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 D | i2c-ismt.c | 426 if ((flags & I2C_CLIENT_PEC) && (size != I2C_SMBUS_QUICK) in ismt_access()
|
H A D | i2c-designware-master.c | 590 len += (flags & I2C_CLIENT_PEC) ? 2 : 1; in i2c_dw_recv_len()
|
H A D | i2c-aspeed.c | 563 ((msg->flags & I2C_CLIENT_PEC) ? 2 : 1); in aspeed_i2c_master_irq()
|
H A D | i2c-i801.c | 891 hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) in i801_access()
|
H A D | i2c-mlxbf.c | 2165 if (slave->flags & (I2C_CLIENT_TEN | I2C_CLIENT_PEC)) { in mlxbf_i2c_reg_slave()
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | ipmb_dev_int.c | 130 i2c_msg.flags = client->flags & I2C_CLIENT_PEC; in ipmb_i2c_write()
|
H A D | ipmi_ssif.c | 1851 ssif_info->client->flags |= I2C_CLIENT_PEC; in ssif_probe()
|
/openbmc/linux/drivers/hwmon/ |
H A D | lm90.c | 740 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 D | pmbus_core.c | 2581 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 D | adm1266.c | 120 if (client->flags & I2C_CLIENT_PEC) { in adm1266_pmbus_block_xfer()
|
/openbmc/linux/include/linux/ |
H A D | i2c.h | 332 #define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */ macro
|
/openbmc/linux/drivers/misc/eeprom/ |
H A D | idt_89hpesx.c | 1163 client->flags |= I2C_CLIENT_PEC; in idt_create_pdev()
|