Searched refs:man_id (Results 1 - 21 of 21) sorted by relevance

/linux-master/drivers/hwmon/
H A Dadm1021.c327 int reg, conv_rate, status, config, man_id, dev_id; local
346 man_id = i2c_smbus_read_byte_data(client, ADM1021_REG_MAN_ID);
349 if (man_id < 0 || dev_id < 0)
352 if (man_id == 0x4d && dev_id == 0x01) {
364 } else if (man_id == 0x41) {
371 } else if (man_id == 0x49)
373 else if (man_id == 0x23)
375 else if (man_id == 0x54)
413 && man_id == config && dev_id == config
H A Dw83l785ts.c132 u16 man_id; local
148 man_id = (w83l785ts_read_value(client, W83L785TS_REG_MAN_ID1, 0) << 8)
152 if (man_id != 0x5CA3 /* Winbond */
155 "Unsupported chip (man_id=0x%04X, chip_id=0x%02X)\n",
156 man_id, chip_id);
H A Dlm83.c372 u8 man_id, chip_id; local
387 man_id = i2c_smbus_read_byte_data(client, LM83_REG_R_MAN_ID);
388 if (man_id != 0x01) /* National Semiconductor */
410 "Unsupported chip (man_id=0x%02X, chip_id=0x%02X)\n",
411 man_id, chip_id);
H A Dmax1619.c218 u8 reg_config, reg_convrate, reg_status, man_id, chip_id; local
235 man_id = i2c_smbus_read_byte_data(client, MAX1619_REG_R_MAN_ID);
237 if (man_id != 0x4D || chip_id != 0x04) {
239 "Unsupported chip (man_id=0x%02X, chip_id=0x%02X).\n",
240 man_id, chip_id);
H A Dmax6642.c116 u8 reg_config, reg_status, man_id; local
122 man_id = i2c_smbus_read_byte_data(client, MAX6642_REG_R_MAN_ID);
123 if (man_id != 0x4D)
H A Dadm9240.c282 u8 man_id, die_rev; local
292 man_id = i2c_smbus_read_byte_data(new_client, ADM9240_REG_MAN_ID);
293 if (man_id == 0x23)
295 else if (man_id == 0xda)
297 else if (man_id == 0x01)
305 man_id == 0x23 ? "ADM9240" :
306 man_id == 0xda ? "DS1780" : "LM81", die_rev);
H A Dlm92.c276 u16 man_id; local
283 man_id = i2c_smbus_read_word_data(new_client, LM92_REG_MAN_ID);
285 if ((config & 0xe0) == 0x00 && man_id == 0x0180)
H A Dadm1029.c299 u8 man_id, chip_id, temp_devices_installed, nb_fan_support; local
311 man_id = i2c_smbus_read_byte_data(client, ADM1029_REG_MAN_ID);
318 if (man_id != 0x41 || (temp_devices_installed & 0xf9) != 0x01 ||
H A Dmax1668.c364 int man_id, dev_id; local
370 man_id = i2c_smbus_read_byte_data(client, MAX1668_REG_MAN_ID);
371 if (man_id != MAN_ID_MAXIM)
H A Dadc128d818.c360 int man_id, dev_id; local
367 man_id = i2c_smbus_read_byte_data(client, ADC128_REG_MAN_ID);
369 if (man_id != 0x01 || dev_id != 0x09)
H A Dadm1025.c446 u8 man_id, chip_id; local
465 man_id = i2c_smbus_read_byte_data(client, ADM1025_REG_MAN_ID);
466 if (man_id == 0x41)
468 else if (man_id == 0xA1 && client->addr != 0x2E)
H A Dlm90.c1848 * The calling code already checked man_id and chip_id.
2118 int man_id, emerg, emerg2, status2; local
2135 man_id = i2c_smbus_read_byte_data(client,
2141 if (emerg < 0 || man_id < 0 || emerg2 < 0 || status2 < 0)
2164 * should differ from emerg2, and emerg2 should match man_id
2168 emerg2 == man_id && emerg2 != status2)
2212 * read value, which in our case is those of the man_id
2220 * read, so in our case again those of the man_id register.
2451 int man_id, chip_id, config1, convrate, lhigh; local
2463 * Get well defined register value for chips with neither man_id no
[all...]
H A Dlm80.c552 int i, cur, man_id, dev_id; local
568 man_id = lm80_read_value(client, LM96080_REG_MAN_ID);
570 if (man_id == 0x01 && dev_id == 0x08) {
H A Dw83l786ng.c663 u16 man_id; local
677 man_id = (w83l786ng_read_value(client, W83L786NG_REG_MAN_ID1) << 8) +
681 if (man_id != 0x5CA3 || /* Winbond */
684 "Unsupported chip (man_id=0x%04X, chip_id=0x%02X)\n",
685 man_id, chip_id);
H A Dlm63.c971 u8 man_id, chip_id, reg_config1, reg_config2; local
978 man_id = i2c_smbus_read_byte_data(client, LM63_REG_MAN_ID);
987 if (man_id != 0x01 /* National Semiconductor */
993 "Unsupported chip (man_id=0x%02X, chip_id=0x%02X)\n",
994 man_id, chip_id);
/linux-master/drivers/bluetooth/
H A Dhci_nokia.c111 u8 man_id; member in struct:hci_nokia_neg_evt
141 u8 man_id; member in struct:nokia_bt_dev
336 if (btdev->man_id == NOKIA_ID_BCM2048) {
338 } else if (btdev->man_id == NOKIA_ID_TI1271) {
445 if (btdev->man_id == NOKIA_ID_BCM2048) {
557 btdev->man_id = evt->man_id;
561 evt->baud, evt->sys_clk, evt->man_id, evt->ver_id);
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_sup.c517 qla24xx_get_flash_manufacturer(struct qla_hw_data *ha, uint8_t *man_id, argument
522 *man_id = *flash_id = 0;
526 *man_id = LSB(ids);
530 /* Check if man_id and flash_id are valid. */
531 if (ids != 0xDEADDEAD && (*man_id == 0 || *flash_id == 0)) {
540 *man_id = LSB(ids);
955 uint8_t man_id, flash_id; local
978 mid = le16_to_cpu(fdt->man_id);
1003 qla24xx_get_flash_manufacturer(ha, &man_id, &flash_id);
1004 mid = man_id;
2130 qla2x00_poll_flash(struct qla_hw_data *ha, uint32_t addr, uint8_t poll_data, uint8_t man_id, uint8_t flash_id) argument
2170 qla2x00_program_flash_address(struct qla_hw_data *ha, uint32_t addr, uint8_t data, uint8_t man_id, uint8_t flash_id) argument
2207 qla2x00_erase_flash(struct qla_hw_data *ha, uint8_t man_id, uint8_t flash_id) argument
2243 qla2x00_erase_flash_sector(struct qla_hw_data *ha, uint32_t addr, uint32_t sec_mask, uint8_t man_id, uint8_t flash_id) argument
2270 qla2x00_get_flash_manufacturer(struct qla_hw_data *ha, uint8_t *man_id, uint8_t *flash_id) argument
2390 uint8_t man_id, flash_id, sec_number, *data; local
[all...]
H A Dqla_fw.h1610 __le16 man_id; member in struct:qla_fdt_layout
/linux-master/drivers/net/ieee802154/
H A Dat86rf230.c1421 u16 man_id = 0; local
1428 man_id |= val;
1433 man_id |= (val << 8);
1443 if (man_id != 0x001f) {
1445 man_id >> 8, man_id & 0xFF);
/linux-master/drivers/scsi/qla4xxx/
H A Dql4_fw.h301 uint16_t man_id; member in struct:qla_fdt_layout
H A Dql4_nx.c3848 mid = le16_to_cpu(fdt->man_id);

Completed in 323 milliseconds