Lines Matching refs:chip_info
76 const struct srf08_chip_info *chip_info; member
321 for (i = 0; i < data->chip_info->num_sensitivity_avail; i++) in srf08_show_sensitivity_available()
322 if (data->chip_info->sensitivity_avail[i]) in srf08_show_sensitivity_available()
324 data->chip_info->sensitivity_avail[i]); in srf08_show_sensitivity_available()
356 for (i = 0; i < data->chip_info->num_sensitivity_avail; i++) in srf08_write_sensitivity()
357 if (val == data->chip_info->sensitivity_avail[i]) { in srf08_write_sensitivity()
362 if (i >= data->chip_info->num_sensitivity_avail) in srf08_write_sensitivity()
470 data->chip_info = &srf02_chip_info; in srf08_probe()
474 data->chip_info = &srf08_chip_info; in srf08_probe()
478 data->chip_info = &srf10_chip_info; in srf08_probe()
499 if (data->chip_info->range_default) { in srf08_probe()
508 data->chip_info->range_default); in srf08_probe()
513 if (data->chip_info->sensitivity_default) { in srf08_probe()
522 data->chip_info->sensitivity_default); in srf08_probe()