Searched refs:uhw (Results 1 – 13 of 13) sorted by relevance
/Linux-v6.1/drivers/infiniband/sw/rdmavt/ |
D | vt.c | 79 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/ |
D | usnic_ib_verbs.h | 43 struct ib_udata *uhw);
|
D | usnic_ib_verbs.c | 279 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/ |
D | ocrdma_verbs.h | 55 struct ib_udata *uhw);
|
D | ocrdma_verbs.c | 68 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/ |
D | pvrdma_verbs.c | 67 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/ |
D | provider.c | 257 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/ |
D | main.c | 432 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/ |
D | rxe_verbs.c | 17 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/ |
D | mthca_provider.c | 54 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/ |
D | main.c | 800 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/ |
D | hns_roce_main.c | 165 struct ib_udata *uhw) in hns_roce_query_device() argument
|
/Linux-v6.1/drivers/infiniband/core/ |
D | device.c | 1239 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()
|