Searched refs:psm (Results 1 - 9 of 9) sorted by relevance

/netbsd-6-1-5-RELEASE/usr.bin/rfcomm_sppd/
H A Drfcomm_sppd.c126 uint16_t psm; local
135 psm = L2CAP_PSM_RFCOMM;
182 psm = strtoul(optarg, &ep, 0);
183 if (*ep != '\0' || L2CAP_PSM_INVALID(psm))
227 rfcomm = open_client(&laddr, &raddr, lm, psm, service);
229 rfcomm = open_server(&laddr, psm, channel, lm, service);
335 open_client(bdaddr_t *laddr, bdaddr_t *raddr, int lm, uintmax_t psm, argument
360 if (service_search(laddr, raddr, s->class, &psm,
371 if (L2CAP_PSM_INVALID(psm))
372 errx(EXIT_FAILURE, "Invalid PSM 0x%04"PRIxMAX, psm);
407 open_server(bdaddr_t *laddr, uint16_t psm, uint8_t channel, int lm, const char *service) argument
566 service_search(bdaddr_t const *laddr, bdaddr_t const *raddr, uint16_t class, uintmax_t *psm, uintmax_t *channel) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/netbt/
H A Dl2cap_upper.c302 * for incoming connections matching the psm and local address of
315 uint32_t psm; local
325 psm = 0x1001;
328 if (used != NULL && used->lc_laddr.bt_psm >= psm) {
329 psm = used->lc_laddr.bt_psm + 0x0002;
330 if ((psm & 0x0100) != 0)
331 psm += 0x0100;
333 if (psm > UINT16_MAX)
337 chan->lc_laddr.bt_psm = psm;
H A Dl2cap.h126 #define L2CAP_PSM_INVALID(psm) (((psm) & 0x0101) != 0x0001)
223 uint16_t psm; /* Protocol/Service Multiplexor */ member in struct:__anon9263
246 uint16_t psm; /* Protocol/Service Multiplexor (PSM) */ member in struct:__anon9266
H A Dl2cap_signal.c231 * psm & addr and ask upper layer for a new channel.
251 cp.psm = le16toh(cp.psm);
256 laddr.bt_psm = cp.psm;
262 raddr.bt_psm = cp.psm;
1102 cp.psm = htole16(chan->lc_raddr.bt_psm);
/netbsd-6-1-5-RELEASE/usr.sbin/btpand/
H A Dclient.c162 uintmax_t psm; local
222 && sdp_get_uint(&seq, &psm)
236 l2cap_psm = (uint16_t)psm;
/netbsd-6-1-5-RELEASE/sys/arch/hp700/dev/
H A Dpdc.c815 pdcproc_system_map_find_mod(struct pdc_system_map_find_mod *psm, argument
825 memcpy(psm, &pdcret1, sizeof(*psm));
832 pdcproc_system_map_find_addr(struct pdc_system_map_find_addr *psm, int mod, argument
842 memcpy(psm, &pdcret1, sizeof(*psm));
/netbsd-6-1-5-RELEASE/usr.sbin/sdpd/
H A Dcompat.c567 || L2CAP_PSM_INVALID(data->psm)
582 sdp_put_uint16(buf, data->psm);
637 || L2CAP_PSM_INVALID(data->psm)
652 sdp_put_uint16(buf, data->psm);
701 || L2CAP_PSM_INVALID(data->psm)
716 sdp_put_uint16(buf, data->psm);
/netbsd-6-1-5-RELEASE/lib/libbluetooth/
H A Dsdp.h695 uint16_t psm; member in struct:sdp_nap_profile
707 uint16_t psm; member in struct:sdp_gn_profile
719 uint16_t psm; member in struct:sdp_panu_profile
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/dev/
H A Dpsm.c1 /* $NetBSD: psm.c,v 1.8 2011/06/03 03:09:02 christos Exp $ */
39 __KERNEL_RCSID(0, "$NetBSD: psm.c,v 1.8 2011/06/03 03:09:02 christos Exp $");
126 CFATTACH_DECL_NEW(psm, sizeof(struct psm_softc),
135 if (strcmp(ea->ea_name, "psm") != 0)
253 tsleep(&sc, PWAIT, "psm", hz);

Completed in 217 milliseconds