Home
last modified time | relevance | path

Searched refs:htole16 (Results 1 – 24 of 24) sorted by relevance

/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/src/
Dble_att_cmd.c110 dst->baep_handle = htole16(src->baep_handle); in ble_att_error_rsp_write()
133 dst->bamc_mtu = htole16(src->bamc_mtu); in ble_att_mtu_req_write()
141 dst->bamc_mtu = htole16(src->bamc_mtu); in ble_att_mtu_rsp_write()
158 dst->bafq_start_handle = htole16(src->bafq_start_handle); in ble_att_find_info_req_write()
159 dst->bafq_end_handle = htole16(src->bafq_end_handle); in ble_att_find_info_req_write()
193 dst->bavq_start_handle = htole16(src->bavq_start_handle); in ble_att_find_type_value_req_write()
194 dst->bavq_end_handle = htole16(src->bavq_end_handle); in ble_att_find_type_value_req_write()
195 dst->bavq_attr_type = htole16(src->bavq_attr_type); in ble_att_find_type_value_req_write()
212 dst->batq_start_handle = htole16(src->batq_start_handle); in ble_att_read_type_req_write()
213 dst->batq_end_handle = htole16(src->batq_end_handle); in ble_att_read_type_req_write()
[all …]
Dble_l2cap_sig.c414 rsp->result = htole16(l2cap_result); in ble_l2cap_sig_update_req_rx()
513 req->itvl_min = htole16(params->itvl_min); in ble_l2cap_sig_update()
514 req->itvl_max = htole16(params->itvl_max); in ble_l2cap_sig_update()
515 req->slave_latency = htole16(params->slave_latency); in ble_l2cap_sig_update()
516 req->timeout_multiplier = htole16(params->timeout_multiplier); in ble_l2cap_sig_update()
725 rsp->result = htole16(BLE_L2CAP_ERR_RECONFIG_UNACCAPTED_PARAM); in ble_l2cap_sig_credit_base_reconfig_req_rx()
731 rsp->result = htole16(BLE_L2CAP_ERR_RECONFIG_UNACCAPTED_PARAM); in ble_l2cap_sig_credit_base_reconfig_req_rx()
736 rsp->result = htole16(BLE_L2CAP_ERR_RECONFIG_SUCCEED); in ble_l2cap_sig_credit_base_reconfig_req_rx()
739 rsp->result = htole16(BLE_L2CAP_ERR_RECONFIG_UNACCAPTED_PARAM); in ble_l2cap_sig_credit_base_reconfig_req_rx()
746 rsp->result = htole16(BLE_L2CAP_ERR_RECONFIG_INVALID_DCID); in ble_l2cap_sig_credit_base_reconfig_req_rx()
[all …]
Dble_att_clt.c85 req->bamc_mtu = htole16(mtu); in ble_att_clt_tx_mtu()
151 req->bafq_start_handle = htole16(start_handle); in ble_att_clt_tx_find_info()
152 req->bafq_end_handle = htole16(end_handle); in ble_att_clt_tx_find_info()
270 req->bavq_start_handle = htole16(start_handle); in ble_att_clt_tx_find_type_value()
271 req->bavq_end_handle = htole16(end_handle); in ble_att_clt_tx_find_type_value()
272 req->bavq_attr_type = htole16(attribute_type); in ble_att_clt_tx_find_type_value()
340 req->batq_start_handle = htole16(start_handle); in ble_att_clt_tx_read_type()
341 req->batq_end_handle = htole16(end_handle); in ble_att_clt_tx_read_type()
414 req->barq_handle = htole16(handle); in ble_att_clt_tx_read()
455 req->babq_handle = htole16(handle); in ble_att_clt_tx_read_blob()
[all …]
Dble_gap.c508 cmd.conn_handle = htole16(conn_handle); in ble_gap_read_le_phy()
590 cmd.conn_handle = htole16(conn_handle); in ble_gap_set_prefered_le_phy()
604 cmd.phy_options = htole16(phy_opts); in ble_gap_set_prefered_le_phy()
1397 cmd.conn_handle = htole16(conn_handle); in periodic_adv_transfer_disable()
1484 cmd.conn_handle = htole16(handle); in ble_gap_rd_rem_sup_feat_tx()
2031 cmd.min_interval = htole16(min); in ble_gap_adv_params_tx()
2032 cmd.max_interval = htole16(max); in ble_gap_adv_params_tx()
2034 cmd.min_interval = htole16(adv_params->itvl_min); in ble_gap_adv_params_tx()
2035 cmd.max_interval = htole16(adv_params->itvl_max); in ble_gap_adv_params_tx()
2600 cmd->sets[0].duration = htole16(duration); in ble_gap_ext_adv_start()
[all …]
Dble_hs_hci_util.c84 cmd.handle = htole16(conn_handle); in ble_hs_hci_util_read_rssi()
124 cmd.conn_handle = htole16(conn_handle); in ble_hs_hci_util_set_data_len()
125 cmd.tx_octets = htole16(tx_octets); in ble_hs_hci_util_set_data_len()
126 cmd.tx_time = htole16(tx_time); in ble_hs_hci_util_set_data_len()
161 cmd.conn_handle = htole16(conn_handle); in ble_hs_hci_read_chan_map()
Dble_hs_flow.c66 cmd->h[0].handle = htole16(conn->bhc_handle); in ble_hs_flow_tx_num_comp_pkts()
67 cmd->h[0].count = htole16(conn->bhc_completed_pkts); in ble_hs_flow_tx_num_comp_pkts()
200 .acl_data_len = htole16(MYNEWT_VAL(BLE_ACL_BUF_SIZE)), in ble_hs_flow_startup()
201 .acl_num = htole16(MYNEWT_VAL(BLE_ACL_BUF_COUNT)), in ble_hs_flow_startup()
Dble_l2cap_sig_cmd.c58 cmd->reason = htole16(reason); in ble_l2cap_sig_reject_tx()
96 hdr->length = htole16(len); in ble_l2cap_sig_cmd_get()
Dble_hs_hci_cmd.c58 cmd->opcode = htole16(opcode); in ble_hs_hci_cmd_send()
Dble_monitor.c224 hdr.data_len = htole16(4 + hdr_len + len); // 4:byte alignment in monitor_write_header()
226 hdr.opcode = htole16(opcode); in monitor_write_header()
Dble_hs_pvcy.c43 cmd.rpa_timeout = htole16(timeout); in ble_hs_pvcy_set_addr_timeout()
Dble_att_svr.c536 rsp->baep_handle = htole16(handle); in ble_att_svr_tx_error_rsp()
658 cmd->bamc_mtu = htole16(mtu); in ble_att_svr_build_mtu_rsp()
1253 data->handle = htole16(entry->ha_handle_id); in ble_att_svr_build_read_type_rsp()
1275 rsp->batp_length = htole16(sizeof(*data) + prev_attr_len); in ble_att_svr_build_read_type_rsp()
Dble_l2cap_coc.c383 uint16_t l = htole16(OS_MBUF_PKTLEN(tx->sdu)); in ble_l2cap_coc_continue_tx()
Dble_sm.c960 cmd.conn_handle = htole16(params->connection_handle); in ble_sm_start_encrypt_tx()
961 cmd.div = htole16(params->encrypted_diversifier); in ble_sm_start_encrypt_tx()
1125 cmd.conn_handle = htole16(conn_handle); in ble_sm_ltk_req_reply_tx()
1146 cmd.conn_handle = htole16(conn_handle); in ble_sm_ltk_req_neg_reply_tx()
Dble_hs_adv.c195 tmp = htole16(elems[i]); in ble_hs_adv_set_array16()
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/services/gap/src/
Dble_svc_gap.c136 uint16_t appearance = htole16(ble_svc_gap_appearance); in ble_svc_gap_appearance_read_access()
179 htole16(MYNEWT_VAL(BLE_SVC_GAP_PPCP_MIN_CONN_INTERVAL)), in ble_svc_gap_access()
180 htole16(MYNEWT_VAL(BLE_SVC_GAP_PPCP_MAX_CONN_INTERVAL)), in ble_svc_gap_access()
181 htole16(MYNEWT_VAL(BLE_SVC_GAP_PPCP_SLAVE_LATENCY)), in ble_svc_gap_access()
182 htole16(MYNEWT_VAL(BLE_SVC_GAP_PPCP_SUPERVISION_TMO)) in ble_svc_gap_access()
/device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/include/os/
Dendian.h88 #ifndef htole16
89 #define htole16(x) os_bswap_16 (x) macro
162 #ifndef htole16
163 #define htole16(x) ((uint16_t)(x))
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/profiles/common/
Dble_prf_utils.c64 htole16(p_packed_val + OFFSET_2, p_char_pres_fmt->unit); in prf_pack_char_pres_fmt()
68 htole16(p_packed_val + OFFSET_5, p_char_pres_fmt->description); in prf_pack_char_pres_fmt()
84 htole16(p_packed_val, p_date_time->year); in prf_pack_date_time()
/device/soc/rockchip/common/sdk_linux/tools/usb/ffs-aio-example/simple/device_app/
Daio_simple.c125 .wMaxPacketSize = htole16(512),
133 .wMaxPacketSize = htole16(512),
154 .wMaxPacketSize = htole16(1024),
168 .wMaxPacketSize = htole16(1024),
215 htole16(0x0409), /* en-us */
/device/soc/rockchip/common/sdk_linux/tools/usb/ffs-aio-example/multibuff/device_app/
Daio_multibuff.c127 .wMaxPacketSize = htole16(512),
135 .wMaxPacketSize = htole16(512),
156 .wMaxPacketSize = htole16(1024),
170 .wMaxPacketSize = htole16(1024),
217 htole16(0x0409), /* en-us */
/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/
Dendian.h41 #define htole16(x) (uint16_t)(x) macro
54 #define htole16(x) __bswap16(x) macro
/device/soc/esp/esp32/components/newlib/platform_include/
Dendian.h79 #define htole16(x) ((uint16_t)(x)) macro
93 #define htole16(x) bswap16((x)) macro
/device/soc/goodix/gr551x/sdk_liteos/gr551x_sdk/components/libraries/utility/
Dutility.h182 #undef htole16
214 void htole16(uint8_t *p_buf, uint16_t x);
Dutility.c77 void htole16(uint8_t *p_buf, uint16_t x) in htole16() function
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/src/
Dglue.c177 val = htole16(val); in net_buf_simple_add_le16()