Home
last modified time | relevance | path

Searched refs:slot_p (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/uts/common/io/pciex/hotplug/
H A Dpcishpc.c78 static int pcishpc_slot_get_property(pcie_hp_slot_t *slot_p,
80 static int pcishpc_slot_set_property(pcie_hp_slot_t *slot_p,
85 static void pcishpc_attn_btn_handler(pcie_hp_slot_t *slot_p);
86 static void pcishpc_get_slot_state(pcie_hp_slot_t *slot_p);
87 static int pcishpc_set_slot_state(pcie_hp_slot_t *slot_p,
90 static int pcishpc_set_bus_speed(pcie_hp_slot_t *slot_p);
91 static int pcishpc_setled(pcie_hp_slot_t *slot_p, pcie_hp_led_t led,
104 static int pcishpc_upgrade_slot_state(pcie_hp_slot_t *slot_p,
106 static int pcishpc_downgrade_slot_state(pcie_hp_slot_t *slot_p,
108 static int pcishpc_change_slot_state(pcie_hp_slot_t *slot_p,
[all …]
H A Dpciehpc.c78 static int pciehpc_slot_get_property(pcie_hp_slot_t *slot_p,
80 static int pciehpc_slot_set_property(pcie_hp_slot_t *slot_p,
90 static int pciehpc_upgrade_slot_state(pcie_hp_slot_t *slot_p,
92 static int pciehpc_downgrade_slot_state(pcie_hp_slot_t *slot_p,
94 static int pciehpc_change_slot_state(pcie_hp_slot_t *slot_p,
97 pciehpc_slot_poweron(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result);
99 pciehpc_slot_poweroff(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result);
100 static int pciehpc_slot_probe(pcie_hp_slot_t *slot_p);
101 static int pciehpc_slot_unprobe(pcie_hp_slot_t *slot_p);
267 pcie_hp_slot_t *slot_p; in pciehpc_intr() local
[all …]
H A Dpcie_hp.c319 pcie_hp_probe(pcie_hp_slot_t *slot_p) in pcie_hp_probe() argument
321 pcie_hp_ctrl_t *ctrl_p = slot_p->hs_ctrl; in pcie_hp_probe()
328 if (pcicfg_configure(dip, slot_p->hs_device_num, PCICFG_ALL_FUNC, 0) in pcie_hp_probe()
333 slot_p->hs_condition = AP_COND_OK; in pcie_hp_probe()
335 slot_p->hs_minor), slot_p->hs_device_num); in pcie_hp_probe()
342 return (pcie_hp_register_ports_for_dev(dip, slot_p->hs_device_num)); in pcie_hp_probe()
352 pcie_hp_unprobe(pcie_hp_slot_t *slot_p) in pcie_hp_unprobe() argument
354 pcie_hp_ctrl_t *ctrl_p = slot_p->hs_ctrl; in pcie_hp_unprobe()
362 if (pcicfg_unconfigure(dip, slot_p->hs_device_num, PCICFG_ALL_FUNC, 0) in pcie_hp_unprobe()
367 slot_p->hs_condition = AP_COND_UNKNOWN; in pcie_hp_unprobe()
[all …]
/titanic_50/usr/src/uts/intel/io/pciex/hotplug/
H A Dpciehpc_acpi.c56 static int pciehpc_acpi_slot_poweron(pcie_hp_slot_t *slot_p,
58 static int pciehpc_acpi_slot_poweroff(pcie_hp_slot_t *slot_p,
229 pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0]; in pciehpc_acpi_slotinfo_init() local
236 slot_p->hs_device_num = 0; in pciehpc_acpi_slotinfo_init()
237 slot_p->hs_info.cn_type = DDI_HP_CN_TYPE_PCIE; in pciehpc_acpi_slotinfo_init()
238 slot_p->hs_info.cn_type_str = PCIE_ACPI_HP_TYPE; in pciehpc_acpi_slotinfo_init()
239 slot_p->hs_info.cn_child = NULL; in pciehpc_acpi_slotinfo_init()
241 slot_p->hs_minor = in pciehpc_acpi_slotinfo_init()
243 slot_p->hs_device_num); in pciehpc_acpi_slotinfo_init()
268 pciehpc_get_slot_state(slot_p); in pciehpc_acpi_slotinfo_init()
[all …]
/titanic_50/usr/src/uts/common/sys/hotplug/pci/
H A Dpcie_hp.h138 int (*poweron_hpc_slot)(pcie_hp_slot_t *slot_p,
143 int (*poweroff_hpc_slot)(pcie_hp_slot_t *slot_p,
301 extern int pcie_hp_probe(pcie_hp_slot_t *slot_p);
302 extern int pcie_hp_unprobe(pcie_hp_slot_t *slot_p);
H A Dpciehpc.h41 void pciehpc_get_slot_state(pcie_hp_slot_t *slot_p);