Lines Matching refs:binfo

1248 	struct hfi1_base_info binfo;  in get_base_info()  local
1255 if (sizeof(binfo) != len) in get_base_info()
1258 memset(&binfo, 0, sizeof(binfo)); in get_base_info()
1259 binfo.hw_version = dd->revision; in get_base_info()
1260 binfo.sw_version = HFI1_USER_SWVERSION; in get_base_info()
1261 binfo.bthqp = RVT_KDETH_QP_PREFIX; in get_base_info()
1262 binfo.jkey = uctxt->jkey; in get_base_info()
1271 binfo.sc_credits_addr = HFI1_MMAP_TOKEN(PIO_CRED, uctxt->ctxt, in get_base_info()
1273 binfo.pio_bufbase = HFI1_MMAP_TOKEN(PIO_BUFS, uctxt->ctxt, in get_base_info()
1276 binfo.pio_bufbase_sop = HFI1_MMAP_TOKEN(PIO_BUFS_SOP, in get_base_info()
1280 binfo.rcvhdr_bufbase = HFI1_MMAP_TOKEN(RCV_HDRQ, uctxt->ctxt, in get_base_info()
1283 binfo.rcvegr_bufbase = HFI1_MMAP_TOKEN(RCV_EGRBUF, uctxt->ctxt, in get_base_info()
1286 binfo.sdma_comp_bufbase = HFI1_MMAP_TOKEN(SDMA_COMP, uctxt->ctxt, in get_base_info()
1292 binfo.user_regbase = HFI1_MMAP_TOKEN(UREGS, uctxt->ctxt, in get_base_info()
1296 binfo.events_bufbase = HFI1_MMAP_TOKEN(EVENTS, uctxt->ctxt, in get_base_info()
1299 binfo.status_bufbase = HFI1_MMAP_TOKEN(STATUS, uctxt->ctxt, in get_base_info()
1303 binfo.rcvhdrtail_base = HFI1_MMAP_TOKEN(RTAIL, uctxt->ctxt, in get_base_info()
1306 binfo.subctxt_uregbase = HFI1_MMAP_TOKEN(SUBCTXT_UREGS, in get_base_info()
1309 binfo.subctxt_rcvhdrbuf = HFI1_MMAP_TOKEN(SUBCTXT_RCV_HDRQ, in get_base_info()
1312 binfo.subctxt_rcvegrbuf = HFI1_MMAP_TOKEN(SUBCTXT_EGRBUF, in get_base_info()
1317 if (copy_to_user((void __user *)arg, &binfo, len)) in get_base_info()