Home
last modified time | relevance | path

Searched refs:ssp_data (Results 1 – 7 of 7) sorted by relevance

/linux-6.12.1/drivers/iio/common/ssp_sensors/
Dssp.h179 struct ssp_data { struct
227 void ssp_clean_pending_list(struct ssp_data *data); argument
229 int ssp_command(struct ssp_data *data, char command, int arg);
231 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type,
234 int ssp_irq_msg(struct ssp_data *data);
236 int ssp_get_chipid(struct ssp_data *data);
238 int ssp_set_magnetic_matrix(struct ssp_data *data);
240 unsigned int ssp_get_sensor_scanning_info(struct ssp_data *data);
242 unsigned int ssp_get_firmware_rev(struct ssp_data *data);
244 int ssp_queue_ssp_refresh_task(struct ssp_data *data, unsigned int delay);
Dssp_dev.c62 static void ssp_toggle_mcu_reset_gpio(struct ssp_data *data) in ssp_toggle_mcu_reset_gpio()
70 static void ssp_sync_available_sensors(struct ssp_data *data) in ssp_sync_available_sensors()
92 static void ssp_enable_mcu(struct ssp_data *data, bool enable) in ssp_enable_mcu()
115 static int ssp_check_fwbl(struct ssp_data *data) in ssp_check_fwbl()
147 static void ssp_reset_mcu(struct ssp_data *data) in ssp_reset_mcu()
157 struct ssp_data *data = container_of(work, struct ssp_data, work_wdt); in ssp_wdt_work_func()
170 struct ssp_data *data = from_timer(data, t, wdt_timer); in ssp_wdt_timer_func()
186 static void ssp_enable_wdt_timer(struct ssp_data *data) in ssp_enable_wdt_timer()
191 static void ssp_disable_wdt_timer(struct ssp_data *data) in ssp_disable_wdt_timer()
204 u32 ssp_get_sensor_delay(struct ssp_data *data, enum ssp_sensor_type type) in ssp_get_sensor_delay()
[all …]
Dssp_spi.c154 static int ssp_check_lines(struct ssp_data *data, bool state) in ssp_check_lines()
177 static int ssp_do_transfer(struct ssp_data *data, struct ssp_msg *msg, in ssp_do_transfer()
243 static inline int ssp_spi_sync_command(struct ssp_data *data, in ssp_spi_sync_command()
249 static int ssp_spi_sync(struct ssp_data *data, struct ssp_msg *msg, in ssp_spi_sync()
260 static int ssp_handle_big_data(struct ssp_data *data, char *dataframe, int *idx) in ssp_handle_big_data()
267 static int ssp_parse_dataframe(struct ssp_data *data, char *dataframe, int len) in ssp_parse_dataframe()
332 int ssp_irq_msg(struct ssp_data *data) in ssp_irq_msg()
447 void ssp_clean_pending_list(struct ssp_data *data) in ssp_clean_pending_list()
462 int ssp_command(struct ssp_data *data, char command, int arg) in ssp_command()
479 int ssp_send_instruction(struct ssp_data *data, u8 inst, u8 sensor_type, in ssp_send_instruction()
[all …]
Dssp_iio.c23 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_common_buffer_postenable()
48 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_common_buffer_postdisable()
/linux-6.12.1/include/linux/iio/common/
Dssp_sensors.h45 struct ssp_data;
63 int ssp_enable_sensor(struct ssp_data *data, enum ssp_sensor_type type,
66 int ssp_disable_sensor(struct ssp_data *data, enum ssp_sensor_type type);
68 u32 ssp_get_sensor_delay(struct ssp_data *data, enum ssp_sensor_type);
70 int ssp_change_delay(struct ssp_data *data, enum ssp_sensor_type type,
/linux-6.12.1/drivers/iio/gyro/
Dssp_gyro_sensor.c32 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_gyro_read_raw()
51 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_gyro_write_raw()
/linux-6.12.1/drivers/iio/accel/
Dssp_accel_sensor.c32 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_accel_read_raw()
51 struct ssp_data *data = dev_get_drvdata(indio_dev->dev.parent->parent); in ssp_accel_write_raw()