/titanic_41/usr/src/uts/sun4u/opl/sys/pcicmu/ |
H A D | pcicmu.h | 159 ((pcmu_t *)ddi_get_soft_state(per_pcmu_state, (i))) 167 #define DEV_TO_SOFTSTATE(dev) ((pcmu_t *)ddi_get_soft_state(per_pcmu_state, \ 405 extern void pcmu_post_uninit_child(pcmu_t *); 408 extern void pcmu_add_upstream_kstat(pcmu_t *); 414 extern void pcmu_cb_setup(pcmu_t *); 415 extern void pcmu_cb_teardown(pcmu_t *); 416 extern int cb_register_intr(pcmu_t *); 417 extern void cb_enable_intr(pcmu_t *); 420 extern int cb_remove_xintr(pcmu_t *, dev_info_t *, dev_info_t *, 429 extern int pcmu_ecc_add_intr(pcmu_t *, int, pcmu_ecc_intr_info_t *); [all …]
|
H A D | pcmu_ecc.h | 51 pcmu_t *pecc_pcmu_p; 60 extern void pcmu_ecc_create(pcmu_t *pcmu_p); 61 extern int pcmu_ecc_register_intr(pcmu_t *pcmu_p); 62 extern void pcmu_ecc_destroy(pcmu_t *pcmu_p); 63 extern void pcmu_ecc_configure(pcmu_t *pcmu_p); 64 extern void pcmu_ecc_enable_intr(pcmu_t *pcmu_p);
|
H A D | pcmu_util.h | 39 extern int pcmu_init_child(pcmu_t *, dev_info_t *); 40 extern int pcmu_uninit_child(pcmu_t *, dev_info_t *); 42 extern int get_pcmu_properties(pcmu_t *, dev_info_t *); 43 extern void free_pcmu_properties(pcmu_t *); 45 extern int pcmu_reloc_reg(dev_info_t *, dev_info_t *, pcmu_t *, 47 extern int pcmu_xlate_reg(pcmu_t *, pci_regspec_t *, struct regspec *); 50 extern uint64_t pcmu_get_cfg_pabase(pcmu_t *);
|
H A D | pcmu_counters.h | 66 extern kstat_t *pcmu_create_cntr_kstat(pcmu_t *, char *, int, 70 extern void pcmu_kstat_create(pcmu_t *); 71 extern void pcmu_kstat_destroy(pcmu_t *); 72 extern void pcmu_rem_upstream_kstat(pcmu_t *);
|
H A D | pcmu_ib.h | 81 pcmu_t *pib_pcmu_p; /* link back to pci soft state */ 138 extern void pcmu_ib_create(pcmu_t *pcmu_p); 139 extern void pcmu_ib_destroy(pcmu_t *pcmu_p); 142 extern void pcmu_ib_intr_enable(pcmu_t *pcmu_p, pcmu_ib_ino_t ino); 153 extern int pcmu_ib_update_intr_state(pcmu_t *pcmu_p, dev_info_t *rdip, 155 extern void pcmu_ib_ino_add_intr(pcmu_t *pcmu_p, 157 extern int pcmu_ib_ino_rem_intr(pcmu_t *pcmu_p,
|
H A D | pcmu_cb.h | 48 pcmu_t *pcb_pcmu_p; 67 extern void pcmu_cb_create(pcmu_t *pcmu_p); 68 extern void pcmu_cb_destroy(pcmu_t *pcmu_p); 71 extern void pcmu_cb_enable_nintr(pcmu_t *pcmu_p, pcmu_cb_nintr_index_t idx);
|
H A D | pcmu_pbm.h | 64 pcmu_t *pcbm_pcmu_p; /* link back to the soft state */ 85 extern void pcmu_pbm_create(pcmu_t *pcmu_p); 86 extern void pcmu_pbm_destroy(pcmu_t *pcmu_p);
|
H A D | pcmu_err.h | 125 extern void pcmu_fm_create(pcmu_t *pcmu_p); 126 extern void pcmu_fm_destroy(pcmu_t *pcmu_p);
|
H A D | pcmu_types.h | 35 typedef struct pcicmu pcmu_t; typedef
|
/titanic_41/usr/src/uts/sun4u/opl/io/pcicmu/ |
H A D | pcicmu.c | 123 static int pcmu_ctlops_poke(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args); 124 static int pcmu_ctlops_peek(pcmu_t *pcmu_p, peekpoke_ctlops_t *in_args, 127 static int map_pcmu_registers(pcmu_t *, dev_info_t *); 128 static void unmap_pcmu_registers(pcmu_t *); 138 static uint32_t pcmu_identity_init(pcmu_t *pcmu_p); 139 static int pcmu_intr_setup(pcmu_t *pcmu_p); 140 static void pcmu_pbm_errstate_get(pcmu_t *pcmu_p, 142 static int pcmu_obj_setup(pcmu_t *pcmu_p); 143 static void pcmu_obj_destroy(pcmu_t *pcmu_p); 144 static void pcmu_obj_resume(pcmu_t *pcmu_p); [all …]
|
H A D | pcmu_pbm.c | 55 pcmu_pbm_create(pcmu_t *pcmu_p) in pcmu_pbm_create() 109 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; in pcmu_pbm_register_intr() 138 pcmu_pbm_destroy(pcmu_t *pcmu_p) in pcmu_pbm_destroy() 181 pcmu_t *pcmu_p = (pcmu_t *)a; in pcmu_pbm_error_intr() 229 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; in pcmu_pbm_suspend() 237 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; in pcmu_pbm_resume() 248 pcmu_t *pcmu_p = pcbm_p->pcbm_pcmu_p; in pcmu_pbm_intr_dist() 268 pcmu_t *pcmu_p = get_pcmu_soft_state(ddi_get_instance(dip)); in pcmu_pbm_afsr_report()
|
H A D | pcmu_ecc.c | 56 pcmu_ecc_create(pcmu_t *pcmu_p) in pcmu_ecc_create() 96 pcmu_ecc_register_intr(pcmu_t *pcmu_p) in pcmu_ecc_register_intr() 109 pcmu_ecc_destroy(pcmu_t *pcmu_p) in pcmu_ecc_destroy() 139 pcmu_ecc_configure(pcmu_t *pcmu_p) in pcmu_ecc_configure() 167 pcmu_ecc_enable_intr(pcmu_t *pcmu_p) in pcmu_ecc_enable_intr() 246 pcmu_t *pcmu_p = pecc_p->pecc_pcmu_p; in pcmu_ecc_intr() 318 pcmu_t *pcmu_p; in pcmu_ecc_check() 356 pcmu_t *pcmu_p; in pcmu_ecc_err_handler() 439 pcmu_t *pcmu_p = ecc_err->pecc_p->pecc_pcmu_p; in pcmu_ecc_err_drain() 453 pcmu_t *pcmu_p; in pcmu_ecc_ereport_post()
|
H A D | pcmu_counters.c | 41 pcmu_kstat_create(pcmu_t *pcmu_p) in pcmu_kstat_create() 47 pcmu_kstat_destroy(pcmu_t *pcmu_p) in pcmu_kstat_destroy() 141 kstat_t *pcmu_create_cntr_kstat(pcmu_t *pcmu_p, char *name, in pcmu_create_cntr_kstat() 246 pcmu_rem_upstream_kstat(pcmu_t *pcmu_p) in pcmu_rem_upstream_kstat()
|
H A D | pcmu_intr.c | 71 pcmu_t *pcmu_p = ino_p->pino_ib_p->pib_pcmu_p; in pcmu_spurintr() 132 pcmu_t *pcmu_p = ino_p->pino_ib_p->pib_pcmu_p; in pcmu_intr_wrapper() 172 pcmu_t *pcmu_p = get_pcmu_soft_state(ddi_get_instance(dip)); in pcmu_add_intr() 278 pcmu_t *pcmu_p = get_pcmu_soft_state(ddi_get_instance(dip)); in pcmu_remove_intr() 338 pcmu_intr_teardown(pcmu_t *pcmu_p) in pcmu_intr_teardown()
|
H A D | pcmu_util.c | 60 get_pcmu_properties(pcmu_t *pcmu_p, dev_info_t *dip) in get_pcmu_properties() 120 free_pcmu_properties(pcmu_t *pcmu_p) in free_pcmu_properties() 139 pcmu_reloc_reg(dev_info_t *dip, dev_info_t *rdip, pcmu_t *pcmu_p, in pcmu_reloc_reg() 188 pcmu_xlate_reg(pcmu_t *pcmu_p, pci_regspec_t *pcmu_rp, struct regspec *new_rp) in pcmu_xlate_reg() 332 pcmu_uninit_child(pcmu_t *pcmu_p, dev_info_t *child) in pcmu_uninit_child() 358 pcmu_init_child(pcmu_t *pcmu_p, dev_info_t *child) in pcmu_init_child() 493 pcmu_t *pcmu_p; in pcmu_cfg_report()
|
H A D | pcmu_ib.c | 46 pcmu_ib_create(pcmu_t *pcmu_p) in pcmu_ib_create() 95 pcmu_ib_destroy(pcmu_t *pcmu_p) in pcmu_ib_destroy() 122 pcmu_ib_intr_enable(pcmu_t *pcmu_p, pcmu_ib_ino_t ino) in pcmu_ib_intr_enable() 496 pcmu_ib_ino_add_intr(pcmu_t *pcmu_p, pcmu_ib_ino_info_t *ino_p, ih_t *ih_p) in pcmu_ib_ino_add_intr() 584 pcmu_ib_ino_rem_intr(pcmu_t *pcmu_p, pcmu_ib_ino_info_t *ino_p, ih_t *ih_p) in pcmu_ib_ino_rem_intr() 725 pcmu_ib_update_intr_state(pcmu_t *pcmu_p, dev_info_t *rdip, in pcmu_ib_update_intr_state()
|
H A D | pcmu_cb.c | 43 pcmu_cb_create(pcmu_t *pcmu_p) in pcmu_cb_create() 54 pcmu_cb_destroy(pcmu_t *pcmu_p) in pcmu_cb_destroy() 96 pcmu_cb_enable_nintr(pcmu_t *pcmu_p, pcmu_cb_nintr_index_t idx) in pcmu_cb_enable_nintr()
|