Lines Matching refs:expander
553 int expander, board; in schpc_connect() local
590 expander = schpc_p->schpc_slot[slot].expander; /* get expander */ in schpc_connect()
595 expander, board, SCHPC_SLOT_NUM(slot)); in schpc_connect()
602 expander, board, SCHPC_SLOT_NUM(slot), in schpc_connect()
614 expander, board, SCHPC_SLOT_NUM(slot), in schpc_connect()
622 rval = schpc_getslotstatus(expander, board, slot, &getslot); in schpc_connect()
630 "Communicate with System Controller", expander, board, in schpc_connect()
633 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_connect()
642 "Read Slot Status", expander, board, in schpc_connect()
645 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_connect()
666 "Bus Speed Mismatch", expander, in schpc_connect()
670 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_connect()
690 expander, board, slot & 3, in schpc_connect()
693 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_connect()
708 rval = schpc_setslotstatus(expander, board, slot, &setslot); in schpc_connect()
716 "Communicate with System Controller", expander, board, in schpc_connect()
719 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_connect()
736 rval = schpc_getslotstatus(expander, board, slot, &getslot); in schpc_connect()
745 expander, board, SCHPC_SLOT_NUM(slot), in schpc_connect()
748 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_connect()
757 "Unable to Read Slot Status", expander, board, in schpc_connect()
761 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_connect()
770 "Power failure detected", expander, board, in schpc_connect()
784 (void) schpc_setslotstatus(expander, board, in schpc_connect()
787 schpc_setslotled(expander, board, slot, in schpc_connect()
796 "Adapter did not assert HEALTHY#", expander, board, in schpc_connect()
810 (void) schpc_setslotstatus(expander, board, slot, in schpc_connect()
813 schpc_setslotled(expander, board, slot, in schpc_connect()
830 rval = schpc_setslotstatus(expander, board, slot, &setslot); in schpc_connect()
839 expander, board, SCHPC_SLOT_NUM(slot), in schpc_connect()
842 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_connect()
861 schpc_setslotled(expander, board, slot, in schpc_connect()
927 expander, board, SCHPC_SLOT_NUM(slot), in schpc_connect()
930 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_connect()
941 "failed connection request", expander, board, SCHPC_SLOT_NUM(slot), in schpc_connect()
944 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_connect()
968 int expander, board, slot; in schpc_disconnect() local
1005 expander = schpc_p->schpc_slot[slot].expander; /* get expander */ in schpc_disconnect()
1018 expander, board, slot & 3, in schpc_disconnect()
1021 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_disconnect()
1039 rval = schpc_setslotstatus(expander, board, slot, &setslot); in schpc_disconnect()
1050 "Communicate with System Controller", expander, board, in schpc_disconnect()
1053 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_disconnect()
1069 schpc_setslotled(expander, board, slot, in schpc_disconnect()
1088 "failed disconnection request", expander, board, in schpc_disconnect()
1092 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_disconnect()
1117 int expander, board, slot; in schpc_cpci_control() local
1148 expander = schpc_p->schpc_slot[slot].expander; /* get expander */ in schpc_cpci_control()
1371 (void) schpc_setslotstatus(expander, board, slot, &setslot); in schpc_cpci_control()
1390 rval = schpc_getslotstatus(expander, board, slot, &slotstatus); in schpc_cpci_control()
1528 rval = schpc_setslotstatus(expander, board, slot, &setslot); in schpc_cpci_control()
1547 rval = schpc_setslotstatus(expander, board, slot, &setslot); in schpc_cpci_control()
1586 int expander, board, slot; in schpc_pci_control() local
1617 expander = schpc_p->schpc_slot[slot].expander; /* get expander */ in schpc_pci_control()
1676 rval = schpc_getslotstatus(expander, board, slot, &slotstatus); in schpc_pci_control()
1936 (void) schpc_setslotstatus(expander, board, slot, &setslot); in schpc_pci_control()
1999 int expander, board; in schpc_test() local
2008 schpc_p->schpc_slot[slot].expander, in schpc_test()
2011 expander = schpc_p->schpc_slot[slot].expander; in schpc_test()
2022 rval = schpc_getslotstatus(expander, board, slot, &slotstatus); in schpc_test()
2030 "Communicate with System Controller", expander, board, in schpc_test()
2040 "is not hot pluggable\n", expander, board, in schpc_test()
2052 expander, board, SCHPC_SLOT_NUM(slot), in schpc_test()
2055 schpc_setslotled(expander, board, slot, in schpc_test()
2064 expander, board, SCHPC_SLOT_NUM(slot), in schpc_test()
2067 schpc_setslotled(expander, board, slot, in schpc_test()
2083 "PCI adapter not HEALTHY", expander, board, in schpc_test()
2087 schpc_setslotled(expander, board, slot, in schpc_test()
2103 expander, board, SCHPC_SLOT_NUM(slot), in schpc_test()
2106 schpc_setslotled(expander, board, slot, in schpc_test()
2122 expander, board, SCHPC_SLOT_NUM(slot), in schpc_test()
2125 schpc_setslotled(expander, board, slot, in schpc_test()
2166 expander, board, slot, &setslot); in schpc_test()
2190 expander, board, slot, &setslot); in schpc_test()
2229 (void) schpc_setslotstatus(expander, board, slot, &setslot); in schpc_test()
2281 uint8_t expander, board, slot; in schpc_event_handler() local
2292 expander = event->pcimsg_node; /* get expander */ in schpc_event_handler()
2297 expander, board, slot); in schpc_event_handler()
2300 slot = SCHPC_MAKE_SLOT_INDEX2(expander, slot); in schpc_event_handler()
2331 rval = schpc_getslotstatus(expander, board, slot, &slotstatus); in schpc_event_handler()
2336 expander, board, SCHPC_SLOT_NUM(slot)); in schpc_event_handler()
2350 expander, board, SCHPC_SLOT_NUM(slot)); in schpc_event_handler()
2363 expander, board, SCHPC_SLOT_NUM(slot)); in schpc_event_handler()
2368 expander, board, SCHPC_SLOT_NUM(slot)); in schpc_event_handler()
2423 expander, board, SCHPC_SLOT_NUM(slot)); in schpc_event_handler()
2534 schpc_setslotled(expander, board, slot, in schpc_event_handler()
2550 schpc_setslotled(expander, board, slot, FAULT_LED_FLASH); in schpc_event_handler()
2574 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_event_handler()
2585 schpc_setslotled(expander, board, slot, in schpc_event_handler()
2605 schpc_setslotled(expander, board, slot, in schpc_event_handler()
2624 schpc_setslotled(expander, board, slot, in schpc_event_handler()
2645 schpc_setslotled(expander, board, slot, FAULT_LED_ON); in schpc_event_handler()
2657 schpc_setslotled(expander, board, slot, in schpc_event_handler()
3079 schpc_getslotstatus(uint32_t expander, uint32_t board, uint32_t slot, in schpc_getslotstatus() argument
3091 "slot=%d slotstatus=0x%p", expander, board, in schpc_getslotstatus()
3100 request.pcimsg_node = expander; in schpc_getslotstatus()
3171 schpc_setslotstatus(uint32_t expander, uint32_t board, uint32_t slot, in schpc_setslotstatus() argument
3183 "slot=%d slotstatus=0x%p", expander, board, in schpc_setslotstatus()
3192 request.pcimsg_node = expander; in schpc_setslotstatus()
3250 schpc_setslotled(int expander, int board, int slot, uint32_t led_state) in schpc_setslotled() argument
3323 (void) schpc_setslotstatus(expander, board, slot, &setslot); in schpc_setslotled()
3363 trans_id = (schpc_p->schpc_slot[slot].expander<<24) | in schpc_gettransid()
3409 int leaf, schizo, expander, portid, offset; in schpc_register_all_slots() local
3424 expander = SCHPC_SLOT_EXPANDER(slot); in schpc_register_all_slots()
3436 portid = (expander << 5) | portid; in schpc_register_all_slots()
3492 int expander, board, schizo, leaf, slot, status; in schpc_add_pci() local
3515 expander = schpc_getexpander(sdip); in schpc_add_pci()
3580 slot = SCHPC_MAKE_SLOT_INDEX3(expander, schizo, leaf); in schpc_add_pci()
3603 schpc_p->schpc_slot[slot].expander = expander; in schpc_add_pci()
3620 status = schpc_get_slot_status(expander, board, SCHPC_SLOT_NUM(slot)); in schpc_add_pci()
3636 "expander=%d board=%d slot=%d\n", expander, in schpc_add_pci()
3643 expander, board, SCHPC_SLOT_NUM(slot), status); in schpc_add_pci()
3999 schpc_get_slot_status(uint_t expander, uint_t board, uint_t slot) in schpc_get_slot_status() argument
4005 "exp=%d board=%d slot=%d", expander, board, slot); in schpc_get_slot_status()
4048 status = gdcd->dcd_prd[expander][prd_slot].prd_iocard_rsv[bus][0]; in schpc_get_slot_status()