Lines Matching refs:event
41 static void pps_echo_client_default(struct pps_device *pps, int event,
45 event & PPS_CAPTUREASSERT ? "assert" : "",
46 event & PPS_CAPTURECLEAR ? "clear" : "");
146 /* pps_event - register a PPS event into the system
148 * @ts: the event timestamp
149 * @event: the event type
153 * PPS event into the system (it's usually called inside an IRQ handler).
157 * pps->info.echo(pps, event, data);
159 void pps_event(struct pps_device *pps, struct pps_event_time *ts, int event,
166 /* check event type */
167 BUG_ON((event & (PPS_CAPTUREASSERT | PPS_CAPTURECLEAR)) == 0);
169 dev_dbg(pps->dev, "PPS event at %lld.%09ld\n",
178 pps->info.echo(pps, event, data);
180 /* Check the event */
182 if (event & pps->params.mode & PPS_CAPTUREASSERT) {
196 if (event & pps->params.mode & PPS_CAPTURECLEAR) {
211 pps_kc_event(pps, ts, event);