Searched refs:k_sem_take (Results 1 – 17 of 17) sorted by relevance
/AliOS-Things-master/components/ble_host/bt_host/port/core/ |
A D | mbox.c | 67 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_free() 95 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_post() 102 k_sem_take(&mbox->not_full, K_FOREVER); in k_mbox_post() 103 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_post() 141 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_trypost() 199 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_fetch() 209 time_needed = k_sem_take(&mbox->not_empty, timeout); in k_mbox_fetch() 215 k_sem_take(&mbox->not_empty, K_FOREVER); in k_mbox_fetch() 218 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_fetch() 256 k_sem_take(&mbox->mutex, K_FOREVER); in k_mbox_tryfetch()
|
/AliOS-Things-master/hardware/chip/rtl872xd/hci_driver/ |
A D | hci_driver.c | 285 ret = k_sem_take(&tx.send_sem, K_FOREVER); in h4_send() 331 ret = k_sem_take(&hci_if_open_sem, K_FOREVER); in h4_open()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_provisioner/ |
A D | mesh_provisioner.c | 128 k_sem_take(&prov_input_sem, K_FOREVER); in provisioner_input_num() 148 k_sem_take(&prov_input_sem, K_FOREVER); in provisioner_input_static_oob()
|
/AliOS-Things-master/components/ble_host/bt_host/port/aos/ |
A D | poll.c | 261 k_sem_take(&eventcb.sem, timeout); in k_poll()
|
A D | aos_port.c | 154 int k_sem_take(struct k_sem *sem, uint32_t timeout) in k_sem_take() function
|
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | hci_ecc.c | 226 k_sem_take(&cmd_sem, K_FOREVER); in ecc_thread()
|
A D | rfcomm.c | 514 k_sem_take(&dlc->tx_credits, K_FOREVER); in rfcomm_check_fc() 520 k_sem_take(&dlc->session->fc, K_FOREVER); in rfcomm_check_fc() 1075 k_sem_take(&dlc->tx_credits, K_NO_WAIT); in rfcomm_handle_msc() 1330 k_sem_take(&session->fc, K_NO_WAIT); in rfcomm_handle_msg()
|
A D | hci_api.c | 261 k_sem_take(&ncmd_sem, K_FOREVER); in send_cmd() 373 err = k_sem_take(&sync_sem, HCI_CMD_TIMEOUT); in bt_hci_cmd_send_sync()
|
A D | att.c | 336 if (k_sem_take(&chan->tx_sem, K_NO_WAIT) < 0) { in bt_att_chan_send() 445 if (k_sem_take(&chan->tx_sem, K_NO_WAIT) < 0) { in bt_att_chan_req_send()
|
A D | conn.c | 1381 k_sem_take(bt_conn_get_pkts(conn), K_FOREVER); in send_frag()
|
A D | hci_core.c | 373 err = k_sem_take(&sync_sem, HCI_CMD_TIMEOUT); in bt_hci_cmd_send_sync() 5837 k_sem_take(&bt_dev.ncmd_sem, K_FOREVER); in send_cmd()
|
A D | smp.c | 5139 err = k_sem_take(&sc_local_pkey_ready, K_FOREVER); in bt_smp_le_oob_generate_sc_data()
|
/AliOS-Things-master/components/ble_host/include/ |
A D | ble_os_port.h | 418 int k_sem_take(struct k_sem *sem, uint32_t timeout);
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | health_cli.c | 216 err = k_sem_take(&health_cli->op_sync, msg_timeout); in cli_wait()
|
A D | cfg_cli.c | 878 err = k_sem_take(&cli->op_sync, msg_timeout); in cli_wait()
|
/AliOS-Things-master/components/genie_service/core/src/ |
A D | genie_time.c | 19 #define GENIE_TIME_LOCK k_sem_take(&genie_time_timer.lock, -1)
|
/AliOS-Things-master/components/ble_mesh/bt_shell/bt_mesh/ |
A D | shell.c | 559 k_sem_take(&prov_input_sem, K_FOREVER); in provisioner_input_num()
|
Completed in 59 milliseconds