Lines Matching refs:chip_features
338 const struct mcp47feb02_features *chip_features; member
706 tmp = (u64)vref_uV * MILLI >> data->chip_features->resolution; in mcp47feb02_init_scale()
945 const struct mcp47feb02_features *chip_features) in mcp47feb02_parse_fw() argument
955 if (num_channels > chip_features->phys_channels) in mcp47feb02_parse_fw()
973 if (reg >= chip_features->phys_channels) in mcp47feb02_parse_fw()
993 data->phys_channels = chip_features->phys_channels; in mcp47feb02_parse_fw()
997 if (chip_features->have_ext_vref1) in mcp47feb02_parse_fw()
1096 const struct mcp47feb02_features *chip_features; in mcp47feb02_probe() local
1107 chip_features = i2c_get_match_data(client); in mcp47feb02_probe()
1108 if (!chip_features) in mcp47feb02_probe()
1111 data->chip_features = chip_features; in mcp47feb02_probe()
1113 if (chip_features->have_eeprom) { in mcp47feb02_probe()
1123 indio_dev->name = chip_features->name; in mcp47feb02_probe()
1125 ret = mcp47feb02_parse_fw(indio_dev, chip_features); in mcp47feb02_probe()
1149 if (chip_features->have_ext_vref1) { in mcp47feb02_probe()