Home
last modified time | relevance | path

Searched refs:__cpu_to_le16 (Results 1 – 34 of 34) sorted by relevance

/linux-4.4.14/drivers/net/wireless/ath/ath10k/
Dwmi-tlv.c1238 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SUSPEND_CMD); in ath10k_wmi_tlv_op_gen_pdev_suspend()
1239 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_suspend()
1259 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_RESUME_CMD); in ath10k_wmi_tlv_op_gen_pdev_resume()
1260 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_resume()
1283 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SET_REGDOMAIN_CMD); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1284 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1314 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SET_PARAM_CMD); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1315 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1346 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_INIT_CMD); in ath10k_wmi_tlv_op_gen_init()
1347 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_init()
[all …]
Dhtt_tx.c296 __cpu_to_le16(htt->max_num_pending_tx - 1); in ath10k_htt_send_frag_desc_bank_cfg()
366 ring->rx_ring_len = __cpu_to_le16(htt->rx_ring.size); in ath10k_htt_send_rx_ring_cfg_ll()
367 ring->rx_ring_bufsize = __cpu_to_le16(HTT_RX_BUF_SIZE); in ath10k_htt_send_rx_ring_cfg_ll()
368 ring->flags = __cpu_to_le16(flags); in ath10k_htt_send_rx_ring_cfg_ll()
369 ring->fw_idx_init_val = __cpu_to_le16(fw_idx); in ath10k_htt_send_rx_ring_cfg_ll()
373 ring->mac80211_hdr_offset = __cpu_to_le16(desc_offset(rx_hdr_status)); in ath10k_htt_send_rx_ring_cfg_ll()
374 ring->msdu_payload_offset = __cpu_to_le16(desc_offset(msdu_payload)); in ath10k_htt_send_rx_ring_cfg_ll()
375 ring->ppdu_start_offset = __cpu_to_le16(desc_offset(ppdu_start)); in ath10k_htt_send_rx_ring_cfg_ll()
376 ring->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); in ath10k_htt_send_rx_ring_cfg_ll()
377 ring->mpdu_start_offset = __cpu_to_le16(desc_offset(mpdu_start)); in ath10k_htt_send_rx_ring_cfg_ll()
[all …]
Dhtc.c87 hdr->len = __cpu_to_le16(skb->len - sizeof(*hdr)); in ath10k_htc_prepare_tx_skb()
645 __cpu_to_le16(ATH10K_HTC_MSG_CONNECT_SERVICE_ID); in ath10k_htc_connect_service()
656 req_msg->flags = __cpu_to_le16(flags); in ath10k_htc_connect_service()
657 req_msg->service_id = __cpu_to_le16(conn_req->service_id); in ath10k_htc_connect_service()
794 __cpu_to_le16(ATH10K_HTC_MSG_SETUP_COMPLETE_EX_ID); in ath10k_htc_start()
Dp2p.c62 *noa_attr_len = __cpu_to_le16(attr_len); in ath10k_p2p_noa_ie_fill()
Dce.c306 sdesc.nbytes = __cpu_to_le16(nbytes); in ath10k_ce_send_nolock()
307 sdesc.flags = __cpu_to_le16(desc_flags); in ath10k_ce_send_nolock()
Dhtt_rx.c1408 hdr->frame_control &= ~__cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ath10k_htt_rx_h_mpdu()
1829 hdr->frame_control &= ~__cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ath10k_htt_rx_h_rx_offload_prot()
Dwmi.c2273 hdr->frame_control = __cpu_to_le16(fc & in ath10k_wmi_event_mgmt_rx()
5625 __cpu_to_le16(arg->channels[i]); in ath10k_wmi_put_start_scan_tlvs()
Dmac.c3229 hdr->frame_control &= ~__cpu_to_le16(IEEE80211_STYPE_QOS_DATA); in ath10k_tx_h_nwifi()
/linux-4.4.14/drivers/net/wireless/cw1200/
Dpm.c40 .port = __cpu_to_le16(67), /* DHCP Bootps */
45 .port = __cpu_to_le16(68), /* DHCP Bootpc */
63 .type = __cpu_to_le16(ETH_P_IP),
67 .type = __cpu_to_le16(ETH_P_PAE),
71 .type = __cpu_to_le16(ETH_P_WAPI),
75 .type = __cpu_to_le16(ETH_P_ARP),
Dbh.c397 wsm->id &= __cpu_to_le16(0xffff ^ WSM_TX_SEQ(WSM_TX_SEQ_MAX)); in cw1200_bh_tx_helper()
398 wsm->id |= __cpu_to_le16(WSM_TX_SEQ(priv->wsm_tx_seq)); in cw1200_bh_tx_helper()
Dmain.c175 .rx_highest = __cpu_to_le16(0x41),
195 .rx_highest = __cpu_to_le16(0x41),
Dwsm.h1306 dtim_interval, 0, __cpu_to_le16(listen_interval) in wsm_set_beacon_wakeup_period()
1475 ((__le16 *)p)[1] = __cpu_to_le16(arg->skb->len - 4); in wsm_set_template_frame()
1687 .period = __cpu_to_le16(period), in wsm_keep_alive_period()
Dwsm.c78 #define WSM_PUT16(buf, val) __WSM_PUT(buf, val, u16, __le16, __cpu_to_le16)
1117 ((__le16 *)buf->begin)[0] = __cpu_to_le16(buf_len); in wsm_cmd_send()
1118 ((__le16 *)buf->begin)[1] = __cpu_to_le16(cmd); in wsm_cmd_send()
1725 wsm->hdr.id &= __cpu_to_le16( in wsm_get_tx()
Dtxrx.c580 wsm->hdr.len = __cpu_to_le16(t->skb->len); in cw1200_tx_h_wsm()
581 wsm->hdr.id = __cpu_to_le16(0x0004); in cw1200_tx_h_wsm()
Dsta.c2232 __cpu_to_le16(IEEE80211_FTYPE_MGMT | in cw1200_upload_beacon()
/linux-4.4.14/drivers/media/usb/go7007/
Dgo7007-fw.c398 code[off + 1] = __cpu_to_le16(0x8000 | mem); in gen_mjpeghdr_to_package()
407 code[off] = __cpu_to_le16(0x4000 | chunk); in gen_mjpeghdr_to_package()
408 code[off + 31] = __cpu_to_le16(addr++); in gen_mjpeghdr_to_package()
411 code[off] = __cpu_to_le16(0x1000 | 28); in gen_mjpeghdr_to_package()
687 code[off + 1] = __cpu_to_le16(0x8000 | mem); in gen_mpeg1hdr_to_package()
696 code[off] = __cpu_to_le16(0x4000 | chunk); in gen_mpeg1hdr_to_package()
697 code[off + 31] = __cpu_to_le16(addr); in gen_mpeg1hdr_to_package()
703 code[off] = __cpu_to_le16(0x1000 | 28); in gen_mpeg1hdr_to_package()
855 code[off + 1] = __cpu_to_le16(0x8000 | mem); in gen_mpeg4hdr_to_package()
864 code[off] = __cpu_to_le16(0x4000 | chunk); in gen_mpeg4hdr_to_package()
[all …]
/linux-4.4.14/include/linux/
Data.h976 id[ATA_ID_MAX_MULTSECT] = __cpu_to_le16(id[ATA_ID_MAX_MULTSECT]); in ata_id_to_hd_driveid()
977 id[ATA_ID_CAPABILITY] = __cpu_to_le16(id[ATA_ID_CAPABILITY]); in ata_id_to_hd_driveid()
978 id[ATA_ID_OLD_PIO_MODES] = __cpu_to_le16(id[ATA_ID_OLD_PIO_MODES]); in ata_id_to_hd_driveid()
979 id[ATA_ID_OLD_DMA_MODES] = __cpu_to_le16(id[ATA_ID_OLD_DMA_MODES]); in ata_id_to_hd_driveid()
980 id[ATA_ID_MULTSECT] = __cpu_to_le16(id[ATA_ID_MULTSECT]); in ata_id_to_hd_driveid()
/linux-4.4.14/drivers/nvdimm/
Dlabel.c454 nsindex->major = __cpu_to_le16(1); in nd_label_write_index()
455 nsindex->minor = __cpu_to_le16(1); in nd_label_write_index()
522 nd_label->nlabel = __cpu_to_le16(nd_region->ndr_mappings); in __pmem_label_update()
523 nd_label->position = __cpu_to_le16(pos); in __pmem_label_update()
706 nd_label->nlabel = __cpu_to_le16(0); /* N/A */ in __blk_label_update()
707 nd_label->position = __cpu_to_le16(0); /* N/A */ in __blk_label_update()
/linux-4.4.14/arch/microblaze/include/asm/
Dio.h61 #define out_le16(a, v) __raw_writew(__cpu_to_le16(v), (a))
/linux-4.4.14/include/linux/byteorder/
Dgeneric.h89 #define cpu_to_le16 __cpu_to_le16
/linux-4.4.14/include/uapi/linux/byteorder/
Dlittle_endian.h34 #define __cpu_to_le16(x) ((__force __le16)(__u16)(x)) macro
Dbig_endian.h34 #define __cpu_to_le16(x) ((__force __le16)__swab16((x))) macro
/linux-4.4.14/drivers/usb/c67x00/
Dc67x00-sched.c628 td->ly_base_addr = __cpu_to_le16(c67x00->next_buf_addr); in c67x00_create_td()
629 td->port_length = __cpu_to_le16((c67x00->sie->sie_num << 15) | in c67x00_create_td()
638 td->next_td_addr = __cpu_to_le16(c67x00->next_td_addr); in c67x00_create_td()
/linux-4.4.14/fs/nls/
Dnls_base.c124 *s = __cpu_to_le16(c); in put_utf16()
/linux-4.4.14/drivers/crypto/
Dhifn_795x.c1107 base_cmd->masks = __cpu_to_le16(mask); in hifn_setup_base_command()
1109 __cpu_to_le16(slen & HIFN_BASE_CMD_LENMASK_LO); in hifn_setup_base_command()
1111 __cpu_to_le16(dlen & HIFN_BASE_CMD_LENMASK_LO); in hifn_setup_base_command()
1115 base_cmd->session_num = __cpu_to_le16(snum | in hifn_setup_base_command()
1133 cry_cmd->source_count = __cpu_to_le16(dlen & 0xffff); in hifn_setup_crypto_command()
1135 cry_cmd->masks = __cpu_to_le16(mode | in hifn_setup_crypto_command()
/linux-4.4.14/drivers/bluetooth/
Dbpa10x.c312 dr->wLength = __cpu_to_le16(skb->len); in bpa10x_send_frame()
Dbtusb.c1154 dr->wLength = __cpu_to_le16(skb->len); in alloc_ctrl_urb()
/linux-4.4.14/drivers/spi/
Dspi-orion.c355 writel(__cpu_to_le16(get_unaligned((*tx_buf)++)), tx_reg); in orion_spi_write_read_16bit()
/linux-4.4.14/drivers/staging/gdm724x/
Dgdm_mux.c387 mux_header->packet_type = __cpu_to_le16(packet_type[tty_index]); in gdm_mux_send()
/linux-4.4.14/net/bluetooth/
Dhci_conn.c308 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync()
309 cp.max_latency = __cpu_to_le16(param->max_latency); in hci_setup_sync()
Dhci_event.c1724 auth_cp.handle = __cpu_to_le16(conn->handle); in hci_cs_remote_name_req()
2509 cp.handle = __cpu_to_le16(conn->handle); in hci_remote_name_evt()
4579 cp.handle = __cpu_to_le16(conn->handle); in hci_le_conn_complete_evt()
Dl2cap_core.c4014 rej.scid = __cpu_to_le16(scid); in cmd_reject_invalid_cid()
4015 rej.dcid = __cpu_to_le16(dcid); in cmd_reject_invalid_cid()
Dmgmt.c2057 if (__cpu_to_le16(hdev->page_scan_interval) != acp.interval || in write_fast_connectable()
2058 __cpu_to_le16(hdev->page_scan_window) != acp.window) in write_fast_connectable()
/linux-4.4.14/drivers/tty/
Dnozomi.c495 writew(__cpu_to_le16(*buf16), ptr); in write_mem32()
512 writew(__cpu_to_le16(*buf16), ptr); in write_mem32()