Lines Matching refs:i2c_smbus_read_byte_data
72 data->reg.vid = i2c_smbus_read_byte_data(client, ATXP1_VID); in atxp1_update_device()
73 data->reg.cpu_vid = i2c_smbus_read_byte_data(client, in atxp1_update_device()
75 data->reg.gpio1 = i2c_smbus_read_byte_data(client, ATXP1_GPIO1); in atxp1_update_device()
76 data->reg.gpio2 = i2c_smbus_read_byte_data(client, ATXP1_GPIO2); in atxp1_update_device()
274 if (!((i2c_smbus_read_byte_data(new_client, 0x3e) == 0) && in atxp1_detect()
275 (i2c_smbus_read_byte_data(new_client, 0x3f) == 0) && in atxp1_detect()
276 (i2c_smbus_read_byte_data(new_client, 0xfe) == 0) && in atxp1_detect()
277 (i2c_smbus_read_byte_data(new_client, 0xff) == 0))) in atxp1_detect()
284 temp = i2c_smbus_read_byte_data(new_client, 0x00); in atxp1_detect()
286 if (!((i2c_smbus_read_byte_data(new_client, 0x10) == temp) && in atxp1_detect()
287 (i2c_smbus_read_byte_data(new_client, 0x11) == temp))) in atxp1_detect()