Lines Matching refs:lock
79 struct k_spinlock lock; member
273 key = k_spin_lock(&data->lock); in ubx_m8_ubx_cfg_rate()
286 k_spin_unlock(&data->lock, key); in ubx_m8_ubx_cfg_rate()
299 key = k_spin_lock(&data->lock); in ubx_m8_ubx_cfg_prt_set()
319 k_spin_unlock(&data->lock, key); in ubx_m8_ubx_cfg_prt_set()
331 key = k_spin_lock(&data->lock); in ubx_m8_ubx_cfg_rst()
355 k_spin_unlock(&data->lock, key); in ubx_m8_ubx_cfg_rst()
368 key = k_spin_lock(&data->lock); in ubx_m8_set_uart_baudrate()
386 k_spin_unlock(&data->lock, key); in ubx_m8_set_uart_baudrate()
470 key = k_spin_lock(&data->lock); in ubx_m8_configure_messages()
513 k_spin_unlock(&data->lock, key); in ubx_m8_configure_messages()
571 key = k_spin_lock(&data->lock); in ubx_m8_set_navigation_mode()
596 k_spin_unlock(&data->lock, key); in ubx_m8_set_navigation_mode()
608 key = k_spin_lock(&data->lock); in ubx_m8_get_navigation_mode()
632 k_spin_unlock(&data->lock, key); in ubx_m8_get_navigation_mode()
711 key = k_spin_lock(&data->lock); in ubx_m8_set_enabled_systems()
807 k_spin_unlock(&data->lock, key); in ubx_m8_set_enabled_systems()
818 key = k_spin_lock(&data->lock); in ubx_m8_get_enabled_systems()
850 k_spin_unlock(&data->lock, key); in ubx_m8_get_enabled_systems()
866 key = k_spin_lock(&data->lock); in ubx_m8_set_fix_rate()
880 k_spin_unlock(&data->lock, key); in ubx_m8_set_fix_rate()
892 key = k_spin_lock(&data->lock); in ubx_m8_get_fix_rate()
911 k_spin_unlock(&data->lock, key); in ubx_m8_get_fix_rate()