Home
last modified time | relevance | path

Searched refs:unlock (Results 1 – 25 of 79) sorted by relevance

1234

/Zephyr-Core-3.5.0/subsys/pm/
Ddevice_runtime.c69 goto unlock; in runtime_suspend()
74 goto unlock; in runtime_suspend()
86 goto unlock; in runtime_suspend()
92 unlock: in runtime_suspend()
156 goto unlock; in pm_device_runtime_get()
166 goto unlock; in pm_device_runtime_get()
172 goto unlock; in pm_device_runtime_get()
192 goto unlock; in pm_device_runtime_get()
198 goto unlock; in pm_device_runtime_get()
203 unlock: in pm_device_runtime_get()
[all …]
/Zephyr-Core-3.5.0/scripts/coccinelle/
Dmini_lock.cocci2 /// where the unlock is missing from an if branch, and there is a lock
3 /// before the if and an unlock after the if. False positives are due to
43 identifier lock,unlock;
58 unlock@p1(E1,...)
67 identifier lock,unlock;
82 *unlock@up(E1,...);
87 unlock << err.unlock;
92 cocci.print_secs(unlock,p2)
97 unlock << err.unlock;
/Zephyr-Core-3.5.0/drivers/smbus/
Dintel_pch_smbus.c505 goto unlock; in pch_smbus_quick()
513 goto unlock; in pch_smbus_quick()
518 unlock: in pch_smbus_quick()
538 goto unlock; in pch_smbus_byte_write()
546 goto unlock; in pch_smbus_byte_write()
551 unlock: in pch_smbus_byte_write()
571 goto unlock; in pch_smbus_byte_read()
579 goto unlock; in pch_smbus_byte_read()
584 goto unlock; in pch_smbus_byte_read()
589 unlock: in pch_smbus_byte_read()
[all …]
/Zephyr-Core-3.5.0/drivers/rtc/
Drtc_am1805.c130 goto unlock; in am1805_set_time()
148 goto unlock; in am1805_set_time()
154 unlock: in am1805_set_time()
174 goto unlock; in am1805_get_time()
180 goto unlock; in am1805_get_time()
185 goto unlock; in am1805_get_time()
201 unlock: in am1805_get_time()
260 goto unlock; in am1805_set_calibration()
270 unlock: in am1805_set_calibration()
290 goto unlock; in am1805_get_calibration()
[all …]
Drtc_pcf8523.c273 goto unlock; in pcf8523_int1_thread()
296 goto unlock; in pcf8523_int1_thread()
302 goto unlock; in pcf8523_int1_thread()
314 unlock: in pcf8523_int1_thread()
357 goto unlock; in pcf8523_set_time()
376 goto unlock; in pcf8523_set_time()
382 goto unlock; in pcf8523_set_time()
385 unlock: in pcf8523_set_time()
555 goto unlock; in pcf8523_alarm_is_pending()
567 goto unlock; in pcf8523_alarm_is_pending()
[all …]
/Zephyr-Core-3.5.0/drivers/gpio/
Dgpio_nct38xx.c63 goto unlock; in nct38xx_init_interrupt()
72 goto unlock; in nct38xx_init_interrupt()
79 goto unlock; in nct38xx_init_interrupt()
86 goto unlock; in nct38xx_init_interrupt()
89 unlock: in nct38xx_init_interrupt()
Dgpio_sn74hc595.c94 goto unlock; in gpio_sn74hc595_port_set_masked_raw()
100 unlock: in gpio_sn74hc595_port_set_masked_raw()
127 goto unlock; in gpio_sn74hc595_port_toggle_bits()
132 unlock: in gpio_sn74hc595_port_toggle_bits()
/Zephyr-Core-3.5.0/drivers/fpga/
Dfpga_ice40.c285 goto unlock; in fpga_ice40_load_gpio()
289 goto unlock; in fpga_ice40_load_gpio()
297 unlock: in fpga_ice40_load_gpio()
348 goto unlock; in fpga_ice40_load_spi()
355 goto unlock; in fpga_ice40_load_spi()
368 goto unlock; in fpga_ice40_load_spi()
378 goto unlock; in fpga_ice40_load_spi()
387 goto unlock; in fpga_ice40_load_spi()
394 goto unlock; in fpga_ice40_load_spi()
403 goto unlock; in fpga_ice40_load_spi()
[all …]
/Zephyr-Core-3.5.0/drivers/sensor/grow_r502a/
Dgrow_r502a.c217 goto unlock; in fps_read_template_table()
226 goto unlock; in fps_read_template_table()
238 goto unlock; in fps_read_template_table()
241 unlock: in fps_read_template_table()
430 goto unlock; in fps_empty_db()
439 goto unlock; in fps_empty_db()
442 unlock: in fps_empty_db()
513 goto unlock; in fps_enroll()
518 goto unlock; in fps_enroll()
523 goto unlock; in fps_enroll()
[all …]
/Zephyr-Core-3.5.0/drivers/usb/uhc/
Duhc_common.c130 api->unlock(dev); in uhc_xfer_alloc()
180 api->unlock(dev); in uhc_xfer_free()
199 api->unlock(dev); in uhc_xfer_buf_add()
224 api->unlock(dev); in uhc_ep_enqueue()
245 api->unlock(dev); in uhc_ep_dequeue()
274 api->unlock(dev); in uhc_enable()
296 api->unlock(dev); in uhc_disable()
328 api->unlock(dev); in uhc_init()
355 api->unlock(dev); in uhc_shutdown()
/Zephyr-Core-3.5.0/include/zephyr/drivers/
Dhwspinlock.h55 hwspinlock_api_unlock unlock; member
123 if (api->unlock != NULL) in z_impl_hwspinlock_unlock()
124 api->unlock(dev, id); in z_impl_hwspinlock_unlock()
/Zephyr-Core-3.5.0/include/zephyr/drivers/usb/
Duhc.h217 int (*unlock)(const struct device *dev); member
256 api->unlock(dev); in uhc_bus_reset()
278 api->unlock(dev); in uhc_sof_enable()
301 api->unlock(dev); in uhc_bus_suspend()
324 api->unlock(dev); in uhc_bus_resume()
/Zephyr-Core-3.5.0/drivers/can/
Dcan_mcan.c57 goto unlock; in can_mcan_exit_sleep_mode()
64 goto unlock; in can_mcan_exit_sleep_mode()
71 goto unlock; in can_mcan_exit_sleep_mode()
79 goto unlock; in can_mcan_exit_sleep_mode()
83 goto unlock; in can_mcan_exit_sleep_mode()
88 goto unlock; in can_mcan_exit_sleep_mode()
93 unlock: in can_mcan_exit_sleep_mode()
110 goto unlock; in can_mcan_enter_init_mode()
117 goto unlock; in can_mcan_enter_init_mode()
124 goto unlock; in can_mcan_enter_init_mode()
[all …]
/Zephyr-Core-3.5.0/tests/kernel/spinlock/src/
Dspinlock_error_case.c39 static inline void set_assert_valid(bool valid, bool unlock) in set_assert_valid() argument
42 unlock_after_assert = unlock; in set_assert_valid()
/Zephyr-Core-3.5.0/drivers/sensor/esp32_temp/
Desp32_temp.c43 goto unlock; in esp32_temp_sample_fetch()
46 unlock: in esp32_temp_sample_fetch()
/Zephyr-Core-3.5.0/drivers/modem/
Dgsm_ppp.c706 goto unlock; in gsm_finalize_connection()
726 goto unlock; in gsm_finalize_connection()
738 goto unlock; in gsm_finalize_connection()
745 goto unlock; in gsm_finalize_connection()
768 goto unlock; in gsm_finalize_connection()
798 goto unlock; in gsm_finalize_connection()
819 goto unlock; in gsm_finalize_connection()
838 goto unlock; in gsm_finalize_connection()
876 unlock: in gsm_finalize_connection()
1006 goto unlock; in mux_setup()
[all …]
/Zephyr-Core-3.5.0/kernel/
Dmutex.c215 SYS_PORT_TRACING_OBJ_FUNC_ENTER(k_mutex, unlock, mutex); in z_impl_k_mutex_unlock()
218 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mutex, unlock, mutex, -EINVAL); in z_impl_k_mutex_unlock()
226 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mutex, unlock, mutex, -EPERM); in z_impl_k_mutex_unlock()
279 SYS_PORT_TRACING_OBJ_FUNC_EXIT(k_mutex, unlock, mutex, 0); in z_impl_k_mutex_unlock()
/Zephyr-Core-3.5.0/drivers/usb/udc/
Dudc_common.c322 api->unlock(dev); in udc_ep_try_config()
388 api->unlock(dev); in udc_ep_enable()
434 api->unlock(dev); in udc_ep_disable()
471 api->unlock(dev); in udc_ep_set_halt()
511 api->unlock(dev); in udc_ep_clear_halt()
571 api->unlock(dev); in udc_ep_enqueue()
610 api->unlock(dev); in udc_ep_dequeue()
637 api->unlock(dev); in udc_ep_buf_alloc()
664 api->unlock(dev); in udc_ep_buf_free()
688 api->unlock(dev); in udc_device_speed()
[all …]
/Zephyr-Core-3.5.0/drivers/serial/
Duart_esp32.c607 goto unlock; in uart_esp32_async_tx_abort()
618 unlock: in uart_esp32_async_tx_abort()
692 goto unlock; in uart_esp32_async_tx()
698 goto unlock; in uart_esp32_async_tx()
704 goto unlock; in uart_esp32_async_tx()
722 goto unlock; in uart_esp32_async_tx()
730 goto unlock; in uart_esp32_async_tx()
733 unlock: in uart_esp32_async_tx()
783 goto unlock; in uart_esp32_async_rx_enable()
795 goto unlock; in uart_esp32_async_rx_enable()
[all …]
/Zephyr-Core-3.5.0/drivers/hwspinlock/
Dhwspinlock_handlers.c28 Z_OOPS(Z_SYSCALL_DRIVER_HWSPINLOCK(dev, unlock)); in z_vrfy_hwspinlock_unlock()
/Zephyr-Core-3.5.0/subsys/net/ip/
Dnet_context.c538 goto unlock; in net_context_put()
551 unlock: in net_context_put()
1103 goto unlock; in net_context_connect()
1108 goto unlock; in net_context_connect()
1117 goto unlock; in net_context_connect()
1123 goto unlock; in net_context_connect()
1128 goto unlock; in net_context_connect()
1138 goto unlock; in net_context_connect()
1144 goto unlock; in net_context_connect()
1169 goto unlock; in net_context_connect()
[all …]
/Zephyr-Core-3.5.0/drivers/sensor/stm32_vbat/
Dstm32_vbat.c52 goto unlock; in stm32_vbat_sample_fetch()
63 unlock: in stm32_vbat_sample_fetch()
/Zephyr-Core-3.5.0/modules/thrift/src/thrift/concurrency/
DMutex.cpp56 void Mutex::unlock() const in unlock() function in apache::thrift::concurrency::Mutex
/Zephyr-Core-3.5.0/drivers/i2c/
Di2c_sam_twi.c142 goto unlock; in i2c_sam_twi_configure()
152 unlock: in i2c_sam_twi_configure()
239 goto unlock; in i2c_sam_twi_transfer()
244 unlock: in i2c_sam_twi_transfer()
/Zephyr-Core-3.5.0/drivers/sensor/stm32_vref/
Dstm32_vref.c51 goto unlock; in stm32_vref_sample_fetch()
65 unlock: in stm32_vref_sample_fetch()

1234