Lines Matching refs:drv

168 	struct serio_driver *drv;  in hil_mlc_send_polls()  local
173 drv = (serio != NULL) ? serio->drv : NULL; in hil_mlc_send_polls()
180 if (drv && drv->interrupt) { in hil_mlc_send_polls()
181 drv->interrupt(serio, 0, 0); in hil_mlc_send_polls()
182 drv->interrupt(serio, HIL_ERR_INT >> 16, 0); in hil_mlc_send_polls()
183 drv->interrupt(serio, HIL_PKT_CMD >> 8, 0); in hil_mlc_send_polls()
184 drv->interrupt(serio, HIL_CMD_POL + cnt, 0); in hil_mlc_send_polls()
189 drv = (serio != NULL) ? serio->drv : NULL; in hil_mlc_send_polls()
196 if (drv && drv->interrupt) { in hil_mlc_send_polls()
197 drv->interrupt(serio, (p >> 24), 0); in hil_mlc_send_polls()
198 drv->interrupt(serio, (p >> 16) & 0xff, 0); in hil_mlc_send_polls()
199 drv->interrupt(serio, (p >> 8) & ~HIL_PKT_ADDR_MASK, 0); in hil_mlc_send_polls()
200 drv->interrupt(serio, p & 0xff, 0); in hil_mlc_send_polls()
802 struct serio_driver *drv; in hil_mlc_serio_write() local
841 drv = serio->drv; in hil_mlc_serio_write()
842 BUG_ON(drv == NULL); in hil_mlc_serio_write()
849 drv->interrupt(serio, 0, 0); in hil_mlc_serio_write()
850 drv->interrupt(serio, HIL_ERR_INT >> 16, 0); in hil_mlc_serio_write()
851 drv->interrupt(serio, 0, 0); in hil_mlc_serio_write()
852 drv->interrupt(serio, *idx, 0); in hil_mlc_serio_write()
855 drv->interrupt(serio, 0, 0); in hil_mlc_serio_write()
856 drv->interrupt(serio, HIL_ERR_INT >> 16, 0); in hil_mlc_serio_write()
857 drv->interrupt(serio, HIL_PKT_CMD >> 8, 0); in hil_mlc_serio_write()
858 drv->interrupt(serio, *idx, 0); in hil_mlc_serio_write()
895 serio->drv = NULL; in hil_mlc_serio_close()