Lines Matching defs:attach_state
63 static void hci1394_cleanup(hci1394_state_t *soft_state, uint64_t attach_state);
84 uint64_t attach_state = 0;
113 hci1394_statebit_set(&attach_state, STATE_ZALLOC);
120 hci1394_cleanup(soft_state, attach_state);
127 hci1394_statebit_set(&attach_state, STATE_ISR_INIT);
132 hci1394_cleanup(soft_state, attach_state);
139 hci1394_statebit_set(&attach_state, STATE_MINOR_NODE);
143 hci1394_cleanup(soft_state, attach_state);
150 hci1394_statebit_set(&attach_state, STATE_HW_INIT);
153 hci1394_statebit_set(&attach_state, STATE_PHASE2);
158 hci1394_cleanup(soft_state, attach_state);
171 hci1394_cleanup(soft_state, attach_state);
181 hci1394_statebit_set(&attach_state, STATE_H1394_ATTACH);
184 hci1394_cleanup(soft_state, attach_state);
191 hci1394_statebit_set(&attach_state, STATE_ISR_HANDLER);
202 hci1394_statebit_set(&attach_state, STATE_STARTUP);
205 hci1394_cleanup(soft_state, attach_state);
852 hci1394_cleanup(hci1394_state_t *soft_state, uint64_t attach_state)
861 status = hci1394_statebit_tst(attach_state, STATE_STARTUP);
877 status = hci1394_statebit_tst(attach_state, STATE_ISR_HANDLER);
882 status = hci1394_statebit_tst(attach_state, STATE_H1394_ATTACH);
888 status = hci1394_statebit_tst(attach_state, STATE_HW_INIT);
893 status = hci1394_statebit_tst(attach_state, STATE_MINOR_NODE);
898 status = hci1394_statebit_tst(attach_state, STATE_ISR_INIT);
903 status = hci1394_statebit_tst(attach_state, STATE_PHASE2);
908 status = hci1394_statebit_tst(attach_state, STATE_ZALLOC);