Lines Matching defs:dip

200 	dev_info_t *dip;
212 dev_info_t *dip;
304 ppb->dip = devi;
450 ppb_bus_map(dev_info_t *dip, dev_info_t *rdip, ddi_map_req_t *mp,
455 ddi_get_instance(dip));
457 if (strcmp(ddi_driver_name(ddi_get_parent(dip)), "npe") == 0 &&
463 hdlp->ahi_scan_dip = dip;
466 pdip = (dev_info_t *)DEVI(dip)->devi_parent;
473 ppb_ctlops(dev_info_t *dip, dev_info_t *rdip,
481 ddi_get_instance(dip));
513 if (!pcie_is_child(dip, rdip))
528 if (!pcie_is_child(dip, rdip))
544 if (strcmp(ddi_driver_name(ddi_get_parent(dip)), "npe") != 0)
545 return (ddi_ctlops(dip, rdip, ctlop, arg, result));
546 return (pci_peekpoke_check(dip, rdip, ctlop, arg, result,
551 return (ddi_ctlops(dip, rdip, ctlop, arg, result));
727 ppb_removechild(dev_info_t *dip)
733 ddi_get_instance(ddi_get_parent(dip)));
736 pcie_fini_dom(dip);
737 pcie_fini_cfghdl(dip);
738 } else if ((pdptr = ddi_get_parent_data(dip)) != NULL) {
740 ddi_set_parent_data(dip, NULL);
742 ddi_set_name_addr(dip, NULL);
747 ddi_remove_minor_node(dip, NULL);
749 impl_rem_dev_props(dip);
766 dev_info_t *dip;
769 for (i = 0, dip = ddi_get_child(ppb_p->dip); dip != NULL;
770 i++, dip = ddi_get_next_sibling(dip)) {
772 if (pci_config_setup(dip, &config_handle) != DDI_SUCCESS) {
774 ddi_driver_name(ppb_p->dip),
775 ddi_get_instance(ppb_p->dip),
776 ddi_driver_name(dip),
777 ddi_get_instance(dip));
781 ppb_p->config_state[i].dip = dip;
804 dev_info_t *dip;
808 dip = ppb_p->config_state[i].dip;
809 if (pci_config_setup(dip, &config_handle) != DDI_SUCCESS) {
811 ddi_driver_name(ppb_p->dip),
812 ddi_get_instance(ppb_p->dip),
813 ddi_driver_name(dip),
814 ddi_get_instance(dip));
942 rv = pcie_open(ppb_p->dip, devp, flags, otyp, credp);
967 rv = pcie_close(ppb_p->dip, dev, flags, otyp, credp);
995 return (pcie_ioctl(ppb_p->dip, dev, cmd, arg, mode, credp,
1003 ppb_prop_op(dev_t dev, dev_info_t *dip, ddi_prop_op_t prop_op, int flags,
1013 return (pcie_prop_op(dev, dip, prop_op, flags, name,
1016 return ((pcihp_get_cb_ops())->cb_prop_op(dev, dip, prop_op, flags,
1021 ppb_info(dev_info_t *dip, ddi_info_cmd_t cmd, void *arg, void **result)
1031 return (pcihp_info(dip, cmd, arg, result));
1044 *result = (void *)ppb_p->dip;
1049 void ppb_peekpoke_cb(dev_info_t *dip, ddi_fm_error_t *derr) {
1050 (void) pci_ereport_post(dip, derr, NULL);
1055 ppb_fm_init(dev_info_t *dip, dev_info_t *tdip, int cap,
1059 ddi_get_instance(dip));
1069 ppb_fm_callback(dev_info_t *dip, ddi_fm_error_t *derr, const void *no_used)
1072 ddi_get_instance(dip));
1075 pci_ereport_post(dip, derr, NULL);