Home
last modified time | relevance | path

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

1234

/linux-6.15/fs/jfs/
H A Djfs_unicode.h57 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 Dnls_ucs2_utils.h176 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 Dbh.c288 *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 Dhci_event.c562 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 Dl2cap_core.c4648 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 Dhci_codec.c23 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 Dl2cap_sock.c121 __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 Dhtt_rx.c524 __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 Dhtc.c467 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 Dr8152.c1998 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 Drsp.c73 __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 Dnd.h187 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 Dio.h52 #define in_le16(a) __le16_to_cpu(__raw_readw(a))
/linux-6.15/drivers/bluetooth/
H A Dbtnxpuart.c914 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 Dmcc.c164 __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 Dir-usb.c100 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 Dtxrx.c350 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 Dgoodix_berlin_core.c463 __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 Dmidi2.c537 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 Dgeneric.h91 #define le16_to_cpu __le16_to_cpu
/linux-6.15/net/ieee802154/
H A Dtrace.h180 __le16_to_cpu(__entry->le16arg))
195 __le16_to_cpu(__entry->le16arg))
/linux-6.15/drivers/net/wireless/ath/ath11k/
H A Dhw.c354 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 Dtx.h130 le32p_replace_bits(&tx_desc->w7, __le16_to_cpu(chksum), in fill_txdesc_checksum_common()
/linux-6.15/include/uapi/linux/byteorder/
H A Dbig_endian.h37 #define __le16_to_cpu(x) __swab16((__force __u16)(__le16)(x)) macro
H A Dlittle_endian.h37 #define __le16_to_cpu(x) ((__force __u16)(__le16)(x)) macro

1234