Lines Matching refs:svc_i3c_master
179 struct svc_i3c_master { struct
220 static bool svc_i3c_master_error(struct svc_i3c_master *master) in svc_i3c_master_error() argument
238 static void svc_i3c_master_enable_interrupts(struct svc_i3c_master *master, u32 mask) in svc_i3c_master_enable_interrupts()
243 static void svc_i3c_master_disable_interrupts(struct svc_i3c_master *master) in svc_i3c_master_disable_interrupts()
250 static void svc_i3c_master_clear_merrwarn(struct svc_i3c_master *master) in svc_i3c_master_clear_merrwarn()
257 static void svc_i3c_master_flush_fifo(struct svc_i3c_master *master) in svc_i3c_master_flush_fifo()
264 static void svc_i3c_master_reset_fifo_trigger(struct svc_i3c_master *master) in svc_i3c_master_reset_fifo_trigger()
277 static void svc_i3c_master_reset(struct svc_i3c_master *master) in svc_i3c_master_reset()
284 static inline struct svc_i3c_master *
287 return container_of(master, struct svc_i3c_master, base); in to_svc_i3c_master()
292 struct svc_i3c_master *master; in svc_i3c_master_hj_work()
294 master = container_of(work, struct svc_i3c_master, hj_work); in svc_i3c_master_hj_work()
299 svc_i3c_master_dev_from_addr(struct svc_i3c_master *master, in svc_i3c_master_dev_from_addr()
314 static void svc_i3c_master_emit_stop(struct svc_i3c_master *master) in svc_i3c_master_emit_stop()
327 static int svc_i3c_master_handle_ibi(struct svc_i3c_master *master, in svc_i3c_master_handle_ibi()
357 static void svc_i3c_master_ack_ibi(struct svc_i3c_master *master, in svc_i3c_master_ack_ibi()
371 static void svc_i3c_master_nack_ibi(struct svc_i3c_master *master) in svc_i3c_master_nack_ibi()
380 struct svc_i3c_master *master = container_of(work, struct svc_i3c_master, ibi_work); in svc_i3c_master_ibi_work()
467 struct svc_i3c_master *master = (struct svc_i3c_master *)dev_id; in svc_i3c_master_irq_handler()
486 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_bus_init()
589 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_bus_cleanup()
607 static int svc_i3c_master_reserve_slot(struct svc_i3c_master *master) in svc_i3c_master_reserve_slot()
621 static void svc_i3c_master_release_slot(struct svc_i3c_master *master, in svc_i3c_master_release_slot()
630 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_attach_i3c_dev()
659 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_reattach_i3c_dev()
672 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_detach_i3c_dev()
683 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_attach_i2c_dev()
709 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_detach_i2c_dev()
716 static int svc_i3c_master_readb(struct svc_i3c_master *master, u8 *dst, in svc_i3c_master_readb()
736 static int svc_i3c_master_do_daa_locked(struct svc_i3c_master *master, in svc_i3c_master_do_daa_locked()
845 static int svc_i3c_update_ibirules(struct svc_i3c_master *master) in svc_i3c_update_ibirules()
901 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_do_daa()
941 static int svc_i3c_master_read(struct svc_i3c_master *master, in svc_i3c_master_read()
975 static int svc_i3c_master_write(struct svc_i3c_master *master, in svc_i3c_master_write()
1002 static int svc_i3c_master_xfer(struct svc_i3c_master *master, in svc_i3c_master_xfer()
1063 svc_i3c_master_alloc_xfer(struct svc_i3c_master *master, unsigned int ncmds) in svc_i3c_master_alloc_xfer()
1083 static void svc_i3c_master_dequeue_xfer_locked(struct svc_i3c_master *master, in svc_i3c_master_dequeue_xfer_locked()
1092 static void svc_i3c_master_dequeue_xfer(struct svc_i3c_master *master, in svc_i3c_master_dequeue_xfer()
1102 static void svc_i3c_master_start_xfer_locked(struct svc_i3c_master *master) in svc_i3c_master_start_xfer_locked()
1140 static void svc_i3c_master_enqueue_xfer(struct svc_i3c_master *master, in svc_i3c_master_enqueue_xfer()
1174 static int svc_i3c_master_send_bdcast_ccc_cmd(struct svc_i3c_master *master, in svc_i3c_master_send_bdcast_ccc_cmd()
1218 static int svc_i3c_master_send_direct_ccc_cmd(struct svc_i3c_master *master, in svc_i3c_master_send_direct_ccc_cmd()
1269 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_send_ccc_cmd()
1289 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_priv_xfers()
1327 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_i2c_xfers()
1364 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_request_ibi()
1401 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_free_ibi()
1416 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_enable_ibi()
1433 struct svc_i3c_master *master = to_svc_i3c_master(m); in svc_i3c_master_disable_ibi()
1474 static int svc_i3c_master_prepare_clks(struct svc_i3c_master *master) in svc_i3c_master_prepare_clks()
1498 static void svc_i3c_master_unprepare_clks(struct svc_i3c_master *master) in svc_i3c_master_unprepare_clks()
1508 struct svc_i3c_master *master; in svc_i3c_master_probe()
1598 struct svc_i3c_master *master = platform_get_drvdata(pdev); in svc_i3c_master_remove()
1606 static void svc_i3c_save_regs(struct svc_i3c_master *master) in svc_i3c_save_regs()
1612 static void svc_i3c_restore_regs(struct svc_i3c_master *master) in svc_i3c_restore_regs()
1625 struct svc_i3c_master *master = dev_get_drvdata(dev); in svc_i3c_runtime_suspend()
1636 struct svc_i3c_master *master = dev_get_drvdata(dev); in svc_i3c_runtime_resume()
1659 static struct platform_driver svc_i3c_master = { variable
1668 module_platform_driver(svc_i3c_master);