Home
last modified time | relevance | path

Searched refs:k_sem_take (Results 1 – 17 of 17) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_host/port/core/
A Dmbox.c67 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 Dhci_driver.c285 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 Dmesh_provisioner.c128 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 Dpoll.c261 k_sem_take(&eventcb.sem, timeout); in k_poll()
A Daos_port.c154 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 Dhci_ecc.c226 k_sem_take(&cmd_sem, K_FOREVER); in ecc_thread()
A Drfcomm.c514 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 Dhci_api.c261 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 Datt.c336 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 Dconn.c1381 k_sem_take(bt_conn_get_pkts(conn), K_FOREVER); in send_frag()
A Dhci_core.c373 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 Dsmp.c5139 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 Dble_os_port.h418 int k_sem_take(struct k_sem *sem, uint32_t timeout);
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Dhealth_cli.c216 err = k_sem_take(&health_cli->op_sync, msg_timeout); in cli_wait()
A Dcfg_cli.c878 err = k_sem_take(&cli->op_sync, msg_timeout); in cli_wait()
/AliOS-Things-master/components/genie_service/core/src/
A Dgenie_time.c19 #define GENIE_TIME_LOCK k_sem_take(&genie_time_timer.lock, -1)
/AliOS-Things-master/components/ble_mesh/bt_shell/bt_mesh/
A Dshell.c559 k_sem_take(&prov_input_sem, K_FOREVER); in provisioner_input_num()

Completed in 59 milliseconds