/freebsd/contrib/ofed/libmlx4/ |
H A D | mlx4.c | 138 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 D | verbs.c | 111 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 D | mlx4.h | 158 void *hca_core_clock; member
|
/freebsd/contrib/ofed/libirdma/ |
H A D | abi.h | 188 __u64 hca_core_clock; member
|
/freebsd/contrib/ofed/libmlx5/ |
H A D | mlx5.c | 616 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 D | verbs.c | 86 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 D | mlx5.h | 265 void *hca_core_clock; member
|
/freebsd/contrib/ofed/libibverbs/examples/ |
H A D | devinfo.c | 510 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 D | fw.h | 190 u16 hca_core_clock; /* Internal Clock Frequency (in MHz) */ member
|
H A D | mlx4_main.c | 833 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 D | mlx4_fw.c | 2079 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 D | cmd.c | 198 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 D | kern-abi.h | 289 __u64 hca_core_clock; member
|
H A D | verbs.h | 267 uint64_t hca_core_clock; member
|
/freebsd/sys/ofed/include/uapi/rdma/ |
H A D | ib_user_verbs.h | 270 __aligned_u64 hca_core_clock; /* in KHZ */ member
|
/freebsd/sys/dev/mlx4/ |
H A D | device.h | 617 u16 hca_core_clock; member
|
/freebsd/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_main.c | 560 props->hca_core_clock = dev->dev->caps.hca_core_clock * 1000UL; in mlx4_ib_query_device()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_uverbs_cmd.c | 3669 resp.hca_core_clock = attr.hca_core_clock; in ib_uverbs_ex_query_device()
|
/freebsd/sys/ofed/include/rdma/ |
H A D | ib_verbs.h | 385 uint64_t hca_core_clock; /* in KHZ */ member
|
/freebsd/sys/dev/mlx5/mlx5_ib/ |
H A D | mlx5_ib_main.c | 795 props->hca_core_clock = MLX5_CAP_GEN(mdev, device_frequency_khz); in mlx5_ib_query_device()
|