Searched refs:__cpu_to_le16 (Results 1 – 11 of 11) sorted by relevance
289 req.dcid = __cpu_to_le16(l2cap_pi(sk)->dcid); in __l2cap_sock_close()290 req.scid = __cpu_to_le16(l2cap_pi(sk)->scid); in __l2cap_sock_close()472 req.scid = __cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_do_connect()960 req.scid = __cpu_to_le16(l2cap_pi(sk)->scid); in l2cap_conn_ready()1061 lh->cid = __cpu_to_le16(l2cap_pi(sk)->dcid); in l2cap_chan_send()1062 lh->len = __cpu_to_le16(len + (hlen - L2CAP_HDR_SIZE)); in l2cap_chan_send()1145 lh->len = __cpu_to_le16(L2CAP_CMD_HDR_SIZE + dlen); in l2cap_build_cmd()1146 lh->cid = __cpu_to_le16(0x0001); in l2cap_build_cmd()1151 cmd->len = __cpu_to_le16(dlen); in l2cap_build_cmd()1292 *((__u16 *) opt->val) = __cpu_to_le16(val); in l2cap_add_conf_opt()[all …]
80 cp.clock_offset = ie->info.clock_offset | __cpu_to_le16(0x8000); in hci_acl_connect()83 cp.pkt_type = __cpu_to_le16(hdev->pkt_type & ACL_PTYPE_MASK); in hci_acl_connect()101 cp.handle = __cpu_to_le16(conn->handle); in hci_acl_disconn()117 cp.pkt_type = __cpu_to_le16(hdev->pkt_type & SCO_PTYPE_MASK); in hci_add_sco()118 cp.handle = __cpu_to_le16(handle); in hci_add_sco()305 ar.handle = __cpu_to_le16(conn->handle); in hci_conn_auth()325 ce.handle = __cpu_to_le16(conn->handle); in hci_conn_encrypt()
235 bs.acl_mtu = __cpu_to_le16(HCI_MAX_ACL_SIZE); in hci_init_req()237 bs.acl_max_pkt = __cpu_to_le16(0xffff); in hci_init_req()238 bs.sco_max_pkt = __cpu_to_le16(0xffff); in hci_init_req()254 param = __cpu_to_le16(0x8000); in hci_init_req()258 param = __cpu_to_le16(0x7d00); in hci_init_req()999 hc->opcode = __cpu_to_le16(cmd_opcode_pack(ogf, ocf)); in hci_send_cmd()1025 if (hc->opcode != __cpu_to_le16(cmd_opcode_pack(ogf, ocf))) in hci_sent_cmd_data()1040 ah->handle = __cpu_to_le16(acl_handle_pack(handle, flags)); in hci_add_acl_hdr()1041 ah->dlen = __cpu_to_le16(len); in hci_add_acl_hdr()1104 hs.handle = __cpu_to_le16(conn->handle); in hci_send_sco()
557 lp.policy = __cpu_to_le16(hdev->link_policy); in hci_conn_complete_evt()567 __cpu_to_le16(hdev->pkt_type & ACL_PTYPE_MASK): in hci_conn_complete_evt()568 __cpu_to_le16(hdev->pkt_type & SCO_PTYPE_MASK); in hci_conn_complete_evt()708 ce.handle = __cpu_to_le16(conn->handle); in hci_auth_complete_evt()
11 #define CPU_TO_LE16(a) __cpu_to_le16(a)15 #define LE16_TO_CPU(a) __cpu_to_le16(a)
91 #define cpu_to_le16 __cpu_to_le16
53 #define __cpu_to_le16(x) ((__u16)(x) macro
39 #define __cpu_to_le16(x) __swab16((x)) macro
39 #define __cpu_to_le16(x) ((__u16)(x)) macro
107 #define htobs(a) __cpu_to_le16(a)
456 dr->wLength = __cpu_to_le16(skb->len); in hci_usb_send_ctrl()