• Home
  • Raw
  • Download

Lines Matching refs:binfo

1215 	struct hfi1_base_info binfo;  in get_base_info()  local
1222 if (sizeof(binfo) != len) in get_base_info()
1225 memset(&binfo, 0, sizeof(binfo)); in get_base_info()
1226 binfo.hw_version = dd->revision; in get_base_info()
1227 binfo.sw_version = HFI1_KERN_SWVERSION; in get_base_info()
1228 binfo.bthqp = RVT_KDETH_QP_PREFIX; in get_base_info()
1229 binfo.jkey = uctxt->jkey; in get_base_info()
1238 binfo.sc_credits_addr = HFI1_MMAP_TOKEN(PIO_CRED, uctxt->ctxt, in get_base_info()
1240 binfo.pio_bufbase = HFI1_MMAP_TOKEN(PIO_BUFS, uctxt->ctxt, in get_base_info()
1243 binfo.pio_bufbase_sop = HFI1_MMAP_TOKEN(PIO_BUFS_SOP, in get_base_info()
1247 binfo.rcvhdr_bufbase = HFI1_MMAP_TOKEN(RCV_HDRQ, uctxt->ctxt, in get_base_info()
1250 binfo.rcvegr_bufbase = HFI1_MMAP_TOKEN(RCV_EGRBUF, uctxt->ctxt, in get_base_info()
1253 binfo.sdma_comp_bufbase = HFI1_MMAP_TOKEN(SDMA_COMP, uctxt->ctxt, in get_base_info()
1259 binfo.user_regbase = HFI1_MMAP_TOKEN(UREGS, uctxt->ctxt, in get_base_info()
1263 binfo.events_bufbase = HFI1_MMAP_TOKEN(EVENTS, uctxt->ctxt, in get_base_info()
1266 binfo.status_bufbase = HFI1_MMAP_TOKEN(STATUS, uctxt->ctxt, in get_base_info()
1270 binfo.rcvhdrtail_base = HFI1_MMAP_TOKEN(RTAIL, uctxt->ctxt, in get_base_info()
1273 binfo.subctxt_uregbase = HFI1_MMAP_TOKEN(SUBCTXT_UREGS, in get_base_info()
1276 binfo.subctxt_rcvhdrbuf = HFI1_MMAP_TOKEN(SUBCTXT_RCV_HDRQ, in get_base_info()
1279 binfo.subctxt_rcvegrbuf = HFI1_MMAP_TOKEN(SUBCTXT_EGRBUF, in get_base_info()
1284 if (copy_to_user((void __user *)arg, &binfo, len)) in get_base_info()