Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/dev/iwlwifi/fw/
H A Dfile.h263 IWL_UCODE_TLV_API_FRAGMENTED_SCAN = (__force iwl_ucode_tlv_api_t)8,
264 IWL_UCODE_TLV_API_WIFI_MCC_UPDATE = (__force iwl_ucode_tlv_api_t)9,
265 IWL_UCODE_TLV_API_LQ_SS_PARAMS = (__force iwl_ucode_tlv_api_t)18,
266 IWL_UCODE_TLV_API_NEW_VERSION = (__force iwl_ucode_tlv_api_t)20,
267 IWL_UCODE_TLV_API_SCAN_TSF_REPORT = (__force iwl_ucode_tlv_api_t)28,
268 IWL_UCODE_TLV_API_TKIP_MIC_KEYS = (__force iwl_ucode_tlv_api_t)29,
269 IWL_UCODE_TLV_API_STA_TYPE = (__force iwl_ucode_tlv_api_t)30,
270 IWL_UCODE_TLV_API_NAN2_VER2 = (__force iwl_ucode_tlv_api_t)31,
272 IWL_UCODE_TLV_API_ADAPTIVE_DWELL = (__force iwl_ucode_tlv_api_t)32,
273 IWL_UCODE_TLV_API_OCE = (__force iwl_ucode_tlv_api_
[all...]
H A Dimg.h66 return test_bit((__force long)api, capabilities->_api); in fw_has_api()
73 return test_bit((__force long)capa, capabilities->_capa); in fw_has_capa()
/freebsd/sys/dev/mthca/
H A 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()
H A Dmthca_cmd.c208 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), ptr + offs[0]); in mthca_cmd_post_dbell()
210 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), ptr + offs[1]); in mthca_cmd_post_dbell()
212 __raw_writel((__force u32) cpu_to_be32(in_modifier), ptr + offs[2]); in mthca_cmd_post_dbell()
214 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), ptr + offs[3]); in mthca_cmd_post_dbell()
216 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), ptr + offs[4]); in mthca_cmd_post_dbell()
218 __raw_writel((__force u32) cpu_to_be32(token << 16), ptr + offs[5]); in mthca_cmd_post_dbell()
220 __raw_writel((__force u32) cpu_to_be32((1 << HCR_GO_BIT) | in mthca_cmd_post_dbell()
225 __raw_writel((__force u32) 0, ptr + offs[7]); in mthca_cmd_post_dbell()
256 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); in mthca_cmd_post_hcr()
257 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), dev->hcr + 1 * 4); in mthca_cmd_post_hcr()
[all …]
H A Dmthca_eq.c193 __raw_writel((__force u32) cpu_to_be32(ci), in arbel_set_eq_ci()
H A Dmthca_mr.c747 __raw_writel((__force u32) mpt_entry.lkey, &fmr->mem.tavor.mpt->key); in mthca_tavor_map_phys_fmr()
/freebsd/sys/compat/linuxkpi/common/include/net/
H A Dipv6.h75 *(__force u64 *)addr = ((__force u64)(wh) << 32 | (__force u64)(wl)); in __ipv6_addr_set_half()
80 *(__force u64 *)addr = ((__force u64)(wl) << 32 | (__force u64)(wh)); in __ipv6_addr_set_half()
/freebsd/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 le64) (u64) (n))
[all …]
/freebsd/sys/dev/mlx4/
H A 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/sys/dev/mlx5/
H A Ddoorbell.h66 __raw_writel((__force u32) val[0], dest); in mlx5_write64()
67 __raw_writel((__force u32) val[1], dest + 4); in mlx5_write64()
H A Ddevice.h136 tmp = (__force type_t)MLX5_GET(typ, p, fld); \
139 tmp = (__force type_t)cpu_to_be16(MLX5_GET(typ, p, fld)); \
142 tmp = (__force type_t)cpu_to_be32(MLX5_GET(typ, p, fld)); \
145 tmp = (__force type_t)MLX5_GET64_BE(typ, p, fld); \
/freebsd/contrib/wireguard-tools/
H A Dcurve25519.c54 #ifndef __force
55 #define __force macro
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_alias_GUID.c87 guid_indexes = be64_to_cpu((__force __be64) dev->sriov.alias_guid. in mlx4_ib_update_cache_on_guid_change()
117 return (__force __be64) -1; in get_cached_alias_guid()
208 guid_indexes = be64_to_cpu((__force __be64) dev->sriov.alias_guid. in mlx4_ib_notify_slaves_on_guid_change()
419 (long long)be64_to_cpu((__force __be64)rec->guid_indexes), in aliasguid_query_handler()
420 (long long)be64_to_cpu((__force __be64)applied_guid_indexes), in aliasguid_query_handler()
421 (long long)be64_to_cpu((__force __be64)declined_guid_indexes)); in aliasguid_query_handler()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_cmd.c281 __raw_writel((__force u32) cpu_to_be32(val), in mlx4_comm_cmd_post()
482 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), hcr + 0); in mlx4_cmd_post()
483 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), hcr + 1); in mlx4_cmd_post()
484 __raw_writel((__force u32) cpu_to_be32(in_modifier), hcr + 2); in mlx4_cmd_post()
485 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), hcr + 3); in mlx4_cmd_post()
486 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), hcr + 4); in mlx4_cmd_post()
487 __raw_writel((__force u32) cpu_to_be32(token << 16), hcr + 5); in mlx4_cmd_post()
492 __raw_writel((__force u32) cpu_to_be32((1 << HCR_GO_BIT) | in mlx4_cmd_post()
643 (u64) be32_to_cpu((__force __be32) in mlx4_cmd_poll()
645 (u64) be32_to_cpu((__force __be32) in mlx4_cmd_poll()
[all …]
H A Dmlx4_catas.c132 __raw_writel((__force u32)cpu_to_be32(comm_flags), in mlx4_reset_slave()
/freebsd/sys/compat/linuxkpi/common/include/linux/
H A Dcompiler.h38 #define __force macro
/freebsd/contrib/ofed/librdmacm/
H A Drsocket.c1050 conn->target_sgl.addr = (__force uint64_t)htobe64((uintptr_t) rs->target_sgl); in rs_format_conn_data()
1051 conn->target_sgl.length = (__force uint32_t)htobe32(RS_SGL_SIZE); in rs_format_conn_data()
1052 conn->target_sgl.key = (__force uint32_t)htobe32(rs->target_mr->rkey); in rs_format_conn_data()
1054 conn->data_buf.addr = (__force uint64_t)htobe64((uintptr_t) rs->rbuf); in rs_format_conn_data()
1055 conn->data_buf.length = (__force uint32_t)htobe32(rs->rbuf_size >> 1); in rs_format_conn_data()
1056 conn->data_buf.key = (__force uint32_t)htobe32(rs->rmr->rkey); in rs_format_conn_data()
1061 rs->remote_sgl.addr = be64toh((__force __be64)conn->target_sgl.addr); in rs_save_conn_data()
1062 rs->remote_sgl.length = be32toh((__force __be32)conn->target_sgl.length); in rs_save_conn_data()
1063 rs->remote_sgl.key = be32toh((__force __be32)conn->target_sgl.key); in rs_save_conn_data()
1076 rs->target_sgl[0].addr = be64toh((__force __be64)conn->data_buf.addr); in rs_save_conn_data()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_ucma.c843 resp.node_guid = (__force __u64) ctx->cm_id->device->node_guid; in ucma_query_route()
868 resp->node_guid = (__force __u64) cm_id->device->node_guid; in ucma_query_device_addr()
870 resp->pkey = (__force __u16) cpu_to_be16( in ucma_query_device_addr()
954 addr->sib_pkey = (__force __be16) resp.pkey; in ucma_query_gid()
967 addr->sib_pkey = (__force __be16) resp.pkey; in ucma_query_gid()
H A Dib_cm.c561 cm_id_priv->id.local_id = (__force __be32)id ^ cm.random_id_operand; in cm_alloc_id()
569 (__force int) (local_id ^ cm.random_id_operand)); in cm_free_id()
578 (__force int) (local_id ^ cm.random_id_operand)); in cm_get_id()
607 return (__force u32) a < (__force u32) b; in be32_lt()
612 return (__force u32) a > (__force u32) b; in be32_gt()
617 return (__force u64) a < (__force u64) b; in be64_lt()
622 return (__force u64) a > (__force u64) b; in be64_gt()
2616 cm_id_priv = idr_find(&cm.local_id_table, (__force int) in cm_acquire_rejected_id()
/freebsd/sys/dev/drm2/
H A Ddrm_os_freebsd.h37 #ifndef __force
38 #define __force macro
/freebsd/sys/dev/mlx4/mlx4_en/
H A Dmlx4_en_netdev.c140 .dst_port_msk = (__force __be16)-1, in mlx4_en_filter_work()
142 .src_port_msk = (__force __be16)-1, in mlx4_en_filter_work()
151 .dst_ip_msk = (__force __be32)-1, in mlx4_en_filter_work()
153 .src_ip_msk = (__force __be32)-1, in mlx4_en_filter_work()
210 l = (__force unsigned long)src_port | in filter_hash_bucket()
211 ((__force unsigned long)dst_port << 2); in filter_hash_bucket()
212 l ^= (__force unsigned long)(src_ip ^ dst_ip); in filter_hash_bucket()
/freebsd/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/sys/dev/mlx5/mlx5_core/
H A Dmlx5_eq.c216 __raw_writel((__force u32) cpu_to_be32(val), addr); in eq_update_ci()
/freebsd/sys/contrib/dev/rtw89/
H A Dcore.c4069 kfree((__force void *)sband_2ghz->iftype_data); in rtw89_core_set_supported_band()
4071 kfree((__force void *)sband_5ghz->iftype_data); in rtw89_core_set_supported_band()
4073 kfree((__force void *)sband_6ghz->iftype_data); in rtw89_core_set_supported_band()
4085 kfree((__force void *)hw->wiphy->bands[NL80211_BAND_2GHZ]->iftype_data); in rtw89_core_clr_supported_band()
4087 kfree((__force void *)hw->wiphy->bands[NL80211_BAND_5GHZ]->iftype_data); in rtw89_core_clr_supported_band()
4089 kfree((__force void *)hw->wiphy->bands[NL80211_BAND_6GHZ]->iftype_data); in rtw89_core_clr_supported_band()
/freebsd/sys/dev/cxgbe/iw_cxgbe/
H A Dmem.c145 (__force __be64)(unsigned long) &wr_wait; in _c4iw_write_mem_inline()

12