Lines Matching refs:ibd
95 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _opcode_stats_seq_show() local
96 struct hfi1_devdata *dd = dd_from_dev(ibd); in _opcode_stats_seq_show()
134 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _tx_opcode_stats_seq_show() local
135 struct hfi1_devdata *dd = dd_from_dev(ibd); in _tx_opcode_stats_seq_show()
152 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _ctx_stats_seq_start() local
153 struct hfi1_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_start()
164 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _ctx_stats_seq_next() local
165 struct hfi1_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_next()
186 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _ctx_stats_seq_show() local
187 struct hfi1_devdata *dd = dd_from_dev(ibd); in _ctx_stats_seq_show()
282 struct hfi1_ibdev *ibd; in _sdes_seq_start() local
285 ibd = (struct hfi1_ibdev *)s->private; in _sdes_seq_start()
286 dd = dd_from_dev(ibd); in _sdes_seq_start()
294 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _sdes_seq_next() local
295 struct hfi1_devdata *dd = dd_from_dev(ibd); in _sdes_seq_next()
309 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _sdes_seq_show() local
310 struct hfi1_devdata *dd = dd_from_dev(ibd); in _sdes_seq_show()
324 struct hfi1_ibdev *ibd; in _rcds_seq_start() local
327 ibd = (struct hfi1_ibdev *)s->private; in _rcds_seq_start()
328 dd = dd_from_dev(ibd); in _rcds_seq_start()
336 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _rcds_seq_next() local
337 struct hfi1_devdata *dd = dd_from_dev(ibd); in _rcds_seq_next()
351 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _rcds_seq_show() local
352 struct hfi1_devdata *dd = dd_from_dev(ibd); in _rcds_seq_show()
370 struct hfi1_ibdev *ibd; in _pios_seq_start() local
373 ibd = (struct hfi1_ibdev *)s->private; in _pios_seq_start()
374 dd = dd_from_dev(ibd); in _pios_seq_start()
382 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _pios_seq_next() local
383 struct hfi1_devdata *dd = dd_from_dev(ibd); in _pios_seq_next()
397 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _pios_seq_show() local
398 struct hfi1_devdata *dd = dd_from_dev(ibd); in _pios_seq_show()
1167 struct hfi1_ibdev *ibd = (struct hfi1_ibdev *)s->private; in _sdma_cpu_list_seq_show() local
1168 struct hfi1_devdata *dd = dd_from_dev(ibd); in _sdma_cpu_list_seq_show()
1180 void hfi1_dbg_ibdev_init(struct hfi1_ibdev *ibd) in hfi1_dbg_ibdev_init() argument
1184 struct hfi1_devdata *dd = dd_from_dev(ibd); in hfi1_dbg_ibdev_init()
1195 ibd->hfi1_ibdev_dbg = root; in hfi1_dbg_ibdev_init()
1197 ibd->hfi1_ibdev_link = in hfi1_dbg_ibdev_init()
1200 debugfs_create_file("opcode_stats", 0444, root, ibd, in hfi1_dbg_ibdev_init()
1202 debugfs_create_file("tx_opcode_stats", 0444, root, ibd, in hfi1_dbg_ibdev_init()
1204 debugfs_create_file("ctx_stats", 0444, root, ibd, &_ctx_stats_file_ops); in hfi1_dbg_ibdev_init()
1205 debugfs_create_file("qp_stats", 0444, root, ibd, &_qp_stats_file_ops); in hfi1_dbg_ibdev_init()
1206 debugfs_create_file("sdes", 0444, root, ibd, &_sdes_file_ops); in hfi1_dbg_ibdev_init()
1207 debugfs_create_file("rcds", 0444, root, ibd, &_rcds_file_ops); in hfi1_dbg_ibdev_init()
1208 debugfs_create_file("pios", 0444, root, ibd, &_pios_file_ops); in hfi1_dbg_ibdev_init()
1209 debugfs_create_file("sdma_cpu_list", 0444, root, ibd, in hfi1_dbg_ibdev_init()
1231 hfi1_fault_init_debugfs(ibd); in hfi1_dbg_ibdev_init()
1234 void hfi1_dbg_ibdev_exit(struct hfi1_ibdev *ibd) in hfi1_dbg_ibdev_exit() argument
1238 hfi1_fault_exit_debugfs(ibd); in hfi1_dbg_ibdev_exit()
1239 debugfs_remove(ibd->hfi1_ibdev_link); in hfi1_dbg_ibdev_exit()
1240 debugfs_remove_recursive(ibd->hfi1_ibdev_dbg); in hfi1_dbg_ibdev_exit()
1242 ibd->hfi1_ibdev_dbg = NULL; in hfi1_dbg_ibdev_exit()