Home
last modified time | relevance | path

Searched refs:part_info (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/iio/accel/
Dbma180.c119 const struct bma180_part_info *part_info; member
184 int ret = bma180_set_bits(data, data->part_info->int_reset_reg, in bma180_reset_intr()
185 data->part_info->int_reset_mask, 1); in bma180_reset_intr()
195 int ret = bma180_set_bits(data, data->part_info->int_enable_reg, in bma180_set_new_data_intr_state()
196 data->part_info->int_enable_mask, state); in bma180_set_new_data_intr_state()
213 int ret = bma180_set_bits(data, data->part_info->sleep_reg, in bma180_set_sleep_state()
214 data->part_info->sleep_mask, state); in bma180_set_sleep_state()
244 for (i = 0; i < data->part_info->num_bw; ++i) { in bma180_set_bw()
245 if (data->part_info->bw_table[i] == val) { in bma180_set_bw()
246 ret = bma180_set_bits(data, data->part_info->bw_reg, in bma180_set_bw()
[all …]
/linux-4.19.296/drivers/iio/light/
Dsi1145.c182 const struct si1145_part_info *part_info; member
406 if (data->part_info->uncompressed_meas_rate) in si1145_set_meas_rate()
417 if (data->part_info->uncompressed_meas_rate) in si1145_read_samp_freq()
440 if (data->part_info->uncompressed_meas_rate) in si1145_store_samp_freq()
1045 switch (data->part_info->num_leds) { in si1145_initialize()
1120 if (data->part_info == &si1145_part_info[SI1132] || in si1145_initialize()
1121 data->part_info == &si1145_part_info[SI1145] || in si1145_initialize()
1122 data->part_info == &si1145_part_info[SI1146] || in si1145_initialize()
1123 data->part_info == &si1145_part_info[SI1147]) { in si1145_initialize()
1171 for_each_set_bit(i, scan_mask, data->part_info->num_channels) { in si1145_validate_scan_mask()
[all …]