Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/infiniband/sw/rdmavt/
Dvt.c79 struct ib_udata *uhw) in rvt_query_device() argument
83 if (uhw->inlen || uhw->outlen) in rvt_query_device()
/Linux-v6.1/drivers/infiniband/hw/usnic/
Dusnic_ib_verbs.h43 struct ib_udata *uhw);
Dusnic_ib_verbs.c279 struct ib_udata *uhw) in usnic_ib_query_device() argument
287 if (uhw->inlen || uhw->outlen) in usnic_ib_query_device()
/Linux-v6.1/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.h55 struct ib_udata *uhw);
Docrdma_verbs.c68 struct ib_udata *uhw) in ocrdma_query_device() argument
72 if (uhw->inlen || uhw->outlen) in ocrdma_query_device()
/Linux-v6.1/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()
/Linux-v6.1/drivers/infiniband/hw/cxgb4/
Dprovider.c257 struct ib_udata *uhw) in c4iw_query_device() argument
264 if (uhw->inlen || uhw->outlen) in c4iw_query_device()
/Linux-v6.1/drivers/infiniband/hw/mlx4/
Dmain.c432 struct ib_udata *uhw) in mlx4_ib_query_device() argument
443 if (uhw->inlen) { in mlx4_ib_query_device()
444 if (uhw->inlen < sizeof(cmd)) in mlx4_ib_query_device()
447 err = ib_copy_from_udata(&cmd, uhw, sizeof(cmd)); in mlx4_ib_query_device()
576 if (uhw->outlen >= resp.response_length + sizeof(resp.hca_core_clock_offset)) { in mlx4_ib_query_device()
584 if (uhw->outlen >= resp.response_length + in mlx4_ib_query_device()
591 if (offsetofend(typeof(resp), rss_caps) <= uhw->outlen) { in mlx4_ib_query_device()
615 if (offsetofend(typeof(resp), tso_caps) <= uhw->outlen) { in mlx4_ib_query_device()
629 if (uhw->outlen) { in mlx4_ib_query_device()
630 err = ib_copy_to_udata(uhw, &resp, resp.response_length); in mlx4_ib_query_device()
/Linux-v6.1/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()
/Linux-v6.1/drivers/infiniband/hw/mthca/
Dmthca_provider.c54 struct ib_udata *uhw) in mthca_query_device() argument
61 if (uhw->inlen || uhw->outlen) in mthca_query_device()
/Linux-v6.1/drivers/infiniband/hw/mlx5/
Dmain.c800 struct ib_udata *uhw) in mlx5_ib_query_device() argument
802 size_t uhw_outlen = (uhw) ? uhw->outlen : 0; in mlx5_ib_query_device()
821 if (uhw && uhw->inlen && !ib_is_udata_cleared(uhw, 0, uhw->inlen)) in mlx5_ib_query_device()
997 if (!uhw) { in mlx5_ib_query_device()
1190 err = ib_copy_to_udata(uhw, &resp, resp.response_length); in mlx5_ib_query_device()
/Linux-v6.1/drivers/infiniband/hw/hns/
Dhns_roce_main.c165 struct ib_udata *uhw) in hns_roce_query_device() argument
/Linux-v6.1/drivers/infiniband/core/
Ddevice.c1239 struct ib_udata uhw = {.outlen = 0, .inlen = 0}; in setup_device() local
1251 ret = device->ops.query_device(device, &device->attrs, &uhw); in setup_device()