Home
last modified time | relevance | path

Searched refs:gpio_sem (Results 1 – 25 of 80) sorted by relevance

1234

/Zephyr-Core-3.7.0/drivers/sensor/adi/adt7310/
Dadt7310_trigger.c26 k_sem_give(&drv_data->gpio_sem); in adt7310_gpio_callback()
41 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in adt7310_thread()
95 k_sem_give(&drv_data->gpio_sem); in adt7310_trigger_set()
130 k_sem_init(&drv_data->gpio_sem, 0, 1); in adt7310_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/grow_r502a/
Dgrow_r502a_trigger.c67 k_sem_give(&drv_data->gpio_sem); in grow_r502a_gpio_callback()
82 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in grow_r502a_thread()
115 k_sem_init(&drv_data->gpio_sem, 0, K_SEM_MAX_LIMIT); in grow_r502a_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/honeywell/hmc5883l/
Dhmc5883l_trigger.c60 k_sem_give(&drv_data->gpio_sem); in hmc5883l_gpio_callback()
89 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in hmc5883l_thread()
128 k_sem_init(&drv_data->gpio_sem, 0, K_SEM_MAX_LIMIT); in hmc5883l_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2mdc/
Diis2mdc_trigger.c79 k_sem_give(&iis2mdc->gpio_sem); in iis2mdc_gpio_callback()
94 k_sem_take(&iis2mdc->gpio_sem, K_FOREVER); in iis2mdc_thread()
123 k_sem_init(&iis2mdc->gpio_sem, 0, K_SEM_MAX_LIMIT); in iis2mdc_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42605/
Dicm42605_trigger.c71 k_sem_give(&drv_data->gpio_sem); in icm42605_gpio_callback()
100 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in icm42605_thread()
127 k_sem_init(&drv_data->gpio_sem, 0, K_SEM_MAX_LIMIT); in icm42605_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/tdk/mpu6050/
Dmpu6050_trigger.c59 k_sem_give(&drv_data->gpio_sem); in mpu6050_gpio_callback()
88 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in mpu6050_thread()
135 k_sem_init(&drv_data->gpio_sem, 0, K_SEM_MAX_LIMIT); in mpu6050_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/st/lis3mdl/
Dlis3mdl_trigger.c69 k_sem_give(&drv_data->gpio_sem); in lis3mdl_gpio_callback()
98 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in lis3mdl_thread()
144 k_sem_init(&drv_data->gpio_sem, 0, K_SEM_MAX_LIMIT); in lis3mdl_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/st/lsm6dsl/
Dlsm6dsl_trigger.c38 k_sem_give(&drv_data->gpio_sem); in handle_irq()
109 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in lsm6dsl_thread()
159 k_sem_init(&drv_data->gpio_sem, 0, K_SEM_MAX_LIMIT); in lsm6dsl_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2mdl/
Dlis2mdl_trigger.c92 k_sem_give(&lis2mdl->gpio_sem); in lis2mdl_gpio_callback()
107 k_sem_take(&lis2mdl->gpio_sem, K_FOREVER); in lis2mdl_thread()
136 k_sem_init(&lis2mdl->gpio_sem, 0, K_SEM_MAX_LIMIT); in lis2mdl_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/st/stts751/
Dstts751_trigger.c92 k_sem_give(&stts751->gpio_sem); in stts751_gpio_callback()
107 k_sem_take(&stts751->gpio_sem, K_FOREVER); in stts751_thread()
135 k_sem_init(&stts751->gpio_sem, 0, K_SEM_MAX_LIMIT); in stts751_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/ti/fdc2x1x/
Dfdc2x1x_trigger.c56 k_sem_give(&drv_data->gpio_sem); in fdc2x1x_gpio_callback()
71 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in fdc2x1x_thread()
162 k_sem_init(&drv_data->gpio_sem, 0, UINT_MAX); in fdc2x1x_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/st/iis3dhhc/
Diis3dhhc_trigger.c95 k_sem_give(&iis3dhhc->gpio_sem); in iis3dhhc_gpio_callback()
110 k_sem_take(&iis3dhhc->gpio_sem, K_FOREVER); in iis3dhhc_thread()
140 k_sem_init(&iis3dhhc->gpio_sem, 0, K_SEM_MAX_LIMIT); in iis3dhhc_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/st/stts22h/
Dstts22h_trigger.c81 k_sem_give(&stts22h->gpio_sem); in stts22h_gpio_callback()
96 k_sem_take(&stts22h->gpio_sem, K_FOREVER); in stts22h_thread()
125 k_sem_init(&stts22h->gpio_sem, 0, K_SEM_MAX_LIMIT); in stts22h_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/tdk/mpu9250/
Dmpu9250_trigger.c71 k_sem_give(&drv_data->gpio_sem); in mpu9250_gpio_callback()
105 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in mpu9250_thread()
160 ret = k_sem_init(&drv_data->gpio_sem, 0, K_SEM_MAX_LIMIT); in mpu9250_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/adi/adt7420/
Dadt7420_trigger.c37 k_sem_give(&drv_data->gpio_sem); in handle_int()
87 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in adt7420_thread()
166 k_sem_init(&drv_data->gpio_sem, 0, K_SEM_MAX_LIMIT); in adt7420_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/ens160/
Dens160_trigger.c30 k_sem_give(&data->gpio_sem); in ens160_gpio_callback()
68 k_sem_take(&data->gpio_sem, K_FOREVER); in ens160_thread()
142 k_sem_init(&data->gpio_sem, 0, K_SEM_MAX_LIMIT); in ens160_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/st/iis2dh/
Diis2dh_trigger.c108 k_sem_give(&iis2dh->gpio_sem); in iis2dh_gpio_callback()
123 k_sem_take(&iis2dh->gpio_sem, K_FOREVER); in iis2dh_thread()
153 k_sem_init(&iis2dh->gpio_sem, 0, K_SEM_MAX_LIMIT); in iis2dh_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42670/
Dicm42670_trigger.c28 k_sem_give(&data->gpio_sem); in icm42670_gpio_callback()
60 k_sem_take(&data->gpio_sem, K_FOREVER); in icm42670_thread()
135 k_sem_init(&data->gpio_sem, 0, K_SEM_MAX_LIMIT); in icm42670_trigger_init()
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2de12/
Dlis2de12_trigger.c124 k_sem_give(&lis2de12->gpio_sem); in lis2de12_gpio_callback()
134 k_sem_take(&lis2de12->gpio_sem, K_FOREVER); in lis2de12_thread()
166 k_sem_init(&lis2de12->gpio_sem, 0, K_SEM_MAX_LIMIT); in lis2de12_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/st/lis2du12/
Dlis2du12_trigger.c142 k_sem_give(&lis2du12->gpio_sem); in lis2du12_gpio_callback()
152 k_sem_take(&lis2du12->gpio_sem, K_FOREVER); in lis2du12_thread()
186 k_sem_init(&lis2du12->gpio_sem, 0, K_SEM_MAX_LIMIT); in lis2du12_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/adi/adxl367/
Dadxl367_trigger.c59 k_sem_give(&drv_data->gpio_sem); in adxl367_gpio_callback()
69 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in adxl367_thread()
170 k_sem_init(&drv_data->gpio_sem, 0, K_SEM_MAX_LIMIT); in adxl367_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/honeywell/sm351lt/
Dsm351lt.h35 struct k_sem gpio_sem; member
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/
Dicm42688_trigger.c30 k_sem_give(&data->gpio_sem); in icm42688_gpio_callback()
64 k_sem_take(&data->gpio_sem, K_FOREVER); in icm42688_thread()
143 k_sem_init(&data->gpio_sem, 0, K_SEM_MAX_LIMIT); in icm42688_trigger_init()
/Zephyr-Core-3.7.0/drivers/sensor/ti/tmp007/
Dtmp007_trigger.c78 k_sem_give(&drv_data->gpio_sem); in tmp007_gpio_callback()
116 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in tmp007_thread()
189 k_sem_init(&drv_data->gpio_sem, 0, K_SEM_MAX_LIMIT); in tmp007_init_interrupt()
/Zephyr-Core-3.7.0/drivers/sensor/amg88xx/
Damg88xx_trigger.c87 k_sem_give(&drv_data->gpio_sem); in amg88xx_gpio_callback()
124 k_sem_take(&drv_data->gpio_sem, K_FOREVER); in amg88xx_thread()
200 k_sem_init(&drv_data->gpio_sem, 0, K_SEM_MAX_LIMIT); in amg88xx_init_interrupt()

1234