Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/iio/common/ssp_sensors/
A 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);
A Dssp_dev.c115 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()
342 struct ssp_data *data = dev_id; in ssp_irq_thread_fn()
353 static int ssp_initialize_mcu(struct ssp_data *data) in ssp_initialize_mcu()
401 struct ssp_data, work_refresh); in ssp_refresh_task()
443 struct ssp_data *data; in ssp_parse_dt()
486 struct ssp_data *data; in ssp_probe()
[all …]
A 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()
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()
512 int ssp_get_chipid(struct ssp_data *data) in ssp_get_chipid()
531 int ssp_set_magnetic_matrix(struct ssp_data *data) in ssp_set_magnetic_matrix()
551 unsigned int ssp_get_sensor_scanning_info(struct ssp_data *data) in ssp_get_sensor_scanning_info()
[all …]
A 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.3-rc2/include/linux/iio/common/
A 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.3-rc2/drivers/iio/accel/
A 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()
/linux-6.3-rc2/drivers/iio/gyro/
A 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()

Completed in 12 milliseconds