Lines Matching refs:sdw_cdns
203 static inline u32 cdns_readl(struct sdw_cdns *cdns, int offset)
208 static inline void cdns_writel(struct sdw_cdns *cdns, int offset, u32 value)
213 static inline u32 cdns_ip_readl(struct sdw_cdns *cdns, int offset)
218 static inline void cdns_ip_writel(struct sdw_cdns *cdns, int offset, u32 value)
223 static inline void cdns_updatel(struct sdw_cdns *cdns,
233 static inline void cdns_ip_updatel(struct sdw_cdns *cdns,
239 static int cdns_set_wait(struct sdw_cdns *cdns, int offset, u32 mask, u32 value)
257 static int cdns_clear_bit(struct sdw_cdns *cdns, int offset, u32 value)
269 static int cdns_config_update(struct sdw_cdns *cdns)
290 void sdw_cdns_config_update(struct sdw_cdns *cdns)
301 int sdw_cdns_config_update_set_wait(struct sdw_cdns *cdns)
316 static ssize_t cdns_sprintf(struct sdw_cdns *cdns,
325 struct sdw_cdns *cdns = s->private;
400 struct sdw_cdns *cdns = data;
420 struct sdw_cdns *cdns = data;
499 struct sdw_cdns *cdns = data;
516 struct sdw_cdns *cdns = data;
536 void sdw_cdns_debugfs_init(struct sdw_cdns *cdns, struct dentry *root)
564 cdns_fill_msg_resp(struct sdw_cdns *cdns,
602 static void cdns_read_response(struct sdw_cdns *cdns)
626 _cdns_xfer_msg(struct sdw_cdns *cdns, struct sdw_msg *msg, int cmd,
677 cdns_program_scp_addr(struct sdw_cdns *cdns, struct sdw_msg *msg)
741 static int cdns_prep_msg(struct sdw_cdns *cdns, struct sdw_msg *msg, int *cmd)
773 struct sdw_cdns *cdns = bus_to_cdns(bus);
798 struct sdw_cdns *cdns = bus_to_cdns(bus);
817 struct sdw_cdns *cdns = bus_to_cdns(bus);
827 static int cdns_update_slave_status(struct sdw_cdns *cdns,
907 struct sdw_cdns *cdns = dev_id;
1000 struct sdw_cdns *cdns =
1001 container_of(work, struct sdw_cdns, work);
1077 void sdw_cdns_check_self_clearing_bits(struct sdw_cdns *cdns, const char *string,
1133 int sdw_cdns_exit_reset(struct sdw_cdns *cdns)
1152 static void cdns_enable_slave_interrupts(struct sdw_cdns *cdns, bool state)
1170 int sdw_cdns_enable_interrupt(struct sdw_cdns *cdns, bool state)
1237 static int cdns_allocate_pdi(struct sdw_cdns *cdns,
1265 int sdw_cdns_pdi_init(struct sdw_cdns *cdns,
1324 static void cdns_init_clock_ctrl(struct sdw_cdns *cdns)
1358 int sdw_cdns_init(struct sdw_cdns *cdns)
1416 struct sdw_cdns *cdns = bus_to_cdns(bus);
1443 struct sdw_cdns *cdns = bus_to_cdns(bus);
1483 struct sdw_cdns *cdns = bus_to_cdns(bus);
1572 struct sdw_cdns *cdns = bus_to_cdns(bus);
1597 bool sdw_cdns_is_clock_stop(struct sdw_cdns *cdns)
1609 int sdw_cdns_clock_stop(struct sdw_cdns *cdns, bool block_wake)
1691 int sdw_cdns_clock_restart(struct sdw_cdns *cdns, bool bus_reset)
1743 int sdw_cdns_probe(struct sdw_cdns *cdns)
1756 struct sdw_cdns *cdns = snd_soc_dai_get_drvdata(dai);
1813 static struct sdw_cdns_pdi *cdns_find_pdi(struct sdw_cdns *cdns,
1836 void sdw_cdns_config_stream(struct sdw_cdns *cdns,
1868 struct sdw_cdns_pdi *sdw_cdns_alloc_pdi(struct sdw_cdns *cdns,