Home
last modified time | relevance | path

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

12345

/openbmc/u-boot/fs/reiserfs/
H A Dreiserfs_private.h61 #define sb_blocksize(sbp) (__le16_to_cpu((sbp)->s_blocksize))
63 #define sb_version(sbp) (__le16_to_cpu((sbp)->s_version))
250 #define ih_version(ih) (__le16_to_cpu((ih)->ih_version))
306 #define sd_v1_nlink(sdp) (__le16_to_cpu((sdp)->sd_nlink))
307 #define sd_v1_uid(sdp) (__le16_to_cpu((sdp)->sd_uid))
308 #define sd_v1_gid(sdp) (__le16_to_cpu((sdp)->sd_gid))
341 #define sd_v2_mode(sdp) (__le16_to_cpu((sdp)->sd_mode))
348 #define sd_mode(sdp) (__le16_to_cpu((sdp)->sd_mode))
369 #define deh_location(p_deh) (__le16_to_cpu((p_deh)->deh_location))
370 #define deh_state(p_deh) (__le16_to_cpu((p_deh)->deh_state))
H A Dreiserfs.c349 INFO->tree_depth = __le16_to_cpu(BLOCKHEAD (cache)->blk_level); in reiserfs_mount()
414 if (__le16_to_cpu(BLOCKHEAD (cache)->blk_level) != depth) in read_tree_node()
440 __le16_to_cpu(INFO->current_ih->ih_version)); in next_key()
478 int nr_item = __le16_to_cpu(BLOCKHEAD (cache)->blk_nr_item); in next_key()
497 INFO->current_item = &LEAF[__le16_to_cpu(ih->ih_item_location)]; in next_key()
504 __le16_to_cpu(INFO->current_ih->ih_version)); in next_key()
537 nr_item = __le16_to_cpu(BLOCKHEAD (cache)->blk_nr_item); in search_stat()
563 nr_item = __le16_to_cpu(BLOCKHEAD (LEAF)->blk_nr_item); in search_stat()
576 INFO->current_item = &LEAF[__le16_to_cpu(ih->ih_item_location)]; in search_stat()
612 blocksize = __le16_to_cpu(INFO->current_ih->ih_item_len); in reiserfs_read()
[all …]
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/u-boot/drivers/net/
H A Ddm9000x.c198 *RxStatus = __le16_to_cpu(tmpdata); in dm9000_rx_status_32bit()
199 *RxLen = __le16_to_cpu(tmpdata >> 16); in dm9000_rx_status_32bit()
206 *RxStatus = __le16_to_cpu(DM9000_inw(DM9000_DATA)); in dm9000_rx_status_16bit()
207 *RxLen = __le16_to_cpu(DM9000_inw(DM9000_DATA)); in dm9000_rx_status_16bit()
215 __le16_to_cpu(DM9000_inb(DM9000_DATA) + in dm9000_rx_status_8bit()
218 __le16_to_cpu(DM9000_inb(DM9000_DATA) + in dm9000_rx_status_8bit()
/openbmc/linux/net/bluetooth/
H A Dhci_event.c569 setting = __le16_to_cpu(rp->voice_setting); in hci_cc_read_voice_setting()
1205 hdev->le_mtu = __le16_to_cpu(rp->le_mtu); in hci_cc_le_read_buffer_size()
2323 handle = __le16_to_cpu(cp->handle); in hci_cs_add_sco()
4211 *opcode = __le16_to_cpu(ev->opcode); in hci_cmd_complete_evt()
4331 *opcode = __le16_to_cpu(ev->opcode); in hci_cmd_status_evt()
4417 handle = __le16_to_cpu(info->handle); in hci_num_comp_pkts_evt()
4418 count = __le16_to_cpu(info->count); in hci_num_comp_pkts_evt()
5109 __le16_to_cpu(ev->handle)); in hci_key_refresh_complete_evt()
6648 u16 handle = __le16_to_cpu(ev->handle); in hci_le_cis_estabilished_evt()
6827 __le16_to_cpu(ev->bis_handle[i++]))) in hci_le_create_big_complete_evt()
[all …]
H A Dl2cap_core.c4638 min = __le16_to_cpu(req->min); in l2cap_conn_param_update_req()
4639 max = __le16_to_cpu(req->max); in l2cap_conn_param_update_req()
4832 mtu = __le16_to_cpu(req->mtu); in l2cap_le_connect_req()
4833 mps = __le16_to_cpu(req->mps); in l2cap_le_connect_req()
4968 cid = __le16_to_cpu(pkt->cid); in l2cap_le_credits()
5035 mtu = __le16_to_cpu(req->mtu); in l2cap_ecred_conn_req()
5036 mps = __le16_to_cpu(req->mps); in l2cap_ecred_conn_req()
5291 mtu = __le16_to_cpu(req->mtu); in l2cap_ecred_reconf_req()
5292 mps = __le16_to_cpu(req->mps); in l2cap_ecred_reconf_req()
6800 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()
/openbmc/linux/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()
/openbmc/linux/drivers/net/wireless/intersil/hostap/
H A Dhostap_main.c522 status = __le16_to_cpu(rx->status); in hostap_dump_rx_header()
530 fc = __le16_to_cpu(rx->frame_control); in hostap_dump_rx_header()
535 __le16_to_cpu(rx->duration_id), __le16_to_cpu(rx->seq_ctrl), in hostap_dump_rx_header()
536 __le16_to_cpu(rx->data_len), in hostap_dump_rx_header()
555 name, __le16_to_cpu(tx->status), tx->retry_count, tx->tx_rate, in hostap_dump_tx_header()
556 __le16_to_cpu(tx->tx_control), jiffies); in hostap_dump_tx_header()
558 fc = __le16_to_cpu(tx->frame_control); in hostap_dump_tx_header()
563 __le16_to_cpu(tx->duration_id), __le16_to_cpu(tx->seq_ctrl), in hostap_dump_tx_header()
564 __le16_to_cpu(tx->data_len), in hostap_dump_tx_header()
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dhtt_rx.c523 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_32()
600 __le16_to_cpu(ind_desc->msdu_len), in ath10k_htt_rx_handle_amsdu_mon_64()
666 msdu_count = __le16_to_cpu(ev->msdu_count); in ath10k_htt_rx_pop_paddr32_list()
2475 peer_id = __le16_to_cpu(rx->hdr.peer_id); in ath10k_htt_rx_proc_rx_ind_hl()
2779 peer_id = __le16_to_cpu(rx->peer_id); in ath10k_htt_rx_proc_rx_frag_ind_hl()
2821 sc = __le16_to_cpu(hdr->seq_ctrl); in ath10k_htt_rx_proc_rx_frag_ind_hl()
2925 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.c466 payload_len = __le16_to_cpu(hdr->len); in ath10k_htc_rx_completion_handler()
534 switch (__le16_to_cpu(msg->hdr.message_id)) { in ath10k_htc_control_rx_complete()
952 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_wait_target()
960 htc->total_transmit_credits = __le16_to_cpu(msg->ready.credit_count); in ath10k_htc_wait_target()
964 htc->target_credit_size = __le16_to_cpu(msg->ready.credit_size); in ath10k_htc_wait_target()
984 __le16_to_cpu(msg->ready_ext.reserved) & in ath10k_htc_wait_target()
1091 message_id = __le16_to_cpu(msg->hdr.message_id); in ath10k_htc_connect_service()
1092 service_id = __le16_to_cpu(resp_msg->service_id); in ath10k_htc_connect_service()
1117 max_msg_size = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
1135 conn_resp->max_msg_len = __le16_to_cpu(resp_msg->max_msg_size); in ath10k_htc_connect_service()
[all …]
/openbmc/linux/drivers/net/usb/
H A Dr8152.c1995 if (INTR_LINK & __le16_to_cpu(d[0])) { in intr_callback()
4408 length -= __le16_to_cpu(phy->fw_offset); in rtl8152_is_fw_phy_nc_ok()
4442 if (__le16_to_cpu(phy->bp_num) > 4) { in rtl8152_is_fw_phy_nc_ok()
4936 len -= __le16_to_cpu(phy->fw_offset); in rtl_ram_code_speed_up()
4990 ver = __le16_to_cpu(phy_ver->ver.data); in rtl8152_fw_phy_ver()
5015 switch (__le16_to_cpu(fix->bit_cmd)) { in rtl8152_fw_phy_fixup()
5061 sram_write(tp, __le16_to_cpu(phy->bp[i].addr), __le16_to_cpu(phy->bp[i].data)); in rtl8152_fw_phy_union_apply()
5064 sram_write(tp, __le16_to_cpu(phy->bp_en.addr), __le16_to_cpu(phy->bp_en.data)); in rtl8152_fw_phy_union_apply()
5080 __le16_to_cpu(phy->ba_data)); in rtl8152_fw_phy_nc_apply()
5095 num = __le16_to_cpu(phy->bp_num); in rtl8152_fw_phy_nc_apply()
[all …]
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/arch/microblaze/include/asm/
H A Dio.h52 #define in_le16(a) __le16_to_cpu(__raw_readw(a))
/openbmc/linux/drivers/usb/serial/
H A Dir-usb.c101 dev_dbg(dev, "bcdSpecRevision=%x\n", __le16_to_cpu(desc->bcdSpecRevision)); in irda_usb_dump_class_desc()
105 dev_dbg(dev, "wBaudRate=%x\n", __le16_to_cpu(desc->wBaudRate)); in irda_usb_dump_class_desc()
/openbmc/linux/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()
/openbmc/linux/net/ieee802154/
H A Dtrace.h180 __le16_to_cpu(__entry->le16arg))
195 __le16_to_cpu(__entry->le16arg))
/openbmc/u-boot/include/linux/byteorder/
H A Dgeneric.h91 #define le16_to_cpu __le16_to_cpu
/openbmc/linux/include/linux/byteorder/
H A Dgeneric.h91 #define le16_to_cpu __le16_to_cpu
/openbmc/linux/drivers/staging/gdm724x/
H A Dgdm_mux.c158 packet_type = __le16_to_cpu(mux_header->packet_type); in up_to_host()
506 idVendor = __le16_to_cpu(usbdev->descriptor.idVendor); in gdm_mux_probe()
507 idProduct = __le16_to_cpu(usbdev->descriptor.idProduct); in gdm_mux_probe()
/openbmc/linux/sound/usb/
H A Dmidi2.c537 size = __le16_to_cpu(header.wTotalLength); in get_group_terminal_block_descs()
838 __le16_to_cpu(desc->wMaxInputBandwidth), in create_gtb_block()
839 __le16_to_cpu(desc->wMaxOutputBandwidth)); in create_gtb_block()
871 if (__le16_to_cpu(desc->wMaxInputBandwidth) == 1 || in create_gtb_block()
872 __le16_to_cpu(desc->wMaxOutputBandwidth) == 1) in create_gtb_block()
/openbmc/linux/drivers/net/wireless/realtek/rtw88/
H A Dtx.h127 le32p_replace_bits(&tx_desc->w7, __le16_to_cpu(chksum), in fill_txdesc_checksum_common()
/openbmc/linux/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()

12345