Lines Matching refs:kind
138 enum chips kind; member
178 int num_regs = data->kind == tmp411 ? 6 : 4; in tmp401_update_device_reg16()
179 int num_sensors = data->kind == tmp432 ? 3 : 2; in tmp401_update_device_reg16()
185 regaddr = data->kind == tmp432 ? in tmp401_update_device_reg16()
216 if (data->kind != tmp432) { in tmp401_update_device()
339 regaddr = data->kind == tmp432 ? TMP432_TEMP_MSB_WRITE[nr][index] in temp_store()
602 enum chips kind; in tmp401_detect() local
620 kind = tmp401; in tmp401_detect()
625 kind = tmp411; in tmp401_detect()
630 kind = tmp411; in tmp401_detect()
635 kind = tmp411; in tmp401_detect()
640 kind = tmp431; in tmp401_detect()
645 kind = tmp432; in tmp401_detect()
648 kind = tmp435; in tmp401_detect()
663 strlcpy(info->type, tmp401_id[kind].name, I2C_NAME_SIZE); in tmp401_detect()
684 data->kind = i2c_match_id(tmp401_id, client)->driver_data; in tmp401_probe()
695 if (data->kind == tmp411) in tmp401_probe()
699 if (data->kind == tmp432) in tmp401_probe()
707 dev_info(dev, "Detected TI %s chip\n", names[data->kind]); in tmp401_probe()