Lines Matching defs:vsc_tp
60 struct vsc_tp {
104 struct vsc_tp *tp = data;
117 struct vsc_tp *tp = container_of(work, struct vsc_tp, event_work);
126 static int vsc_tp_wakeup_request(struct vsc_tp *tp)
144 static void vsc_tp_wakeup_release(struct vsc_tp *tp)
151 static int vsc_tp_dev_xfer(struct vsc_tp *tp, void *obuf, void *ibuf, size_t len)
165 static int vsc_tp_xfer_helper(struct vsc_tp *tp, struct vsc_tp_packet *pkt,
269 * @tp: vsc_tp device handle
278 int vsc_tp_xfer(struct vsc_tp *tp, u8 cmd, const void *obuf, size_t olen,
313 * @tp: vsc_tp device handle
319 int vsc_tp_rom_xfer(struct vsc_tp *tp, const void *obuf, void *ibuf, size_t len)
353 * @tp: vsc_tp device handle
355 void vsc_tp_reset(struct vsc_tp *tp)
379 * @tp: vsc_tp device handle
382 bool vsc_tp_need_read(struct vsc_tp *tp)
397 * @tp: vsc_tp device handle
402 int vsc_tp_register_event_cb(struct vsc_tp *tp, vsc_tp_event_cb_t event_cb,
415 * vsc_tp_intr_synchronize - synchronize vsc_tp interrupt
416 * @tp: vsc_tp device handle
418 void vsc_tp_intr_synchronize(struct vsc_tp *tp)
425 * vsc_tp_intr_enable - enable vsc_tp interrupt
426 * @tp: vsc_tp device handle
428 void vsc_tp_intr_enable(struct vsc_tp *tp)
435 * vsc_tp_intr_disable - disable vsc_tp interrupt
436 * @tp: vsc_tp device handle
438 void vsc_tp_intr_disable(struct vsc_tp *tp)
455 struct vsc_tp *tp;
543 struct vsc_tp *tp = spi_get_drvdata(spi);