| /linux-6.15/fs/jfs/ |
| H A D | jfs_unicode.h | 57 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le() 61 return (int) *ucs1 - (int) __le16_to_cpu(*ucs2); in UniStrncmp_le() 90 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_from_le()
|
| /linux-6.15/fs/nls/ |
| H A D | nls_ucs2_utils.h | 176 while ((*ucs1 == __le16_to_cpu(*ucs2)) && *ucs1 && --n) { in UniStrncmp_le() 180 return (int)*ucs1 - (int)__le16_to_cpu(*ucs2); in UniStrncmp_le() 207 *ucs1++ = __le16_to_cpu(*ucs2++); in UniStrncpy_le()
|
| /linux-6.15/drivers/net/wireless/st/cw1200/ |
| H A D | bh.c | 288 *ctrl_reg = __le16_to_cpu( in cw1200_bh_rx_helper() 292 wsm_len = __le16_to_cpu(wsm->len); in cw1200_bh_rx_helper() 301 wsm_id = __le16_to_cpu(wsm->id) & 0xFFF; in cw1200_bh_rx_helper() 302 wsm_seq = (__le16_to_cpu(wsm->id) >> 13) & 7; in cw1200_bh_rx_helper() 372 BUG_ON(__le16_to_cpu(wsm->len) != tx_len); in cw1200_bh_tx_helper() 396 __le16_to_cpu(wsm->len)); in cw1200_bh_tx_helper()
|
| /linux-6.15/net/bluetooth/ |
| H A D | hci_event.c | 562 setting = __le16_to_cpu(rp->voice_setting); in hci_cc_read_voice_setting() 1212 hdev->le_mtu = __le16_to_cpu(rp->le_mtu); in hci_cc_le_read_buffer_size() 2325 handle = __le16_to_cpu(cp->handle); in hci_cs_add_sco() 4223 *opcode = __le16_to_cpu(ev->opcode); in hci_cmd_complete_evt() 4344 *opcode = __le16_to_cpu(ev->opcode); in hci_cmd_status_evt() 4431 handle = __le16_to_cpu(info->handle); in hci_num_comp_pkts_evt() 4432 count = __le16_to_cpu(info->count); in hci_num_comp_pkts_evt() 5128 __le16_to_cpu(ev->handle)); in hci_key_refresh_complete_evt() 6715 u16 handle = __le16_to_cpu(ev->handle); in hci_le_cis_estabilished_evt() 6911 __le16_to_cpu(ev->bis_handle[i++]))) in hci_le_create_big_complete_evt() [all …]
|
| H A D | l2cap_core.c | 4648 min = __le16_to_cpu(req->min); in l2cap_conn_param_update_req() 4649 max = __le16_to_cpu(req->max); in l2cap_conn_param_update_req() 4835 mtu = __le16_to_cpu(req->mtu); in l2cap_le_connect_req() 4836 mps = __le16_to_cpu(req->mps); in l2cap_le_connect_req() 4969 cid = __le16_to_cpu(pkt->cid); in l2cap_le_credits() 5033 mtu = __le16_to_cpu(req->mtu); in l2cap_ecred_conn_req() 5034 mps = __le16_to_cpu(req->mps); in l2cap_ecred_conn_req() 5283 mtu = __le16_to_cpu(req->mtu); in l2cap_ecred_reconf_req() 5284 mps = __le16_to_cpu(req->mps); in l2cap_ecred_reconf_req() 6793 cid = __le16_to_cpu(lh->cid); in l2cap_recv_frame() [all …]
|
| H A D | hci_codec.c | 23 entry->cid = __le16_to_cpu(sent->cid); in hci_codec_list_add() 24 entry->vid = __le16_to_cpu(sent->vid); in hci_codec_list_add()
|
| H A D | l2cap_sock.c | 121 __u16 psm = __le16_to_cpu(la.l2_psm); in l2cap_sock_bind() 136 err = l2cap_add_scid(chan, __le16_to_cpu(la.l2_cid)); in l2cap_sock_bind() 145 if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_3DSP) in l2cap_sock_bind() 149 if (__le16_to_cpu(la.l2_psm) == L2CAP_PSM_SDP || in l2cap_sock_bind() 150 __le16_to_cpu(la.l2_psm) == L2CAP_PSM_RFCOMM) in l2cap_sock_bind() 256 err = l2cap_chan_connect(chan, la.l2_psm, __le16_to_cpu(la.l2_cid), in l2cap_sock_connect()
|
| /linux-6.15/drivers/net/wireless/ath/ath10k/ |
| H A D | htt_rx.c | 524 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_32() 601 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_64() 667 msdu_count = __le16_to_cpu(ev->msdu_count); in ath10k_htt_rx_pop_paddr32_list() 2476 peer_id = __le16_to_cpu(rx->hdr.peer_id); in ath10k_htt_rx_proc_rx_ind_hl() 2780 peer_id = __le16_to_cpu(rx->peer_id); in ath10k_htt_rx_proc_rx_frag_ind_hl() 2822 sc = __le16_to_cpu(hdr->seq_ctrl); in ath10k_htt_rx_proc_rx_frag_ind_hl() 2926 peer_id = __le16_to_cpu(rx->hdr.peer_id); in ath10k_htt_rx_proc_rx_ind_ll() 3075 info0 = __le16_to_cpu(ev->info0); in ath10k_htt_rx_addba() 3115 info0 = __le16_to_cpu(ev->info0); in ath10k_htt_rx_delba() 4050 __le16_to_cpu(ev->peer_id)); in ath10k_htt_rx_sec_ind_handler() [all …]
|
| H A D | htc.c | 467 payload_len = __le16_to_cpu(hdr->len); in ath10k_htc_rx_completion_handler() 535 switch (__le16_to_cpu(msg->hdr.message_id)) { in ath10k_htc_control_rx_complete() 953 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_wait_target() 961 htc->total_transmit_credits = __le16_to_cpu(msg->ready.credit_count); in ath10k_htc_wait_target() 965 htc->target_credit_size = __le16_to_cpu(msg->ready.credit_size); in ath10k_htc_wait_target() 985 __le16_to_cpu(msg->ready_ext.reserved) & in ath10k_htc_wait_target() 1092 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_connect_service() 1093 service_id = __le16_to_cpu(resp_msg->service_id); in ath10k_htc_connect_service() 1118 max_msg_size = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() 1136 conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service() [all …]
|
| /linux-6.15/drivers/net/usb/ |
| H A D | r8152.c | 1998 if (INTR_LINK & __le16_to_cpu(d[0])) { in intr_callback() 4444 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok() 4478 if (__le16_to_cpu(phy->bp_num) > 4) { in rtl8152_is_fw_phy_nc_ok() 4972 len -= __le16_to_cpu(phy->fw_offset); in rtl_ram_code_speed_up() 5026 ver = __le16_to_cpu(phy_ver->ver.data); in rtl8152_fw_phy_ver() 5051 switch (__le16_to_cpu(fix->bit_cmd)) { in rtl8152_fw_phy_fixup() 5097 sram_write(tp, __le16_to_cpu(phy->bp[i].addr), __le16_to_cpu(phy->bp[i].data)); in rtl8152_fw_phy_union_apply() 5100 sram_write(tp, __le16_to_cpu(phy->bp_en.addr), __le16_to_cpu(phy->bp_en.data)); in rtl8152_fw_phy_union_apply() 5116 __le16_to_cpu(phy->ba_data)); in rtl8152_fw_phy_nc_apply() 5131 num = __le16_to_cpu(phy->bp_num); in rtl8152_fw_phy_nc_apply() [all …]
|
| /linux-6.15/net/nfc/nci/ |
| H A D | rsp.c | 73 __le16_to_cpu(rsp_2->max_routing_table_size); in nci_core_init_rsp_packet_v1() 77 __le16_to_cpu(rsp_2->max_size_for_large_params); in nci_core_init_rsp_packet_v1() 116 __le16_to_cpu(rsp->max_routing_table_size); in nci_core_init_rsp_packet_v2()
|
| /linux-6.15/drivers/nvdimm/ |
| H A D | nd.h | 187 return __le16_to_cpu(nd_label->cxl.position); in nsl_get_position() 188 return __le16_to_cpu(nd_label->efi.position); in nsl_get_position() 206 return __le16_to_cpu(nd_label->efi.nlabel); in nsl_get_nlabel() 221 return __le16_to_cpu(nd_label->cxl.nrange); in nsl_get_nrange() 241 return __le16_to_cpu(nd_label->cxl.lbasize); in nsl_get_lbasize()
|
| /linux-6.15/arch/microblaze/include/asm/ |
| H A D | io.h | 52 #define in_le16(a) __le16_to_cpu(__raw_readw(a))
|
| /linux-6.15/drivers/bluetooth/ |
| H A D | btnxpuart.c | 914 len = __le16_to_cpu(req->len ^ req->len_comp); in nxp_recv_fw_req_v1() 922 len = __le16_to_cpu(req->len); in nxp_recv_fw_req_v1() 1110 __u16 err = __le16_to_cpu(req->error); in nxp_handle_fw_download_error() 1149 err = __le16_to_cpu(req->error); in nxp_recv_fw_req_v3() 1172 len = __le16_to_cpu(req->len); in nxp_recv_fw_req_v3() 1306 __u16 seq_num = __le16_to_cpu(fw_dump_hdr->seq_num); in nxp_process_fw_dump() 1307 __u16 buf_len = __le16_to_cpu(fw_dump_hdr->buf_len); in nxp_process_fw_dump() 1342 __u16 handle = __le16_to_cpu(hci_acl_hdr(skb)->handle); in nxp_recv_acl_pkt() 1510 switch (__le16_to_cpu(hdr->opcode)) { in nxp_enqueue() 1518 psdata->c2h_ps_interval = __le16_to_cpu(ps_parm.c2h_ps_interval); in nxp_enqueue()
|
| /linux-6.15/drivers/net/wireless/intel/iwlwifi/mld/ |
| H A D | mcc.c | 164 __le16_to_cpu(resp->mcc), in iwl_mld_get_regdomain() 165 __le16_to_cpu(resp->geo_info), in iwl_mld_get_regdomain()
|
| /linux-6.15/drivers/usb/serial/ |
| H A D | ir-usb.c | 100 dev_dbg(dev, "bcdSpecRevision=%x\n", __le16_to_cpu(desc->bcdSpecRevision)); in irda_usb_dump_class_desc() 104 dev_dbg(dev, "wBaudRate=%x\n", __le16_to_cpu(desc->wBaudRate)); in irda_usb_dump_class_desc()
|
| /linux-6.15/drivers/net/wireless/ath/wcn36xx/ |
| H A D | txrx.c | 350 fc = __le16_to_cpu(hdr->frame_control); in wcn36xx_rx_skb() 351 sn = IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)); in wcn36xx_rx_skb() 668 skb, skb->len, __le16_to_cpu(hdr->frame_control), in wcn36xx_start_tx() 669 IEEE80211_SEQ_TO_SN(__le16_to_cpu(hdr->seq_ctrl)), in wcn36xx_start_tx()
|
| /linux-6.15/drivers/input/touchscreen/ |
| H A D | goodix_berlin_core.c | 463 __le16_to_cpu(t->x), __le16_to_cpu(t->y), in goodix_berlin_report_state() 466 __le16_to_cpu(t->w)); in goodix_berlin_report_state()
|
| /linux-6.15/sound/usb/ |
| H A D | midi2.c | 537 size = __le16_to_cpu(header.wTotalLength); in get_group_terminal_block_descs() 828 __le16_to_cpu(desc->wMaxInputBandwidth), in create_gtb_block() 829 __le16_to_cpu(desc->wMaxOutputBandwidth)); in create_gtb_block() 861 if (__le16_to_cpu(desc->wMaxInputBandwidth) == 1 || in create_gtb_block() 862 __le16_to_cpu(desc->wMaxOutputBandwidth) == 1) in create_gtb_block()
|
| /linux-6.15/include/linux/byteorder/ |
| H A D | generic.h | 91 #define le16_to_cpu __le16_to_cpu
|
| /linux-6.15/net/ieee802154/ |
| H A D | trace.h | 180 __le16_to_cpu(__entry->le16arg)) 195 __le16_to_cpu(__entry->le16arg))
|
| /linux-6.15/drivers/net/wireless/ath/ath11k/ |
| H A D | hw.c | 354 return __le16_to_cpu(desc->u.ipq8074.mpdu_start.sw_peer_id); in ath11k_hw_ipq8074_rx_desc_get_mpdu_peer_id() 376 return __le16_to_cpu(desc->u.ipq8074.mpdu_start.phy_ppdu_id); in ath11k_hw_ipq8074_rx_desc_get_mpdu_ppdu_id() 414 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_first_msdu() 420 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_last_msdu() 426 __le16_to_cpu(desc->u.qcn9074.msdu_end.info4)); in ath11k_hw_qcn9074_rx_desc_get_l3_pad_bytes() 531 return __le16_to_cpu(desc->u.qcn9074.mpdu_start.sw_peer_id); in ath11k_hw_qcn9074_rx_desc_get_mpdu_peer_id() 553 return __le16_to_cpu(desc->u.qcn9074.mpdu_start.phy_ppdu_id); in ath11k_hw_qcn9074_rx_desc_get_mpdu_ppdu_id() 702 return __le16_to_cpu(desc->u.wcn6855.mpdu_start.sw_peer_id); in ath11k_hw_wcn6855_rx_desc_get_mpdu_peer_id() 724 return __le16_to_cpu(desc->u.wcn6855.mpdu_start.phy_ppdu_id); in ath11k_hw_wcn6855_rx_desc_get_mpdu_ppdu_id()
|
| /linux-6.15/drivers/net/wireless/realtek/rtw88/ |
| H A D | tx.h | 130 le32p_replace_bits(&tx_desc->w7, __le16_to_cpu(chksum), in fill_txdesc_checksum_common()
|
| /linux-6.15/include/uapi/linux/byteorder/ |
| H A D | big_endian.h | 37 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) macro
|
| H A D | little_endian.h | 37 #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) macro
|