Searched refs:I2C_CLIENT_PEC (Results 1 – 22 of 22) sorted by relevance
245 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()269 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()278 client->flags |= I2C_CLIENT_PEC; in sbs_update_presence()280 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()283 && client->flags & I2C_CLIENT_PEC) { in sbs_update_presence()285 client->flags &= ~I2C_CLIENT_PEC; in sbs_update_presence()288 dev_dbg(&client->dev, "PEC: %s\n", (client->flags & I2C_CLIENT_PEC) ? in sbs_update_presence()397 bool pec = client->flags & I2C_CLIENT_PEC; in sbs_read_string_data()398 client->flags &= ~I2C_CLIENT_PEC; in sbs_read_string_data()401 client->flags |= I2C_CLIENT_PEC; in sbs_read_string_data()
534 client->flags & ~I2C_CLIENT_PEC, in adm1032_write_byte()548 if (client->flags & I2C_CLIENT_PEC) { in lm90_read_reg()995 return sprintf(buf, "%d\n", !!(client->flags & I2C_CLIENT_PEC)); in pec_show()1011 client->flags &= ~I2C_CLIENT_PEC; in pec_store()1014 client->flags |= I2C_CLIENT_PEC; in pec_store()1518 info->flags |= I2C_CLIENT_PEC; in lm90_detect()1862 client->flags &= ~I2C_CLIENT_PEC; in lm90_probe()1936 if (client->flags & I2C_CLIENT_PEC) { in lm90_probe()
113 client->flags | I2C_CLIENT_PEC, in mlx90614_write_word()123 client->flags | I2C_CLIENT_PEC, in mlx90614_write_word()415 data->client->flags | I2C_CLIENT_PEC, in mlx90614_sleep()
449 i = ((flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK in i2c_smbus_xfer_emulated()573 flags &= I2C_M_TEN | I2C_CLIENT_PEC | I2C_CLIENT_SCCB; in __i2c_smbus_xfer()
427 client->flags |= I2C_CLIENT_PEC; in i2cdev_ioctl()429 client->flags &= ~I2C_CLIENT_PEC; in i2cdev_ioctl()
189 pec = (flags & I2C_CLIENT_PEC) ? NVIDIA_SMB_PRTCL_PEC : 0; in nforce2_access()
199 pec = (flags & I2C_CLIENT_PEC) ? AMD_SMB_PRTCL_PEC : 0; in amd8111_access()
358 priv->client_pec = msg->flags & I2C_CLIENT_PEC; in xlp9xx_i2c_xfer_msg()
1263 if (client->flags & I2C_CLIENT_PEC) in npcm_i2c_reg_slave()2093 if (msg0->flags & I2C_CLIENT_PEC) in npcm_i2c_master_xfer()2109 if (msg1->flags & I2C_CLIENT_PEC) in npcm_i2c_master_xfer()
399 len += (flags & I2C_CLIENT_PEC) ? 2 : 1; in i2c_dw_recv_len()
1043 if ((flags & I2C_CLIENT_PEC) && f7_msg->size != I2C_SMBUS_QUICK) { in stm32f7_i2c_smbus_xfer_msg()1753 if ((flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK && read_write) { in stm32f7_i2c_smbus_xfer()1813 if (slave->flags & I2C_CLIENT_PEC) { in stm32f7_i2c_reg_slave()
424 if ((flags & I2C_CLIENT_PEC) && (size != I2C_SMBUS_QUICK) in ismt_access()
542 ((msg->flags & I2C_CLIENT_PEC) ? 2 : 1); in aspeed_i2c_master_irq()
858 hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) in i801_access()
2167 if (slave->flags & (I2C_CLIENT_TEN | I2C_CLIENT_PEC)) in mlxbf_i2c_reg_slave()
130 i2c_msg.flags = client->flags & I2C_CLIENT_PEC; in ipmb_i2c_write()
1893 ssif_info->client->flags |= I2C_CLIENT_PEC; in ssif_probe()
120 if (client->flags & I2C_CLIENT_PEC) { in adm1266_pmbus_block_xfer()
2214 client->flags |= I2C_CLIENT_PEC; in pmbus_init_common()2381 *val = !!(client->flags & I2C_CLIENT_PEC); in pmbus_debugfs_get_pec()2392 client->flags &= ~I2C_CLIENT_PEC; in pmbus_debugfs_set_pec()2406 client->flags |= I2C_CLIENT_PEC; in pmbus_debugfs_set_pec()
316 #define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */ macro
446 (flags & I2C_CLIENT_PEC) && in i801_access()
1200 client->flags |= I2C_CLIENT_PEC; in idt_create_pdev()