Home
last modified time | relevance | path

Searched refs:sys_cpu_to_le16 (Results 1 – 11 of 11) sorted by relevance

/AliOS-Things-master/components/ble_host/bt_host/host/
A Dhci_api.c312 hdr->opcode = sys_cpu_to_le16(opcode); in bt_hci_cmd_create()
542 cp->tx_time = sys_cpu_to_le16(tx_time); in hci_api_le_set_data_len()
719 hbs->acl_mtu = sys_cpu_to_le16(acl_mtu); in hci_api_set_host_buffer_size()
1273 cp->handle = sys_cpu_to_le16(conn_handle); in hci_api_le_read_remote_version()
1453 cp->handle = sys_cpu_to_le16(handle); in hci_api_le_set_phy()
1481 cp->handle = sys_cpu_to_le16(handle); in hci_api_le_conn_param_req_reply()
1484 cp->latency = sys_cpu_to_le16(latency); in hci_api_le_conn_param_req_reply()
1485 cp->timeout = sys_cpu_to_le16(timeout); in hci_api_le_conn_param_req_reply()
1505 cp->handle = sys_cpu_to_le16(handle); in hci_api_le_conn_param_neg_reply()
1506 cp->reason = sys_cpu_to_le16(reason); in hci_api_le_conn_param_neg_reply()
[all …]
A Dl2cap_br.c275 hdr->len = sys_cpu_to_le16(sizeof(*info)); in l2cap_br_get_info()
278 info->type = sys_cpu_to_le16(info_type); in l2cap_br_get_info()
640 rsp->dcid = sys_cpu_to_le16(dcid); in l2cap_br_send_conn_rsp()
641 rsp->scid = sys_cpu_to_le16(scid); in l2cap_br_send_conn_rsp()
642 rsp->result = sys_cpu_to_le16(result); in l2cap_br_send_conn_rsp()
877 rej->reason = sys_cpu_to_le16(reason); in l2cap_br_send_reject()
1003 rsp->result = sys_cpu_to_le16(result); in l2cap_br_conf_req()
1153 req->dcid = sys_cpu_to_le16(ch->tx.cid); in bt_l2cap_br_chan_disconnect()
1154 req->scid = sys_cpu_to_le16(ch->rx.cid); in bt_l2cap_br_chan_disconnect()
1261 req->psm = sys_cpu_to_le16(psm); in bt_l2cap_br_chan_connect()
[all …]
A Dl2cap.c435 hdr->len = sys_cpu_to_le16(len); in l2cap_create_le_sig_pdu()
473 req->scid = sys_cpu_to_le16(ch->rx.cid); in l2cap_le_conn_req()
474 req->mtu = sys_cpu_to_le16(ch->rx.mtu); in l2cap_le_conn_req()
475 req->mps = sys_cpu_to_le16(ch->rx.mps); in l2cap_le_conn_req()
507 req->mtu = sys_cpu_to_le16(ch->rx.mtu); in l2cap_ecred_conn_req()
508 req->mps = sys_cpu_to_le16(ch->rx.mps); in l2cap_ecred_conn_req()
596 hdr->cid = sys_cpu_to_le16(cid); in bt_l2cap_send_cb()
614 rej->reason = sys_cpu_to_le16(reason); in l2cap_send_reject()
1051 rsp->result = sys_cpu_to_le16(result); in le_conn_req()
1165 rsp->result = sys_cpu_to_le16(result); in le_ecred_conn_req()
[all …]
A Dgatt.c592 value = sys_cpu_to_le16(attr->handle); in gen_hash_m()
599 value = sys_cpu_to_le16(u16->val); in gen_hash_m()
625 value = sys_cpu_to_le16(attr->handle); in gen_hash_m()
632 value = sys_cpu_to_le16(u16->val); in gen_hash_m()
942 sc_range[1] = sys_cpu_to_le16(sc->end); in sc_process()
1515 value = sys_cpu_to_le16(cfg->value); in bt_gatt_attr_read_ccc()
1768 nfy->handle = sys_cpu_to_le16(handle); in gatt_notify_mult()
1813 nfy->handle = sys_cpu_to_le16(handle); in gatt_notify()
1893 ind->handle = sys_cpu_to_le16(handle); in gatt_indicate()
2563 len = sys_cpu_to_le16(nfy->len); in bt_gatt_mult_notification()
[all …]
A Dhci_core.c269 cp->num_handles = sys_cpu_to_le16(1); in report_completed_packet()
272 hc->handle = sys_cpu_to_le16(handle); in report_completed_packet()
273 hc->count = sys_cpu_to_le16(1); in report_completed_packet()
312 hdr->opcode = sys_cpu_to_le16(opcode); in bt_hci_cmd_create()
1666 phy->scan_window = sys_cpu_to_le16( in bt_le_create_conn_ext()
1676 phy->scan_window = sys_cpu_to_le16( in bt_le_create_conn_ext()
2737 cp->handle = sys_cpu_to_le16(handle); in le_conn_param_neg_reply()
2738 cp->reason = sys_cpu_to_le16(reason); in le_conn_param_neg_reply()
2761 cp->handle = sys_cpu_to_le16(handle); in le_conn_param_req_reply()
5151 sys_cpu_to_le16(interval), in start_le_scan_legacy()
[all …]
A Dmonitor.c106 hdr->opcode = sys_cpu_to_le16(opcode); in encode_hdr()
124 hdr->data_len = sys_cpu_to_le16(4 + hdr->hdr_len + len); in encode_hdr()
A Datt.c362 rsp->handle = sys_cpu_to_le16(handle); in send_err_rsp()
410 rsp->mtu = sys_cpu_to_le16(mtu_server); in att_mtu_req()
628 data->info16->handle = sys_cpu_to_le16(attr->handle); in find_info_cb()
644 data->info128->handle = sys_cpu_to_le16(attr->handle); in find_info_cb()
736 data->group->end_handle = sys_cpu_to_le16(attr->handle); in find_type_cb()
800 data->group->start_handle = sys_cpu_to_le16(attr->handle); in find_type_cb()
801 data->group->end_handle = sys_cpu_to_le16(attr->handle); in find_type_cb()
1026 data->item->handle = sys_cpu_to_le16(attr->handle); in read_type_cb()
1427 data->group->end_handle = sys_cpu_to_le16(attr->handle); in read_group_cb()
1737 rsp->handle = sys_cpu_to_le16(handle); in att_prep_write_rsp()
[all …]
A Dconn.c512 cp->packet_type = sys_cpu_to_le16(0xcc18); /* DM1 DH1 DM3 DH5 DM5 DH5 */ in bt_conn_create_br()
987 auth->handle = sys_cpu_to_le16(conn->handle); in conn_auth()
1027 cp->handle = sys_cpu_to_le16(conn->handle); in bt_conn_le_start_encryption()
1073 cp->handle = sys_cpu_to_le16(conn->handle); in bt_conn_enc_key_size()
1389 hdr->handle = sys_cpu_to_le16(bt_acl_handle_pack(conn->handle, flags)); in send_frag()
1390 hdr->len = sys_cpu_to_le16(buf->len - sizeof(*hdr)); in send_frag()
2532 conn_update->handle = sys_cpu_to_le16(conn->handle); in bt_conn_le_conn_update()
2533 conn_update->conn_interval_min = sys_cpu_to_le16(param->interval_min); in bt_conn_le_conn_update()
2534 conn_update->conn_interval_max = sys_cpu_to_le16(param->interval_max); in bt_conn_le_conn_update()
2535 conn_update->conn_latency = sys_cpu_to_le16(param->latency); in bt_conn_le_conn_update()
[all …]
A Dhci_ecc.c105 evt->opcode = sys_cpu_to_le16(opcode); in send_cmd_status()
A Drfcomm.c905 pn->mtu = sys_cpu_to_le16(dlc->mtu); in rfcomm_send_pn()
1128 rpn->param_mask = sys_cpu_to_le16(BT_RFCOMM_RPN_PARAM_MASK_ALL); in rfcomm_handle_rpn()
1151 default_rpn.param_mask = sys_cpu_to_le16(BT_RFCOMM_RPN_PARAM_MASK_ALL); in rfcomm_handle_rpn()
1431 *len = BT_RFCOMM_SET_LEN_16(sys_cpu_to_le16(buf->len - in bt_rfcomm_dlc_send()
/AliOS-Things-master/components/ble_host/bt_host/port/include/misc/
A Dbyteorder.h172 #define sys_cpu_to_le16(val) (val) macro
193 #define sys_cpu_to_le16(val) __bswap_16(val) macro

Completed in 65 milliseconds