Home
last modified time | relevance | path

Searched refs:uhw (Results 1 – 13 of 13) sorted by relevance

/drivers/infiniband/sw/rdmavt/
Dvt.c121 struct ib_udata *uhw) in rvt_query_device() argument
125 if (uhw->inlen || uhw->outlen) in rvt_query_device()
/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h43 struct ib_udata *uhw);
Dusnic_ib_verbs.c280 struct ib_udata *uhw) in usnic_ib_query_device() argument
288 if (uhw->inlen || uhw->outlen) in usnic_ib_query_device()
/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.c67 struct ib_udata *uhw) in pvrdma_query_device() argument
71 if (uhw->inlen || uhw->outlen) in pvrdma_query_device()
/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.h55 struct ib_udata *uhw);
Docrdma_verbs.c67 struct ib_udata *uhw) in ocrdma_query_device() argument
71 if (uhw->inlen || uhw->outlen) in ocrdma_query_device()
/drivers/infiniband/hw/cxgb4/
Dprovider.c256 struct ib_udata *uhw) in c4iw_query_device() argument
263 if (uhw->inlen || uhw->outlen) in c4iw_query_device()
/drivers/infiniband/hw/mlx4/
Dmain.c439 struct ib_udata *uhw) in mlx4_ib_query_device() argument
450 if (uhw->inlen) { in mlx4_ib_query_device()
451 if (uhw->inlen < sizeof(cmd)) in mlx4_ib_query_device()
454 err = ib_copy_from_udata(&cmd, uhw, sizeof(cmd)); in mlx4_ib_query_device()
583 if (uhw->outlen >= resp.response_length + sizeof(resp.hca_core_clock_offset)) { in mlx4_ib_query_device()
591 if (uhw->outlen >= resp.response_length + in mlx4_ib_query_device()
598 if (offsetofend(typeof(resp), rss_caps) <= uhw->outlen) { in mlx4_ib_query_device()
622 if (offsetofend(typeof(resp), tso_caps) <= uhw->outlen) { in mlx4_ib_query_device()
636 if (uhw->outlen) { in mlx4_ib_query_device()
637 err = ib_copy_to_udata(uhw, &resp, resp.response_length); in mlx4_ib_query_device()
/drivers/infiniband/sw/rxe/
Drxe_verbs.c17 struct ib_udata *uhw) in rxe_query_device() argument
21 if (uhw->inlen || uhw->outlen) in rxe_query_device()
/drivers/infiniband/hw/mthca/
Dmthca_provider.c62 struct ib_udata *uhw) in mthca_query_device() argument
69 if (uhw->inlen || uhw->outlen) in mthca_query_device()
/drivers/infiniband/hw/mlx5/
Dmain.c798 struct ib_udata *uhw) in mlx5_ib_query_device() argument
800 size_t uhw_outlen = (uhw) ? uhw->outlen : 0; in mlx5_ib_query_device()
819 if (uhw && uhw->inlen && !ib_is_udata_cleared(uhw, 0, uhw->inlen)) in mlx5_ib_query_device()
1001 if (!uhw) { in mlx5_ib_query_device()
1187 err = ib_copy_to_udata(uhw, &resp, resp.response_length); in mlx5_ib_query_device()
/drivers/infiniband/hw/hns/
Dhns_roce_main.c182 struct ib_udata *uhw) in hns_roce_query_device() argument
/drivers/infiniband/core/
Ddevice.c1198 struct ib_udata uhw = {.outlen = 0, .inlen = 0}; in setup_device() local
1210 ret = device->ops.query_device(device, &device->attrs, &uhw); in setup_device()