Home
last modified time | relevance | path

Searched refs:man_id (Results 1 – 18 of 18) sorted by relevance

/linux-3.4.99/drivers/hwmon/
Dadm1021.c312 int conv_rate, status, config, man_id, dev_id; in adm1021_detect() local
332 man_id = i2c_smbus_read_byte_data(client, ADM1021_REG_MAN_ID); in adm1021_detect()
335 if (man_id < 0 || dev_id < 0) in adm1021_detect()
338 if (man_id == 0x4d && dev_id == 0x01) in adm1021_detect()
340 else if (man_id == 0x41) { in adm1021_detect()
347 } else if (man_id == 0x49) in adm1021_detect()
349 else if (man_id == 0x23) in adm1021_detect()
351 else if (man_id == 0x54) in adm1021_detect()
Dlm90.c1128 int man_id, chip_id, config1, config2, convrate; in lm90_detect() local
1134 man_id = i2c_smbus_read_byte_data(client, LM90_REG_R_MAN_ID); in lm90_detect()
1138 if (man_id < 0 || chip_id < 0 || config1 < 0 || convrate < 0) in lm90_detect()
1141 if (man_id == 0x01 || man_id == 0x5C || man_id == 0x41) { in lm90_detect()
1149 && man_id == 0x01) { /* National Semiconductor */ in lm90_detect()
1174 && man_id == 0x41) { /* Analog Devices */ in lm90_detect()
1198 if (man_id == 0x4D) { /* Maxim */ in lm90_detect()
1209 man_id = i2c_smbus_read_byte_data(client, in lm90_detect()
1215 if (emerg < 0 || man_id < 0 || emerg2 < 0 || status2 < 0) in lm90_detect()
1231 if (chip_id == man_id in lm90_detect()
[all …]
Dw83l785ts.c146 u16 man_id; in w83l785ts_detect() local
162 man_id = (w83l785ts_read_value(client, W83L785TS_REG_MAN_ID1, 0) << 8) in w83l785ts_detect()
166 if (man_id != 0x5CA3 /* Winbond */ in w83l785ts_detect()
170 man_id, chip_id); in w83l785ts_detect()
Dmax1619.c233 u8 reg_config, reg_convrate, reg_status, man_id, chip_id; in max1619_detect() local
250 man_id = i2c_smbus_read_byte_data(client, MAX1619_REG_R_MAN_ID); in max1619_detect()
252 if (man_id != 0x4D || chip_id != 0x04) { in max1619_detect()
255 man_id, chip_id); in max1619_detect()
Dlm83.c300 u8 man_id, chip_id; in lm83_detect() local
315 man_id = i2c_smbus_read_byte_data(new_client, LM83_REG_R_MAN_ID); in lm83_detect()
316 if (man_id != 0x01) /* National Semiconductor */ in lm83_detect()
331 man_id, chip_id); in lm83_detect()
Dadm9240.c609 u8 man_id, die_rev; in adm9240_detect() local
623 man_id = i2c_smbus_read_byte_data(new_client, ADM9240_REG_MAN_ID); in adm9240_detect()
624 if (man_id == 0x23) { in adm9240_detect()
626 } else if (man_id == 0xda) { in adm9240_detect()
628 } else if (man_id == 0x01) { in adm9240_detect()
632 man_id); in adm9240_detect()
639 man_id == 0x23 ? "ADM9240" : in adm9240_detect()
640 man_id == 0xda ? "DS1780" : "LM81", die_rev); in adm9240_detect()
Dmax6642.c129 u8 reg_config, reg_status, man_id; in max6642_detect() local
135 man_id = i2c_smbus_read_byte_data(client, MAX6642_REG_R_MAN_ID); in max6642_detect()
136 if (man_id != 0x4D) in max6642_detect()
Dadm1029.c304 u8 man_id, chip_id, temp_devices_installed, nb_fan_support; in adm1029_detect() local
316 man_id = i2c_smbus_read_byte_data(client, ADM1029_REG_MAN_ID); in adm1029_detect()
323 if (man_id != 0x41 || (temp_devices_installed & 0xf9) != 0x01 in adm1029_detect()
Dlm92.c349 u16 man_id; in lm92_detect() local
356 man_id = i2c_smbus_read_word_data(new_client, LM92_REG_MAN_ID); in lm92_detect()
358 if ((config & 0xe0) == 0x00 && man_id == 0x0180) in lm92_detect()
Dadm1025.c441 u8 man_id, chip_id; in adm1025_detect() local
460 man_id = i2c_smbus_read_byte_data(client, ADM1025_REG_MAN_ID); in adm1025_detect()
461 if (man_id == 0x41) in adm1025_detect()
463 else if (man_id == 0xA1 && client->addr != 0x2E) in adm1025_detect()
Dmax1668.c374 int man_id, dev_id; in max1668_detect() local
380 man_id = i2c_smbus_read_byte_data(client, MAX1668_REG_MAN_ID); in max1668_detect()
381 if (man_id != MAN_ID_MAXIM) in max1668_detect()
Dw83l786ng.c634 u16 man_id; in w83l786ng_detect() local
648 man_id = (w83l786ng_read_value(client, W83L786NG_REG_MAN_ID1) << 8) + in w83l786ng_detect()
652 if (man_id != 0x5CA3 || /* Winbond */ in w83l786ng_detect()
656 man_id, chip_id); in w83l786ng_detect()
Dlm80.c498 int i, cur, man_id, dev_id; in lm80_detect() local
514 man_id = lm80_read_value(client, LM96080_REG_MAN_ID); in lm80_detect()
516 if (man_id == 0x01 && dev_id == 0x08) { in lm80_detect()
Dlm63.c987 u8 man_id, chip_id, reg_config1, reg_config2; in lm63_detect() local
994 man_id = i2c_smbus_read_byte_data(client, LM63_REG_MAN_ID); in lm63_detect()
1003 if (man_id != 0x01 /* National Semiconductor */ in lm63_detect()
1010 man_id, chip_id); in lm63_detect()
/linux-3.4.99/drivers/scsi/qla2xxx/
Dqla_sup.c520 qla24xx_get_flash_manufacturer(struct qla_hw_data *ha, uint8_t *man_id, in qla24xx_get_flash_manufacturer() argument
526 *man_id = LSB(ids); in qla24xx_get_flash_manufacturer()
530 if (ids != 0xDEADDEAD && (*man_id == 0 || *flash_id == 0)) { in qla24xx_get_flash_manufacturer()
538 *man_id = LSB(ids); in qla24xx_get_flash_manufacturer()
866 uint8_t man_id, flash_id; in qla2xxx_get_fdt_info() local
895 mid = le16_to_cpu(fdt->man_id); in qla2xxx_get_fdt_info()
914 qla24xx_get_flash_manufacturer(ha, &man_id, &flash_id); in qla2xxx_get_fdt_info()
915 mid = man_id; in qla2xxx_get_fdt_info()
919 switch (man_id) { in qla2xxx_get_fdt_info()
2005 uint8_t man_id, uint8_t flash_id) in qla2x00_poll_flash() argument
[all …]
Dqla_fw.h1274 uint16_t man_id; member
/linux-3.4.99/drivers/scsi/qla4xxx/
Dql4_fw.h266 uint16_t man_id; member
Dql4_nx.c2072 mid = le16_to_cpu(fdt->man_id); in qla4_8xxx_get_fdt_info()