Home | History | Annotate | Download | only in rfcomm

Lines Matching refs:events

147   uint32_t events = 0;
157 events |= port_get_signal_changes(p_port, old_signals,
160 if (p_port->ev_mask & PORT_EV_CONNECT_ERR) events |= PORT_EV_CONNECT_ERR;
162 if (p_port->ev_mask & PORT_EV_ERR) events |= PORT_EV_ERR;
164 if ((p_port->p_callback != NULL) && events)
165 p_port->p_callback(events, p_port->inx);
616 /* execute call back function only if the application is registered for events
656 /* execute call back function only if the application is registered for events
763 uint32_t events = 0;
811 events |= PORT_EV_RXFLAG;
829 if (events & PORT_EV_RXFLAG) {
835 events |= PORT_EV_RXCHAR;
837 /* Mask out all events that are not of interest to user */
838 events &= p_port->ev_mask;
840 if (p_port->p_callback && events) p_port->p_callback(events, p_port->inx);
853 uint32_t events = 0;
875 events = 0;
878 events |= port_flow_control_user(p_port);
881 events |= port_rfc_send_tx_data(p_port);
883 /* Mask out all events that are not of interest to user */
884 events &= p_port->ev_mask;
887 if (p_port->p_callback && events) (p_port->p_callback)(events, p_port->inx);
902 uint32_t events = 0;
924 events |= PORT_EV_TXCHAR;
927 events |= PORT_EV_TXEMPTY;
935 events |= PORT_EV_TXEMPTY;
940 events |= port_flow_control_user(p_port);
942 return (events & p_port->ev_mask);
954 uint32_t events = 0;
989 events |= port_get_signal_changes(p_port, old_signals,
992 if (p_port->ev_mask & PORT_EV_CONNECT_ERR) events |= PORT_EV_CONNECT_ERR;
995 if ((p_port->p_callback != NULL) && events)
996 p_port->p_callback(events, p_port->inx);