Home
last modified time | relevance | path

Searched defs:drv_data (Results 1 – 25 of 67) sorted by relevance

123

/Zephyr-Core-2.7.6/drivers/sensor/hmc5883l/
Dhmc5883l_trigger.c24 struct hmc5883l_data *drv_data = dev->data; in hmc5883l_trigger_set() local
49 struct hmc5883l_data *drv_data = in hmc5883l_gpio_callback() local
67 struct hmc5883l_data *drv_data = dev->data; in hmc5883l_thread_cb() local
80 static void hmc5883l_thread(struct hmc5883l_data *drv_data) in hmc5883l_thread()
92 struct hmc5883l_data *drv_data = in hmc5883l_work_cb() local
101 struct hmc5883l_data *drv_data = dev->data; in hmc5883l_init_interrupt() local
/Zephyr-Core-2.7.6/drivers/sensor/lsm6dsl/
Dlsm6dsl_trigger.c20 static inline void setup_irq(struct lsm6dsl_data *drv_data, in setup_irq()
31 static inline void handle_irq(struct lsm6dsl_data *drv_data, in handle_irq()
48 struct lsm6dsl_data *drv_data = dev->data; in lsm6dsl_trigger_set() local
78 struct lsm6dsl_data *drv_data = in lsm6dsl_gpio_callback() local
90 struct lsm6dsl_data *drv_data = dev->data; in lsm6dsl_thread_cb() local
101 static void lsm6dsl_thread(struct lsm6dsl_data *drv_data) in lsm6dsl_thread()
113 struct lsm6dsl_data *drv_data = in lsm6dsl_work_cb() local
123 struct lsm6dsl_data *drv_data = dev->data; in lsm6dsl_init_interrupt() local
/Zephyr-Core-2.7.6/drivers/sensor/isl29035/
Disl29035_trigger.c21 static inline void setup_int(struct isl29035_driver_data *drv_data, in setup_int()
33 static inline void handle_int(struct isl29035_driver_data *drv_data) in handle_int()
60 struct isl29035_driver_data *drv_data = dev->data; in isl29035_attr_set() local
90 struct isl29035_driver_data *drv_data = in isl29035_gpio_callback() local
100 struct isl29035_driver_data *drv_data = dev->data; in isl29035_thread_cb() local
118 static void isl29035_thread(struct isl29035_driver_data *drv_data) in isl29035_thread()
130 struct isl29035_driver_data *drv_data = in isl29035_work_cb() local
141 struct isl29035_driver_data *drv_data = dev->data; in isl29035_trigger_set() local
161 struct isl29035_driver_data *drv_data = dev->data; in isl29035_init_interrupt() local
Disl29035.c25 struct isl29035_driver_data *drv_data = dev->data; in isl29035_sample_fetch() local
49 struct isl29035_driver_data *drv_data = dev->data; in isl29035_channel_get() local
78 struct isl29035_driver_data *drv_data = dev->data; in isl29035_init() local
/Zephyr-Core-2.7.6/drivers/sensor/lis3mdl/
Dlis3mdl_trigger.c24 struct lis3mdl_data *drv_data = dev->data; in lis3mdl_trigger_set() local
58 struct lis3mdl_data *drv_data = in lis3mdl_gpio_callback() local
76 struct lis3mdl_data *drv_data = dev->data; in lis3mdl_thread_cb() local
89 static void lis3mdl_thread(struct lis3mdl_data *drv_data) in lis3mdl_thread()
101 struct lis3mdl_data *drv_data = in lis3mdl_work_cb() local
110 struct lis3mdl_data *drv_data = dev->data; in lis3mdl_init_interrupt() local
/Zephyr-Core-2.7.6/drivers/sensor/adt7420/
Dadt7420_trigger.c22 struct adt7420_data *drv_data = dev->data; in setup_int() local
33 struct adt7420_data *drv_data = dev->data; in handle_int() local
46 struct adt7420_data *drv_data = dev->data; in process_int() local
73 struct adt7420_data *drv_data = in adt7420_gpio_callback() local
80 static void adt7420_thread(struct adt7420_data *drv_data) in adt7420_thread()
91 struct adt7420_data *drv_data = in adt7420_work_cb() local
102 struct adt7420_data *drv_data = dev->data; in adt7420_trigger_set() local
131 struct adt7420_data *drv_data = dev->data; in adt7420_init_interrupt() local
Dadt7420.c25 struct adt7420_data *drv_data = dev->data; in adt7420_temp_reg_read() local
41 struct adt7420_data *drv_data = dev->data; in adt7420_temp_reg_write() local
53 struct adt7420_data *drv_data = dev->data; in adt7420_attr_set() local
118 struct adt7420_data *drv_data = dev->data; in adt7420_sample_fetch() local
137 struct adt7420_data *drv_data = dev->data; in adt7420_channel_get() local
162 struct adt7420_data *drv_data = dev->data; in adt7420_probe() local
208 struct adt7420_data *drv_data = dev->data; in adt7420_init() local
/Zephyr-Core-2.7.6/drivers/sensor/mpu6050/
Dmpu6050_trigger.c21 struct mpu6050_data *drv_data = dev->data; in mpu6050_trigger_set() local
47 struct mpu6050_data *drv_data = in mpu6050_gpio_callback() local
65 struct mpu6050_data *drv_data = dev->data; in mpu6050_thread_cb() local
79 static void mpu6050_thread(struct mpu6050_data *drv_data) in mpu6050_thread()
91 struct mpu6050_data *drv_data = in mpu6050_work_cb() local
100 struct mpu6050_data *drv_data = dev->data; in mpu6050_init_interrupt() local
/Zephyr-Core-2.7.6/tests/drivers/gpio/gpio_basic_api/src/
Dtest_gpio.h45 struct drv_data { struct
46 struct gpio_callback gpio_cb;
47 gpio_flags_t mode;
48 int index;
49 int aux;
/Zephyr-Core-2.7.6/drivers/sensor/amg88xx/
Damg88xx_trigger.c21 static inline void amg88xx_setup_int(struct amg88xx_data *drv_data, in amg88xx_setup_int()
38 struct amg88xx_data *drv_data = dev->data; in amg88xx_attr_set() local
79 struct amg88xx_data *drv_data = in amg88xx_gpio_callback() local
93 struct amg88xx_data *drv_data = dev->data; in amg88xx_thread_cb() local
114 static void amg88xx_thread(struct amg88xx_data *drv_data) in amg88xx_thread()
126 struct amg88xx_data *drv_data = in amg88xx_work_cb() local
136 struct amg88xx_data *drv_data = dev->data; in amg88xx_trigger_set() local
166 struct amg88xx_data *drv_data = dev->data; in amg88xx_init_interrupt() local
Damg88xx.c27 struct amg88xx_data *drv_data = dev->data; in amg88xx_sample_fetch() local
46 struct amg88xx_data *drv_data = dev->data; in amg88xx_channel_get() local
69 struct amg88xx_data *drv_data = dev->data; in amg88xx_init_device() local
109 struct amg88xx_data *drv_data = dev->data; in amg88xx_init() local
/Zephyr-Core-2.7.6/drivers/sensor/adxl362/
Dadxl362_trigger.c22 struct adxl362_data *drv_data = dev->data; in adxl362_thread_cb() local
49 struct adxl362_data *drv_data = in adxl362_gpio_callback() local
60 static void adxl362_thread(struct adxl362_data *drv_data) in adxl362_thread()
70 struct adxl362_data *drv_data = in adxl362_work_cb() local
81 struct adxl362_data *drv_data = dev->data; in adxl362_trigger_set() local
120 struct adxl362_data *drv_data = dev->data; in adxl362_init_interrupt() local
/Zephyr-Core-2.7.6/drivers/sensor/tmp007/
Dtmp007_trigger.c39 struct tmp007_data *drv_data = dev->data; in tmp007_attr_set() local
69 struct tmp007_data *drv_data = in tmp007_gpio_callback() local
83 struct tmp007_data *drv_data = dev->data; in tmp007_thread_cb() local
104 static void tmp007_thread(struct tmp007_data *drv_data) in tmp007_thread()
116 struct tmp007_data *drv_data = in tmp007_work_cb() local
127 struct tmp007_data *drv_data = dev->data; in tmp007_trigger_set() local
146 struct tmp007_data *drv_data = dev->data; in tmp007_init_interrupt() local
Dtmp007.c23 int tmp007_reg_read(struct tmp007_data *drv_data, in tmp007_reg_read()
37 int tmp007_reg_write(struct tmp007_data *drv_data, uint8_t reg, uint16_t val) in tmp007_reg_write()
45 int tmp007_reg_update(struct tmp007_data *drv_data, uint8_t reg, in tmp007_reg_update()
64 struct tmp007_data *drv_data = dev->data; in tmp007_sample_fetch() local
86 struct tmp007_data *drv_data = dev->data; in tmp007_channel_get() local
111 struct tmp007_data *drv_data = dev->data; in tmp007_init() local
/Zephyr-Core-2.7.6/drivers/sensor/bma280/
Dbma280_trigger.c37 struct bma280_data *drv_data = dev->data; in bma280_attr_set() local
73 struct bma280_data *drv_data = in bma280_gpio_callback() local
89 struct bma280_data *drv_data = dev->data; in bma280_thread_cb() local
128 static void bma280_thread(struct bma280_data *drv_data) in bma280_thread()
140 struct bma280_data *drv_data = in bma280_work_cb() local
151 struct bma280_data *drv_data = dev->data; in bma280_trigger_set() local
208 struct bma280_data *drv_data = dev->data; in bma280_init_interrupt() local
/Zephyr-Core-2.7.6/drivers/sensor/fdc2x1x/
Dfdc2x1x_trigger.c23 struct fdc2x1x_data *drv_data = dev->data; in fdc2x1x_thread_cb() local
52 struct fdc2x1x_data *drv_data = in fdc2x1x_gpio_callback() local
63 static void fdc2x1x_thread(struct fdc2x1x_data *drv_data) in fdc2x1x_thread()
74 struct fdc2x1x_data *drv_data = in fdc2x1x_work_cb() local
85 struct fdc2x1x_data *drv_data = dev->data; in fdc2x1x_trigger_set() local
129 struct fdc2x1x_data *drv_data = dev->data; in fdc2x1x_init_interrupt() local
/Zephyr-Core-2.7.6/drivers/sensor/icm42605/
Dicm42605_trigger.c22 struct icm42605_data *drv_data = dev->data; in icm42605_trigger_set() local
65 struct icm42605_data *drv_data = in icm42605_gpio_callback() local
79 struct icm42605_data *drv_data = dev->data; in icm42605_thread_cb() local
99 struct icm42605_data *drv_data = dev->data; in icm42605_thread() local
111 struct icm42605_data *drv_data = dev->data; in icm42605_init_interrupt() local
/Zephyr-Core-2.7.6/drivers/sensor/adxl372/
Dadxl372_trigger.c22 struct adxl372_data *drv_data = dev->data; in adxl372_thread_cb() local
58 struct adxl372_data *drv_data = in adxl372_gpio_callback() local
72 static void adxl372_thread(struct adxl372_data *drv_data) in adxl372_thread()
83 struct adxl372_data *drv_data = in adxl372_work_cb() local
95 struct adxl372_data *drv_data = dev->data; in adxl372_trigger_set() local
150 struct adxl372_data *drv_data = dev->data; in adxl372_init_interrupt() local
/Zephyr-Core-2.7.6/drivers/sensor/max44009/
Dmax44009.c19 static int max44009_reg_read(struct max44009_data *drv_data, uint8_t reg, in max44009_reg_read()
47 static int max44009_reg_write(struct max44009_data *drv_data, uint8_t reg, in max44009_reg_write()
56 static int max44009_reg_update(struct max44009_data *drv_data, uint8_t reg, in max44009_reg_update()
77 struct max44009_data *drv_data = dev->data; in max44009_attr_set() local
118 struct max44009_data *drv_data = dev->data; in max44009_sample_fetch() local
145 struct max44009_data *drv_data = dev->data; in max44009_channel_get() local
177 struct max44009_data *drv_data = dev->data; in max44009_init() local
/Zephyr-Core-2.7.6/drivers/sensor/opt3001/
Dopt3001.c19 static int opt3001_reg_read(struct opt3001_data *drv_data, uint8_t reg, in opt3001_reg_read()
34 static int opt3001_reg_write(struct opt3001_data *drv_data, uint8_t reg, in opt3001_reg_write()
48 static int opt3001_reg_update(struct opt3001_data *drv_data, uint8_t reg, in opt3001_reg_update()
67 struct opt3001_data *drv_data = dev->data; in opt3001_sample_fetch() local
87 struct opt3001_data *drv_data = dev->data; in opt3001_channel_get() local
117 struct opt3001_data *drv_data = dev->data; in opt3001_chip_init() local
/Zephyr-Core-2.7.6/drivers/ieee802154/
Dieee802154_cc13xx_cc26xx_subg.c146 struct ieee802154_cc13xx_cc26xx_subg_data *drv_data = in cmd_prop_tx_adv_callback() local
159 struct ieee802154_cc13xx_cc26xx_subg_data *drv_data = in cmd_prop_rx_adv_callback() local
204 struct ieee802154_cc13xx_cc26xx_subg_data *drv_data = in ieee802154_cc13xx_cc26xx_subg_cca() local
231 struct ieee802154_cc13xx_cc26xx_subg_data *drv_data = in ieee802154_cc13xx_cc26xx_subg_rx() local
253 struct ieee802154_cc13xx_cc26xx_subg_data *drv_data = in ieee802154_cc13xx_cc26xx_subg_set_channel() local
312 struct ieee802154_cc13xx_cc26xx_subg_data *drv_data = get_dev_data(dev); in ieee802154_cc13xx_cc26xx_subg_set_txpower() local
338 struct ieee802154_cc13xx_cc26xx_subg_data *drv_data = in ieee802154_cc13xx_cc26xx_subg_tx() local
442 struct ieee802154_cc13xx_cc26xx_subg_data *drv_data) in ieee802154_cc13xx_cc26xx_subg_rx_done()
514 struct ieee802154_cc13xx_cc26xx_subg_data *drv_data = in ieee802154_cc13xx_cc26xx_subg_stop() local
536 struct ieee802154_cc13xx_cc26xx_subg_data *drv_data = in ieee802154_cc13xx_cc26xx_subg_stop_if() local
[all …]
Dieee802154_cc13xx_cc26xx.c80 struct ieee802154_cc13xx_cc26xx_data *drv_data = get_dev_data(dev); in cmd_ieee_csma_callback() local
96 struct ieee802154_cc13xx_cc26xx_data *drv_data = get_dev_data(dev); in cmd_ieee_rx_callback() local
138 struct ieee802154_cc13xx_cc26xx_data *drv_data = get_dev_data(dev); in ieee802154_cc13xx_cc26xx_cca() local
164 struct ieee802154_cc13xx_cc26xx_data *drv_data = get_dev_data(dev); in ieee802154_cc13xx_cc26xx_set_channel() local
213 struct ieee802154_cc13xx_cc26xx_data *drv_data = get_dev_data(dev); in ieee802154_cc13xx_cc26xx_reset_channel() local
230 struct ieee802154_cc13xx_cc26xx_data *drv_data = get_dev_data(dev); in ieee802154_cc13xx_cc26xx_filter() local
256 struct ieee802154_cc13xx_cc26xx_data *drv_data = get_dev_data(dev); in ieee802154_cc13xx_cc26xx_set_txpower() local
288 struct ieee802154_cc13xx_cc26xx_data *drv_data = get_dev_data(dev); in ieee802154_cc13xx_cc26xx_tx() local
385 struct ieee802154_cc13xx_cc26xx_data *drv_data) in ieee802154_cc13xx_cc26xx_rx_done()
456 struct ieee802154_cc13xx_cc26xx_data *drv_data = get_dev_data(dev); in ieee802154_cc13xx_cc26xx_stop() local
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/ccs811/
Dccs811.c28 static void set_wake(struct ccs811_data *drv_data, bool enable) in set_wake()
79 struct ccs811_data *drv_data = dev->data; in ccs811_result() local
87 struct ccs811_data *drv_data = dev->data; in ccs811_configver_fetch() local
132 struct ccs811_data *drv_data = dev->data; in ccs811_baseline_fetch() local
152 struct ccs811_data *drv_data = dev->data; in ccs811_baseline_update() local
168 struct ccs811_data *drv_data = dev->data; in ccs811_envdata_update() local
235 struct ccs811_data *drv_data = dev->data; in ccs811_sample_fetch() local
274 struct ccs811_data *drv_data = dev->data; in ccs811_channel_get() local
380 struct ccs811_data *drv_data = dev->data; in ccs811_mutate_meas_mode() local
415 struct ccs811_data *drv_data = dev->data; in ccs811_set_thresholds() local
[all …]
/Zephyr-Core-2.7.6/drivers/sensor/ak8975/
Dak8975.c25 struct ak8975_data *drv_data = dev->data; in ak8975_sample_fetch() local
68 struct ak8975_data *drv_data = dev->data; in ak8975_channel_get() local
95 static int ak8975_read_adjustment_data(struct ak8975_data *drv_data) in ak8975_read_adjustment_data()
122 struct ak8975_data *drv_data = dev->data; in ak8975_init() local
/Zephyr-Core-2.7.6/drivers/sensor/si7060/
Dsi7060.c25 static int si7060_reg_read(struct si7060_data *drv_data, uint8_t reg, in si7060_reg_read()
36 static int si7060_reg_write(struct si7060_data *drv_data, uint8_t reg, in si7060_reg_write()
46 struct si7060_data *drv_data = dev->data; in si7060_sample_fetch() local
78 struct si7060_data *drv_data = dev->data; in si7060_channel_get() local
101 struct si7060_data *drv_data = dev->data; in si7060_chip_init() local

123