Lines Matching refs:rpt
280 struct kbd_repeat *rpt = data;
284 if (rpt[0].delay > 0)
286 EV_REP, REP_DELAY, rpt[0].delay);
287 if (rpt[0].period > 0)
289 EV_REP, REP_PERIOD, rpt[0].period);
291 rpt[1].delay = dev->rep[REP_DELAY];
292 rpt[1].period = dev->rep[REP_PERIOD];
298 int kbd_rate(struct kbd_repeat *rpt)
300 struct kbd_repeat data[2] = { *rpt };
303 *rpt = data[1]; /* Copy currently used settings */