Lines Matching refs:vpsm
63 UINT16 vpsm = psm; in L2CA_Register() local
92 for (vpsm = 0x1002; vpsm < 0x8000; vpsm += 2) in L2CA_Register()
94 if ((p_rcb = l2cu_find_rcb_by_psm (vpsm)) == NULL) in L2CA_Register()
98 L2CAP_TRACE_API ("L2CA_Register - Real PSM: 0x%04x Virtual PSM: 0x%04x", psm, vpsm); in L2CA_Register()
102 if ((p_rcb = l2cu_find_rcb_by_psm (vpsm)) == NULL) in L2CA_Register()
104 if ((p_rcb = l2cu_allocate_rcb (vpsm)) == NULL) in L2CA_Register()
106 L2CAP_TRACE_WARNING ("L2CAP - no RCB available, PSM: 0x%04x vPSM: 0x%04x", psm, vpsm); in L2CA_Register()
114 return (vpsm); in L2CA_Register()
373 UINT16 vpsm = psm; in L2CA_RegisterLECoc() local
379 for (vpsm = 0x0080; vpsm < 0x0100; vpsm++) in L2CA_RegisterLECoc()
381 p_rcb = l2cu_find_ble_rcb_by_psm(vpsm); in L2CA_RegisterLECoc()
386 L2CAP_TRACE_API("%s Real PSM: 0x%04x Virtual PSM: 0x%04x", __func__, psm, vpsm); in L2CA_RegisterLECoc()
390 p_rcb = l2cu_find_ble_rcb_by_psm(vpsm); in L2CA_RegisterLECoc()
393 p_rcb = l2cu_allocate_ble_rcb(vpsm); in L2CA_RegisterLECoc()
397 __func__, psm, vpsm); in L2CA_RegisterLECoc()
405 return vpsm; in L2CA_RegisterLECoc()