Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/pciex/hotplug/
H A Dpcishpc.c79 static int pcishpc_slot_get_property(pcie_hp_slot_t *slot_p,
81 static int pcishpc_slot_set_property(pcie_hp_slot_t *slot_p,
86 static void pcishpc_attn_btn_handler(pcie_hp_slot_t *slot_p);
87 static void pcishpc_get_slot_state(pcie_hp_slot_t *slot_p);
88 static int pcishpc_set_slot_state(pcie_hp_slot_t *slot_p,
91 static int pcishpc_set_bus_speed(pcie_hp_slot_t *slot_p);
92 static int pcishpc_setled(pcie_hp_slot_t *slot_p, pcie_hp_led_t led,
105 static int pcishpc_upgrade_slot_state(pcie_hp_slot_t *slot_p,
107 static int pcishpc_downgrade_slot_state(pcie_hp_slot_t *slot_p,
109 static int pcishpc_change_slot_state(pcie_hp_slot_t *slot_p,
[all …]
H A Dpciehpc.c464 static int pciehpc_slot_get_property(pcie_hp_slot_t *slot_p,
466 static int pciehpc_slot_set_property(pcie_hp_slot_t *slot_p,
472 static int pciehpc_upgrade_slot_state(pcie_hp_slot_t *slot_p,
474 static int pciehpc_downgrade_slot_state(pcie_hp_slot_t *slot_p,
476 static int pciehpc_change_slot_state(pcie_hp_slot_t *slot_p,
479 pciehpc_slot_poweron(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result);
481 pciehpc_slot_poweroff(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result);
482 static int pciehpc_slot_probe(pcie_hp_slot_t *slot_p);
483 static int pciehpc_slot_unprobe(pcie_hp_slot_t *slot_p);
710 pcie_hp_slot_t *slot_p; in pciehpc_intr() local
[all …]
H A Dpcie_hp.c322 pcie_hp_probe(pcie_hp_slot_t *slot_p) in pcie_hp_probe() argument
324 pcie_hp_ctrl_t *ctrl_p = slot_p->hs_ctrl; in pcie_hp_probe()
331 if (pcicfg_configure(dip, slot_p->hs_device_num, PCICFG_ALL_FUNC, 0) in pcie_hp_probe()
336 slot_p->hs_condition = AP_COND_OK; in pcie_hp_probe()
338 slot_p->hs_minor), slot_p->hs_device_num); in pcie_hp_probe()
345 return (pcie_hp_register_ports_for_dev(dip, slot_p->hs_device_num)); in pcie_hp_probe()
355 pcie_hp_unprobe(pcie_hp_slot_t *slot_p) in pcie_hp_unprobe() argument
357 pcie_hp_ctrl_t *ctrl_p = slot_p->hs_ctrl; in pcie_hp_unprobe()
365 if (pcicfg_unconfigure(dip, slot_p->hs_device_num, PCICFG_ALL_FUNC, 0) in pcie_hp_unprobe()
370 slot_p->hs_condition = AP_COND_UNKNOWN; in pcie_hp_unprobe()
[all …]
/illumos-gate/usr/src/uts/intel/io/pciex/hotplug/
H A Dpciehpc_acpi.c59 static int pciehpc_acpi_slot_poweron(pcie_hp_slot_t *slot_p,
61 static int pciehpc_acpi_slot_poweroff(pcie_hp_slot_t *slot_p,
232 pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0]; in pciehpc_acpi_slotinfo_init() local
239 slot_p->hs_device_num = 0; in pciehpc_acpi_slotinfo_init()
240 slot_p->hs_info.cn_type = DDI_HP_CN_TYPE_PCIE; in pciehpc_acpi_slotinfo_init()
241 slot_p->hs_info.cn_type_str = PCIE_ACPI_HP_TYPE; in pciehpc_acpi_slotinfo_init()
242 slot_p->hs_info.cn_child = NULL; in pciehpc_acpi_slotinfo_init()
244 slot_p->hs_minor = in pciehpc_acpi_slotinfo_init()
246 slot_p->hs_device_num); in pciehpc_acpi_slotinfo_init()
270 pciehpc_led_init(slot_p); in pciehpc_acpi_slotinfo_init()
[all …]
/illumos-gate/usr/src/uts/common/sys/hotplug/pci/
H A Dpcie_hp.h142 int (*poweron_hpc_slot)(pcie_hp_slot_t *slot_p,
147 int (*poweroff_hpc_slot)(pcie_hp_slot_t *slot_p,
429 extern int pcie_hp_probe(pcie_hp_slot_t *slot_p);
430 extern int pcie_hp_unprobe(pcie_hp_slot_t *slot_p);
H A Dpciehpc.h51 void pciehpc_get_slot_state(pcie_hp_slot_t *slot_p);
59 void pciehpc_led_init(pcie_hp_slot_t *slot_p);