Lines Matching refs:port_handle
326 int PORT_SetEventCallback(uint16_t port_handle, tPORT_CALLBACK* p_port_cb) { in PORT_SetEventCallback() argument
330 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) { in PORT_SetEventCallback()
334 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetEventCallback()
340 RFCOMM_TRACE_API("PORT_SetEventCallback() handle:%d", port_handle); in PORT_SetEventCallback()
356 int PORT_ClearKeepHandleFlag(uint16_t port_handle) { in PORT_ClearKeepHandleFlag() argument
360 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) { in PORT_ClearKeepHandleFlag()
364 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_ClearKeepHandleFlag()
382 int PORT_SetDataCallback(uint16_t port_handle, tPORT_DATA_CALLBACK* p_port_cb) { in PORT_SetDataCallback() argument
385 RFCOMM_TRACE_API("PORT_SetDataCallback() handle:%d cb 0x%x", port_handle, in PORT_SetDataCallback()
389 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) { in PORT_SetDataCallback()
393 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetDataCallback()
416 int PORT_SetDataCOCallback(uint16_t port_handle, in PORT_SetDataCOCallback() argument
420 RFCOMM_TRACE_API("PORT_SetDataCOCallback() handle:%d cb 0x%x", port_handle, in PORT_SetDataCOCallback()
424 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) { in PORT_SetDataCOCallback()
428 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetDataCOCallback()
449 int PORT_SetEventMask(uint16_t port_handle, uint32_t mask) { in PORT_SetEventMask() argument
452 RFCOMM_TRACE_API("PORT_SetEventMask() handle:%d mask:0x%x", port_handle, in PORT_SetEventMask()
456 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) { in PORT_SetEventMask()
460 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetEventMask()