Lines Matching refs:sdw_cdns
203 static inline u32 cdns_readl(struct sdw_cdns *cdns, int offset) in cdns_readl()
208 static inline void cdns_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_writel()
213 static inline u32 cdns_ip_readl(struct sdw_cdns *cdns, int offset) in cdns_ip_readl()
218 static inline void cdns_ip_writel(struct sdw_cdns *cdns, int offset, u32 value) in cdns_ip_writel()
223 static inline void cdns_updatel(struct sdw_cdns *cdns, in cdns_updatel()
233 static inline void cdns_ip_updatel(struct sdw_cdns *cdns, in cdns_ip_updatel()
239 static int cdns_set_wait(struct sdw_cdns *cdns, int offset, u32 mask, u32 value) in cdns_set_wait()
257 static int cdns_clear_bit(struct sdw_cdns *cdns, int offset, u32 value) in cdns_clear_bit()
269 static int cdns_config_update(struct sdw_cdns *cdns) in cdns_config_update()
290 void sdw_cdns_config_update(struct sdw_cdns *cdns) in sdw_cdns_config_update()
301 int sdw_cdns_config_update_set_wait(struct sdw_cdns *cdns) in sdw_cdns_config_update_set_wait()
316 static ssize_t cdns_sprintf(struct sdw_cdns *cdns, in cdns_sprintf()
325 struct sdw_cdns *cdns = s->private; in cdns_reg_show()
400 struct sdw_cdns *cdns = data; in cdns_hw_reset()
420 struct sdw_cdns *cdns = data; in cdns_parity_error_injection()
499 struct sdw_cdns *cdns = data; in cdns_set_pdi_loopback_source()
516 struct sdw_cdns *cdns = data; in cdns_set_pdi_loopback_target()
536 void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root) in sdw_cdns_debugfs_init()
564 cdns_fill_msg_resp(struct sdw_cdns *cdns, in cdns_fill_msg_resp()
602 static void cdns_read_response(struct sdw_cdns *cdns) in cdns_read_response()
626 _cdns_xfer_msg(struct sdw_cdns *cdns, struct sdw_msg *msg, int cmd, in _cdns_xfer_msg()
677 cdns_program_scp_addr(struct sdw_cdns *cdns, struct sdw_msg *msg) in cdns_program_scp_addr()
741 static int cdns_prep_msg(struct sdw_cdns *cdns, struct sdw_msg *msg, int *cmd) in cdns_prep_msg()
773 struct sdw_cdns *cdns = bus_to_cdns(bus); in cdns_xfer_msg()
798 struct sdw_cdns *cdns = bus_to_cdns(bus); in cdns_xfer_msg_defer()
817 struct sdw_cdns *cdns = bus_to_cdns(bus); in cdns_read_ping_status()
827 static int cdns_update_slave_status(struct sdw_cdns *cdns, in cdns_update_slave_status()
913 struct sdw_cdns *cdns = dev_id; in sdw_cdns_irq()
1000 struct sdw_cdns *cdns = in cdns_check_attached_status_dwork()
1001 container_of(work, struct sdw_cdns, attach_dwork.work); in cdns_check_attached_status_dwork()
1031 struct sdw_cdns *cdns = in cdns_update_slave_status_work()
1032 container_of(work, struct sdw_cdns, work); in cdns_update_slave_status_work()
1108 void sdw_cdns_check_self_clearing_bits(struct sdw_cdns *cdns, const char *string, in sdw_cdns_check_self_clearing_bits()
1164 int sdw_cdns_exit_reset(struct sdw_cdns *cdns) in sdw_cdns_exit_reset()
1183 static void cdns_enable_slave_interrupts(struct sdw_cdns *cdns, bool state) in cdns_enable_slave_interrupts()
1201 int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns, bool state) in sdw_cdns_enable_interrupt()
1268 static int cdns_allocate_pdi(struct sdw_cdns *cdns, in cdns_allocate_pdi()
1296 int sdw_cdns_pdi_init(struct sdw_cdns *cdns, in sdw_cdns_pdi_init()
1355 static void cdns_init_clock_ctrl(struct sdw_cdns *cdns) in cdns_init_clock_ctrl()
1389 int sdw_cdns_init(struct sdw_cdns *cdns) in sdw_cdns_init()
1447 struct sdw_cdns *cdns = bus_to_cdns(bus); in cdns_bus_conf()
1474 struct sdw_cdns *cdns = bus_to_cdns(bus); in cdns_port_params()
1514 struct sdw_cdns *cdns = bus_to_cdns(bus); in cdns_transport_params()
1603 struct sdw_cdns *cdns = bus_to_cdns(bus); in cdns_port_enable()
1628 bool sdw_cdns_is_clock_stop(struct sdw_cdns *cdns) in sdw_cdns_is_clock_stop()
1640 int sdw_cdns_clock_stop(struct sdw_cdns *cdns, bool block_wake) in sdw_cdns_clock_stop()
1722 int sdw_cdns_clock_restart(struct sdw_cdns *cdns, bool bus_reset) in sdw_cdns_clock_restart()
1774 int sdw_cdns_probe(struct sdw_cdns *cdns) in sdw_cdns_probe()
1791 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai); in cdns_set_sdw_stream()
1848 static struct sdw_cdns_pdi *cdns_find_pdi(struct sdw_cdns *cdns, in cdns_find_pdi()
1871 void sdw_cdns_config_stream(struct sdw_cdns *cdns, in sdw_cdns_config_stream()
1903 struct sdw_cdns_pdi *sdw_cdns_alloc_pdi(struct sdw_cdns *cdns, in sdw_cdns_alloc_pdi()