Lines Matching refs:ctrl_p
321 pcie_hp_ctrl_t *ctrl_p = slot_p->hs_ctrl;
322 dev_info_t *dip = ctrl_p->hc_dip;
354 pcie_hp_ctrl_t *ctrl_p = slot_p->hs_ctrl;
355 dev_info_t *dip = ctrl_p->hc_dip;
471 pcie_hp_ctrl_t *ctrl_p = (pcie_hp_ctrl_t *)bus_p->bus_hp_ctrl;
480 slotp = (ctrl_p && (pci_dev == 0)) ?
481 ctrl_p->hc_slots[pci_dev] : NULL;
483 if (ctrl_p) {
486 slot_num = (ctrl_p->hc_device_increases) ?
487 (pci_dev - ctrl_p->hc_device_start) :
488 (pci_dev + ctrl_p->hc_device_start);
490 slotp = ctrl_p->hc_slots[slot_num];
543 pcie_create_minor_node(pcie_hp_ctrl_t *ctrl_p, int slot)
545 dev_info_t *dip = ctrl_p->hc_dip;
546 pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[slot];
566 pcie_remove_minor_node(pcie_hp_ctrl_t *ctrl_p, int slot)
568 ddi_remove_minor_node(ctrl_p->hc_dip,
569 ctrl_p->hc_slots[slot]->hs_info.cn_name);