Home
last modified time | relevance | path

Searched refs:sdw_slave (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/soundwire/
Dsdw.h11 struct sdw_slave;
425 int sdw_slave_read_prop(struct sdw_slave *slave);
585 int (*read_prop)(struct sdw_slave *sdw);
586 int (*interrupt_callback)(struct sdw_slave *slave,
588 int (*update_status)(struct sdw_slave *slave,
590 int (*bus_config)(struct sdw_slave *slave,
592 int (*port_prep)(struct sdw_slave *slave,
595 int (*get_clk_stop_mode)(struct sdw_slave *slave);
596 int (*clk_stop)(struct sdw_slave *slave,
632 struct sdw_slave { struct
[all …]
/kernel/linux/linux-5.10/drivers/soundwire/
Dbus.h31 void sdw_slave_debugfs_init(struct sdw_slave *slave);
32 void sdw_slave_debugfs_exit(struct sdw_slave *slave);
38 static inline void sdw_slave_debugfs_init(struct sdw_slave *slave) {} in sdw_slave_debugfs_init()
39 static inline void sdw_slave_debugfs_exit(struct sdw_slave *slave) {} in sdw_slave_debugfs_exit()
114 struct sdw_slave *slave;
145 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave,
148 int sdw_configure_dpn_intr(struct sdw_slave *slave, int port,
157 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave,
203 static inline int sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update()
226 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size);
Dbus_type.c21 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id()
39 struct sdw_slave *slave; in sdw_bus_match()
52 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size) in sdw_slave_modalias()
63 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_uevent()
82 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_probe()
147 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove()
161 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown()
Dsysfs_slave.c74 struct sdw_slave *slave = dev_to_sdw_dev(dev); \
98 struct sdw_slave *slave = dev_to_sdw_dev(dev); in modalias_show()
147 struct sdw_slave *slave = dev_to_sdw_dev(dev); \
161 struct sdw_slave *slave = dev_to_sdw_dev(dev); in words_show()
193 int sdw_slave_sysfs_init(struct sdw_slave *slave) in sdw_slave_sysfs_init()
235 struct sdw_slave *slave = dev_to_sdw_dev(dev); in status_show()
244 struct sdw_slave *slave = dev_to_sdw_dev(dev); in device_number_show()
Dbus.c150 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave()
324 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg()
381 sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread_no_pm()
395 sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nwrite_no_pm()
408 int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write_no_pm()
480 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm()
493 static int sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update_no_pm()
512 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread()
538 int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nwrite()
562 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read()
[all …]
Dsysfs_local.h15 int sdw_slave_sysfs_init(struct sdw_slave *slave);
16 int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave);
Ddebugfs.c33 static ssize_t sdw_sprintf(struct sdw_slave *slave, in sdw_sprintf()
49 struct sdw_slave *slave = s_file->private; in sdw_slave_reg_show()
121 void sdw_slave_debugfs_init(struct sdw_slave *slave) in sdw_slave_debugfs_init()
138 void sdw_slave_debugfs_exit(struct sdw_slave *slave) in sdw_slave_debugfs_exit()
Dsysfs_slave_dpn.c53 static ssize_t field##_dpn_show(struct sdw_slave *slave, \
87 struct sdw_slave *slave = dev_to_sdw_dev(dev); \
113 static ssize_t field##_dpn_show(struct sdw_slave *slave, \
152 struct sdw_slave *slave = dev_to_sdw_dev(dev); \
280 int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave) in sdw_slave_sysfs_dpn_init()
Dmipi_disco.c123 static int sdw_slave_read_dp0(struct sdw_slave *slave, in sdw_slave_read_dp0()
162 static int sdw_slave_read_dpn(struct sdw_slave *slave, in sdw_slave_read_dpn()
287 int sdw_slave_read_prop(struct sdw_slave *slave) in sdw_slave_read_prop()
Dslave.c13 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_release()
27 struct sdw_slave *slave; in sdw_slave_add()
Dstream.c62 struct sdw_slave *slave, in _sdw_program_slave_port_params()
577 struct sdw_slave *slave; in sdw_notify_config()
973 *sdw_alloc_slave_rt(struct sdw_slave *slave, in sdw_alloc_slave_rt()
1003 struct sdw_slave *slave, in sdw_slave_port_release()
1032 static void sdw_release_slave_stream(struct sdw_slave *slave, in sdw_release_slave_stream()
1119 int sdw_stream_remove_slave(struct sdw_slave *slave, in sdw_stream_remove_slave()
1233 static int sdw_slave_port_config(struct sdw_slave *slave, in sdw_slave_port_config()
1342 int sdw_stream_add_slave(struct sdw_slave *slave, in sdw_stream_add_slave()
1422 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave, in sdw_get_slave_dpn_prop()
/kernel/linux/linux-5.10/drivers/base/regmap/
Dregmap-sdw.c12 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_write()
20 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_read()
54 struct regmap *__regmap_init_sdw(struct sdw_slave *sdw, in __regmap_init_sdw()
70 struct regmap *__devm_regmap_init_sdw(struct sdw_slave *sdw, in __devm_regmap_init_sdw()
/kernel/linux/linux-5.10/sound/soc/codecs/
Drt1308-sdw.c118 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop()
162 static int rt1308_io_init(struct device *dev, struct sdw_slave *slave) in rt1308_io_init()
275 static int rt1308_update_status(struct sdw_slave *slave, in rt1308_update_status()
297 static int rt1308_bus_config(struct sdw_slave *slave, in rt1308_bus_config()
312 static int rt1308_interrupt_callback(struct sdw_slave *slave, in rt1308_interrupt_callback()
539 if (!rt1308->sdw_slave) in rt1308_sdw_hw_params()
567 retval = sdw_stream_add_slave(rt1308->sdw_slave, &stream_config, in rt1308_sdw_hw_params()
586 if (!rt1308->sdw_slave) in rt1308_sdw_pcm_hw_free()
589 sdw_stream_remove_slave(rt1308->sdw_slave, stream->sdw_stream); in rt1308_sdw_pcm_hw_free()
641 struct sdw_slave *slave) in rt1308_sdw_init()
[all …]
Drt1308-sdw.h158 struct sdw_slave *sdw_slave; member
Drt700-sdw.c312 static int rt700_update_status(struct sdw_slave *slave, in rt700_update_status()
334 static int rt700_read_prop(struct sdw_slave *slave) in rt700_read_prop()
398 static int rt700_bus_config(struct sdw_slave *slave, in rt700_bus_config()
413 static int rt700_interrupt_callback(struct sdw_slave *slave, in rt700_interrupt_callback()
440 static int rt700_sdw_probe(struct sdw_slave *slave, in rt700_sdw_probe()
460 static int rt700_sdw_remove(struct sdw_slave *slave) in rt700_sdw_remove()
497 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_resume()
Drt711-sdw.c316 static int rt711_update_status(struct sdw_slave *slave, in rt711_update_status()
338 static int rt711_read_prop(struct sdw_slave *slave) in rt711_read_prop()
402 static int rt711_bus_config(struct sdw_slave *slave, in rt711_bus_config()
417 static int rt711_interrupt_callback(struct sdw_slave *slave, in rt711_interrupt_callback()
440 static int rt711_sdw_probe(struct sdw_slave *slave, in rt711_sdw_probe()
460 static int rt711_sdw_remove(struct sdw_slave *slave) in rt711_sdw_remove()
499 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_resume()
Drt700.h17 struct sdw_slave *slave;
168 int rt700_io_init(struct device *dev, struct sdw_slave *slave);
170 struct regmap *regmap, struct sdw_slave *slave);
Drt5682-sdw.c333 struct sdw_slave *slave) in rt5682_sdw_init()
375 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init()
524 static int rt5682_update_status(struct sdw_slave *slave, in rt5682_update_status()
546 static int rt5682_read_prop(struct sdw_slave *slave) in rt5682_read_prop()
656 static int rt5682_bus_config(struct sdw_slave *slave, in rt5682_bus_config()
671 static int rt5682_interrupt_callback(struct sdw_slave *slave, in rt5682_interrupt_callback()
694 static int rt5682_sdw_probe(struct sdw_slave *slave, in rt5682_sdw_probe()
709 static int rt5682_sdw_remove(struct sdw_slave *slave) in rt5682_sdw_remove()
740 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_resume()
Dmax98373-sdw.c257 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume()
287 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop()
347 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init()
466 static int max98373_clock_calculate(struct sdw_slave *slave, in max98373_clock_calculate()
486 static int max98373_clock_config(struct sdw_slave *slave, in max98373_clock_config()
757 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init()
788 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status()
806 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config()
828 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe()
Drt711.h17 struct sdw_slave *slave;
221 int rt711_io_init(struct device *dev, struct sdw_slave *slave);
223 struct regmap *regmap, struct sdw_slave *slave);
Drt715.h17 struct sdw_slave *slave;
215 int rt715_io_init(struct device *dev, struct sdw_slave *slave);
217 struct regmap *regmap, struct sdw_slave *slave);
Drt715-sdw.c414 static int rt715_update_status(struct sdw_slave *slave, in rt715_update_status()
432 static int rt715_read_prop(struct sdw_slave *slave) in rt715_read_prop()
476 static int rt715_bus_config(struct sdw_slave *slave, in rt715_bus_config()
497 static int rt715_sdw_probe(struct sdw_slave *slave, in rt715_sdw_probe()
540 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt715_dev_resume()
Dwsa881x.c675 struct sdw_slave *slave;
1060 static int wsa881x_update_status(struct sdw_slave *slave, in wsa881x_update_status()
1071 static int wsa881x_port_prep(struct sdw_slave *slave, in wsa881x_port_prep()
1085 static int wsa881x_bus_config(struct sdw_slave *slave, in wsa881x_bus_config()
1100 static int wsa881x_probe(struct sdw_slave *pdev, in wsa881x_probe()
Dmax98373.h216 struct sdw_slave *slave;
/kernel/linux/linux-5.10/include/linux/
Dregmap.h37 struct sdw_slave;
569 struct regmap *__regmap_init_sdw(struct sdw_slave *sdw,
618 struct regmap *__devm_regmap_init_sdw(struct sdw_slave *sdw,

12