Home
last modified time | relevance | path

Searched refs:dd_from_dev (Results 1 – 14 of 14) sorted by relevance

/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_debugfs.c110 struct qib_devdata *dd = dd_from_dev(ibd); in _opcode_stats_seq_show()
132 struct qib_devdata *dd = dd_from_dev(ibd); in DEBUGFS_FILE()
144 struct qib_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_next()
166 struct qib_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_show()
249 snprintf(name, sizeof(name), "qib%d", dd_from_dev(ibd)->unit); in DEBUGFS_FILE()
Dqib_sysfs.c507 return sprintf(buf, "%x\n", dd_from_dev(dev)->minrev); in show_rev()
515 struct qib_devdata *dd = dd_from_dev(dev); in show_hca()
537 struct qib_devdata *dd = dd_from_dev(dev); in show_boardversion()
549 struct qib_devdata *dd = dd_from_dev(dev); in show_localbus_info()
561 struct qib_devdata *dd = dd_from_dev(dev); in show_nctxts()
576 struct qib_devdata *dd = dd_from_dev(dev); in show_nfreectxts()
587 struct qib_devdata *dd = dd_from_dev(dev); in show_serial()
601 struct qib_devdata *dd = dd_from_dev(dev); in store_chip_reset()
622 struct qib_devdata *dd = dd_from_dev(dev); in show_tempsense()
Dqib_qp.c604 if (attr->alt_pkey_index >= qib_get_npkeys(dd_from_dev(dev))) in qib_modify_qp()
609 if (attr->pkey_index >= qib_get_npkeys(dd_from_dev(dev))) in qib_modify_qp()
644 struct qib_devdata *dd = dd_from_dev(dev); in qib_modify_qp()
1109 dd = dd_from_dev(dev); in qib_create_qp()
Dqib_mad.c1185 struct qib_devdata *dd = dd_from_dev(dev); in pma_get_portsamplescontrol()
1223 struct qib_devdata *dd = dd_from_dev(dev); in pma_set_portsamplescontrol()
1352 struct qib_devdata *dd = dd_from_dev(dev); in pma_get_portsamplesresult()
1391 struct qib_devdata *dd = dd_from_dev(dev); in pma_get_portsamplesresult_ext()
2478 struct qib_devdata *dd = dd_from_dev(dev); in qib_create_agents()
2523 struct qib_devdata *dd = dd_from_dev(dev); in qib_free_agents()
Dqib.h1213 static inline struct qib_devdata *dd_from_dev(struct qib_ibdev *dev) in dd_from_dev() function
1220 return dd_from_dev(to_idev(ibdev)); in dd_from_ibdev()
Dqib_cq.c303 cq->dd = dd_from_dev(dev); in qib_create_cq()
Dqib_verbs.c1014 dma_unmap_single(&dd_from_dev(dev)->pcidev->dev, in qib_put_txreq()
1156 struct qib_devdata *dd = dd_from_dev(dev); in qib_verbs_send_dma()
1275 dd = dd_from_dev(dev); in no_bufs_available()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dsysfs.c451 return sprintf(buf, "%x\n", dd_from_dev(dev)->minrev); in show_rev()
459 struct hfi1_devdata *dd = dd_from_dev(dev); in show_hfi()
474 struct hfi1_devdata *dd = dd_from_dev(dev); in show_boardversion()
486 struct hfi1_devdata *dd = dd_from_dev(dev); in show_nctxts()
504 struct hfi1_devdata *dd = dd_from_dev(dev); in show_nfreectxts()
515 struct hfi1_devdata *dd = dd_from_dev(dev); in show_serial()
527 struct hfi1_devdata *dd = dd_from_dev(dev); in store_chip_reset()
556 struct hfi1_devdata *dd = dd_from_dev(dev); in show_tempsense()
Ddebugfs.c143 struct hfi1_devdata *dd = dd_from_dev(ibd); in _opcode_stats_seq_show()
167 struct hfi1_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_start()
179 struct hfi1_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_next()
201 struct hfi1_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_show()
294 dd = dd_from_dev(ibd); in _sdes_seq_start()
303 struct hfi1_devdata *dd = dd_from_dev(ibd); in _sdes_seq_next()
321 struct hfi1_devdata *dd = dd_from_dev(ibd); in _sdes_seq_show()
709 struct hfi1_devdata *dd = dd_from_dev(ibd); in hfi1_dbg_ibdev_init()
Dqp.c645 if (attr->alt_pkey_index >= hfi1_get_npkeys(dd_from_dev(dev))) in hfi1_modify_qp()
650 if (attr->pkey_index >= hfi1_get_npkeys(dd_from_dev(dev))) in hfi1_modify_qp()
687 dd = dd_from_dev(dev); in hfi1_modify_qp()
817 dd = dd_from_dev(dev); in hfi1_modify_qp()
1126 dd = dd_from_dev(dev); in hfi1_create_qp()
1464 struct hfi1_devdata *dd = dd_from_dev(dev); in hfi1_qp_init()
1500 struct hfi1_devdata *dd = dd_from_dev(dev); in hfi1_qp_exit()
1600 ppd = &dd_from_dev(dev)->pport[pidx]; in qp_iter_next()
Dcq.c316 cq->dd = dd_from_dev(dev); in hfi1_create_cq()
Dhfi.h1443 static inline struct hfi1_devdata *dd_from_dev(struct hfi1_ibdev *dev) in dd_from_dev() function
1450 return dd_from_dev(to_idev(ibdev)); in dd_from_ibdev()
Dverbs.c792 sdma_txclean(dd_from_dev(dev), &tx->txreq); in hfi1_put_txreq()
Dmad.c4204 struct hfi1_devdata *dd = dd_from_dev(dev); in hfi1_create_agents()
4240 struct hfi1_devdata *dd = dd_from_dev(dev); in hfi1_free_agents()