Lines Matching defs:events

156     UINT32 events = 0;
164 events |= port_get_signal_changes (p_port, old_signals, p_port->peer_ctrl.modem_signal);
167 events |= PORT_EV_CONNECT_ERR;
170 events |= PORT_EV_ERR;
172 if ((p_port->p_callback != NULL) && events)
173 p_port->p_callback (events, p_port->inx);
663 /* execute call back function only if the application is registered for events */
708 /* execute call back function only if the application is registered for events */
833 UINT32 events = 0;
887 events |= PORT_EV_RXFLAG;
906 if (events & PORT_EV_RXFLAG)
912 events |= PORT_EV_RXCHAR;
914 /* Mask out all events that are not of interest to user */
915 events &= p_port->ev_mask;
917 if (p_port->p_callback && events)
918 p_port->p_callback (events, p_port->inx);
933 UINT32 events = 0;
961 events = 0;
964 events |= port_flow_control_user (p_port);
967 events |= port_rfc_send_tx_data (p_port);
969 /* Mask out all events that are not of interest to user */
970 events &= p_port->ev_mask;
973 if (p_port->p_callback && events)
974 (p_port->p_callback)(events, p_port->inx);
992 UINT32 events = 0;
1014 events |= PORT_EV_TXCHAR;
1018 events |= PORT_EV_TXEMPTY;
1027 events |= PORT_EV_TXEMPTY;
1032 events |= port_flow_control_user (p_port);
1034 return (events & p_port->ev_mask);
1048 UINT32 events = 0;
1084 events |= port_get_signal_changes (p_port, old_signals, p_port->peer_ctrl.modem_signal);
1087 events |= PORT_EV_CONNECT_ERR;
1089 RFCOMM_TRACE_EVENT ("port_rfc_closed state:%d sending events:%x", p_port->state, events);
1091 if ((p_port->p_callback != NULL) && events)
1092 p_port->p_callback (events, p_port->inx);