Lines Matching defs:events

154     UINT32 events = 0;
162 events |= port_get_signal_changes (p_port, old_signals, p_port->peer_ctrl.modem_signal);
165 events |= PORT_EV_CONNECT_ERR;
168 events |= PORT_EV_ERR;
170 if ((p_port->p_callback != NULL) && events)
171 p_port->p_callback (events, p_port->inx);
662 /* execute call back function only if the application is registered for events */
707 /* execute call back function only if the application is registered for events */
832 UINT32 events = 0;
886 events |= PORT_EV_RXFLAG;
905 if (events & PORT_EV_RXFLAG)
911 events |= PORT_EV_RXCHAR;
913 /* Mask out all events that are not of interest to user */
914 events &= p_port->ev_mask;
916 if (p_port->p_callback && events)
917 p_port->p_callback (events, p_port->inx);
932 UINT32 events = 0;
960 events = 0;
963 events |= port_flow_control_user (p_port);
966 events |= port_rfc_send_tx_data (p_port);
968 /* Mask out all events that are not of interest to user */
969 events &= p_port->ev_mask;
972 if (p_port->p_callback && events)
973 (p_port->p_callback)(events, p_port->inx);
991 UINT32 events = 0;
1013 events |= PORT_EV_TXCHAR;
1017 events |= PORT_EV_TXEMPTY;
1026 events |= PORT_EV_TXEMPTY;
1031 events |= port_flow_control_user (p_port);
1033 return (events & p_port->ev_mask);
1047 UINT32 events = 0;
1083 events |= port_get_signal_changes (p_port, old_signals, p_port->peer_ctrl.modem_signal);
1086 events |= PORT_EV_CONNECT_ERR;
1088 RFCOMM_TRACE_EVENT ("port_rfc_closed state:%d sending events:%x", p_port->state, events);
1090 if ((p_port->p_callback != NULL) && events)
1091 p_port->p_callback (events, p_port->inx);