Searched refs:__force (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-11-stable/contrib/dtc/libfdt/
H A Dlibfdt_env.h61 #define __force __attribute__((force)) macro
64 #define __force macro
83 return (__force uint16_t)CPU_TO_FDT16(x);
87 return (__force fdt16_t)CPU_TO_FDT16(x);
92 return (__force uint32_t)CPU_TO_FDT32(x);
96 return (__force fdt32_t)CPU_TO_FDT32(x);
101 return (__force uint64_t)CPU_TO_FDT64(x);
105 return (__force fdt64_t)CPU_TO_FDT64(x);
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_doorbell.h56 __raw_writeq((__force u64) val, dest);
62 __raw_writeq((__force u64) cpu_to_be64((u64) hi << 32 | lo), dest);
84 __raw_writel(((__force u32 *) &val)[0], dest);
85 __raw_writel(((__force u32 *) &val)[1], dest + 4);
93 hi = (__force u32) cpu_to_be32(hi);
94 lo = (__force u32) cpu_to_be32(lo);
H A Dmthca_cmd.c208 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), ptr + offs[0]);
210 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), ptr + offs[1]);
212 __raw_writel((__force u32) cpu_to_be32(in_modifier), ptr + offs[2]);
214 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), ptr + offs[3]);
216 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), ptr + offs[4]);
218 __raw_writel((__force u32) cpu_to_be32(token << 16), ptr + offs[5]);
220 __raw_writel((__force u32) cpu_to_be32((1 << HCR_GO_BIT) |
225 __raw_writel((__force u32) 0, ptr + offs[7]);
256 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4);
257 __raw_writel((__force u3
[all...]
H A Dmthca_eq.c193 __raw_writel((__force u32) cpu_to_be32(ci),
H A Dmthca_mr.c748 __raw_writel((__force u32) mpt_entry.lkey, &fmr->mem.tavor.mpt->key);
/freebsd-11-stable/sys/compat/linuxkpi/common/include/net/
H A Dipv6.h71 *(__force u64 *)addr = ((__force u64)(wh) << 32 | (__force u64)(wl));
76 *(__force u64 *)addr = ((__force u64)(wl) << 32 | (__force u64)(wh));
/freebsd-11-stable/sys/dev/mlx4/
H A Ddoorbell.h79 __raw_writel((__force u32) val[0], dest);
80 __raw_writel((__force u32) val[1], (u8 *)dest + 4);
/freebsd-11-stable/sys/dev/mlx5/
H A Ddoorbell.h67 __raw_writel((__force u32) val[0], dest);
68 __raw_writel((__force u32) val[1], dest + 4);
H A Ddevice.h138 tmp = (__force type_t)MLX5_GET(typ, p, fld); \
141 tmp = (__force type_t)cpu_to_be16(MLX5_GET(typ, p, fld)); \
144 tmp = (__force type_t)cpu_to_be32(MLX5_GET(typ, p, fld)); \
147 tmp = (__force type_t)MLX5_GET64_BE(typ, p, fld); \
/freebsd-11-stable/contrib/wpa/src/utils/
H A Dcommon.h175 #define le_to_host16(n) ((__force u16) (le16) (n))
176 #define host_to_le16(n) ((__force le16) (u16) (n))
177 #define be_to_host16(n) bswap_16((__force u16) (be16) (n))
178 #define host_to_be16(n) ((__force be16) bswap_16((n)))
179 #define le_to_host32(n) ((__force u32) (le32) (n))
180 #define host_to_le32(n) ((__force le32) (u32) (n))
181 #define be_to_host32(n) bswap_32((__force u32) (be32) (n))
182 #define host_to_be32(n) ((__force be32) bswap_32((n)))
183 #define le_to_host64(n) ((__force u64) (le64) (n))
184 #define host_to_le64(n) ((__force le6
434 #define __force macro
438 #define __force macro
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dcompiler.h40 #define __force macro
/freebsd-11-stable/sys/dev/cxgbe/
H A Dosdep.h84 #define __force macro
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_alias_GUID.c87 guid_indexes = be64_to_cpu((__force __be64) dev->sriov.alias_guid.
117 return (__force __be64) -1;
208 guid_indexes = be64_to_cpu((__force __be64) dev->sriov.alias_guid.
419 (long long)be64_to_cpu((__force __be64)rec->guid_indexes),
420 (long long)be64_to_cpu((__force __be64)applied_guid_indexes),
421 (long long)be64_to_cpu((__force __be64)declined_guid_indexes));
/freebsd-11-stable/contrib/libstdc++/include/ext/
H A Dmt_allocator.h122 size_t __maxthreads, size_t __headroom, bool __force)
125 _M_freelist_headroom(__headroom), _M_force_new(__force)
121 _Tune(size_t __align, size_t __maxb, size_t __minbin, size_t __chunk, size_t __maxthreads, size_t __headroom, bool __force) argument
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c281 __raw_writel((__force u32) cpu_to_be32(val),
482 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), hcr + 0);
483 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), hcr + 1);
484 __raw_writel((__force u32) cpu_to_be32(in_modifier), hcr + 2);
485 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), hcr + 3);
486 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), hcr + 4);
487 __raw_writel((__force u32) cpu_to_be32(token << 16), hcr + 5);
492 __raw_writel((__force u32) cpu_to_be32((1 << HCR_GO_BIT) |
643 (u64) be32_to_cpu((__force __be32)
645 (u64) be32_to_cpu((__force __be3
[all...]
H A Dmlx4_catas.c132 __raw_writel((__force u32)cpu_to_be32(comm_flags),
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_os_freebsd.h39 #ifndef __force
40 #define __force macro
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/
H A Dib_ucma.c842 resp.node_guid = (__force __u64) ctx->cm_id->device->node_guid;
867 resp->node_guid = (__force __u64) cm_id->device->node_guid;
869 resp->pkey = (__force __u16) cpu_to_be16(
953 addr->sib_pkey = (__force __be16) resp.pkey;
966 addr->sib_pkey = (__force __be16) resp.pkey;
H A Dib_cm.c488 cm_id_priv->id.local_id = (__force __be32)id ^ cm.random_id_operand;
496 (__force int) (local_id ^ cm.random_id_operand));
505 (__force int) (local_id ^ cm.random_id_operand));
534 return (__force u32) a < (__force u32) b;
539 return (__force u32) a > (__force u32) b;
544 return (__force u64) a < (__force u64) b;
549 return (__force u6
[all...]
/freebsd-11-stable/contrib/ofed/librdmacm/
H A Drsocket.c1050 conn->target_sgl.addr = (__force uint64_t)htobe64((uintptr_t) rs->target_sgl);
1051 conn->target_sgl.length = (__force uint32_t)htobe32(RS_SGL_SIZE);
1052 conn->target_sgl.key = (__force uint32_t)htobe32(rs->target_mr->rkey);
1054 conn->data_buf.addr = (__force uint64_t)htobe64((uintptr_t) rs->rbuf);
1055 conn->data_buf.length = (__force uint32_t)htobe32(rs->rbuf_size >> 1);
1056 conn->data_buf.key = (__force uint32_t)htobe32(rs->rmr->rkey);
1061 rs->remote_sgl.addr = be64toh((__force __be64)conn->target_sgl.addr);
1062 rs->remote_sgl.length = be32toh((__force __be32)conn->target_sgl.length);
1063 rs->remote_sgl.key = be32toh((__force __be32)conn->target_sgl.key);
1076 rs->target_sgl[0].addr = be64toh((__force __be6
[all...]
/freebsd-11-stable/sys/ofed/include/rdma/
H A Dib_mad.h190 #define IB_SA_COMP_MASK(n) ((__force ib_sa_comp_mask) cpu_to_be64(1ull << (n)))
/freebsd-11-stable/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_netdev.c137 .dst_port_msk = (__force __be16)-1,
139 .src_port_msk = (__force __be16)-1,
148 .dst_ip_msk = (__force __be32)-1,
150 .src_ip_msk = (__force __be32)-1,
207 l = (__force unsigned long)src_port |
208 ((__force unsigned long)dst_port << 2);
209 l ^= (__force unsigned long)(src_ip ^ dst_ip);
/freebsd-11-stable/sys/dev/mlx5/mlx5_core/
H A Dmlx5_eq.c214 __raw_writel((__force u32) cpu_to_be32(val), addr);
/freebsd-11-stable/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c145 (__force __be64)(unsigned long) &wr_wait;
H A Dqp.c395 *flitp = (__force __be64)0;
730 (__force u64)cpu_to_be64((u64)mhp->mpl[i]);

Completed in 208 milliseconds

12