/linux-4.1.27/drivers/net/wireless/ath/ath10k/ |
D | wmi-tlv.c | 1027 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SUSPEND_CMD); in ath10k_wmi_tlv_op_gen_pdev_suspend() 1028 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_suspend() 1048 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_RESUME_CMD); in ath10k_wmi_tlv_op_gen_pdev_resume() 1049 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_resume() 1072 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SET_REGDOMAIN_CMD); in ath10k_wmi_tlv_op_gen_pdev_set_rd() 1073 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_set_rd() 1098 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_PDEV_SET_PARAM_CMD); in ath10k_wmi_tlv_op_gen_pdev_set_param() 1099 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_pdev_set_param() 1130 tlv->tag = __cpu_to_le16(WMI_TLV_TAG_STRUCT_INIT_CMD); in ath10k_wmi_tlv_op_gen_init() 1131 tlv->len = __cpu_to_le16(sizeof(*cmd)); in ath10k_wmi_tlv_op_gen_init() [all …]
|
D | htt_tx.c | 261 ring->rx_ring_len = __cpu_to_le16(htt->rx_ring.size); in ath10k_htt_send_rx_ring_cfg_ll() 262 ring->rx_ring_bufsize = __cpu_to_le16(HTT_RX_BUF_SIZE); in ath10k_htt_send_rx_ring_cfg_ll() 263 ring->flags = __cpu_to_le16(flags); in ath10k_htt_send_rx_ring_cfg_ll() 264 ring->fw_idx_init_val = __cpu_to_le16(fw_idx); in ath10k_htt_send_rx_ring_cfg_ll() 268 ring->mac80211_hdr_offset = __cpu_to_le16(desc_offset(rx_hdr_status)); in ath10k_htt_send_rx_ring_cfg_ll() 269 ring->msdu_payload_offset = __cpu_to_le16(desc_offset(msdu_payload)); in ath10k_htt_send_rx_ring_cfg_ll() 270 ring->ppdu_start_offset = __cpu_to_le16(desc_offset(ppdu_start)); in ath10k_htt_send_rx_ring_cfg_ll() 271 ring->ppdu_end_offset = __cpu_to_le16(desc_offset(ppdu_end)); in ath10k_htt_send_rx_ring_cfg_ll() 272 ring->mpdu_start_offset = __cpu_to_le16(desc_offset(mpdu_start)); in ath10k_htt_send_rx_ring_cfg_ll() 273 ring->mpdu_end_offset = __cpu_to_le16(desc_offset(mpdu_end)); in ath10k_htt_send_rx_ring_cfg_ll() [all …]
|
D | htc.c | 112 hdr->len = __cpu_to_le16(skb->len - sizeof(*hdr)); in ath10k_htc_prepare_tx_skb() 683 __cpu_to_le16(ATH10K_HTC_MSG_CONNECT_SERVICE_ID); in ath10k_htc_connect_service() 694 req_msg->flags = __cpu_to_le16(flags); in ath10k_htc_connect_service() 695 req_msg->service_id = __cpu_to_le16(conn_req->service_id); in ath10k_htc_connect_service() 838 __cpu_to_le16(ATH10K_HTC_MSG_SETUP_COMPLETE_EX_ID); in ath10k_htc_start()
|
D | ce.c | 307 sdesc->nbytes = __cpu_to_le16(nbytes); in ath10k_ce_send_nolock() 308 sdesc->flags = __cpu_to_le16(desc_flags); in ath10k_ce_send_nolock()
|
D | htt_rx.c | 1326 hdr->frame_control &= ~__cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ath10k_htt_rx_h_mpdu() 1748 hdr->frame_control &= ~__cpu_to_le16(IEEE80211_FCTL_PROTECTED); in ath10k_htt_rx_h_rx_offload_prot()
|
D | wmi.c | 1583 hdr->frame_control = __cpu_to_le16(fc & in ath10k_wmi_event_mgmt_rx() 2319 *noa_attr_len = __cpu_to_le16(attr_len); in ath10k_p2p_fill_noa_ie() 4100 __cpu_to_le16(arg->channels[i]); in ath10k_wmi_put_start_scan_tlvs()
|
D | mac.c | 2327 hdr->frame_control &= ~__cpu_to_le16(IEEE80211_STYPE_QOS_DATA); in ath10k_tx_h_nwifi()
|
/linux-4.1.27/drivers/net/wireless/cw1200/ |
D | pm.c | 40 .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),
|
D | bh.c | 397 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()
|
D | main.c | 175 .rx_highest = __cpu_to_le16(0x41), 195 .rx_highest = __cpu_to_le16(0x41),
|
D | wsm.h | 1306 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()
|
D | wsm.c | 78 #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()
|
D | txrx.c | 580 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()
|
D | sta.c | 2236 __cpu_to_le16(IEEE80211_FTYPE_MGMT | in cw1200_upload_beacon()
|
/linux-4.1.27/drivers/media/usb/go7007/ |
D | go7007-fw.c | 398 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.1.27/include/linux/ |
D | ata.h | 966 id[ATA_ID_MAX_MULTSECT] = __cpu_to_le16(id[ATA_ID_MAX_MULTSECT]); in ata_id_to_hd_driveid() 967 id[ATA_ID_CAPABILITY] = __cpu_to_le16(id[ATA_ID_CAPABILITY]); in ata_id_to_hd_driveid() 968 id[ATA_ID_OLD_PIO_MODES] = __cpu_to_le16(id[ATA_ID_OLD_PIO_MODES]); in ata_id_to_hd_driveid() 969 id[ATA_ID_OLD_DMA_MODES] = __cpu_to_le16(id[ATA_ID_OLD_DMA_MODES]); in ata_id_to_hd_driveid() 970 id[ATA_ID_MULTSECT] = __cpu_to_le16(id[ATA_ID_MULTSECT]); in ata_id_to_hd_driveid()
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | io.h | 61 #define out_le16(a, v) __raw_writew(__cpu_to_le16(v), (a))
|
/linux-4.1.27/include/linux/byteorder/ |
D | generic.h | 89 #define cpu_to_le16 __cpu_to_le16
|
/linux-4.1.27/include/uapi/linux/byteorder/ |
D | big_endian.h | 34 #define __cpu_to_le16(x) ((__force __le16)__swab16((x))) macro
|
D | little_endian.h | 34 #define __cpu_to_le16(x) ((__force __le16)(__u16)(x)) macro
|
/linux-4.1.27/drivers/usb/c67x00/ |
D | c67x00-sched.c | 628 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.1.27/fs/nls/ |
D | nls_base.c | 124 *s = __cpu_to_le16(c); in put_utf16()
|
/linux-4.1.27/drivers/crypto/ |
D | hifn_795x.c | 1109 base_cmd->masks = __cpu_to_le16(mask); in hifn_setup_base_command() 1111 __cpu_to_le16(slen & HIFN_BASE_CMD_LENMASK_LO); in hifn_setup_base_command() 1113 __cpu_to_le16(dlen & HIFN_BASE_CMD_LENMASK_LO); in hifn_setup_base_command() 1117 base_cmd->session_num = __cpu_to_le16(snum | in hifn_setup_base_command() 1135 cry_cmd->source_count = __cpu_to_le16(dlen & 0xffff); in hifn_setup_crypto_command() 1137 cry_cmd->masks = __cpu_to_le16(mode | in hifn_setup_crypto_command()
|
/linux-4.1.27/drivers/bluetooth/ |
D | bpa10x.c | 387 dr->wLength = __cpu_to_le16(skb->len); in bpa10x_send_frame()
|
D | btusb.c | 1047 dr->wLength = __cpu_to_le16(skb->len); in alloc_ctrl_urb()
|
/linux-4.1.27/drivers/spi/ |
D | spi-orion.c | 311 writel(__cpu_to_le16(get_unaligned((*tx_buf)++)), tx_reg); in orion_spi_write_read_16bit()
|
/linux-4.1.27/net/bluetooth/ |
D | hci_conn.c | 233 cp.pkt_type = __cpu_to_le16(param->pkt_type); in hci_setup_sync() 234 cp.max_latency = __cpu_to_le16(param->max_latency); in hci_setup_sync()
|
D | hci_event.c | 1773 auth_cp.handle = __cpu_to_le16(conn->handle); in hci_cs_remote_name_req() 2598 cp.handle = __cpu_to_le16(conn->handle); in hci_remote_name_evt() 4572 cp.handle = __cpu_to_le16(conn->handle); in hci_le_conn_complete_evt()
|
D | l2cap_core.c | 4018 rej.scid = __cpu_to_le16(scid); in cmd_reject_invalid_cid() 4019 rej.dcid = __cpu_to_le16(dcid); in cmd_reject_invalid_cid()
|
D | mgmt.c | 1951 if (__cpu_to_le16(hdev->page_scan_interval) != acp.interval || in write_fast_connectable() 1952 __cpu_to_le16(hdev->page_scan_window) != acp.window) in write_fast_connectable()
|
/linux-4.1.27/drivers/staging/gdm724x/ |
D | gdm_mux.c | 389 mux_header->packet_type = __cpu_to_le16(packet_type[tty_index]); in gdm_mux_send()
|
/linux-4.1.27/drivers/tty/ |
D | nozomi.c | 495 writew(__cpu_to_le16(*buf16), ptr); in write_mem32() 512 writew(__cpu_to_le16(*buf16), ptr); in write_mem32()
|