Home
last modified time | relevance | path

Searched refs:tsap (Results 1 – 12 of 12) sorted by relevance

/linux-3.4.99/net/irda/irlan/
Dirlan_provider.c129 struct tsap_cb *tsap; in irlan_provider_connect_indication() local
134 tsap = sap; in irlan_provider_connect_indication()
139 IRDA_ASSERT(tsap == self->provider.tsap_ctrl,return;); in irlan_provider_connect_indication()
166 struct tsap_cb *tsap) in irlan_provider_connect_response() argument
172 irttp_connect_response(tsap, IRLAN_MTU, NULL); in irlan_provider_connect_response()
180 struct tsap_cb *tsap; in irlan_provider_disconnect_indication() local
185 tsap = sap; in irlan_provider_disconnect_indication()
189 IRDA_ASSERT(tsap != NULL, return;); in irlan_provider_disconnect_indication()
190 IRDA_ASSERT(tsap->magic == TTP_TSAP_MAGIC, return;); in irlan_provider_disconnect_indication()
192 IRDA_ASSERT(tsap == self->provider.tsap_ctrl, return;); in irlan_provider_disconnect_indication()
[all …]
Dirlan_client.c223 struct tsap_cb *tsap; in irlan_client_ctrl_disconnect_indication() local
229 tsap = sap; in irlan_client_ctrl_disconnect_indication()
233 IRDA_ASSERT(tsap != NULL, return;); in irlan_client_ctrl_disconnect_indication()
234 IRDA_ASSERT(tsap->magic == TTP_TSAP_MAGIC, return;); in irlan_client_ctrl_disconnect_indication()
236 IRDA_ASSERT(tsap == self->client.tsap_ctrl, return;); in irlan_client_ctrl_disconnect_indication()
255 struct tsap_cb *tsap; in irlan_client_open_ctrl_tsap() local
276 tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT, &notify); in irlan_client_open_ctrl_tsap()
277 if (!tsap) { in irlan_client_open_ctrl_tsap()
281 self->client.tsap_ctrl = tsap; in irlan_client_open_ctrl_tsap()
Dirlan_common.c315 struct tsap_cb *tsap; in irlan_connect_indication() local
320 tsap = sap; in irlan_connect_indication()
324 IRDA_ASSERT(tsap == self->tsap_data,return;); in irlan_connect_indication()
404 struct tsap_cb *tsap; in irlan_disconnect_indication() local
409 tsap = sap; in irlan_disconnect_indication()
413 IRDA_ASSERT(tsap != NULL, return;); in irlan_disconnect_indication()
414 IRDA_ASSERT(tsap->magic == TTP_TSAP_MAGIC, return;); in irlan_disconnect_indication()
416 IRDA_ASSERT(tsap == self->tsap_data, return;); in irlan_disconnect_indication()
459 struct tsap_cb *tsap; in irlan_open_data_tsap() local
482 tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT, &notify); in irlan_open_data_tsap()
[all …]
/linux-3.4.99/net/irda/irnet/
Dirnet_irda.c130 DABORT(self->tsap != NULL, -EBUSY, IRDA_SR_ERROR, "Already busy !\n"); in irnet_open_tsap()
145 self->tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT, in irnet_open_tsap()
147 DABORT(self->tsap == NULL, -ENOMEM, in irnet_open_tsap()
151 self->stsap_sel = self->tsap->stsap_sel; in irnet_open_tsap()
154 self->tsap, self->stsap_sel); in irnet_open_tsap()
308 err = irttp_connect_request(self->tsap, self->dtsap_sel, in irnet_connect_tsap()
559 if((self->iriap != NULL) || (self->tsap != NULL)) in irda_irnet_connect()
671 if(self->tsap) in irda_irnet_destroy()
674 irttp_disconnect_request(self->tsap, NULL, P_NORMAL); in irda_irnet_destroy()
675 irttp_close_tsap(self->tsap); in irda_irnet_destroy()
[all …]
Dirnet.h428 struct tsap_cb * tsap; /* IrTTP instance (the connection) */ member
Dirnet_ppp.c982 skb_queue_len(&self->tsap->tx_queue)); in ppp_irnet_send()
989 ret = irttp_data_request(self->tsap, skb); in ppp_irnet_send()
/linux-3.4.99/net/irda/ircomm/
Dircomm_ttp.c93 self->tsap = irttp_open_tsap(LSAP_ANY, DEFAULT_INITIAL_CREDIT, in ircomm_open_tsap()
95 if (!self->tsap) { in ircomm_open_tsap()
99 self->slsap_sel = self->tsap->stsap_sel; in ircomm_open_tsap()
130 ret = irttp_connect_request(self->tsap, info->dlsap_sel, in ircomm_ttp_connect_request()
154 ret = irttp_connect_response(self->tsap, TTP_SAR_DISABLE, userdata); in ircomm_ttp_connect_response()
191 ret = irttp_data_request(self->tsap, skb); in ircomm_ttp_data_request()
247 info.max_data_size = irttp_get_max_seg_size(self->tsap) in ircomm_ttp_connect_confirm()
288 info.max_data_size = irttp_get_max_seg_size(self->tsap) in ircomm_ttp_connect_indication()
316 ret = irttp_disconnect_request(self->tsap, userdata, P_NORMAL); in ircomm_ttp_disconnect_request()
Dircomm_core.c165 if (self->tsap) { in __ircomm_close()
166 irttp_close_tsap(self->tsap); in __ircomm_close()
167 self->tsap = NULL; in __ircomm_close()
510 irttp_flow_request(self->tsap, flow); in ircomm_flow_request()
/linux-3.4.99/net/irda/
Daf_irda.c154 if (self->tsap) { in irda_disconnect_indication()
155 irttp_close_tsap(self->tsap); in irda_disconnect_indication()
156 self->tsap = NULL; in irda_disconnect_indication()
210 self->max_data_size = irttp_get_max_seg_size(self->tsap); in irda_connect_confirm()
221 self->max_data_size = irttp_get_max_seg_size(self->tsap); in irda_connect_confirm()
272 self->max_data_size = irttp_get_max_seg_size(self->tsap); in irda_connect_indication()
284 self->max_data_size = irttp_get_max_seg_size(self->tsap); in irda_connect_indication()
319 irttp_connect_response(self->tsap, self->max_sdu_size_rx, skb); in irda_connect_response()
470 if (self->tsap) { in irda_open_tsap()
486 self->tsap = irttp_open_tsap(tsap_sel, DEFAULT_INITIAL_CREDIT, in irda_open_tsap()
[all …]
Dirttp.c377 static void irttp_init_tsap(struct tsap_cb *tsap) in irttp_init_tsap() argument
379 spin_lock_init(&tsap->lock); in irttp_init_tsap()
380 init_timer(&tsap->todo_timer); in irttp_init_tsap()
382 skb_queue_head_init(&tsap->rx_queue); in irttp_init_tsap()
383 skb_queue_head_init(&tsap->tx_queue); in irttp_init_tsap()
384 skb_queue_head_init(&tsap->rx_fragments); in irttp_init_tsap()
509 struct tsap_cb *tsap; in irttp_close_tsap() local
530 tsap = hashbin_remove(irttp->tsaps, (long) self, NULL); in irttp_close_tsap()
532 IRDA_ASSERT(tsap == self, return -1;); in irttp_close_tsap()
/linux-3.4.99/include/net/irda/
Daf_irda.h48 struct tsap_cb *tsap; /* TSAP used by this connection */ member
Dircomm_core.h66 struct tsap_cb *tsap; member