Home
last modified time | relevance | path

Searched refs:lap (Results 1 – 16 of 16) sorted by relevance

/linux-3.4.99/net/irda/
Dirlmp.c230 struct lap_cb *lap; in irlmp_close_lsap() local
240 lap = self->lap; in irlmp_close_lsap()
241 if (lap) { in irlmp_close_lsap()
242 IRDA_ASSERT(lap->magic == LMP_LAP_MAGIC, return;); in irlmp_close_lsap()
249 irlmp_do_lap_event(self->lap, in irlmp_close_lsap()
253 lsap = hashbin_remove(lap->lsaps, (long) self, NULL); in irlmp_close_lsap()
255 lap->cache.valid = FALSE; in irlmp_close_lsap()
258 self->lap = NULL; in irlmp_close_lsap()
283 struct lap_cb *lap; in irlmp_register_link() local
292 lap = kzalloc(sizeof(struct lap_cb), GFP_KERNEL); in irlmp_register_link()
[all …]
Dirlmp_event.c524 irlmp_do_lap_event(self->lap, LM_LAP_CONNECT_REQUEST, NULL); in irlmp_state_disconnected()
551 irlmp_do_lap_event(self->lap, LM_LAP_CONNECT_REQUEST, NULL); in irlmp_state_disconnected()
588 IRDA_ASSERT(self->lap != NULL, return -1;); in irlmp_state_connect()
589 IRDA_ASSERT(self->lap->lsaps != NULL, return -1;); in irlmp_state_connect()
591 hashbin_insert(self->lap->lsaps, (irda_queue_t *) self, in irlmp_state_connect()
596 irlmp_send_lcf_pdu(self->lap, self->dlsap_sel, in irlmp_state_connect()
609 self->lap = NULL; in irlmp_state_connect()
672 self->lap = NULL; in irlmp_state_connect_pend()
705 IRDA_ASSERT(self->lap != NULL, return -1;); in irlmp_state_dtr()
709 irlmp_send_data_pdu(self->lap, self->dlsap_sel, in irlmp_state_dtr()
[all …]
Dirlmp_frame.c155 lsap->lap = self; in irlmp_link_data_indication()
268 void irlmp_link_disconnect_indication(struct lap_cb *lap, in irlmp_link_disconnect_indication() argument
275 IRDA_ASSERT(lap != NULL, return;); in irlmp_link_disconnect_indication()
276 IRDA_ASSERT(lap->magic == LMP_LAP_MAGIC, return;); in irlmp_link_disconnect_indication()
278 lap->reason = reason; in irlmp_link_disconnect_indication()
279 lap->daddr = DEV_ADDR_ANY; in irlmp_link_disconnect_indication()
286 irlmp_do_lap_event(lap, LM_LAP_DISCONNECT_INDICATION, NULL); in irlmp_link_disconnect_indication()
404 static inline void irlmp_update_cache(struct lap_cb *lap, in irlmp_update_cache() argument
408 lap->cache.valid = FALSE; in irlmp_update_cache()
410 lap->cache.dlsap_sel = lsap->dlsap_sel; in irlmp_update_cache()
[all …]
Dirlap.c216 struct irlap_cb *lap; in irlap_close() local
232 lap = hashbin_remove(irlap, self->saddr, NULL); in irlap_close()
233 if (!lap) { in irlap_close()
237 __irlap_close(lap); in irlap_close()
/linux-3.4.99/include/net/irda/
Dirlmp.h118 struct lap_cb *lap; /* Pointer to LAP connection structure */ member
251 return (self && self->lap) ? self->lap->saddr : 0; in irlmp_get_saddr()
256 return (self && self->lap) ? self->lap->daddr : 0; in irlmp_get_daddr()
272 if (self->lap == NULL) in irlmp_lap_tx_queue_full()
274 if (self->lap->irlap == NULL) in irlmp_lap_tx_queue_full()
277 return IRLAP_GET_TX_QUEUE_LEN(self->lap->irlap) >= LAP_HIGH_THRESHOLD; in irlmp_lap_tx_queue_full()
288 self->lap = NULL; in irlmp_listen()
Dirttp.h204 (self->lsap->lap == NULL) || in irttp_is_primary()
205 (self->lsap->lap->irlap == NULL)) in irttp_is_primary()
207 return irlap_is_primary(self->lsap->lap->irlap); in irttp_is_primary()
/linux-3.4.99/drivers/ide/
Dpiix.c274 const struct ich_laptop *lap = &ich_laptop[0]; in piix_cable_detect() local
278 while (lap->device) { in piix_cable_detect()
279 if (lap->device == pdev->device && in piix_cable_detect()
280 lap->subvendor == pdev->subsystem_vendor && in piix_cable_detect()
281 lap->subdevice == pdev->subsystem_device) { in piix_cable_detect()
284 lap++; in piix_cable_detect()
Dsis5513.c527 const struct sis_laptop *lap = &sis_laptop[0]; in sis_cable_detect() local
530 while (lap->device) { in sis_cable_detect()
531 if (lap->device == pdev->device && in sis_cable_detect()
532 lap->subvendor == pdev->subsystem_vendor && in sis_cable_detect()
533 lap->subdevice == pdev->subsystem_device) in sis_cable_detect()
535 lap++; in sis_cable_detect()
/linux-3.4.99/drivers/ata/
Dpata_sis.c65 const struct sis_laptop *lap = &sis_laptop[0]; in sis_short_ata40() local
67 while (lap->device) { in sis_short_ata40()
68 if (lap->device == dev->device && in sis_short_ata40()
69 lap->subvendor == dev->subsystem_vendor && in sis_short_ata40()
70 lap->subdevice == dev->subsystem_device) in sis_short_ata40()
72 lap++; in sis_short_ata40()
Data_piix.c757 const struct ich_laptop *lap = &ich_laptop[0]; in ich_pata_cable_detect() local
761 while (lap->device) { in ich_pata_cable_detect()
762 if (lap->device == pdev->device && in ich_pata_cable_detect()
763 lap->subvendor == pdev->subsystem_vendor && in ich_pata_cable_detect()
764 lap->subdevice == pdev->subsystem_device) in ich_pata_cable_detect()
767 lap++; in ich_pata_cable_detect()
/linux-3.4.99/net/bluetooth/
Dhci_core.c581 memcpy(&cp.lap, &ir->lap, 3); in hci_inq_req()
2934 u8 lap[3] = { 0x33, 0x8b, 0x9e }; in hci_do_inquiry() local
2945 memcpy(&cp.lap, lap, sizeof(cp.lap)); in hci_do_inquiry()
/linux-3.4.99/include/net/bluetooth/
Dhci.h320 __u8 lap[3]; member
1427 __u8 lap[3]; member
/linux-3.4.99/drivers/staging/wlags49_h2/
Dhcf.c2371 wci_bufp lap = ifbp->IFB_lap + offset; //start address in LookAhead Buffer in hcf_rcv_msg() local
2400 while ( i-- ) *cp++ = *lap++; in hcf_rcv_msg()
/linux-3.4.99/firmware/keyspan_pda/
Dkeyspan_pda.S1107 ;; dont let _in lap _out
Dxircom_pgs.S1175 ;; dont let _in lap _out
/linux-3.4.99/drivers/infiniband/core/
Dcm.c140 static CM_COUNTER_ATTR(lap, CM_LAP_COUNTER);