Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
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()
/linux/drivers/iio/temperature/
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()
/linux/drivers/i2c/
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()
A Di2c-dev.c438 client->flags |= I2C_CLIENT_PEC; in i2cdev_ioctl()
440 client->flags &= ~I2C_CLIENT_PEC; in i2cdev_ioctl()
/linux/drivers/hwmon/
A Dhwmon.c343 return sysfs_emit(buf, "%d\n", !!(client->flags & I2C_CLIENT_PEC)); in pec_show()
377 client->flags &= ~I2C_CLIENT_PEC; in pec_store()
379 client->flags |= I2C_CLIENT_PEC; in pec_store()
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()
/linux/drivers/char/ipmi/
A Dipmb_dev_int.c130 i2c_msg.flags = client->flags & I2C_CLIENT_PEC; in ipmb_i2c_write()
A Dipmi_ssif.c1873 ssif_info->client->flags |= I2C_CLIENT_PEC; in ssif_probe()
/linux/drivers/i2c/busses/
A Di2c-nforce2.c189 pec = (flags & I2C_CLIENT_PEC) ? NVIDIA_SMB_PRTCL_PEC : 0; in nforce2_access()
A Di2c-amd8111.c199 pec = (flags & I2C_CLIENT_PEC) ? AMD_SMB_PRTCL_PEC : 0; in amd8111_access()
A Di2c-xlp9xx.c358 priv->client_pec = msg->flags & I2C_CLIENT_PEC; in xlp9xx_i2c_xfer_msg()
A Di2c-npcm7xx.c1279 if (client->flags & I2C_CLIENT_PEC) in npcm_i2c_reg_slave()
2109 if (msg0->flags & I2C_CLIENT_PEC) in npcm_i2c_master_xfer()
2125 if (msg1->flags & I2C_CLIENT_PEC) in npcm_i2c_master_xfer()
A Di2c-stm32f7.c1078 if ((flags & I2C_CLIENT_PEC) && f7_msg->size != I2C_SMBUS_QUICK) { in stm32f7_i2c_smbus_xfer_msg()
1839 if ((flags & I2C_CLIENT_PEC) && size != I2C_SMBUS_QUICK && read_write) { in stm32f7_i2c_smbus_xfer()
1899 if (slave->flags & I2C_CLIENT_PEC) { in stm32f7_i2c_reg_slave()
A Di2c-ismt.c435 if ((flags & I2C_CLIENT_PEC) && (size != I2C_SMBUS_QUICK) in ismt_access()
A Di2c-designware-master.c546 len += (flags & I2C_CLIENT_PEC) ? 2 : 1; in i2c_dw_recv_len()
A Di2c-aspeed.c564 ((msg->flags & I2C_CLIENT_PEC) ? 2 : 1); in aspeed_i2c_master_irq()
A Di2c-i801.c901 hwpec = (priv->features & FEATURE_SMBUS_PEC) && (flags & I2C_CLIENT_PEC) in i801_access()
A Di2c-mlxbf.c2165 if (slave->flags & (I2C_CLIENT_TEN | I2C_CLIENT_PEC)) { in mlxbf_i2c_reg_slave()
/linux/drivers/hwmon/pmbus/
A Dpmbus_core.c2639 return sysfs_emit(buf, "%d\n", !!(client->flags & I2C_CLIENT_PEC)); in pec_show()
2654 client->flags |= I2C_CLIENT_PEC; in pec_store()
2656 client->flags &= ~I2C_CLIENT_PEC; in pec_store()
2678 client->flags &= ~I2C_CLIENT_PEC; in pmbus_init_common()
2688 client->flags |= I2C_CLIENT_PEC; in pmbus_init_common()
2770 if (client->flags & I2C_CLIENT_PEC) { in pmbus_init_common()
A Dadm1266.c120 if (client->flags & I2C_CLIENT_PEC) { in adm1266_pmbus_block_xfer()
/linux/include/linux/
A Di2c.h331 #define I2C_CLIENT_PEC 0x04 /* Use Packet Error Checking */ macro
/linux/drivers/misc/eeprom/
A Didt_89hpesx.c1158 client->flags |= I2C_CLIENT_PEC; in idt_create_pdev()

Completed in 81 milliseconds