Searched refs:pci_t (Results 1 - 25 of 37) sorted by relevance

12

/opensolaris-onvv-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_util.h36 extern int init_child(pci_t *pci_p, dev_info_t *child);
37 extern int uninit_child(pci_t *pci_p, dev_info_t *child);
39 extern int get_pci_properties(pci_t *pci_p, dev_info_t *dip);
40 extern void free_pci_properties(pci_t *pci_p);
41 extern void unmap_pci_registers(pci_t *pci_p);
42 extern void fault_init(pci_t *pci_p);
43 extern void fault_fini(pci_t *pci_p);
48 extern int pci_reloc_reg(dev_info_t *dip, dev_info_t *rdip, pci_t *pci_p,
50 extern int pci_xlate_reg(pci_t *pci_p, pci_regspec_t *pci_rp,
56 extern uint64_t pci_get_cfg_pabase(pci_t *pci_
[all...]
H A Dpci_chip.h35 extern void pci_post_init_child(pci_t *pci_p, dev_info_t *child);
36 extern void pci_post_uninit_child(pci_t *pci_p);
38 extern int pci_obj_setup(pci_t *pci_p);
39 extern void pci_obj_destroy(pci_t *pci_p);
40 extern void pci_obj_resume(pci_t *pci_p);
41 extern void pci_obj_suspend(pci_t *pci_p);
46 extern void pci_add_pci_kstat(pci_t *pci_p);
47 extern void pci_rem_pci_kstat(pci_t *pci_p);
49 extern void pci_add_upstream_kstat(pci_t *pci_p);
52 extern int map_pci_registers(pci_t *pci_
[all...]
H A Dpci_counters.h65 extern kstat_t *pci_create_cntr_kstat(pci_t *, char *, int,
71 extern void pci_kstat_create(pci_t *);
72 extern void pci_kstat_destroy(pci_t *);
73 extern void pci_rem_upstream_kstat(pci_t *);
H A Dpci_fdvma.h38 extern int pci_fdvma_reserve(dev_info_t *dip, dev_info_t *rdip, pci_t *pci_p,
40 extern int pci_fdvma_release(dev_info_t *dip, pci_t *pci_p, ddi_dma_impl_t *mp);
H A Dpci_ecc.h74 extern void ecc_create(pci_t *pci_p);
75 extern int ecc_register_intr(pci_t *pci_p);
76 extern void ecc_destroy(pci_t *pci_p);
77 extern void ecc_configure(pci_t *pci_p);
78 extern void ecc_enable_intr(pci_t *pci_p);
H A Dpci_sc.h44 pci_t *sc_pci_p; /* link back to pci soft state */
82 extern void sc_create(pci_t *pci_p);
83 extern void sc_destroy(pci_t *pci_p);
H A Dpci_reloc.h49 extern void pci_dvma_unregister_callbacks(pci_t *, ddi_dma_impl_t *);
53 extern void pci_fdvma_unregister_callbacks(pci_t *, fdvma_t *,
H A Dpci_intr.h39 extern void pci_intr_teardown(pci_t *pci_p);
H A Dpci_cb.h91 extern void cb_create(pci_t *pci_p);
92 extern void cb_destroy(pci_t *pci_p);
95 extern void cb_enable_nintr(pci_t *pci_p, enum cb_nintr_index idx);
H A Dpci_pbm.h79 pci_t *pbm_pci_p; /* link back to pci soft state */
172 extern void pbm_create(pci_t *pci_p);
173 extern void pbm_destroy(pci_t *pci_p);
H A Dpci_types.h42 typedef struct pci pci_t; typedef in typeref:struct:pci
H A Dpci_ib.h52 pci_t *ib_pci_p; /* link back to pci soft state */
195 extern void ib_create(pci_t *pci_p);
196 extern void ib_destroy(pci_t *pci_p);
199 extern void ib_intr_enable(pci_t *pci_p, ib_ino_t ino);
211 extern void ib_ino_add_intr(pci_t *pci_p, ib_ino_pil_t *ipil_p, ih_t *ih_p);
212 extern void ib_ino_rem_intr(pci_t *pci_p, ib_ino_pil_t *ipil_p, ih_t *ih_p);
230 extern int ib_update_intr_state(pci_t *pci_p, dev_info_t *rdip,
232 extern int ib_get_intr_target(pci_t *pci_p, ib_ino_t ino, int *cpu_id_p);
233 extern int ib_set_intr_target(pci_t *pci_p, ib_ino_t ino, int cpu_id);
H A Dpci_iommu.h127 pci_t *iommu_pci_p; /* link back to pci soft state */
249 extern void iommu_create(pci_t *pci_p);
250 extern void iommu_destroy(pci_t *pci_p);
254 extern int pci_alloc_tsb(pci_t *pci_p);
255 extern void pci_free_tsb(pci_t *pci_p);
H A Dpci_var.h98 pci_t *pci_p[2]; /* pci soft states of both sides */
187 ((pci_t *)ddi_get_soft_state(per_pci_state, (i)))
204 #define DEV_TO_SOFTSTATE(dev) ((pci_t *)ddi_get_soft_state(per_pci_state, \
H A Dpci_fm.h210 extern void pci_fm_create(pci_t *pci_p);
211 extern void pci_fm_destroy(pci_t *pci_p);
/opensolaris-onvv-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_fm.c139 pci_t *pci_p = get_pci_soft_state(ddi_get_instance(dip));
153 pci_t *pci_p = get_pci_soft_state(ddi_get_instance(dip));
169 pci_t *pci_p = get_pci_soft_state(ddi_get_instance(dip));
200 pci_t *pci_p = (pci_t *)impl_data;
249 pci_fm_create(pci_t *pci_p)
312 pci_fm_destroy(pci_t *pci_p)
H A Dpci_pbm.c56 pbm_create(pci_t *pci_p)
150 pci_t *pci_p = pbm_p->pbm_pci_p;
180 pbm_destroy(pci_t *pci_p)
222 pci_t *pci_p = (pci_t *)a;
280 pci_t *pci_p = pbm_p->pbm_pci_p;
290 pci_t *pci_p = pbm_p->pbm_pci_p;
303 pci_t *pci_p = pbm_p->pbm_pci_p;
323 pci_t *pci_p = get_pci_soft_state(ddi_get_instance(dip));
H A Dpcipsy.c62 static uint32_t pci_identity_init(pci_t *pci_p);
63 static int pci_intr_setup(pci_t *pci_p);
64 static void pci_pbm_errstate_get(pci_t *pci_p, pbm_errstate_t *pbm_err_p);
71 pci_obj_setup(pci_t *pci_p)
153 pci_obj_destroy(pci_t *pci_p)
187 pci_obj_resume(pci_t *pci_p)
214 pci_obj_suspend(pci_t *pci_p)
229 pci_intr_setup(pci_t *pci_p)
317 map_pci_registers(pci_t *pci_p, dev_info_t *dip)
377 unmap_pci_registers(pci_t *pci_
[all...]
H A Dpci_fdvma.c54 pci_t *pci_p = (pci_t *)fdvma_p->softsp;
132 pci_t *pci_p = (pci_t *)fdvma_p->softsp;
167 pci_t *pci_p = (pci_t *)fdvma_p->softsp;
178 pci_fdvma_reserve(dev_info_t *dip, dev_info_t *rdip, pci_t *pci_p,
271 pci_fdvma_release(dev_info_t *dip, pci_t *pci_p, ddi_dma_impl_t *mp)
H A Dpci.c62 static int pci_ctlops_poke(pci_t *pci_p, peekpoke_ctlops_t *in_args);
63 static int pci_ctlops_peek(pci_t *pci_p, peekpoke_ctlops_t *in_args,
156 e = ddi_soft_state_init(&per_pci_state, sizeof (pci_t), 1);
248 pci_t *pci_p = get_pci_soft_state(instance);
279 pci_t *pci_p; /* per bus state pointer */
405 pci_t *pci_p = get_pci_soft_state(instance);
484 pci_t *pci_p = get_pci_soft_state(ddi_get_instance(dip));
572 pci_t *pci_p = get_pci_soft_state(ddi_get_instance(dip));
638 pci_t *pci_p = get_pci_soft_state(ddi_get_instance(dip));
696 pci_t *pci_
[all...]
H A Dpci_sc.c46 sc_create(pci_t *pci_p)
112 sc_destroy(pci_t *pci_p)
H A Dpci_tools.c101 static int pcitool_phys_peek(pci_t *pci_p, boolean_t type, size_t size,
103 static int pcitool_phys_poke(pci_t *pci_p, boolean_t type, size_t size,
105 static int pcitool_access(pci_t *pci_p, uint64_t phys_addr, uint64_t max_addr,
109 static int pcitool_get_bar(pci_t *pci_p, pcitool_reg_t *prg,
112 static int pcitool_config_request(pci_t *pci_p, pcitool_reg_t *prg,
115 static int pcitool_get_intr(dev_info_t *dip, void *arg, int mode, pci_t *pci_p);
116 static int pcitool_set_intr(dev_info_t *dip, void *arg, int mode, pci_t *pci_p);
130 pcitool_phys_peek(pci_t *pci_p, boolean_t type, size_t size,
192 pcitool_phys_poke(pci_t *pci_p, boolean_t type, size_t size,
290 pcitool_get_intr(dev_info_t *dip, void *arg, int mode, pci_t *pci_
[all...]
H A Dpci_counters.c44 pci_kstat_create(pci_t *pci_p)
55 pci_kstat_destroy(pci_t *pci_p)
157 kstat_t *pci_create_cntr_kstat(pci_t *pci_p, char *name,
270 pci_rem_upstream_kstat(pci_t *pci_p)
H A Dpcisch.c67 static uint32_t pci_identity_init(pci_t *);
70 static void pci_clear_error(pci_t *, pbm_errstate_t *);
71 static uint32_t pci_identity_init(pci_t *pci_p);
72 static int pci_intr_setup(pci_t *pci_p);
78 static void pci_pbm_errstate_get(pci_t *pci_p, pbm_errstate_t *pbm_err_p);
91 pci_obj_setup(pci_t *pci_p)
168 pci_obj_destroy(pci_t *pci_p)
205 pci_obj_resume(pci_t *pci_p)
233 pci_obj_suspend(pci_t *pci_p)
252 pci_intr_setup(pci_t *pci_
[all...]
H A Dpci_ecc.c61 ecc_create(pci_t *pci_p)
105 ecc_register_intr(pci_t *pci_p)
124 ecc_destroy(pci_t *pci_p)
156 ecc_configure(pci_t *pci_p)
185 ecc_enable_intr(pci_t *pci_p)
383 pci_t *pci_p;
411 pci_t *pci_p;
569 pci_t *pci_p = ecc_err->ecc_p->ecc_pci_cmn_p->pci_p[0];

Completed in 140 milliseconds

12