Home
last modified time | relevance | path

Searched refs:hca_core_clock (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/ofed/libmlx4/
H A Dmlx4.c138 context->hca_core_clock = hca_clock_page + in mlx4_map_internal_clock()
237 context->hca_core_clock = NULL; in mlx4_init_context()
290 if (context->hca_core_clock) in mlx4_uninit_context()
291 munmap(context->hca_core_clock - context->core_clock.offset, in mlx4_uninit_context()
H A Dverbs.c111 if (!ctx->hca_core_clock) in mlx4_read_clock()
116 clockhi = be32toh(READL(ctx->hca_core_clock)); in mlx4_read_clock()
117 clocklo = be32toh(READL(ctx->hca_core_clock + 4)); in mlx4_read_clock()
118 clockhi1 = be32toh(READL(ctx->hca_core_clock)); in mlx4_read_clock()
H A Dmlx4.h158 void *hca_core_clock; member
/freebsd/contrib/ofed/libirdma/
H A Dabi.h188 __u64 hca_core_clock; member
/freebsd/contrib/ofed/libmlx5/
H A Dmlx5.c616 context->hca_core_clock = hca_clock_page + in mlx5_map_internal_clock()
899 context->hca_core_clock = NULL; in mlx5_init_context()
1023 if (context->hca_core_clock) in mlx5_cleanup_context()
1024 munmap(context->hca_core_clock - context->core_clock.offset, in mlx5_cleanup_context()
H A Dverbs.c86 if (!ctx->hca_core_clock) in mlx5_read_clock()
91 clockhi = be32toh(READL(ctx->hca_core_clock)); in mlx5_read_clock()
92 clocklo = be32toh(READL(ctx->hca_core_clock + 4)); in mlx5_read_clock()
93 clockhi1 = be32toh(READL(ctx->hca_core_clock)); in mlx5_read_clock()
H A Dmlx5.h265 void *hca_core_clock; member
/freebsd/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c510 if (device_attr.hca_core_clock) in print_hca_cap()
511 printf("\thca_core_clock:\t\t\t%" PRIu64 "kHZ\n", device_attr.hca_core_clock); in print_hca_cap()
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dfw.h190 u16 hca_core_clock; /* Internal Clock Frequency (in MHz) */ member
H A Dmlx4_main.c833 dev->caps.hca_core_clock = hca_param.hca_core_clock; in mlx4_slave_cap()
2312 dev->caps.hca_core_clock = in mlx4_init_hca()
2313 init_hca.hca_core_clock; in mlx4_init_hca()
2319 if (!dev->caps.hca_core_clock) { in mlx4_init_hca()
H A Dmlx4_fw.c2079 MLX4_GET(param->hca_core_clock, outbox, QUERY_HCA_CORE_CLOCK_OFFSET); in mlx4_QUERY_HCA()
2195 MLX4_GET(dev->caps.hca_core_clock, outbox, QUERY_HCA_CORE_CLOCK_OFFSET); in mlx4_hca_core_clock_update()
/freebsd/contrib/ofed/libibverbs/
H A Dcmd.c198 if (attr_size >= offsetof(struct ibv_device_attr_ex, hca_core_clock) + in ibv_cmd_query_device_ex()
199 sizeof(attr->hca_core_clock)) { in ibv_cmd_query_device_ex()
201 offsetof(struct ibv_query_device_resp_ex, hca_core_clock) + in ibv_cmd_query_device_ex()
202 sizeof(resp->hca_core_clock)) in ibv_cmd_query_device_ex()
203 attr->hca_core_clock = resp->hca_core_clock; in ibv_cmd_query_device_ex()
H A Dkern-abi.h289 __u64 hca_core_clock; member
H A Dverbs.h267 uint64_t hca_core_clock; member
/freebsd/sys/ofed/include/uapi/rdma/
H A Dib_user_verbs.h270 __aligned_u64 hca_core_clock; /* in KHZ */ member
/freebsd/sys/dev/mlx4/
H A Ddevice.h617 u16 hca_core_clock; member
/freebsd/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_main.c560 props->hca_core_clock = dev->dev->caps.hca_core_clock * 1000UL; in mlx4_ib_query_device()
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_uverbs_cmd.c3669 resp.hca_core_clock = attr.hca_core_clock; in ib_uverbs_ex_query_device()
/freebsd/sys/ofed/include/rdma/
H A Dib_verbs.h385 uint64_t hca_core_clock; /* in KHZ */ member
/freebsd/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_main.c795 props->hca_core_clock = MLX5_CAP_GEN(mdev, device_frequency_khz); in mlx5_ib_query_device()