Lines Matching refs:lap
521 irlmp_do_lap_event(self->lap, LM_LAP_CONNECT_REQUEST, NULL); in irlmp_state_disconnected()
545 irlmp_do_lap_event(self->lap, LM_LAP_CONNECT_REQUEST, NULL); in irlmp_state_disconnected()
584 ASSERT(self->lap != NULL, return -1;); in irlmp_state_connect()
585 ASSERT(self->lap->lsaps != NULL, return -1;); in irlmp_state_connect()
587 hashbin_insert(self->lap->lsaps, (irda_queue_t *) self, (int) self, in irlmp_state_connect()
590 irlmp_send_lcf_pdu(self->lap, self->dlsap_sel, in irlmp_state_connect()
694 ASSERT(self->lap != NULL, return -1;); in irlmp_state_dtr()
698 irlmp_send_data_pdu(self->lap, self->dlsap_sel, in irlmp_state_dtr()
706 irlmp_send_data_pdu(self->lap, self->dlsap_sel, in irlmp_state_dtr()
723 irlmp_send_lcf_pdu(self->lap, self->dlsap_sel, self->slsap_sel, in irlmp_state_dtr()
728 if (self->lap) { in irlmp_state_dtr()
730 irlmp_do_lap_event(self->lap, in irlmp_state_dtr()
738 reason = irlmp_convert_lap_reason(self->lap->reason); in irlmp_state_dtr()
745 ASSERT(self->lap != NULL, return -1;); in irlmp_state_dtr()
746 ASSERT(self->lap->magic == LMP_LAP_MAGIC, return -1;); in irlmp_state_dtr()
754 irlmp_do_lap_event(self->lap, LM_LAP_DISCONNECT_REQUEST, NULL); in irlmp_state_dtr()
797 ASSERT(self->lap != NULL, return -1;); in irlmp_state_setup()
798 ASSERT(self->lap->magic == LMP_LAP_MAGIC, return -1;); in irlmp_state_setup()
806 irlmp_do_lap_event(self->lap, LM_LAP_DISCONNECT_REQUEST, NULL); in irlmp_state_setup()
815 ASSERT(self->lap != NULL, return -1;); in irlmp_state_setup()
816 ASSERT(self->lap->magic == LMP_LAP_MAGIC, return -1;); in irlmp_state_setup()
818 reason = irlmp_convert_lap_reason(self->lap->reason); in irlmp_state_setup()
825 ASSERT(self->lap != NULL, return -1;); in irlmp_state_setup()
826 irlmp_do_lap_event(self->lap, LM_LAP_DISCONNECT_REQUEST, NULL); in irlmp_state_setup()
867 irlmp_send_lcf_pdu(self->lap, self->dlsap_sel, in irlmp_state_setup_pend()
875 ASSERT(self->lap != NULL, return -1;); in irlmp_state_setup_pend()
876 irlmp_do_lap_event(self->lap, LM_LAP_DISCONNECT_REQUEST, NULL); in irlmp_state_setup_pend()
886 reason = irlmp_convert_lap_reason(self->lap->reason); in irlmp_state_setup_pend()