Lines Matching defs:db_p
436 static void db_fm_init(db_ctrl_t *db_p);
437 static void db_fm_fini(db_ctrl_t *db_p);
3058 db_fm_init(db_ctrl_t *db_p)
3060 db_p->fm_cap = DDI_FM_EREPORT_CAPABLE | DDI_FM_ERRCB_CAPABLE |
3067 ddi_fm_init(db_p->dip, &db_p->fm_cap, &db_p->fm_ibc);
3068 ASSERT((db_p->fm_cap & DDI_FM_EREPORT_CAPABLE) &&
3069 (db_p->fm_cap & DDI_FM_ERRCB_CAPABLE));
3071 pci_ereport_setup(db_p->dip);
3076 ddi_fm_handler_register(db_p->dip, db_err_callback, NULL);
3083 db_fm_fini(db_ctrl_t *db_p)
3088 ddi_fm_handler_unregister(db_p->dip);
3089 pci_ereport_teardown(db_p->dip);
3090 ddi_fm_fini(db_p->dip);
3102 db_ctrl_t *db_p = (db_ctrl_t *)ddi_get_soft_state(db_state,
3104 *ibc = db_p->fm_ibc;
3105 return (db_p->fm_cap);