Lines Matching refs:slsap_sel
49 static int irlmp_slsap_inuse(__u8 slsap_sel);
147 struct lsap_cb *irlmp_open_lsap(__u8 slsap_sel, notify_t *notify, __u8 pid)
157 if (slsap_sel == LSAP_ANY) {
158 slsap_sel = irlmp_find_free_slsap();
159 if (!slsap_sel)
161 } else if (irlmp_slsap_inuse(slsap_sel))
172 self->slsap_sel = slsap_sel;
175 if (slsap_sel == LSAP_CONNLESS) {
383 "%s(), slsap_sel=%02x, dlsap_sel=%02x, saddr=%08x, daddr=%08x\n",
384 __func__, self->slsap_sel, dlsap_sel, saddr, daddr);
524 IRDA_DEBUG(2, "%s(), slsap_sel=%02x, dlsap_sel=%02x\n",
525 __func__, self->slsap_sel, self->dlsap_sel);
565 IRDA_DEBUG(2, "%s(), slsap_sel=%02x, dlsap_sel=%02x\n",
566 __func__, self->slsap_sel, self->dlsap_sel);
656 /* new->slsap_sel = orig->slsap_sel; => done in the memcpy() */
754 IRDA_DEBUG(3, "%s(), slsap_sel=%02x, dlsap_sel=%02x\n",
755 __func__, self->slsap_sel, self->dlsap_sel);
1581 static int irlmp_slsap_inuse(__u8 slsap_sel)
1589 IRDA_ASSERT(slsap_sel != LSAP_ANY, return TRUE;);
1595 if (slsap_sel == LSAP_CONNLESS)
1600 if (slsap_sel > LSAP_MAX)
1625 if ((self->slsap_sel == slsap_sel)) {
1627 self->slsap_sel);
1650 if ((self->slsap_sel == slsap_sel)) {
1652 self->slsap_sel);
1881 "slsap_sel: %#02x, dlsap_sel: %#02x, ",
1882 self->slsap_sel, self->dlsap_sel);
1911 "slsap_sel: %#02x, dlsap_sel: %#02x, ",
1912 self->slsap_sel, self->dlsap_sel);