Lines Matching +full:0 +full:x4d

27 static const unsigned short normal_i2c[] = { 0x2a, 0x4c, 0x4d, 0x4e, 0x4f,
33 #define TMP421_STATUS_REG 0x08
34 #define TMP421_CONFIG_REG_1 0x09
35 #define TMP421_CONVERSION_RATE_REG 0x0B
36 #define TMP421_MANUFACTURER_ID_REG 0xFE
37 #define TMP421_DEVICE_ID_REG 0xFF
39 static const u8 TMP421_TEMP_MSB[4] = { 0x00, 0x01, 0x02, 0x03 };
40 static const u8 TMP421_TEMP_LSB[4] = { 0x10, 0x11, 0x12, 0x13 };
43 #define TMP421_CONFIG_SHUTDOWN 0x40
44 #define TMP421_CONFIG_RANGE 0x04
47 #define TMP421_MANUFACTURER_ID 0x55
48 #define TMP421_DEVICE_ID 0x21
49 #define TMP422_DEVICE_ID 0x22
50 #define TMP423_DEVICE_ID 0x23
51 #define TMP441_DEVICE_ID 0x41
52 #define TMP442_DEVICE_ID 0x42
106 int temp = reg & ~0xf; in temp_from_s16()
114 int temp = reg & ~0xf; in temp_from_u16()
135 for (i = 0; i < data->channels; i++) { in tmp421_update_device()
161 return 0; in tmp421_read()
164 * The OPEN bit signals a fault. This is bit 0 of the temperature in tmp421_read()
167 *val = tmp421->temp[channel] & 0x01; in tmp421_read()
168 return 0; in tmp421_read()
180 if (channel == 0) in tmp421_is_visible()
181 return 0; in tmp421_is_visible()
186 return 0; in tmp421_is_visible()
195 i2c_smbus_write_byte_data(client, TMP421_CONVERSION_RATE_REG, 0x05); in tmp421_init_client()
199 if (config < 0) { in tmp421_init_client()
213 return 0; in tmp421_init_client()
236 if (reg & 0xf8) in tmp421_detect()
240 if (reg & 0x7f) in tmp421_detect()
249 if (addr == 0x2a) in tmp421_detect()
254 if (addr != 0x4c && addr != 0x4d) in tmp421_detect()
262 if (addr != 0x4c && addr != 0x4d) in tmp421_detect()
271 dev_info(&adapter->dev, "Detected TI %s chip at 0x%02x\n", in tmp421_detect()
274 return 0; in tmp421_detect()
305 for (i = 0; i < data->channels; i++) in tmp421_probe()
311 data->info[0] = &data->temp_info; in tmp421_probe()