Lines Matching refs:si1133_data
195 struct si1133_data { struct
313 static int si1133_cmd_reset_sw(struct si1133_data *data) in si1133_cmd_reset_sw()
375 static int si1133_cmd_reset_counter(struct si1133_data *data) in si1133_cmd_reset_counter()
387 static int si1133_command(struct si1133_data *data, u8 cmd) in si1133_command()
447 static int si1133_param_set(struct si1133_data *data, u8 param, u32 value) in si1133_param_set()
458 static int si1133_param_query(struct si1133_data *data, u8 param, u32 *result) in si1133_param_query()
530 static int si1133_set_integration_time(struct si1133_data *data, u8 adc, in si1133_set_integration_time()
546 static int si1133_set_chlist(struct si1133_data *data, u8 scan_mask) in si1133_set_chlist()
557 static int si1133_chan_set_adcconfig(struct si1133_data *data, u8 adc, in si1133_chan_set_adcconfig()
572 static int si1133_update_adcconfig(struct si1133_data *data, uint8_t adc, in si1133_update_adcconfig()
589 static int si1133_set_adcmux(struct si1133_data *data, u8 adc, u8 mux) in si1133_set_adcmux()
597 static int si1133_force_measurement(struct si1133_data *data) in si1133_force_measurement()
602 static int si1133_bulk_read(struct si1133_data *data, u8 start_reg, u8 length, in si1133_bulk_read()
614 static int si1133_measure(struct si1133_data *data, in si1133_measure()
644 struct si1133_data *data = iio_priv(iio_dev); in si1133_threaded_irq_handler()
675 static int si1133_chan_set_adcsens(struct si1133_data *data, u8 adc, in si1133_chan_set_adcsens()
689 static int si1133_update_adcsens(struct si1133_data *data, u8 mask, in si1133_update_adcsens()
706 static int si1133_get_lux(struct si1133_data *data, int *val) in si1133_get_lux()
751 struct si1133_data *data = iio_priv(iio_dev); in si1133_read_raw()
825 struct si1133_data *data = iio_priv(iio_dev); in si1133_write_raw()
887 static int si1133_init_lux_channels(struct si1133_data *data) in si1133_init_lux_channels()
940 static int si1133_initialize(struct si1133_data *data) in si1133_initialize()
963 struct si1133_data *data = iio_priv(iio_dev); in si1133_validate_ids()
996 struct si1133_data *data; in si1133_probe()