• Home
  • Raw
  • Download

Lines Matching refs:serio

59 	struct serio *serio;  member
202 static irqreturn_t hil_ptr_interrupt(struct serio *serio, in hil_ptr_interrupt() argument
209 ptr = serio_get_drvdata(serio); in hil_ptr_interrupt()
236 static void hil_ptr_disconnect(struct serio *serio) in hil_ptr_disconnect() argument
240 ptr = serio_get_drvdata(serio); in hil_ptr_disconnect()
243 serio_close(serio); in hil_ptr_disconnect()
248 static int hil_ptr_connect(struct serio *serio, struct serio_driver *driver) in hil_ptr_connect() argument
266 error = serio_open(serio, driver); in hil_ptr_connect()
270 serio_set_drvdata(serio, ptr); in hil_ptr_connect()
271 ptr->serio = serio; in hil_ptr_connect()
276 serio->write(serio, 0); in hil_ptr_connect()
277 serio->write(serio, 0); in hil_ptr_connect()
278 serio->write(serio, HIL_PKT_CMD >> 8); in hil_ptr_connect()
279 serio->write(serio, HIL_CMD_IDD); in hil_ptr_connect()
282 serio->write(serio, 0); in hil_ptr_connect()
283 serio->write(serio, 0); in hil_ptr_connect()
284 serio->write(serio, HIL_PKT_CMD >> 8); in hil_ptr_connect()
285 serio->write(serio, HIL_CMD_RSC); in hil_ptr_connect()
288 serio->write(serio, 0); in hil_ptr_connect()
289 serio->write(serio, 0); in hil_ptr_connect()
290 serio->write(serio, HIL_PKT_CMD >> 8); in hil_ptr_connect()
291 serio->write(serio, HIL_CMD_RNM); in hil_ptr_connect()
294 serio->write(serio, 0); in hil_ptr_connect()
295 serio->write(serio, 0); in hil_ptr_connect()
296 serio->write(serio, HIL_PKT_CMD >> 8); in hil_ptr_connect()
297 serio->write(serio, HIL_CMD_EXD); in hil_ptr_connect()
390 ptr->dev->dev.parent = &serio->dev; in hil_ptr_connect()
406 serio_close(serio); in hil_ptr_connect()
411 serio_set_drvdata(serio, NULL); in hil_ptr_connect()