pcie_hp_slot_t
pcie_hp_slot_t *slot_p =
(pcie_hp_slot_t *)cn_cfg_p->slotp;
pcie_hp_probe(pcie_hp_slot_t *slot_p)
pcie_hp_unprobe(pcie_hp_slot_t *slot_p)
pcie_hp_slot_t *slotp = NULL;
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[slot];
static pcie_hp_slot_t *
pcie_hp_slot_t *slot;
pcie_hp_slot_t *slot;
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pciehpc_calc_logical_led(pcie_hp_slot_t *slot_p, pciehpc_led_plat_id_t led)
pciehpc_sync_leds_to_hw(pcie_hp_slot_t *slot_p)
pciehpc_led_init(pcie_hp_slot_t *slot_p)
pciehpc_slot_kstat_init(pcie_hp_slot_t *slot_p)
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pciehpc_slot_kstat_fini(pcie_hp_slot_t *slot_p)
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
ctrl_p->hc_slots[0] = kmem_zalloc(sizeof (pcie_hp_slot_t), KM_SLEEP);
kmem_free(ctrl_p->hc_slots[0], sizeof (pcie_hp_slot_t));
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pciehpc_slot_power_state(pcie_hp_slot_t *slot_p)
pciehpc_slot_wait_for_active(pcie_hp_slot_t *slot_p)
pciehpc_slot_noctrl_active(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result)
pciehpc_slot_poweron(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result)
pciehpc_slot_poweroff(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result)
pciehpc_slot_probe(pcie_hp_slot_t *slot_p)
pciehpc_slot_unprobe(pcie_hp_slot_t *slot_p)
pciehpc_upgrade_slot_state(pcie_hp_slot_t *slot_p,
pciehpc_downgrade_slot_leds(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t state)
pciehpc_downgrade_slot_state(pcie_hp_slot_t *slot_p,
pciehpc_change_slot_state(pcie_hp_slot_t *slot_p,
int (*prop_get)(pcie_hp_slot_t *, const char **);
void (*prop_set)(pcie_hp_slot_t *, const char *);
pciehpc_prop_card_get(pcie_hp_slot_t *slot_p, const char **value_p)
pciehpc_prop_board_get(pcie_hp_slot_t *slot_p, const char **value_p)
pciehpc_prop_slot_get(pcie_hp_slot_t *slot_p, const char **value_p)
pciehpc_prop_led_get_power(pcie_hp_slot_t *slot_p, const char **value_p)
pciehpc_prop_led_get_attn(pcie_hp_slot_t *slot_p, const char **value_p)
pciehpc_prop_led_set_attn(pcie_hp_slot_t *slot_p, const char *value)
pciehpc_prop_led_set_power(pcie_hp_slot_t *slot_p, const char *value)
pciehpc_slot_get_property(pcie_hp_slot_t *slot_p, uintptr_t arg, uintptr_t rval)
pciehpc_slot_set_property(pcie_hp_slot_t *slot_p, uintptr_t arg,
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pcie_hp_slot_t *slot_p;
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
static int pciehpc_slot_get_property(pcie_hp_slot_t *slot_p,
static int pciehpc_slot_set_property(pcie_hp_slot_t *slot_p,
static int pciehpc_upgrade_slot_state(pcie_hp_slot_t *slot_p,
static int pciehpc_downgrade_slot_state(pcie_hp_slot_t *slot_p,
static int pciehpc_change_slot_state(pcie_hp_slot_t *slot_p,
pciehpc_slot_poweron(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result);
pciehpc_slot_poweroff(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result);
static int pciehpc_slot_probe(pcie_hp_slot_t *slot_p);
static int pciehpc_slot_unprobe(pcie_hp_slot_t *slot_p);
pcie_hp_slot_t *slot_p;
pcie_hp_slot_t *slot_p;
pciehpc_get_slot_state(pcie_hp_slot_t *slot_p)
static int pcishpc_upgrade_slot_state(pcie_hp_slot_t *slot_p,
pcie_hp_slot_t *slot_p;
static int pcishpc_downgrade_slot_state(pcie_hp_slot_t *slot_p,
static int pcishpc_change_slot_state(pcie_hp_slot_t *slot_p,
kmem_free(slot_p, sizeof (pcie_hp_slot_t));
static int pcishpc_slot_poweron(pcie_hp_slot_t *slot_p,
static int pcishpc_slot_poweroff(pcie_hp_slot_t *slot_p,
static int pcishpc_slot_probe(pcie_hp_slot_t *slot_p);
static int pcishpc_slot_unprobe(pcie_hp_slot_t *slot_p);
pcishpc_slot_poweron(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result_state)
pcishpc_slot_poweroff(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result_state)
pcishpc_slot_probe(pcie_hp_slot_t *slot_p)
pcishpc_slot_unprobe(pcie_hp_slot_t *slot_p)
pcishpc_upgrade_slot_state(pcie_hp_slot_t *slot_p,
pcishpc_downgrade_slot_state(pcie_hp_slot_t *slot_p,
pcishpc_change_slot_state(pcie_hp_slot_t *slot_p,
pcishpc_attn_btn_handler(pcie_hp_slot_t *slot_p)
pcishpc_get_slot_state(pcie_hp_slot_t *slot_p)
pcishpc_set_slot_state(pcie_hp_slot_t *slot_p,
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[slot];
pcishpc_set_bus_speed(pcie_hp_slot_t *slot_p)
pcishpc_setled(pcie_hp_slot_t *slot_p, pcie_hp_led_t led,
pcishpc_slot_get_property(pcie_hp_slot_t *slot_p, ddi_hp_property_t *arg,
pcishpc_slot_set_property(pcie_hp_slot_t *slot_p, ddi_hp_property_t *arg,
pcie_hp_slot_t *slot_p = NULL;
static pcie_hp_slot_t *pcishpc_create_slot(pcie_hp_ctrl_t *ctrl_p);
static int pcishpc_slot_get_property(pcie_hp_slot_t *slot_p,
static int pcishpc_slot_set_property(pcie_hp_slot_t *slot_p,
static void pcishpc_attn_btn_handler(pcie_hp_slot_t *slot_p);
static void pcishpc_get_slot_state(pcie_hp_slot_t *slot_p);
static int pcishpc_set_slot_state(pcie_hp_slot_t *slot_p,
static int pcishpc_set_bus_speed(pcie_hp_slot_t *slot_p);
static int pcishpc_setled(pcie_hp_slot_t *slot_p, pcie_hp_led_t led,
static pcie_hp_slot_t *
pcie_hp_slot_t *slot_p;
slot_p = kmem_zalloc(sizeof (pcie_hp_slot_t), KM_SLEEP);
pcie_hp_slot_t *slot_p;
int (*poweron_hpc_slot)(pcie_hp_slot_t *slot_p,
int (*poweroff_hpc_slot)(pcie_hp_slot_t *slot_p,
pcie_hp_slot_t *hc_slots[PCIE_HP_MAX_SLOTS]; /* Slot pointers */
extern int pcie_hp_probe(pcie_hp_slot_t *slot_p);
extern int pcie_hp_unprobe(pcie_hp_slot_t *slot_p);
void pciehpc_get_slot_state(pcie_hp_slot_t *slot_p);
void pciehpc_led_init(pcie_hp_slot_t *slot_p);
extern bool pciehpc_slot_kstat_init(pcie_hp_slot_t *);
extern void pciehpc_slot_kstat_fini(pcie_hp_slot_t *);
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pciehpc_acpi_slot_poweron(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result)
pciehpc_acpi_slot_poweroff(pcie_hp_slot_t *slot_p, ddi_hp_cn_state_t *result)
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
static int pciehpc_acpi_slot_poweron(pcie_hp_slot_t *slot_p,
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];
static int pciehpc_acpi_slot_poweroff(pcie_hp_slot_t *slot_p,
pcie_hp_slot_t *slot_p = ctrl_p->hc_slots[0];