Lines Matching refs:port_handle
328 int PORT_SetEventCallback (UINT16 port_handle, tPORT_CALLBACK *p_port_cb) in PORT_SetEventCallback() argument
333 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) in PORT_SetEventCallback()
338 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetEventCallback()
345 RFCOMM_TRACE_API ("PORT_SetEventCallback() handle:%d", port_handle); in PORT_SetEventCallback()
361 int PORT_ClearKeepHandleFlag (UINT16 port_handle) in PORT_ClearKeepHandleFlag() argument
366 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) in PORT_ClearKeepHandleFlag()
371 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_ClearKeepHandleFlag()
389 int PORT_SetDataCallback (UINT16 port_handle, tPORT_DATA_CALLBACK *p_port_cb) in PORT_SetDataCallback() argument
393 RFCOMM_TRACE_API ("PORT_SetDataCallback() handle:%d cb 0x%x", port_handle, p_port_cb); in PORT_SetDataCallback()
396 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) in PORT_SetDataCallback()
401 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetDataCallback()
425 int PORT_SetDataCOCallback (UINT16 port_handle, tPORT_DATA_CO_CALLBACK *p_port_cb) in PORT_SetDataCOCallback() argument
429 RFCOMM_TRACE_API ("PORT_SetDataCOCallback() handle:%d cb 0x%x", port_handle, p_port_cb); in PORT_SetDataCOCallback()
432 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) in PORT_SetDataCOCallback()
437 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetDataCOCallback()
459 int PORT_SetEventMask (UINT16 port_handle, UINT32 mask) in PORT_SetEventMask() argument
463 RFCOMM_TRACE_API ("PORT_SetEventMask() handle:%d mask:0x%x", port_handle, mask); in PORT_SetEventMask()
466 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) in PORT_SetEventMask()
471 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetEventMask()