Home
last modified time | relevance | path

Searched refs:__le16_to_cpu (Results 1 – 25 of 79) sorted by relevance

1234

/Linux-v4.19/fs/jfs/
Djfs_unicode.h77 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le()
81 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le()
110 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_from_le()
/Linux-v4.19/net/bluetooth/
Dhci_event.c113 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_role_discovery()
132 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_read_link_policy()
134 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy()
156 conn = hci_conn_hash_lookup_handle(hdev, __le16_to_cpu(rp->handle)); in hci_cc_write_link_policy()
173 hdev->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_def_link_policy()
429 setting = __le16_to_cpu(rp->voice_setting); in hci_cc_read_voice_setting()
560 hdev->hci_rev = __le16_to_cpu(rp->hci_rev); in hci_cc_read_local_version()
562 hdev->manufacturer = __le16_to_cpu(rp->manufacturer); in hci_cc_read_local_version()
563 hdev->lmp_subver = __le16_to_cpu(rp->lmp_subver); in hci_cc_read_local_version()
671 hdev->acl_mtu = __le16_to_cpu(rp->acl_mtu); in hci_cc_read_buffer_size()
[all …]
Dl2cap_core.c531 __le16_to_cpu(chan->psm), chan->dcid); in __l2cap_chan_add()
2175 __le16_to_cpu(chan->psm), len); in l2cap_create_connless_pdu()
3792 u16 dcid = 0, scid = __le16_to_cpu(req->scid); in l2cap_connect()
3795 BT_DBG("psm 0x%2.2x scid 0x%4.4x", __le16_to_cpu(psm), scid); in l2cap_connect()
3950 scid = __le16_to_cpu(rsp->scid); in l2cap_connect_create_rsp()
3951 dcid = __le16_to_cpu(rsp->dcid); in l2cap_connect_create_rsp()
3952 result = __le16_to_cpu(rsp->result); in l2cap_connect_create_rsp()
3953 status = __le16_to_cpu(rsp->status); in l2cap_connect_create_rsp()
4062 dcid = __le16_to_cpu(req->dcid); in l2cap_config_req()
4063 flags = __le16_to_cpu(req->flags); in l2cap_config_req()
[all …]
Dl2cap_sock.c119 __u16 psm = __le16_to_cpu(la.l2_psm); in l2cap_sock_bind()
134 err = l2cap_add_scid(chan, __le16_to_cpu(la.l2_cid)); in l2cap_sock_bind()
143 if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_3DSP) in l2cap_sock_bind()
147 if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_SDP || in l2cap_sock_bind()
148 __le16_to_cpu(la.l2_psm) == L2CAP_PSM_RFCOMM) in l2cap_sock_bind()
238 err = l2cap_chan_connect(chan, la.l2_psm, __le16_to_cpu(la.l2_cid), in l2cap_sock_connect()
Dhci_sock.c1493 opcode = __le16_to_cpu(hdr->opcode); in hci_mgmt_cmd()
1494 index = __le16_to_cpu(hdr->index); in hci_mgmt_cmd()
1495 len = __le16_to_cpu(hdr->len); in hci_mgmt_cmd()
1616 if (__le16_to_cpu(hdr->len) != len - sizeof(*hdr)) { in hci_logging_frame()
1621 if (__le16_to_cpu(hdr->opcode) == 0x0000) { in hci_logging_frame()
1649 index = __le16_to_cpu(hdr->index); in hci_logging_frame()
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dhtc.c416 payload_len = __le16_to_cpu(hdr->len); in ath10k_htc_rx_completion_handler()
484 switch (__le16_to_cpu(msg->hdr.message_id)) { in ath10k_htc_control_rx_complete()
630 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_wait_target()
637 htc->total_transmit_credits = __le16_to_cpu(msg->ready.credit_count); in ath10k_htc_wait_target()
638 htc->target_credit_size = __le16_to_cpu(msg->ready.credit_size); in ath10k_htc_wait_target()
747 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_connect_service()
748 service_id = __le16_to_cpu(resp_msg->service_id); in ath10k_htc_connect_service()
773 max_msg_size = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
791 conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
796 ep->max_ep_message_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
Dhtt_rx.c480 msdu_count = __le16_to_cpu(ev->msdu_count); in ath10k_htt_rx_pop_paddr32_list()
501 skb_put(msdu, __le16_to_cpu(msdu_desc->msdu_len)); in ath10k_htt_rx_pop_paddr32_list()
530 msdu_count = __le16_to_cpu(ev->msdu_count); in ath10k_htt_rx_pop_paddr64_list()
550 skb_put(msdu, __le16_to_cpu(msdu_desc->msdu_len)); in ath10k_htt_rx_pop_paddr64_list()
1114 (__le16_to_cpu(hdr->seq_ctrl) & IEEE80211_SCTL_SEQ) >> 4, in ath10k_process_rx()
1861 peer_id = __le16_to_cpu(rx->hdr.peer_id); in ath10k_htt_rx_proc_rx_ind()
1913 tx_done.msdu_id = __le16_to_cpu(msdu_id); in ath10k_htt_rx_tx_compl_ind()
1938 info0 = __le16_to_cpu(ev->info0); in ath10k_htt_rx_addba()
1978 info0 = __le16_to_cpu(ev->info0); in ath10k_htt_rx_delba()
2081 if (skb_tailroom(msdu) < __le16_to_cpu(rx->msdu_len)) { in ath10k_htt_rx_h_rx_offload()
[all …]
Dce.c803 nbytes = __le16_to_cpu(sdesc.nbytes); in _ath10k_ce_completed_recv_next_nolock()
853 nbytes = __le16_to_cpu(sdesc.nbytes); in _ath10k_ce_completed_recv_next_nolock_64()
1101 *nbytesp = __le16_to_cpu(desc->nbytes); in ath10k_ce_extract_desc_data()
1102 *transfer_idp = MS(__le16_to_cpu(desc->flags), in ath10k_ce_extract_desc_data()
1119 *nbytesp = __le16_to_cpu(desc->nbytes); in ath10k_ce_extract_desc_data_64()
1120 *transfer_idp = MS(__le16_to_cpu(desc->flags), in ath10k_ce_extract_desc_data_64()
/Linux-v4.19/drivers/net/wireless/st/cw1200/
Dbh.c296 *ctrl_reg = __le16_to_cpu( in cw1200_bh_rx_helper()
300 wsm_len = __le16_to_cpu(wsm->len); in cw1200_bh_rx_helper()
309 wsm_id = __le16_to_cpu(wsm->id) & 0xFFF; in cw1200_bh_rx_helper()
310 wsm_seq = (__le16_to_cpu(wsm->id) >> 13) & 7; in cw1200_bh_rx_helper()
386 BUG_ON(__le16_to_cpu(wsm->len) != tx_len); in cw1200_bh_tx_helper()
410 __le16_to_cpu(wsm->len)); in cw1200_bh_tx_helper()
/Linux-v4.19/drivers/net/wireless/intersil/hostap/
Dhostap_main.c526 status = __le16_to_cpu(rx->status); in hostap_dump_rx_header()
534 fc = __le16_to_cpu(rx->frame_control); in hostap_dump_rx_header()
539 __le16_to_cpu(rx->duration_id), __le16_to_cpu(rx->seq_ctrl), in hostap_dump_rx_header()
540 __le16_to_cpu(rx->data_len), in hostap_dump_rx_header()
559 name, __le16_to_cpu(tx->status), tx->retry_count, tx->tx_rate, in hostap_dump_tx_header()
560 __le16_to_cpu(tx->tx_control), jiffies); in hostap_dump_tx_header()
562 fc = __le16_to_cpu(tx->frame_control); in hostap_dump_tx_header()
567 __le16_to_cpu(tx->duration_id), __le16_to_cpu(tx->seq_ctrl), in hostap_dump_tx_header()
568 __le16_to_cpu(tx->data_len), in hostap_dump_tx_header()
/Linux-v4.19/fs/cifs/
Dcifs_unicode.h262 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le()
266 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le()
295 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_le()
/Linux-v4.19/drivers/net/wireless/ath/wcn36xx/
Dtxrx.c49 fc = __le16_to_cpu(hdr->frame_control); in wcn36xx_rx_skb()
50 sn = IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)); in wcn36xx_rx_skb()
282 skb, skb->len, __le16_to_cpu(hdr->frame_control), in wcn36xx_start_tx()
283 IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)), in wcn36xx_start_tx()
/Linux-v4.19/arch/microblaze/include/asm/
Dio.h64 #define in_le16(a) __le16_to_cpu(__raw_readw(a))
/Linux-v4.19/drivers/usb/serial/
Dir-usb.c96 dev_dbg(dev, "bcdSpecRevision=%x\n", __le16_to_cpu(desc->bcdSpecRevision)); in irda_usb_dump_class_desc()
100 dev_dbg(dev, "wBaudRate=%x\n", __le16_to_cpu(desc->wBaudRate)); in irda_usb_dump_class_desc()
/Linux-v4.19/arch/m68k/include/asm/
Dio_no.h70 return __le16_to_cpu(__raw_readw(addr)); in readw()
/Linux-v4.19/net/ieee802154/
Dtrace.h180 __le16_to_cpu(__entry->le16arg))
195 __le16_to_cpu(__entry->le16arg))
/Linux-v4.19/net/nfc/nci/
Drsp.c82 __le16_to_cpu(rsp_2->max_routing_table_size); in nci_core_init_rsp_packet()
86 __le16_to_cpu(rsp_2->max_size_for_large_params); in nci_core_init_rsp_packet()
/Linux-v4.19/drivers/staging/gdm724x/
Dgdm_mux.c158 packet_type = __le16_to_cpu(mux_header->packet_type); in up_to_host()
507 idVendor = __le16_to_cpu(usbdev->descriptor.idVendor); in gdm_mux_probe()
508 idProduct = __le16_to_cpu(usbdev->descriptor.idProduct); in gdm_mux_probe()
/Linux-v4.19/include/linux/byteorder/
Dgeneric.h91 #define le16_to_cpu __le16_to_cpu
/Linux-v4.19/include/asm-generic/
Dio.h173 val = __le16_to_cpu(__raw_readw(addr)); in readw()
266 return __le16_to_cpu(__raw_readw(addr)); in readw_relaxed()
486 val = __le16_to_cpu(__raw_readw(PCI_IOBASE + addr)); in inw()
/Linux-v4.19/include/uapi/linux/byteorder/
Dbig_endian.h36 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) macro
Dlittle_endian.h36 #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) macro
/Linux-v4.19/drivers/bluetooth/
Dhci_ath.c234 if (__le16_to_cpu(hdr->opcode) == HCI_OP_ATH_SLEEP) in ath_enqueue()
/Linux-v4.19/include/uapi/linux/usb/
Dch9.h642 return __le16_to_cpu(epd->wMaxPacketSize) & USB_ENDPOINT_MAXP_MASK; in usb_endpoint_maxp()
654 int maxp = __le16_to_cpu(epd->wMaxPacketSize); in usb_endpoint_maxp_mult()
/Linux-v4.19/drivers/usb/c67x00/
Dc67x00-sched.c116 #define td_ly_base_addr(td) (__le16_to_cpu((td)->ly_base_addr))
117 #define td_port_length(td) (__le16_to_cpu((td)->port_length))
118 #define td_next_td_addr(td) (__le16_to_cpu((td)->next_td_addr))

1234