/drivers/gpu/drm/arm/display/komeda/ |
D | komeda_private_obj.c | 11 komeda_component_state_reset(struct komeda_component_state *st) in komeda_component_state_reset() 22 struct komeda_layer_state *st; in komeda_layer_atomic_duplicate_state() local 38 struct komeda_layer_state *st = to_layer_st(priv_to_comp_st(state)); in komeda_layer_atomic_destroy_state() local 51 struct komeda_layer_state *st; in komeda_layer_obj_add() local 66 struct komeda_scaler_state *st; in komeda_scaler_atomic_duplicate_state() local 93 struct komeda_scaler_state *st; in komeda_scaler_obj_add() local 109 struct komeda_compiz_state *st; in komeda_compiz_atomic_duplicate_state() local 136 struct komeda_compiz_state *st; in komeda_compiz_obj_add() local 152 struct komeda_splitter_state *st; in komeda_splitter_atomic_duplicate_state() local 179 struct komeda_splitter_state *st; in komeda_splitter_obj_add() local [all …]
|
/drivers/iio/imu/inv_icm42600/ |
D | inv_icm42600_core.c | 101 const struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_get_mount_matrix() local 142 static int inv_icm42600_set_pwr_mgmt0(struct inv_icm42600_state *st, in inv_icm42600_set_pwr_mgmt0() 207 int inv_icm42600_set_accel_conf(struct inv_icm42600_state *st, in inv_icm42600_set_accel_conf() 251 int inv_icm42600_set_gyro_conf(struct inv_icm42600_state *st, in inv_icm42600_set_gyro_conf() 297 int inv_icm42600_set_temp_conf(struct inv_icm42600_state *st, bool enable, in inv_icm42600_set_temp_conf() 308 struct inv_icm42600_state *st = iio_device_get_drvdata(indio_dev); in inv_icm42600_debugfs_reg() local 323 static int inv_icm42600_set_conf(struct inv_icm42600_state *st, in inv_icm42600_set_conf() 372 static int inv_icm42600_setup(struct inv_icm42600_state *st, in inv_icm42600_setup() 423 struct inv_icm42600_state *st = _data; in inv_icm42600_irq_timestamp() local 433 struct inv_icm42600_state *st = _data; in inv_icm42600_irq_handler() local [all …]
|
/drivers/iio/dac/ |
D | ad5592r-base.c | 25 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_get() local 46 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_set() local 62 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_direction_input() local 85 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_direction_output() local 116 struct ad5592r_state *st = gpiochip_get_data(chip); in ad5592r_gpio_request() local 131 static int ad5592r_gpio_init(struct ad5592r_state *st) in ad5592r_gpio_init() 154 static void ad5592r_gpio_cleanup(struct ad5592r_state *st) in ad5592r_gpio_cleanup() 160 static int ad5592r_reset(struct ad5592r_state *st) in ad5592r_reset() 183 static int ad5592r_get_vref(struct ad5592r_state *st) in ad5592r_get_vref() 198 static int ad5592r_set_channel_modes(struct ad5592r_state *st) in ad5592r_set_channel_modes() [all …]
|
D | ltc2688.c | 103 struct ltc2688_state *st = context; in ltc2688_spi_read() local 132 struct ltc2688_state *st = context; in ltc2688_spi_write() local 137 static int ltc2688_span_get(const struct ltc2688_state *st, int c) in ltc2688_span_get() 157 static int ltc2688_scale_get(const struct ltc2688_state *st, int c, int *val) in ltc2688_scale_get() 175 static int ltc2688_offset_get(const struct ltc2688_state *st, int c, int *val) in ltc2688_offset_get() 199 static int ltc2688_dac_code_write(struct ltc2688_state *st, u32 chan, u32 input, in ltc2688_dac_code_write() 235 static int ltc2688_dac_code_read(struct ltc2688_state *st, u32 chan, u32 input, in ltc2688_dac_code_read() 278 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_read_raw() local 326 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_write_raw() local 355 struct ltc2688_state *st = iio_priv(indio_dev); in ltc2688_dither_toggle_set() local [all …]
|
D | ad5758.c | 186 static int ad5758_spi_reg_read(struct ad5758_state *st, unsigned int addr) in ad5758_spi_reg_read() 213 static int ad5758_spi_reg_write(struct ad5758_state *st, in ad5758_spi_reg_write() 223 static int ad5758_spi_write_mask(struct ad5758_state *st, in ad5758_spi_write_mask() 258 static int ad5758_wait_for_task_complete(struct ad5758_state *st, in ad5758_wait_for_task_complete() 283 static int ad5758_calib_mem_refresh(struct ad5758_state *st) in ad5758_calib_mem_refresh() 300 static int ad5758_soft_reset(struct ad5758_state *st) in ad5758_soft_reset() 316 static int ad5758_set_dc_dc_conv_mode(struct ad5758_state *st, in ad5758_set_dc_dc_conv_mode() 353 static int ad5758_set_dc_dc_ilim(struct ad5758_state *st, unsigned int ilim) in ad5758_set_dc_dc_ilim() 370 static int ad5758_slew_rate_set(struct ad5758_state *st, in ad5758_slew_rate_set() 394 static int ad5758_slew_rate_config(struct ad5758_state *st) in ad5758_slew_rate_config() [all …]
|
D | ad7293.c | 150 static int ad7293_page_select(struct ad7293_state *st, unsigned int reg) in ad7293_page_select() 168 static int __ad7293_spi_read(struct ad7293_state *st, unsigned int reg, in __ad7293_spi_read() 201 static int ad7293_spi_read(struct ad7293_state *st, unsigned int reg, in ad7293_spi_read() 213 static int __ad7293_spi_write(struct ad7293_state *st, unsigned int reg, in __ad7293_spi_write() 235 static int ad7293_spi_write(struct ad7293_state *st, unsigned int reg, in ad7293_spi_write() 247 static int __ad7293_spi_update_bits(struct ad7293_state *st, unsigned int reg, in __ad7293_spi_update_bits() 262 static int ad7293_spi_update_bits(struct ad7293_state *st, unsigned int reg, in ad7293_spi_update_bits() 274 static int ad7293_adc_get_scale(struct ad7293_state *st, unsigned int ch, in ad7293_adc_get_scale() 300 static int ad7293_adc_set_scale(struct ad7293_state *st, unsigned int ch, in ad7293_adc_set_scale() 321 static int ad7293_get_offset(struct ad7293_state *st, unsigned int ch, in ad7293_get_offset() [all …]
|
/drivers/iio/imu/inv_mpu6050/ |
D | inv_mpu_core.c | 288 static int inv_mpu6050_pwr_mgmt_1_write(struct inv_mpu6050_state *st, bool sleep, in inv_mpu6050_pwr_mgmt_1_write() 308 static int inv_mpu6050_clock_switch(struct inv_mpu6050_state *st, in inv_mpu6050_clock_switch() 331 int inv_mpu6050_switch_engine(struct inv_mpu6050_state *st, bool en, in inv_mpu6050_switch_engine() 444 static int inv_mpu6050_set_power_itg(struct inv_mpu6050_state *st, in inv_mpu6050_set_power_itg() 460 static int inv_mpu6050_set_gyro_fsr(struct inv_mpu6050_state *st, in inv_mpu6050_set_gyro_fsr() 485 static int inv_mpu6050_set_lpf_regs(struct inv_mpu6050_state *st, in inv_mpu6050_set_lpf_regs() 526 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_init_config() local 566 static int inv_mpu6050_sensor_set(struct inv_mpu6050_state *st, int reg, in inv_mpu6050_sensor_set() 580 static int inv_mpu6050_sensor_show(struct inv_mpu6050_state *st, int reg, in inv_mpu6050_sensor_show() 599 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_read_channel_data() local [all …]
|
D | inv_mpu_trigger.c | 14 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query_mpu6050() local 59 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query_mpu9x50() local 83 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_scan_query() local 95 static unsigned int inv_compute_skip_samples(const struct inv_mpu6050_state *st) in inv_compute_skip_samples() 106 int inv_mpu6050_prepare_fifo(struct inv_mpu6050_state *st, bool enable) in inv_mpu6050_prepare_fifo() 163 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_set_enable() local 215 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu_data_rdy_trigger_set_state() local 232 struct inv_mpu6050_state *st = iio_priv(indio_dev); in inv_mpu6050_probe_trigger() local
|
/drivers/iio/addac/ |
D | ad74413r.c | 174 struct ad74413r_state *st = context; in ad74413r_reg_write() local 181 static int ad74413r_crc_check(struct ad74413r_state *st, u8 *buf) in ad74413r_crc_check() 196 struct ad74413r_state *st = context; in ad74413r_reg_read() local 234 static int ad74413r_set_gpo_config(struct ad74413r_state *st, in ad74413r_set_gpo_config() 248 static int ad74413r_set_comp_debounce(struct ad74413r_state *st, in ad74413r_set_comp_debounce() 267 static int ad74413r_set_comp_drive_strength(struct ad74413r_state *st, in ad74413r_set_comp_drive_strength() 282 struct ad74413r_state *st = gpiochip_get_data(chip); in ad74413r_gpio_set() local 300 struct ad74413r_state *st = gpiochip_get_data(chip); in ad74413r_gpio_set_multiple() local 325 struct ad74413r_state *st = gpiochip_get_data(chip); in ad74413r_gpio_get() local 343 struct ad74413r_state *st = gpiochip_get_data(chip); in ad74413r_gpio_get_multiple() local [all …]
|
D | ad74115.c | 427 struct ad74115_state *st = context; in ad74115_reg_write() local 434 static int ad74115_crc_check(struct ad74115_state *st, u8 *buf) in ad74115_crc_check() 450 struct ad74115_state *st = context; in ad74115_reg_read() local 486 static int ad74115_gpio_config_set(struct ad74115_state *st, unsigned int offset, in ad74115_gpio_config_set() 498 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_init_valid_mask() local 507 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_get_direction() local 520 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_direction_input() local 528 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_direction_output() local 535 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_get() local 548 struct ad74115_state *st = gpiochip_get_data(gc); in ad74115_gpio_set() local [all …]
|
/drivers/iio/adc/ |
D | ad7606.c | 52 static int ad7606_reset(struct ad7606_state *st) in ad7606_reset() 69 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_reg_access() local 87 static int ad7606_read_samples(struct ad7606_state *st) in ad7606_read_samples() 124 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_trigger_handler() local 145 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_scan_direct() local 173 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_read_raw() local 221 struct ad7606_state *st = iio_priv(indio_dev); in in_voltage_scale_available_show() local 230 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_write_scale_hw() local 239 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_write_os_hw() local 260 struct ad7606_state *st = iio_priv(indio_dev); in ad7606_write_raw() local [all …]
|
D | ad4130.c | 389 static int ad4130_get_reg_size(struct ad4130_state *st, unsigned int reg, in ad4130_get_reg_size() 400 static unsigned int ad4130_data_reg_size(struct ad4130_state *st) in ad4130_data_reg_size() 412 static unsigned int ad4130_resolution(struct ad4130_state *st) in ad4130_resolution() 419 struct ad4130_state *st = context; in ad4130_reg_write() local 448 struct ad4130_state *st = context; in ad4130_reg_read() local 498 struct ad4130_state *st = gpiochip_get_data(gc); in ad4130_gpio_init_valid_mask() local 523 struct ad4130_state *st = gpiochip_get_data(gc); in ad4130_gpio_set() local 531 static int ad4130_set_mode(struct ad4130_state *st, enum ad4130_mode mode) in ad4130_set_mode() 538 static int ad4130_set_watermark_interrupt_en(struct ad4130_state *st, bool en) in ad4130_set_watermark_interrupt_en() 553 static int ad4130_set_fifo_mode(struct ad4130_state *st, in ad4130_set_fifo_mode() [all …]
|
D | at91-sama5d2_adc.c | 428 #define at91_adc_readl(st, reg) \ argument 430 #define at91_adc_read_chan(st, reg) \ argument 432 #define at91_adc_writel(st, reg, val) \ argument 777 struct at91_adc_state *st = iio_priv(indio_dev); in at91_adc_active_scan_mask_to_reg() local 789 static void at91_adc_cor(struct at91_adc_state *st, in at91_adc_cor() 804 static void at91_adc_irq_status(struct at91_adc_state *st, u32 *status, in at91_adc_irq_status() 814 static void at91_adc_irq_mask(struct at91_adc_state *st, u32 *status, u32 *eoc) in at91_adc_irq_mask() 823 static void at91_adc_eoc_dis(struct at91_adc_state *st, unsigned int channel) in at91_adc_eoc_dis() 834 static void at91_adc_eoc_ena(struct at91_adc_state *st, unsigned int channel) in at91_adc_eoc_ena() 842 static int at91_adc_config_emr(struct at91_adc_state *st, in at91_adc_config_emr() [all …]
|
D | ti-ads131e08.c | 162 static int ads131e08_exec_cmd(struct ads131e08_state *st, u8 cmd) in ads131e08_exec_cmd() 173 static int ads131e08_read_reg(struct ads131e08_state *st, u8 reg) in ads131e08_read_reg() 202 static int ads131e08_write_reg(struct ads131e08_state *st, u8 reg, u8 value) in ads131e08_write_reg() 227 static int ads131e08_read_data(struct ads131e08_state *st, int rx_len) in ads131e08_read_data() 249 static int ads131e08_set_data_rate(struct ads131e08_state *st, int data_rate) in ads131e08_set_data_rate() 283 static int ads131e08_pga_gain_to_field_value(struct ads131e08_state *st, in ads131e08_pga_gain_to_field_value() 301 static int ads131e08_set_pga_gain(struct ads131e08_state *st, in ads131e08_set_pga_gain() 320 static int ads131e08_validate_channel_mux(struct ads131e08_state *st, in ads131e08_validate_channel_mux() 338 static int ads131e08_set_channel_mux(struct ads131e08_state *st, in ads131e08_set_channel_mux() 353 static int ads131e08_power_down_channel(struct ads131e08_state *st, in ads131e08_power_down_channel() [all …]
|
D | ad7124.c | 230 static int ad7124_spi_write_mask(struct ad7124_state *st, in ad7124_spi_write_mask() 252 struct ad7124_state *st = container_of(sd, struct ad7124_state, sd); in ad7124_set_mode() local 260 static void ad7124_set_channel_odr(struct ad7124_state *st, unsigned int channel, unsigned int odr) in ad7124_set_channel_odr() 286 static int ad7124_get_3db_filter_freq(struct ad7124_state *st, in ad7124_get_3db_filter_freq() 303 static void ad7124_set_3db_filter_freq(struct ad7124_state *st, unsigned int channel, in ad7124_set_3db_filter_freq() 329 static struct ad7124_channel_config *ad7124_find_similar_live_cfg(struct ad7124_state *st, in ad7124_find_similar_live_cfg() 347 static int ad7124_find_free_config_slot(struct ad7124_state *st) in ad7124_find_free_config_slot() 358 static int ad7124_init_config_vref(struct ad7124_state *st, struct ad7124_channel_config *cfg) in ad7124_init_config_vref() 388 static int ad7124_write_config(struct ad7124_state *st, struct ad7124_channel_config *cfg, in ad7124_write_config() 419 static struct ad7124_channel_config *ad7124_pop_config(struct ad7124_state *st) in ad7124_pop_config() [all …]
|
/drivers/iio/accel/ |
D | sca3000.c | 277 static int sca3000_write_reg(struct sca3000_state *st, u8 address, u8 val) in sca3000_write_reg() 284 static int sca3000_read_data_short(struct sca3000_state *st, in sca3000_read_data_short() 308 static int sca3000_reg_lock_on(struct sca3000_state *st) in sca3000_reg_lock_on() 327 static int __sca3000_unlock_reg_lock(struct sca3000_state *st) in __sca3000_unlock_reg_lock() 364 static int sca3000_write_ctrl_reg(struct sca3000_state *st, in sca3000_write_ctrl_reg() 398 static int sca3000_read_ctrl_reg(struct sca3000_state *st, in sca3000_read_ctrl_reg() 432 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_print_rev() local 454 struct sca3000_state *st = iio_priv(indio_dev); in sca3000_show_available_3db_freqs() local 572 static inline int __sca3000_get_base_freq(struct sca3000_state *st, in __sca3000_get_base_freq() 605 static int sca3000_read_raw_samp_freq(struct sca3000_state *st, int *val) in sca3000_read_raw_samp_freq() [all …]
|
D | adxl367.c | 271 static int adxl367_set_measure_en(struct adxl367_state *st, bool en) in adxl367_set_measure_en() 294 static void adxl367_scale_act_thresholds(struct adxl367_state *st, in adxl367_scale_act_thresholds() 306 static int _adxl367_set_act_threshold(struct adxl367_state *st, in _adxl367_set_act_threshold() 336 static int adxl367_set_act_threshold(struct adxl367_state *st, in adxl367_set_act_threshold() 360 static int adxl367_set_act_proc_mode(struct adxl367_state *st, in adxl367_set_act_proc_mode() 369 static int adxl367_set_act_interrupt_en(struct adxl367_state *st, in adxl367_set_act_interrupt_en() 379 static int adxl367_get_act_interrupt_en(struct adxl367_state *st, in adxl367_get_act_interrupt_en() 396 static int adxl367_set_act_en(struct adxl367_state *st, in adxl367_set_act_en() 407 static int adxl367_set_fifo_watermark_interrupt_en(struct adxl367_state *st, in adxl367_set_fifo_watermark_interrupt_en() 415 static int adxl367_get_fifo_mode(struct adxl367_state *st, in adxl367_get_fifo_mode() [all …]
|
/drivers/media/dvb-frontends/ |
D | gp8psk-fe.c | 41 struct gp8psk_fe_state *st = fe->demodulator_priv; in gp8psk_tuned_to_DCII() local 50 struct gp8psk_fe_state *st = fe->demodulator_priv; in gp8psk_set_tuner_mode() local 55 static int gp8psk_fe_update_status(struct gp8psk_fe_state *st) in gp8psk_fe_update_status() 70 struct gp8psk_fe_state *st = fe->demodulator_priv; in gp8psk_fe_read_status() local 103 struct gp8psk_fe_state *st = fe->demodulator_priv; in gp8psk_fe_read_snr() local 112 struct gp8psk_fe_state *st = fe->demodulator_priv; in gp8psk_fe_read_signal_strength() local 132 struct gp8psk_fe_state *st = fe->demodulator_priv; in gp8psk_fe_set_frontend() local 241 struct gp8psk_fe_state *st = fe->demodulator_priv; in gp8psk_fe_send_diseqc_msg() local 255 struct gp8psk_fe_state *st = fe->demodulator_priv; in gp8psk_fe_send_diseqc_burst() local 273 struct gp8psk_fe_state *st = fe->demodulator_priv; in gp8psk_fe_set_tone() local [all …]
|
D | bcm3510.c | 137 static int bcm3510_hab_get_response(struct bcm3510_state *st, u8 *buf, int len) in bcm3510_hab_get_response() 154 static int bcm3510_hab_send_request(struct bcm3510_state *st, u8 *buf, int len) in bcm3510_hab_send_request() 205 static int bcm3510_do_hab_cmd(struct bcm3510_state *st, u8 cmd, u8 msgid, u8 *obuf, u8 olen, u8 *ib… in bcm3510_do_hab_cmd() 265 static int bcm3510_bert_reset(struct bcm3510_state *st) in bcm3510_bert_reset() 282 static int bcm3510_refresh_state(struct bcm3510_state *st) in bcm3510_refresh_state() 294 struct bcm3510_state* st = fe->demodulator_priv; in bcm3510_read_status() local 318 struct bcm3510_state* st = fe->demodulator_priv; in bcm3510_read_ber() local 327 struct bcm3510_state* st = fe->demodulator_priv; in bcm3510_read_unc() local 335 struct bcm3510_state* st = fe->demodulator_priv; in bcm3510_read_signal_strength() local 355 struct bcm3510_state* st = fe->demodulator_priv; in bcm3510_read_snr() local [all …]
|
/drivers/iio/filter/ |
D | admv8818.c | 122 static int __admv8818_hpf_select(struct admv8818_state *st, u64 freq) in __admv8818_hpf_select() 176 static int admv8818_hpf_select(struct admv8818_state *st, u64 freq) in admv8818_hpf_select() 187 static int __admv8818_lpf_select(struct admv8818_state *st, u64 freq) in __admv8818_lpf_select() 231 static int admv8818_lpf_select(struct admv8818_state *st, u64 freq) in admv8818_lpf_select() 242 static int admv8818_rfin_band_select(struct admv8818_state *st) in admv8818_rfin_band_select() 260 static int __admv8818_read_hpf_freq(struct admv8818_state *st, u64 *hpf_freq) in __admv8818_read_hpf_freq() 287 static int admv8818_read_hpf_freq(struct admv8818_state *st, u64 *hpf_freq) in admv8818_read_hpf_freq() 298 static int __admv8818_read_lpf_freq(struct admv8818_state *st, u64 *lpf_freq) in __admv8818_read_lpf_freq() 325 static int admv8818_read_lpf_freq(struct admv8818_state *st, u64 *lpf_freq) in admv8818_read_lpf_freq() 340 struct admv8818_state *st = iio_priv(indio_dev); in admv8818_write_raw() local [all …]
|
/drivers/staging/iio/resolver/ |
D | ad2s1210.c | 109 struct ad2s1210_state *st) in ad2s1210_set_mode() 117 static int ad2s1210_config_write(struct ad2s1210_state *st, u8 data) in ad2s1210_config_write() 131 static int ad2s1210_config_read(struct ad2s1210_state *st, in ad2s1210_config_read() 159 int ad2s1210_update_frequency_control_word(struct ad2s1210_state *st) in ad2s1210_update_frequency_control_word() 181 static inline void ad2s1210_set_resolution_pin(struct ad2s1210_state *st) in ad2s1210_set_resolution_pin() 189 static inline int ad2s1210_soft_reset(struct ad2s1210_state *st) in ad2s1210_soft_reset() 204 struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev)); in ad2s1210_show_fclkin() local 214 struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev)); in ad2s1210_store_fclkin() local 243 struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev)); in ad2s1210_show_fexcit() local 252 struct ad2s1210_state *st = iio_priv(dev_to_iio_dev(dev)); in ad2s1210_store_fexcit() local [all …]
|
/drivers/power/supply/ |
D | adp5061.c | 157 static int adp5061_get_status(struct adp5061_state *st, in adp5061_get_status() 175 static int adp5061_get_input_current_limit(struct adp5061_state *st, in adp5061_get_input_current_limit() 191 static int adp5061_set_input_current_limit(struct adp5061_state *st, int val) in adp5061_set_input_current_limit() 208 static int adp5061_set_min_voltage(struct adp5061_state *st, int val) in adp5061_set_min_voltage() 225 static int adp5061_get_min_voltage(struct adp5061_state *st, in adp5061_get_min_voltage() 241 static int adp5061_get_chg_volt_lim(struct adp5061_state *st, in adp5061_get_chg_volt_lim() 257 static int adp5061_get_max_voltage(struct adp5061_state *st, in adp5061_get_max_voltage() 276 static int adp5061_set_max_voltage(struct adp5061_state *st, int val) in adp5061_set_max_voltage() 297 static int adp5061_set_const_chg_vmax(struct adp5061_state *st, int val) in adp5061_set_const_chg_vmax() 314 static int adp5061_set_const_chg_current(struct adp5061_state *st, int val) in adp5061_set_const_chg_current() [all …]
|
/drivers/media/usb/dvb-usb/ |
D | vp702x-fe.c | 38 static int vp702x_fe_refresh_state(struct vp702x_fe_state *st) in vp702x_fe_refresh_state() 74 struct vp702x_fe_state *st = fe->demodulator_priv; in vp702x_fe_read_status() local 93 struct vp702x_fe_state *st = fe->demodulator_priv; in vp702x_fe_read_ber() local 102 struct vp702x_fe_state *st = fe->demodulator_priv; in vp702x_fe_read_unc_blocks() local 110 struct vp702x_fe_state *st = fe->demodulator_priv; in vp702x_fe_read_signal_strength() local 120 struct vp702x_fe_state *st = fe->demodulator_priv; in vp702x_fe_read_snr() local 138 struct vp702x_fe_state *st = fe->demodulator_priv; in vp702x_fe_set_frontend() local 199 struct vp702x_fe_state *st = fe->demodulator_priv; in vp702x_fe_init() local 215 struct vp702x_fe_state *st = fe->demodulator_priv; in vp702x_fe_send_diseqc_msg() local 253 struct vp702x_fe_state *st = fe->demodulator_priv; in vp702x_fe_set_tone() local [all …]
|
/drivers/hwmon/ |
D | ltc2992.c | 187 static int ltc2992_read_reg(struct ltc2992_state *st, u8 addr, const u8 reg_len) in ltc2992_read_reg() 205 static int ltc2992_write_reg(struct ltc2992_state *st, u8 addr, const u8 reg_len, u32 val) in ltc2992_write_reg() 218 struct ltc2992_state *st = gpiochip_get_data(chip); in ltc2992_gpio_get() local 237 struct ltc2992_state *st = gpiochip_get_data(chip); in ltc2992_gpio_get_multiple() local 261 struct ltc2992_state *st = gpiochip_get_data(chip); in ltc2992_gpio_set() local 282 struct ltc2992_state *st = gpiochip_get_data(chip); in ltc2992_gpio_set_multiple() local 301 static int ltc2992_config_gpio(struct ltc2992_state *st) in ltc2992_config_gpio() 345 const struct ltc2992_state *st = data; in ltc2992_is_visible() local 408 static int ltc2992_get_voltage(struct ltc2992_state *st, u32 reg, u32 scale, long *val) in ltc2992_get_voltage() 422 static int ltc2992_set_voltage(struct ltc2992_state *st, u32 reg, u32 scale, long val) in ltc2992_set_voltage() [all …]
|
/drivers/iio/common/hid-sensors/ |
D | hid-sensor-attributes.c | 154 s32 hid_sensor_read_poll_value(struct hid_sensor_common *st) in hid_sensor_read_poll_value() 174 int hid_sensor_read_samp_freq_value(struct hid_sensor_common *st, in hid_sensor_read_samp_freq_value() 201 int hid_sensor_write_samp_freq_value(struct hid_sensor_common *st, in hid_sensor_write_samp_freq_value() 236 int hid_sensor_read_raw_hyst_value(struct hid_sensor_common *st, in hid_sensor_read_raw_hyst_value() 259 int hid_sensor_read_raw_hyst_rel_value(struct hid_sensor_common *st, int *val1, in hid_sensor_read_raw_hyst_rel_value() 282 int hid_sensor_write_raw_hyst_value(struct hid_sensor_common *st, in hid_sensor_write_raw_hyst_value() 313 int hid_sensor_write_raw_hyst_rel_value(struct hid_sensor_common *st, in hid_sensor_write_raw_hyst_rel_value() 428 int64_t hid_sensor_convert_timestamp(struct hid_sensor_common *st, in hid_sensor_convert_timestamp() 438 struct hid_sensor_common *st) in hid_sensor_get_reporting_interval() 456 struct hid_sensor_common *st) in hid_sensor_get_report_latency_info() [all …]
|