Searched refs:ssp_data (Results 1 – 6 of 6) sorted by relevance
/drivers/iio/common/ssp_sensors/ |
D | ssp_dev.c | 72 static void ssp_toggle_mcu_reset_gpio(struct ssp_data *data) in ssp_toggle_mcu_reset_gpio() 80 static void ssp_sync_available_sensors(struct ssp_data *data) in ssp_sync_available_sensors() 102 static void ssp_enable_mcu(struct ssp_data *data, bool enable) in ssp_enable_mcu() 125 static int ssp_check_fwbl(struct ssp_data *data) in ssp_check_fwbl() 157 static void ssp_reset_mcu(struct ssp_data *data) in ssp_reset_mcu() 167 struct ssp_data *data = container_of(work, struct ssp_data, work_wdt); in ssp_wdt_work_func() 180 struct ssp_data *data = (struct ssp_data *)ptr; in ssp_wdt_timer_func() 196 static void ssp_enable_wdt_timer(struct ssp_data *data) in ssp_enable_wdt_timer() 201 static void ssp_disable_wdt_timer(struct ssp_data *data) in ssp_disable_wdt_timer() 214 u32 ssp_get_sensor_delay(struct ssp_data *data, enum ssp_sensor_type type) in ssp_get_sensor_delay() [all …]
|
D | ssp.h | 189 struct ssp_data { struct 238 void ssp_clean_pending_list(struct ssp_data *data); argument 240 int ssp_command(struct ssp_data *data, char command, int arg); 242 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type, 245 int ssp_irq_msg(struct ssp_data *data); 247 int ssp_get_chipid(struct ssp_data *data); 249 int ssp_set_magnetic_matrix(struct ssp_data *data); 251 unsigned int ssp_get_sensor_scanning_info(struct ssp_data *data); 253 unsigned int ssp_get_firmware_rev(struct ssp_data *data); 255 int ssp_queue_ssp_refresh_task(struct ssp_data *data, unsigned int delay);
|
D | ssp_spi.c | 164 static int ssp_check_lines(struct ssp_data *data, bool state) in ssp_check_lines() 187 static int ssp_do_transfer(struct ssp_data *data, struct ssp_msg *msg, in ssp_do_transfer() 253 static inline int ssp_spi_sync_command(struct ssp_data *data, in ssp_spi_sync_command() 259 static int ssp_spi_sync(struct ssp_data *data, struct ssp_msg *msg, in ssp_spi_sync() 270 static int ssp_handle_big_data(struct ssp_data *data, char *dataframe, int *idx) in ssp_handle_big_data() 277 static int ssp_parse_dataframe(struct ssp_data *data, char *dataframe, int len) in ssp_parse_dataframe() 338 int ssp_irq_msg(struct ssp_data *data) in ssp_irq_msg() 454 void ssp_clean_pending_list(struct ssp_data *data) in ssp_clean_pending_list() 469 int ssp_command(struct ssp_data *data, char command, int arg) in ssp_command() 486 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type, in ssp_send_instruction() [all …]
|
D | ssp_iio.c | 32 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_common_buffer_postenable() 57 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_common_buffer_postdisable()
|
/drivers/iio/gyro/ |
D | ssp_gyro_sensor.c | 41 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_gyro_read_raw() 60 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_gyro_write_raw()
|
/drivers/iio/accel/ |
D | ssp_accel_sensor.c | 41 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_accel_read_raw() 60 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_accel_write_raw()
|