Home
last modified time | relevance | path

Searched refs:le16_to_cpu (Results 1 – 25 of 595) sorted by relevance

12345678910>>...24

/drivers/net/wireless/mwifiex/
Dsta_cmdresp.c57 switch (le16_to_cpu(resp->command)) { in mwifiex_process_cmdresp_error()
62 resp->result, le16_to_cpu(pm->action)); in mwifiex_process_cmdresp_error()
64 if (le16_to_cpu(pm->action) == EN_AUTO_PS && in mwifiex_process_cmdresp_error()
65 (le16_to_cpu(pm->params.ps_bitmap) & BITMAP_STA_PS) && in mwifiex_process_cmdresp_error()
128 priv->data_rssi_last = le16_to_cpu(rssi_info_rsp->data_rssi_last); in mwifiex_ret_802_11_rssi_info()
129 priv->data_nf_last = le16_to_cpu(rssi_info_rsp->data_nf_last); in mwifiex_ret_802_11_rssi_info()
131 priv->data_rssi_avg = le16_to_cpu(rssi_info_rsp->data_rssi_avg); in mwifiex_ret_802_11_rssi_info()
132 priv->data_nf_avg = le16_to_cpu(rssi_info_rsp->data_nf_avg); in mwifiex_ret_802_11_rssi_info()
134 priv->bcn_rssi_last = le16_to_cpu(rssi_info_rsp->bcn_rssi_last); in mwifiex_ret_802_11_rssi_info()
135 priv->bcn_nf_last = le16_to_cpu(rssi_info_rsp->bcn_nf_last); in mwifiex_ret_802_11_rssi_info()
[all …]
Dcmdevt.c169 cmd_code = le16_to_cpu(host_cmd->command); in mwifiex_dnld_cmd_to_fw()
170 cmd_size = le16_to_cpu(host_cmd->size); in mwifiex_dnld_cmd_to_fw()
178 le16_to_cpu(*(__le16 *) ((u8 *) host_cmd + S_DS_GEN)), cmd_size, in mwifiex_dnld_cmd_to_fw()
179 le16_to_cpu(host_cmd->seq_num)); in mwifiex_dnld_cmd_to_fw()
207 le16_to_cpu(*(__le16 *) ((u8 *) host_cmd + S_DS_GEN)); in mwifiex_dnld_cmd_to_fw()
576 command = le16_to_cpu(host_cmd->command); in mwifiex_insert_cmd_to_pending_q()
582 if ((le16_to_cpu(pm->action) == DIS_PS) || in mwifiex_insert_cmd_to_pending_q()
583 (le16_to_cpu(pm->action) == DIS_AUTO_PS)) { in mwifiex_insert_cmd_to_pending_q()
696 le16_to_cpu(resp->command)); in mwifiex_process_cmdresp()
705 le16_to_cpu(resp->command)); in mwifiex_process_cmdresp()
[all …]
D11n.c41 uint16_t ht_ext_cap = le16_to_cpu(ht_cap->ht_cap.extended_ht_cap_info); in mwifiex_fill_cap_info()
106 uint16_t del_ba_param_set = le16_to_cpu(del_ba->del_ba_param_set); in mwifiex_ret_11n_delba()
154 add_ba_rsp->ssn = cpu_to_le16((le16_to_cpu(add_ba_rsp->ssn)) in mwifiex_ret_11n_addba_req()
157 tid = (le16_to_cpu(add_ba_rsp->block_ack_param_set) in mwifiex_ret_11n_addba_req()
160 if (le16_to_cpu(add_ba_rsp->status_code) == BA_RESULT_SUCCESS) { in mwifiex_ret_11n_addba_req()
191 tx_cfg->tx_htcap = le16_to_cpu(htcfg->ht_tx_cap); in mwifiex_ret_11n_cfg()
192 tx_cfg->tx_htinfo = le16_to_cpu(htcfg->ht_tx_info); in mwifiex_ret_11n_cfg()
276 amsdu_aggr_ctrl->enable = le16_to_cpu(amsdu_ctrl->enable); in mwifiex_ret_amsdu_aggr_ctrl()
278 le16_to_cpu(amsdu_ctrl->curr_buf_size); in mwifiex_ret_amsdu_aggr_ctrl()
345 le16_to_cpu(ht_cap->header.len)); in mwifiex_cmd_append_11n_tlv()
[all …]
/drivers/staging/wlan-ng/
Dprism2sta.c402 qualmsg->link.data = le16_to_cpu(hw->qual.CQ_currBSS); in prism2sta_mlmerequest()
403 qualmsg->level.data = le16_to_cpu(hw->qual.ASL_currBSS); in prism2sta_mlmerequest()
404 qualmsg->noise.data = le16_to_cpu(hw->qual.ANL_currFC); in prism2sta_mlmerequest()
633 hw->ident_nic.id = le16_to_cpu(hw->ident_nic.id); in prism2sta_getcardinfo()
634 hw->ident_nic.variant = le16_to_cpu(hw->ident_nic.variant); in prism2sta_getcardinfo()
635 hw->ident_nic.major = le16_to_cpu(hw->ident_nic.major); in prism2sta_getcardinfo()
636 hw->ident_nic.minor = le16_to_cpu(hw->ident_nic.minor); in prism2sta_getcardinfo()
652 hw->ident_pri_fw.id = le16_to_cpu(hw->ident_pri_fw.id); in prism2sta_getcardinfo()
653 hw->ident_pri_fw.variant = le16_to_cpu(hw->ident_pri_fw.variant); in prism2sta_getcardinfo()
654 hw->ident_pri_fw.major = le16_to_cpu(hw->ident_pri_fw.major); in prism2sta_getcardinfo()
[all …]
Dprism2fw.c593 le16_to_cpu(pda16[curroff + 1]) != HFA384x_PDR_END_OF_PDA) { in mkpdrlist()
596 if (le16_to_cpu(pda->rec[pda->nrec]->code) == HFA384x_PDR_NICID) { in mkpdrlist()
599 nicid.id = le16_to_cpu(nicid.id); in mkpdrlist()
600 nicid.variant = le16_to_cpu(nicid.variant); in mkpdrlist()
601 nicid.major = le16_to_cpu(nicid.major); in mkpdrlist()
602 nicid.minor = le16_to_cpu(nicid.minor); in mkpdrlist()
604 if (le16_to_cpu(pda->rec[pda->nrec]->code) == in mkpdrlist()
608 rfid.id = le16_to_cpu(rfid.id); in mkpdrlist()
609 rfid.variant = le16_to_cpu(rfid.variant); in mkpdrlist()
610 rfid.bottom = le16_to_cpu(rfid.bottom); in mkpdrlist()
[all …]
/drivers/gpu/drm/radeon/
Dradeon_atombios.c77 if ((le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0018) || in radeon_lookup_i2c_gpio_quirks()
78 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0019) || in radeon_lookup_i2c_gpio_quirks()
79 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x001a)) { in radeon_lookup_i2c_gpio_quirks()
88 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1936) && in radeon_lookup_i2c_gpio_quirks()
101 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1fda) && in radeon_lookup_i2c_gpio_quirks()
113 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()
114 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()
115 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()
116 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()
117 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()
[all …]
/drivers/scsi/fnic/
Dwq_enet_desc.h76 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; in wq_enet_desc_dec()
77 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
79 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> in wq_enet_desc_dec()
81 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec()
83 *offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
85 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
87 *cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
89 *fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
91 *vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
93 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
Dcq_enet_desc.h102 u16 completed_index_flags = le16_to_cpu(desc->completed_index_flags); in cq_enet_rq_desc_dec()
104 le16_to_cpu(desc->q_number_rss_type_flags); in cq_enet_rq_desc_dec()
105 u16 bytes_written_flags = le16_to_cpu(desc->bytes_written_flags); in cq_enet_rq_desc_dec()
133 *vlan = le16_to_cpu(desc->vlan); in cq_enet_rq_desc_dec()
136 *fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) & in cq_enet_rq_desc_dec()
151 *checksum = le16_to_cpu(desc->checksum_fcoe); in cq_enet_rq_desc_dec()
/drivers/net/ethernet/cisco/enic/
Dwq_enet_desc.h78 *length = le16_to_cpu(desc->length) & WQ_ENET_LEN_MASK; in wq_enet_desc_dec()
79 *mss = (le16_to_cpu(desc->mss_loopback) >> WQ_ENET_MSS_SHIFT) & in wq_enet_desc_dec()
81 *loopback = (u8)((le16_to_cpu(desc->mss_loopback) >> in wq_enet_desc_dec()
83 *header_length = le16_to_cpu(desc->header_length_flags) & in wq_enet_desc_dec()
85 *offload_mode = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
87 *eop = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
89 *cq_entry = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
91 *fcoe_encap = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
93 *vlan_tag_insert = (u8)((le16_to_cpu(desc->header_length_flags) >> in wq_enet_desc_dec()
95 *vlan_tag = le16_to_cpu(desc->vlan_tag); in wq_enet_desc_dec()
Dcq_enet_desc.h120 completed_index_flags = le16_to_cpu(desc->completed_index_flags); in cq_enet_rq_desc_dec()
122 le16_to_cpu(desc->q_number_rss_type_flags); in cq_enet_rq_desc_dec()
123 bytes_written_flags = le16_to_cpu(desc->bytes_written_flags); in cq_enet_rq_desc_dec()
151 *vlan_tci = le16_to_cpu(desc->vlan); in cq_enet_rq_desc_dec()
154 *fcoe_sof = (u8)(le16_to_cpu(desc->checksum_fcoe) & in cq_enet_rq_desc_dec()
160 *fcoe_eof = (u8)((le16_to_cpu(desc->checksum_fcoe) >> in cq_enet_rq_desc_dec()
169 *checksum = le16_to_cpu(desc->checksum_fcoe); in cq_enet_rq_desc_dec()
/drivers/usb/core/
Dotg_whitelist.h58 if ((le16_to_cpu(dev->descriptor.idVendor) == 0x1a0a && in is_targeted()
59 le16_to_cpu(dev->descriptor.idProduct) == 0xbadd)) in is_targeted()
67 id->idVendor != le16_to_cpu(dev->descriptor.idVendor)) in is_targeted()
71 id->idProduct != le16_to_cpu(dev->descriptor.idProduct)) in is_targeted()
77 (id->bcdDevice_lo > le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
81 (id->bcdDevice_hi < le16_to_cpu(dev->descriptor.bcdDevice))) in is_targeted()
104 le16_to_cpu(dev->descriptor.idVendor), in is_targeted()
105 le16_to_cpu(dev->descriptor.idProduct)); in is_targeted()
/drivers/staging/rtl8712/
Dwifi.h169 le16_to_cpu(_TO_DS_)) != 0)
182 le16_to_cpu(_FROM_DS_)) != 0)
198 le16_to_cpu(_MORE_FRAG_)) != 0)
211 le16_to_cpu(_RETRY_)) != 0)
224 le16_to_cpu(_PWRMGT_)) != 0)
237 le16_to_cpu(_MORE_DATA_)) != 0)
250 le16_to_cpu(_PRIVACY_)) != 0)
259 le16_to_cpu(_ORDER_)) != 0)
261 #define GetFrameType(pbuf) (le16_to_cpu(*(unsigned short *)(pbuf)) & \
295 le16_to_cpu(~(0x000f))) | \
[all …]
/drivers/net/wireless/libertas/
Dcmd.c36 copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); in lbs_cmd_copyback()
133 priv->regioncode = (le16_to_cpu(cmd.regioncode) >> 8) & 0xFF; in lbs_update_hw_spec()
135 priv->regioncode = le16_to_cpu(cmd.regioncode) & 0xFF; in lbs_update_hw_spec()
209 le16_to_cpu(cmd_config.hdr.size), in lbs_host_sleep_cfg()
295 le16_to_cpu(cmd.error), le16_to_cpu(cmd.offset), in lbs_cmd_802_11_sleep_params()
296 le16_to_cpu(cmd.stabletime), cmd.calcontrol, in lbs_cmd_802_11_sleep_params()
299 sp->sp_error = le16_to_cpu(cmd.error); in lbs_cmd_802_11_sleep_params()
300 sp->sp_offset = le16_to_cpu(cmd.offset); in lbs_cmd_802_11_sleep_params()
301 sp->sp_stabletime = le16_to_cpu(cmd.stabletime); in lbs_cmd_802_11_sleep_params()
304 sp->sp_reserved = le16_to_cpu(cmd.reserved); in lbs_cmd_802_11_sleep_params()
[all …]
Dcmdresp.c81 curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); in lbs_process_command_response()
82 respcmd = le16_to_cpu(resp->command); in lbs_process_command_response()
83 result = le16_to_cpu(resp->result); in lbs_process_command_response()
86 respcmd, le16_to_cpu(resp->seqnum), len); in lbs_process_command_response()
92 le16_to_cpu(resp->seqnum), in lbs_process_command_response()
93 le16_to_cpu(priv->cur_cmd->cmdbuf->seqnum)); in lbs_process_command_response()
112 le16_to_cpu(resp->command)); in lbs_process_command_response()
124 u16 action = le16_to_cpu(psmode->action); in lbs_process_command_response()
/drivers/net/wireless/orinoco/
Dscan.c34 rate = le16_to_cpu(rates[i]); in symbol_build_supp_rates()
90 len = le16_to_cpu(bss->a.essid_len); in orinoco_add_hostscan_result()
113 freq = ieee80211_dsss_chan_to_freq(le16_to_cpu(bss->a.channel)); in orinoco_add_hostscan_result()
121 capability = le16_to_cpu(bss->a.capabilities); in orinoco_add_hostscan_result()
122 beacon_interval = le16_to_cpu(bss->a.beacon_interv); in orinoco_add_hostscan_result()
123 signal = SIGNAL_TO_MBM(le16_to_cpu(bss->a.level)); in orinoco_add_hostscan_result()
153 capability = le16_to_cpu(bss->capabilities); in orinoco_add_extscan_result()
154 beacon_interval = le16_to_cpu(bss->beacon_interval); in orinoco_add_extscan_result()
/drivers/net/wimax/i2400m/
Dcontrol.c127 if (le16_to_cpu(tlv->type) != tlv_type) /* Not our type? skip */ in i2400m_tlv_match()
130 && le16_to_cpu(tlv->length) + sizeof(*tlv) != tlv_size) { in i2400m_tlv_match()
131 size_t size = le16_to_cpu(tlv->length) + sizeof(*tlv); in i2400m_tlv_match()
175 + le16_to_cpu(tlv_pos->length) + sizeof(*tlv_pos); in i2400m_tlv_buffer_walk()
192 type = le16_to_cpu(tlv_pos->type); in i2400m_tlv_buffer_walk()
193 length = le16_to_cpu(tlv_pos->length); in i2400m_tlv_buffer_walk()
286 enum i2400m_ms status = le16_to_cpu(l3l4_hdr->status); in i2400m_msg_check_status()
486 size_t tlv_size = le16_to_cpu(l3l4_hdr->length); in i2400m_report_state_hook()
523 msg_type = le16_to_cpu(l3l4_hdr->type); in i2400m_report_hook()
574 ack_type = le16_to_cpu(l3l4_hdr->type); in i2400m_msg_ack_hook()
[all …]
/drivers/isdn/hardware/mISDN/
Dhfcpci.c355 le16_to_cpu(bzr->za[MAX_B_FRAMES].z1)); in hfcpci_clear_fifo_rx()
383 le16_to_cpu(bzt->za[MAX_B_FRAMES].z1), in hfcpci_clear_fifo_tx()
384 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2), in hfcpci_clear_fifo_tx()
397 le16_to_cpu(bzt->za[MAX_B_FRAMES].z1), in hfcpci_clear_fifo_tx()
398 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2)); in hfcpci_clear_fifo_tx()
415 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */ in hfcpci_empty_bfifo()
420 (*(bdata + (le16_to_cpu(zp->z1) - B_SUB_VAL)))) { in hfcpci_empty_bfifo()
438 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()
442 le16_to_cpu(zp->z2); /* maximum */ in hfcpci_empty_bfifo()
444 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL); in hfcpci_empty_bfifo()
[all …]
/drivers/net/usb/
Dcdc_ncm.c193 ctx->tx_remainder = le16_to_cpu(ctx->ncm_parm.wNdpOutPayloadRemainder); in cdc_ncm_setup()
194 ctx->tx_modulus = le16_to_cpu(ctx->ncm_parm.wNdpOutDivisor); in cdc_ncm_setup()
195 ctx->tx_ndp_modulus = le16_to_cpu(ctx->ncm_parm.wNdpOutAlignment); in cdc_ncm_setup()
197 ctx->tx_max_datagrams = le16_to_cpu(ctx->ncm_parm.wNtbOutMaxDatagrams); in cdc_ncm_setup()
198 ntb_fmt_supported = le16_to_cpu(ctx->ncm_parm.bmNtbFormatsSupported); in cdc_ncm_setup()
348 u16 eth_max_sz = le16_to_cpu(ctx->ether_desc->wMaxSegmentSize); in cdc_ncm_setup()
368 le16_to_cpu(*max_datagram_size); in cdc_ncm_setup()
383 le16_to_cpu(*max_datagram_size)) { in cdc_ncm_setup()
516 le16_to_cpu(ctx->ether_desc->wMaxSegmentSize); in cdc_ncm_bind()
830 le16_to_cpu(ctx->out_ep->desc.wMaxPacketSize)) == 0)) || in cdc_ncm_fill_tx_frame()
[all …]
/drivers/usb/gadget/
Df_uac1.c344 le16_to_cpu(data)); in f_audio_complete()
359 u8 id = ((le16_to_cpu(ctrl->wIndex) >> 8) & 0xFF); in audio_set_intf_req()
360 u16 len = le16_to_cpu(ctrl->wLength); in audio_set_intf_req()
361 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_set_intf_req()
396 u8 id = ((le16_to_cpu(ctrl->wIndex) >> 8) & 0xFF); in audio_get_intf_req()
397 u16 len = le16_to_cpu(ctrl->wLength); in audio_get_intf_req()
398 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_get_intf_req()
431 u16 ep = le16_to_cpu(ctrl->wIndex); in audio_set_endpoint_req()
432 u16 len = le16_to_cpu(ctrl->wLength); in audio_set_endpoint_req()
433 u16 w_value = le16_to_cpu(ctrl->wValue); in audio_set_endpoint_req()
[all …]
/drivers/media/dvb/siano/
Dsmsendian.c67 ver->ChipModel = le16_to_cpu(ver->ChipModel); in smsendian_handle_rx_message()
98 phdr->msgType = le16_to_cpu(phdr->msgType); in smsendian_handle_message_header()
99 phdr->msgLength = le16_to_cpu(phdr->msgLength); in smsendian_handle_message_header()
100 phdr->msgFlags = le16_to_cpu(phdr->msgFlags); in smsendian_handle_message_header()
/drivers/scsi/mpt2sas/
Dmpt2sas_scsih.c328 EnclosureLogicalID) && slot_number == le16_to_cpu(boot_device-> in _scsih_srch_boot_encl_slot()
405 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & MPI2_IOCSTATUS_MASK; in _scsih_get_sas_address()
1488 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_display_sata_capabilities()
1496 flags = le16_to_cpu(sas_device_pg0.Flags); in _scsih_display_sata_capabilities()
1704 le16_to_cpu(pd_pg0.DevHandle)))) { in _scsih_get_volume_capabilities()
1729 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_disable_ddio()
1733 handle = le16_to_cpu(vol_pg1.DevHandle); in _scsih_disable_ddio()
1758 ioc_status = le16_to_cpu(mpi_reply.IOCStatus) & in _scsih_get_num_volumes()
1763 handle = le16_to_cpu(vol_pg1.DevHandle); in _scsih_get_num_volumes()
1856 le16_to_cpu(pd_pg0.DevHandle), in _scsih_init_warpdrive_properties()
[all …]
/drivers/net/wireless/iwmc3200wifi/
Drx.c135 u16 status = le16_to_cpu(alive_resp->status); in iwm_ntf_umac_alive()
154 u16 status = le16_to_cpu(init_complete->status); in iwm_ntf_init_complete()
230 le16_to_cpu(hdr->sw_hdr.cmd.seq_num)); in iwm_ntf_tx()
233 le16_to_cpu(tx_resp->retry_cnt)); in iwm_ntf_tx()
234 IWM_DBG_TX(iwm, DBG, "\tSeq ctl: %d\n", le16_to_cpu(tx_resp->seq_ctl)); in iwm_ntf_tx()
236 le16_to_cpu(tx_resp->byte_cnt)); in iwm_ntf_tx()
308 iwm->core_enabled |= le16_to_cpu(status->status); in iwm_ntf_wifi_status()
425 switch (le16_to_cpu(ticket->action)) { in iwm_ntf_rx_ticket()
478 id = le16_to_cpu(wifi_hdr->sw_hdr.cmd.seq_num); in iwm_ntf_rx_packet()
794 u16 frame_len = le16_to_cpu(umac_bss->frame_len); in iwm_mlme_update_bss_table()
[all …]
/drivers/scsi/qla2xxx/
Dqla_isr.c923 le16_to_cpu(mbx->status), le16_to_cpu(mbx->state_flags), in qla2x00_mbx_iocb_entry()
924 le16_to_cpu(mbx->status_flags)); in qla2x00_mbx_iocb_entry()
932 status = le16_to_cpu(mbx->status); in qla2x00_mbx_iocb_entry()
934 le16_to_cpu(mbx->mb0) == MBS_COMMAND_COMPLETE) in qla2x00_mbx_iocb_entry()
936 if (!status && le16_to_cpu(mbx->mb0) == MBS_COMMAND_COMPLETE) { in qla2x00_mbx_iocb_entry()
941 le16_to_cpu(mbx->mb1)); in qla2x00_mbx_iocb_entry()
946 if (le16_to_cpu(mbx->mb1) & BIT_0) in qla2x00_mbx_iocb_entry()
948 else if (le16_to_cpu(mbx->mb1) & BIT_1) in qla2x00_mbx_iocb_entry()
954 data[0] = le16_to_cpu(mbx->mb0); in qla2x00_mbx_iocb_entry()
957 data[1] = le16_to_cpu(mbx->mb1); in qla2x00_mbx_iocb_entry()
[all …]
/drivers/net/wireless/libertas_tf/
Dcmd.c52 copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); in lbtf_cmd_copyback()
120 priv->regioncode = le16_to_cpu(cmd.regioncode) & 0xFF; in lbtf_update_hw_spec()
230 le16_to_cpu(cmdnode->cmdbuf->command)); in lbtf_queue_cmd()
252 cmdsize = le16_to_cpu(cmd->size); in lbtf_submit_command()
253 command = le16_to_cpu(cmd->command); in lbtf_submit_command()
256 command, le16_to_cpu(cmd->seqnum), cmdsize); in lbtf_submit_command()
595 le16_to_cpu(cmd->command)); in lbtf_execute_next_command()
736 curcmd = le16_to_cpu(priv->cur_cmd->cmdbuf->command); in lbtf_process_rx_command()
737 respcmd = le16_to_cpu(resp->command); in lbtf_process_rx_command()
738 result = le16_to_cpu(resp->result); in lbtf_process_rx_command()
[all …]
/drivers/mtd/
Dnftlmount.c104 if (le16_to_cpu(h1.EraseMark | h1.EraseMark1) != ERASE_MARK) { in find_boot_record()
107 le16_to_cpu(h1.EraseMark), le16_to_cpu(h1.EraseMark1)); in find_boot_record()
175 nftl->nb_boot_blocks = le16_to_cpu(mh->FirstPhysicalEUN); in find_boot_record()
195 nftl->nb_blocks = le16_to_cpu(mh->NumEraseUnits) + le16_to_cpu(mh->FirstPhysicalEUN); in find_boot_record()
316 erase_mark = le16_to_cpu ((uci.EraseMark | uci.EraseMark1)); in NFTL_formatblock()
503 erase_mark = le16_to_cpu ((h1.EraseMark | h1.EraseMark1)); in check_and_mark_free_block()
562 return le16_to_cpu((uci.FoldMark | uci.FoldMark1)); in get_fold_mark()
610 logical_block = le16_to_cpu ((h0.VirtUnitNum | h0.SpareVirtUnitNum)); in NFTL_mount()
611 rep_block = le16_to_cpu ((h0.ReplUnitNum | h0.SpareReplUnitNum)); in NFTL_mount()
613 erase_mark = le16_to_cpu ((h1.EraseMark | h1.EraseMark1)); in NFTL_mount()
[all …]

12345678910>>...24