Home
last modified time | relevance | path

Searched refs:__cpu_to_le32 (Results 1 – 36 of 36) sorted by relevance

/linux-4.1.27/include/uapi/linux/
Dncp_no.h5 #define aRONLY (__cpu_to_le32(1))
6 #define aHIDDEN (__cpu_to_le32(2))
7 #define aSYSTEM (__cpu_to_le32(4))
8 #define aEXECUTE (__cpu_to_le32(8))
9 #define aDIR (__cpu_to_le32(0x10))
10 #define aARCH (__cpu_to_le32(0x20))
11 #define aSHARED (__cpu_to_le32(0x80))
12 #define aDONTSUBALLOCATE (__cpu_to_le32(1L<<11))
13 #define aTRANSACTIONAL (__cpu_to_le32(1L<<12))
14 #define aPURGE (__cpu_to_le32(1L<<16))
[all …]
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dwmi-tlv.c1030 cmd->opt = __cpu_to_le32(opt); in ath10k_wmi_tlv_op_gen_pdev_suspend()
1051 cmd->reserved = __cpu_to_le32(0); in ath10k_wmi_tlv_op_gen_pdev_resume()
1075 cmd->regd = __cpu_to_le32(rd); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1076 cmd->regd_2ghz = __cpu_to_le32(rd2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1077 cmd->regd_5ghz = __cpu_to_le32(rd5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1078 cmd->conform_limit_2ghz = __cpu_to_le32(rd2g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1079 cmd->conform_limit_5ghz = __cpu_to_le32(rd5g); in ath10k_wmi_tlv_op_gen_pdev_set_rd()
1101 cmd->param_id = __cpu_to_le32(param_id); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1102 cmd->param_value = __cpu_to_le32(param_value); in ath10k_wmi_tlv_op_gen_pdev_set_param()
1151 cmd->abi.abi_ver0 = __cpu_to_le32(WMI_TLV_ABI_VER0); in ath10k_wmi_tlv_op_gen_init()
[all …]
Dwmi.c872 ch->mhz = __cpu_to_le32(arg->freq); in ath10k_wmi_put_wmi_channel()
873 ch->band_center_freq1 = __cpu_to_le32(arg->band_center_freq1); in ath10k_wmi_put_wmi_channel()
882 ch->flags |= __cpu_to_le32(flags); in ath10k_wmi_put_wmi_channel()
941 cmd_hdr->cmd_id = __cpu_to_le32(cmd); in ath10k_wmi_cmd_send_nowait()
1088 cmd->hdr.vdev_id = __cpu_to_le32(ATH10K_SKB_CB(msdu)->vdev_id); in ath10k_wmi_op_gen_mgmt_tx()
1091 cmd->hdr.buf_len = __cpu_to_le32(buf_len); in ath10k_wmi_op_gen_mgmt_tx()
2799 arg->buf_len = __cpu_to_le32(skb->len - sizeof(*ev)); in ath10k_wmi_op_pull_phyerr_ev()
3680 cmd->reg_domain = __cpu_to_le32(rd); in ath10k_wmi_op_gen_pdev_set_rd()
3681 cmd->reg_domain_2G = __cpu_to_le32(rd2g); in ath10k_wmi_op_gen_pdev_set_rd()
3682 cmd->reg_domain_5G = __cpu_to_le32(rd5g); in ath10k_wmi_op_gen_pdev_set_rd()
[all …]
Dpci.c164 .pipenum = __cpu_to_le32(0),
165 .pipedir = __cpu_to_le32(PIPEDIR_OUT),
166 .nentries = __cpu_to_le32(32),
167 .nbytes_max = __cpu_to_le32(256),
168 .flags = __cpu_to_le32(CE_ATTR_FLAGS),
169 .reserved = __cpu_to_le32(0),
174 .pipenum = __cpu_to_le32(1),
175 .pipedir = __cpu_to_le32(PIPEDIR_IN),
176 .nentries = __cpu_to_le32(32),
177 .nbytes_max = __cpu_to_le32(2048),
[all …]
Dbmi.c44 cmd.id = __cpu_to_le32(BMI_DONE); in ath10k_bmi_done()
71 cmd.id = __cpu_to_le32(BMI_GET_TARGET_INFO); in ath10k_bmi_get_target_info()
111 cmd.id = __cpu_to_le32(BMI_READ_MEMORY); in ath10k_bmi_read_memory()
112 cmd.read_mem.addr = __cpu_to_le32(address); in ath10k_bmi_read_memory()
113 cmd.read_mem.len = __cpu_to_le32(rxlen); in ath10k_bmi_read_memory()
155 cmd.id = __cpu_to_le32(BMI_WRITE_MEMORY); in ath10k_bmi_write_memory()
156 cmd.write_mem.addr = __cpu_to_le32(address); in ath10k_bmi_write_memory()
157 cmd.write_mem.len = __cpu_to_le32(txlen); in ath10k_bmi_write_memory()
194 cmd.id = __cpu_to_le32(BMI_EXECUTE); in ath10k_bmi_execute()
195 cmd.execute.addr = __cpu_to_le32(address); in ath10k_bmi_execute()
[all …]
Dhtt_tx.c259 __cpu_to_le32(htt->rx_ring.alloc_idx.paddr); in ath10k_htt_send_rx_ring_cfg_ll()
260 ring->rx_ring_base_paddr = __cpu_to_le32(htt->rx_ring.base_paddr); in ath10k_htt_send_rx_ring_cfg_ll()
382 cmd->mgmt_tx.msdu_paddr = __cpu_to_le32(ATH10K_SKB_CB(msdu)->paddr); in ath10k_htt_mgmt_tx()
383 cmd->mgmt_tx.len = __cpu_to_le32(msdu->len); in ath10k_htt_mgmt_tx()
384 cmd->mgmt_tx.desc_id = __cpu_to_le32(msdu_id); in ath10k_htt_mgmt_tx()
385 cmd->mgmt_tx.vdev_id = __cpu_to_le32(vdev_id); in ath10k_htt_mgmt_tx()
476 frags[0].paddr = __cpu_to_le32(skb_cb->paddr); in ath10k_htt_tx()
477 frags[0].len = __cpu_to_le32(msdu->len); in ath10k_htt_tx()
538 skb_cb->htt.txbuf->cmd_tx.frags_paddr = __cpu_to_le32(frags_paddr); in ath10k_htt_tx()
Dhtt_rx.c116 rx_desc->attention.flags = __cpu_to_le32(0); in __ath10k_htt_rx_ring_fill_n()
131 htt->rx_ring.paddrs_ring[idx] = __cpu_to_le32(paddr); in __ath10k_htt_rx_ring_fill_n()
151 *htt->rx_ring.alloc_idx.vaddr = __cpu_to_le32(idx); in __ath10k_htt_rx_ring_fill_n()
836 __cpu_to_le32(RX_ATTENTION_FLAGS_FIRST_MPDU)); in ath10k_htt_rx_h_ppdu()
838 __cpu_to_le32(RX_ATTENTION_FLAGS_LAST_MPDU)); in ath10k_htt_rx_h_ppdu()
953 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_undecap_raw()
955 __cpu_to_le32(RX_MSDU_END_INFO0_LAST_MSDU)); in ath10k_htt_rx_h_undecap_raw()
1066 __cpu_to_le32(RX_MSDU_END_INFO0_FIRST_MSDU)); in ath10k_htt_rx_h_find_rfc1042()
1068 __cpu_to_le32(RX_MSDU_END_INFO0_LAST_MSDU)); in ath10k_htt_rx_h_find_rfc1042()
1442 __cpu_to_le32(RX_ATTENTION_FLAGS_MGMT_TYPE)); in ath10k_htt_rx_amsdu_allowed()
[all …]
Dbmi.h212 __le32 v = __cpu_to_le32(val); \
Dce.c306 sdesc->addr = __cpu_to_le32(buffer); in ath10k_ce_send_nolock()
418 desc->addr = __cpu_to_le32(paddr); in __ath10k_ce_rx_post_buf()
Ddebug.c775 cmd->vdev_id = __cpu_to_le32(0x7ffe); in ath10k_debug_fw_assert()
/linux-4.1.27/drivers/net/wireless/cw1200/
Dwsm.h1292 __le32 val = __cpu_to_le32(power_level); in wsm_set_output_power()
1379 val |= __cpu_to_le32(BIT(0)); in wsm_set_rx_filter()
1381 val |= __cpu_to_le32(BIT(1)); in wsm_set_rx_filter()
1383 val |= __cpu_to_le32(BIT(2)); in wsm_set_rx_filter()
1385 val |= __cpu_to_le32(BIT(3)); in wsm_set_rx_filter()
1432 val.enabled = __cpu_to_le32(arg->enabled); in wsm_beacon_filter_control()
1433 val.bcn_count = __cpu_to_le32(arg->bcn_count); in wsm_beacon_filter_control()
1494 val |= __cpu_to_le32(BIT(0)); in wsm_set_protected_mgmt_policy()
1496 val |= __cpu_to_le32(BIT(1)); in wsm_set_protected_mgmt_policy()
1498 val |= __cpu_to_le32(BIT(2)); in wsm_set_protected_mgmt_policy()
[all …]
Dsta.c476 bf_tbl.num = __cpu_to_le32(0); in cw1200_update_filtering()
481 bf_tbl.num = __cpu_to_le32(2); in cw1200_update_filtering()
485 bf_tbl.num = __cpu_to_le32(3); in cw1200_update_filtering()
567 priv->multicast_filter.enable = __cpu_to_le32(1); in cw1200_prepare_multicast()
568 priv->multicast_filter.num_addrs = __cpu_to_le32(count); in cw1200_prepare_multicast()
854 __le32 wep_default_key_id = __cpu_to_le32( in cw1200_wep_key_work()
876 val32 = __cpu_to_le32(value); in cw1200_set_rts_threshold()
1750 __cpu_to_le32(1) : 0; in cw1200_set_cts_work()
1841 filter.enable = __cpu_to_le32(1); in cw1200_bss_info_changed()
1964 priv->association_mode.basic_rate_set = __cpu_to_le32( in cw1200_bss_info_changed()
[all …]
Dtxrx.c187 policy->tbl[off] |= __cpu_to_le32(retries << shift); in tx_policy_build()
661 __cpu_to_le32(WSM_HT_TX_GREENFIELD); in cw1200_tx_h_rate_policy()
664 __cpu_to_le32(WSM_HT_TX_MIXED); in cw1200_tx_h_rate_policy()
Dwsm.c79 #define WSM_PUT32(buf, val) __WSM_PUT(buf, val, u32, __le32, __cpu_to_le32)
/linux-4.1.27/fs/jfs/
Djfs_types.h160 (dasdp)->limit_lo = __cpu_to_le32(limit);\
167 (dasdp)->used_lo = __cpu_to_le32(used);\
Djfs_xtree.h48 (xad)->off2 = __cpu_to_le32((offset64) & 0xffffffff);\
Djfs_dtree.h129 (dir_table_slot)->addr2 = __cpu_to_le32((address64) & 0xffffffff);\
/linux-4.1.27/drivers/crypto/
Dhifn_795x.c937 dma->cmdr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
940 dma->resr[i].p = __cpu_to_le32(dptr + in hifn_init_dma()
946 dma->cmdr[HIFN_D_CMD_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
948 dma->srcr[HIFN_D_SRC_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
950 dma->dstr[HIFN_D_DST_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
952 dma->resr[HIFN_D_RES_RSIZE].p = __cpu_to_le32(dptr + in hifn_init_dma()
1262 dma->cmdr[dma->cmdi].l = __cpu_to_le32(cmd_len | HIFN_D_VALID | in hifn_setup_cmd_desc()
1266 dma->cmdr[dma->cmdi].l = __cpu_to_le32( in hifn_setup_cmd_desc()
1271 dma->cmdr[dma->cmdi-1].l |= __cpu_to_le32(HIFN_D_VALID); in hifn_setup_cmd_desc()
1294 dma->srcr[idx].p = __cpu_to_le32(addr); in hifn_setup_src_desc()
[all …]
/linux-4.1.27/drivers/usb/serial/
Dgarmin_gps.c432 usbdata[0] = __cpu_to_le32(GARMIN_LAYERID_APPL); in gsp_rec_packet()
433 usbdata[1] = __cpu_to_le32(pktid); in gsp_rec_packet()
434 usbdata[2] = __cpu_to_le32(size); in gsp_rec_packet()
819 pkt[0] = __cpu_to_le32(GARMIN_LAYERID_PRIVATE); in priv_status_resp()
820 pkt[1] = __cpu_to_le32(PRIV_PKTID_INFO_RESP); in priv_status_resp()
821 pkt[2] = __cpu_to_le32(12); in priv_status_resp()
822 pkt[3] = __cpu_to_le32(VERSION_MAJOR << 16 | VERSION_MINOR); in priv_status_resp()
823 pkt[4] = __cpu_to_le32(garmin_data_p->mode); in priv_status_resp()
824 pkt[5] = __cpu_to_le32(garmin_data_p->serial_num); in priv_status_resp()
/linux-4.1.27/arch/microblaze/include/asm/
Dio.h60 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a))
/linux-4.1.27/drivers/input/serio/
Dhyperv-keyboard.c295 request->header.type = __cpu_to_le32(SYNTH_KBD_PROTOCOL_REQUEST); in hv_kbd_connect_to_vsp()
296 request->version_requested.version = __cpu_to_le32(SYNTH_KBD_VERSION); in hv_kbd_connect_to_vsp()
/linux-4.1.27/include/linux/byteorder/
Dgeneric.h87 #define cpu_to_le32 __cpu_to_le32
/linux-4.1.27/drivers/staging/gdm724x/
Dgdm_mux.c386 mux_header->start_flag = __cpu_to_le32(START_FLAG); in gdm_mux_send()
387 mux_header->seq_num = __cpu_to_le32(seq_num++); in gdm_mux_send()
388 mux_header->payload_size = __cpu_to_le32((u32)len); in gdm_mux_send()
/linux-4.1.27/include/uapi/linux/byteorder/
Dbig_endian.h32 #define __cpu_to_le32(x) ((__force __le32)__swab32((x))) macro
Dlittle_endian.h32 #define __cpu_to_le32(x) ((__force __le32)(__u32)(x)) macro
/linux-4.1.27/lib/
Dcrc32.c177 crc = (__force u32) __cpu_to_le32(crc);
/linux-4.1.27/include/asm-generic/
Dio.h163 __raw_writel(__cpu_to_le32(value), addr); in writel()
/linux-4.1.27/include/linux/
Data.h955 *(__le32 *)&id[ATA_ID_LBA_CAPACITY] = __cpu_to_le32(lba_sects); in ata_id_is_lba_capacity_ok()
/linux-4.1.27/drivers/staging/lustre/lnet/klnds/socklnd/
Dsocklnd_proto.c511 hello->kshm_ips[i] = __cpu_to_le32 (hello->kshm_ips[i]); in ksocknal_send_hello_v1()
Dsocklnd_cb.c1723 __cpu_to_le32 (hello->kshm_magic), in ksocknal_recv_hello()
/linux-4.1.27/drivers/net/usb/
Dr8152.c829 __le32 tmp = __cpu_to_le32(data); in ocp_write_dword()
867 tmp = __cpu_to_le32(data); in ocp_write_word()
905 tmp = __cpu_to_le32(data); in ocp_write_byte()
1959 tmp[0] = __cpu_to_le32(swab32(mc_filter[1])); in _rtl8152_set_rx_mode()
1960 tmp[1] = __cpu_to_le32(swab32(mc_filter[0])); in _rtl8152_set_rx_mode()
/linux-4.1.27/drivers/tty/
Dnozomi.c503 writel(__cpu_to_le32(*buf), ptr); in write_mem32()
516 writel(__cpu_to_le32(*buf), ptr); in write_mem32()
/linux-4.1.27/drivers/ata/
Dsata_dwc_460ex.c57 #define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (void __iomem *)(a))
/linux-4.1.27/drivers/media/pci/zoran/
Dzoran_driver.c1800 __le32 printformat = __cpu_to_le32(fmt->fmt.pix.pixelformat); in zoran_s_fmt_vid_out()
1964 __le32 printformat = __cpu_to_le32(fb->fmt.pixelformat); in zoran_s_fbuf()
/linux-4.1.27/drivers/media/usb/gspca/
Dov519.c2188 *((__le32 *) sd->gspca_dev.usb_buf) = __cpu_to_le32(value); in ov518_reg_w32()
/linux-4.1.27/net/bluetooth/
Dmgmt.c7704 ev->flags = __cpu_to_le32(flags); in mgmt_device_connected()
7976 ev.passkey = __cpu_to_le32(passkey); in mgmt_user_passkey_notify()