Home
last modified time | relevance | path

Searched refs:__force (Results 1 – 25 of 27) sorted by relevance

12

/freebsd-10-stable/contrib/dtc/libfdt/
Dlibfdt_env.h60 #define __force __attribute__((force)) macro
63 #define __force macro
82 return (__force uint16_t)CPU_TO_FDT16(x); in fdt16_to_cpu()
86 return (__force fdt16_t)CPU_TO_FDT16(x); in cpu_to_fdt16()
91 return (__force uint32_t)CPU_TO_FDT32(x); in fdt32_to_cpu()
95 return (__force fdt32_t)CPU_TO_FDT32(x); in cpu_to_fdt32()
100 return (__force uint64_t)CPU_TO_FDT64(x); in fdt64_to_cpu()
104 return (__force fdt64_t)CPU_TO_FDT64(x); in cpu_to_fdt64()
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mthca/
Dmthca_doorbell.h56 __raw_writeq((__force u64) val, dest); in mthca_write64_raw()
62 __raw_writeq((__force u64) cpu_to_be64((u64) hi << 32 | lo), dest); in mthca_write64()
84 __raw_writel(((__force u32 *) &val)[0], dest); in mthca_write64_raw()
85 __raw_writel(((__force u32 *) &val)[1], dest + 4); in mthca_write64_raw()
93 hi = (__force u32) cpu_to_be32(hi); in mthca_write64()
94 lo = (__force u32) cpu_to_be32(lo); in mthca_write64()
Dmthca_cmd.c205 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), ptr + offs[0]); in mthca_cmd_post_dbell()
207 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), ptr + offs[1]); in mthca_cmd_post_dbell()
209 __raw_writel((__force u32) cpu_to_be32(in_modifier), ptr + offs[2]); in mthca_cmd_post_dbell()
211 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), ptr + offs[3]); in mthca_cmd_post_dbell()
213 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), ptr + offs[4]); in mthca_cmd_post_dbell()
215 __raw_writel((__force u32) cpu_to_be32(token << 16), ptr + offs[5]); in mthca_cmd_post_dbell()
217 __raw_writel((__force u32) cpu_to_be32((1 << HCR_GO_BIT) | in mthca_cmd_post_dbell()
222 __raw_writel((__force u32) 0, ptr + offs[7]); in mthca_cmd_post_dbell()
251 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); in mthca_cmd_post_hcr()
252 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), dev->hcr + 1 * 4); in mthca_cmd_post_hcr()
[all …]
Dmthca_eq.c192 __raw_writel((__force u32) cpu_to_be32(ci), in arbel_set_eq_ci()
Dmthca_mr.c771 __raw_writel((__force u32) mpt_entry.lkey, &fmr->mem.tavor.mpt->key); in mthca_tavor_map_phys_fmr()
/freebsd-10-stable/sys/ofed/include/net/
Dipv6.h67 *(__force u64 *)addr = ((__force u64)(wh) << 32 | (__force u64)(wl)); in __ipv6_addr_set_half()
72 *(__force u64 *)addr = ((__force u64)(wl) << 32 | (__force u64)(wh)); in __ipv6_addr_set_half()
/freebsd-10-stable/contrib/wpa/src/utils/
Dcommon.h190 #define le_to_host16(n) ((__force u16) (le16) (n))
191 #define host_to_le16(n) ((__force le16) (u16) (n))
192 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
193 #define host_to_be16(n) ((__force be16) bswap_16((n)))
194 #define le_to_host32(n) ((__force u32) (le32) (n))
195 #define host_to_le32(n) ((__force le32) (u32) (n))
196 #define be_to_host32(n) bswap_32((__force u32) (be32) (n))
197 #define host_to_be32(n) ((__force be32) bswap_32((n)))
198 #define le_to_host64(n) ((__force u64) (le64) (n))
199 #define host_to_le64(n) ((__force le64) (u64) (n))
[all …]
/freebsd-10-stable/sys/dev/mlx5/
Ddoorbell.h67 __raw_writel((__force u32) val[0], dest); in mlx5_write64()
68 __raw_writel((__force u32) val[1], dest + 4); in mlx5_write64()
/freebsd-10-stable/sys/ofed/include/linux/mlx4/
Ddoorbell.h79 __raw_writel((__force u32) val[0], dest); in mlx4_write64()
80 __raw_writel((__force u32) val[1], (u8 *)dest + 4); in mlx4_write64()
/freebsd-10-stable/sys/ofed/include/linux/
Dpci.h734 pci_channel_io_normal = (__force pci_channel_state_t) 1,
737 pci_channel_io_frozen = (__force pci_channel_state_t) 2,
740 pci_channel_io_perm_failure = (__force pci_channel_state_t) 3,
745 PCI_ERS_RESULT_NONE = (__force pci_ers_result_t) 1,
748 PCI_ERS_RESULT_CAN_RECOVER = (__force pci_ers_result_t) 2,
751 PCI_ERS_RESULT_NEED_RESET = (__force pci_ers_result_t) 3,
754 PCI_ERS_RESULT_DISCONNECT = (__force pci_ers_result_t) 4,
757 PCI_ERS_RESULT_RECOVERED = (__force pci_ers_result_t) 5,
Dcompiler.h39 #define __force macro
/freebsd-10-stable/sys/ofed/drivers/net/mlx4/
Dcmd.c326 __raw_writel((__force u32) cpu_to_be32(val), in mlx4_comm_cmd_post()
517 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), hcr + 0); in mlx4_cmd_post()
518 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), hcr + 1); in mlx4_cmd_post()
519 __raw_writel((__force u32) cpu_to_be32(in_modifier), hcr + 2); in mlx4_cmd_post()
520 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), hcr + 3); in mlx4_cmd_post()
521 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), hcr + 4); in mlx4_cmd_post()
522 __raw_writel((__force u32) cpu_to_be32(token << 16), hcr + 5); in mlx4_cmd_post()
530 __raw_writel((__force u32) cpu_to_be32((1 << HCR_GO_BIT) | in mlx4_cmd_post()
668 (u64) be32_to_cpu((__force __be32) in mlx4_cmd_poll()
670 (u64) be32_to_cpu((__force __be32) in mlx4_cmd_poll()
[all …]
Den_netdev.c136 .dst_port_msk = (__force __be16)-1, in mlx4_en_filter_work()
138 .src_port_msk = (__force __be16)-1, in mlx4_en_filter_work()
147 .dst_ip_msk = (__force __be32)-1, in mlx4_en_filter_work()
149 .src_ip_msk = (__force __be32)-1, in mlx4_en_filter_work()
206 l = (__force unsigned long)src_port | in filter_hash_bucket()
207 ((__force unsigned long)dst_port << 2); in filter_hash_bucket()
208 l ^= (__force unsigned long)(src_ip ^ dst_ip); in filter_hash_bucket()
Deq.c98 __raw_writel((__force u32) cpu_to_be32((eq->cons_index & 0xffffff) | in eq_set_ci()
/freebsd-10-stable/sys/dev/mlx5/mlx5_core/
Dmlx5_health.c95 return swab16(readl((__force u16 __iomem *) p)); in read_be16()
100 return swab32(readl((__force u32 __iomem *) p)); in read_be32()
Dmlx5_eq.c207 __raw_writel((__force u32) cpu_to_be32(val), addr); in eq_update_ci()
/freebsd-10-stable/sys/dev/cxgbe/
Dosdep.h83 #define __force macro
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/
Dalias_GUID.c80 guid_indexes = be64_to_cpu((__force __be64) dev->sriov.alias_guid. in mlx4_ib_update_cache_on_guid_change()
109 return (__force __be64) -1; in get_cached_alias_guid()
144 guid_indexes = be64_to_cpu((__force __be64) dev->sriov.alias_guid. in mlx4_ib_notify_slaves_on_guid_change()
/freebsd-10-stable/contrib/libstdc++/include/ext/
Dmt_allocator.h122 size_t __maxthreads, size_t __headroom, bool __force) in _Tune()
125 _M_freelist_headroom(__headroom), _M_force_new(__force) in _Tune()
/freebsd-10-stable/sys/ofed/drivers/infiniband/core/
Dcm.c409 cm_id_priv->id.local_id = (__force __be32)id ^ cm.random_id_operand; in cm_alloc_id()
417 (__force int) (local_id ^ cm.random_id_operand)); in cm_free_id()
426 (__force int) (local_id ^ cm.random_id_operand)); in cm_get_id()
490 return (__force u32) a < (__force u32) b; in be32_lt()
495 return (__force u32) a > (__force u32) b; in be32_gt()
500 return (__force u64) a < (__force u64) b; in be64_lt()
505 return (__force u64) a > (__force u64) b; in be64_gt()
994 low_tid = (u64) ((__force u32)cm_id_priv->id.local_id | in cm_form_tid()
2338 cm_id_priv = idr_find(&cm.local_id_table, (__force int) in cm_acquire_rejected_id()
Duverbs_cmd.c940 resp->wc[i].ex.imm_data = (__u32 __force) wc[i].ex.imm_data; in ib_uverbs_poll_cq()
1513 (__be32 __force) user_wr->ex.imm_data; in ib_uverbs_post_send()
1523 (__be32 __force) user_wr->ex.imm_data; in ib_uverbs_post_send()
Ducma.c656 resp.node_guid = (__force __u64) ctx->cm_id->device->node_guid; in ucma_query_route()
/freebsd-10-stable/sys/ofed/include/rdma/
Dib_mad.h155 #define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << (n)))
/freebsd-10-stable/sys/dev/cxgbe/iw_cxgbe/
Dmem.c97 ulpmc->wr.wr_lo = (__force __be64)(unsigned long) &wr_wait; in write_adapter_mem()
/freebsd-10-stable/sys/dev/drm2/i915/
Di915_gem.c993 #define __force macro
1779 #undef __force

12