Home
last modified time | relevance | path

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

12

/linux/include/linux/soundwire/
A Dsdw.h11 struct sdw_slave;
455 int sdw_slave_read_prop(struct sdw_slave *slave);
618 int (*read_prop)(struct sdw_slave *sdw);
621 int (*update_status)(struct sdw_slave *slave,
623 int (*bus_config)(struct sdw_slave *slave,
625 int (*port_prep)(struct sdw_slave *slave,
628 int (*clk_stop)(struct sdw_slave *slave,
667 struct sdw_slave { struct
709 int (*probe)(struct sdw_slave *sdw,
711 int (*remove)(struct sdw_slave *sdw);
[all …]
/linux/drivers/soundwire/
A Dbus.h33 void sdw_slave_debugfs_init(struct sdw_slave *slave);
34 void sdw_slave_debugfs_exit(struct sdw_slave *slave);
40 static inline void sdw_slave_debugfs_init(struct sdw_slave *slave) {} in sdw_slave_debugfs_init()
41 static inline void sdw_slave_debugfs_exit(struct sdw_slave *slave) {} in sdw_slave_debugfs_exit()
116 struct sdw_slave *slave;
147 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave,
150 int sdw_configure_dpn_intr(struct sdw_slave *slave, int port,
159 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave,
215 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size);
A 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()
A Dbus.c150 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave()
488 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm()
585 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read()
617 struct sdw_slave *slave; in sdw_get_slave()
641 static int sdw_get_device_num(struct sdw_slave *slave) in sdw_get_device_num()
728 struct sdw_slave *slave, *_s; in sdw_program_device_num()
936 struct sdw_slave *slave; in sdw_bus_prep_clk_stop()
1065 struct sdw_slave *slave; in sdw_bus_exit_clk_stop()
1134 int sdw_configure_dpn_intr(struct sdw_slave *slave, in sdw_configure_dpn_intr()
1734 struct sdw_slave *slave; in sdw_handle_slave_status()
[all …]
A 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()
151 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove()
165 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown()
A 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()
A Dsysfs_local.h15 int sdw_slave_sysfs_init(struct sdw_slave *slave);
16 int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave);
A 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()
/linux/sound/soc/codecs/
A Dsdw-mockup.c22 struct sdw_slave *slave;
163 static int sdw_mockup_update_status(struct sdw_slave *slave, in sdw_mockup_update_status()
169 static int sdw_mockup_read_prop(struct sdw_slave *slave) in sdw_mockup_read_prop()
233 static int sdw_mockup_bus_config(struct sdw_slave *slave, in sdw_mockup_bus_config()
239 static int sdw_mockup_interrupt_callback(struct sdw_slave *slave, in sdw_mockup_interrupt_callback()
252 static int sdw_mockup_sdw_probe(struct sdw_slave *slave, in sdw_mockup_sdw_probe()
276 static int sdw_mockup_sdw_remove(struct sdw_slave *slave) in sdw_mockup_sdw_remove()
A Drt1308-sdw.c118 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop()
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()
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()
651 rt1308->sdw_slave = slave; in rt1308_sdw_init()
671 static int rt1308_sdw_probe(struct sdw_slave *slave, in rt1308_sdw_probe()
[all …]
A Drt1316-sdw.c195 static int rt1316_read_prop(struct sdw_slave *slave) in rt1316_read_prop()
257 static int rt1316_io_init(struct device *dev, struct sdw_slave *slave) in rt1316_io_init()
310 static int rt1316_update_status(struct sdw_slave *slave, in rt1316_update_status()
534 if (!rt1316->sdw_slave) in rt1316_sdw_hw_params()
558 retval = sdw_stream_add_slave(rt1316->sdw_slave, &stream_config, in rt1316_sdw_hw_params()
577 if (!rt1316->sdw_slave) in rt1316_sdw_pcm_hw_free()
580 sdw_stream_remove_slave(rt1316->sdw_slave, stream->sdw_stream); in rt1316_sdw_pcm_hw_free()
635 struct sdw_slave *slave) in rt1316_sdw_init()
645 rt1316->sdw_slave = slave; in rt1316_sdw_init()
665 static int rt1316_sdw_probe(struct sdw_slave *slave, in rt1316_sdw_probe()
[all …]
A Drt711-sdca-sdw.c140 static int rt711_sdca_update_status(struct sdw_slave *slave, in rt711_sdca_update_status()
177 static int rt711_sdca_read_prop(struct sdw_slave *slave) in rt711_sdca_read_prop()
240 static int rt711_sdca_interrupt_callback(struct sdw_slave *slave, in rt711_sdca_interrupt_callback()
346 static int rt711_sdca_sdw_probe(struct sdw_slave *slave, in rt711_sdca_sdw_probe()
363 static int rt711_sdca_sdw_remove(struct sdw_slave *slave) in rt711_sdca_sdw_remove()
400 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_system_suspend()
431 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_resume()
A Drt715-sdca.h22 struct sdw_slave *slave;
133 int rt715_sdca_io_init(struct device *dev, struct sdw_slave *slave);
135 struct regmap *regmap, struct sdw_slave *slave);
A 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()
442 static int rt700_sdw_probe(struct sdw_slave *slave, in rt700_sdw_probe()
462 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_system_suspend()
527 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_resume()
A 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()
403 static int rt711_bus_config(struct sdw_slave *slave, in rt711_bus_config()
418 static int rt711_interrupt_callback(struct sdw_slave *slave, in rt711_interrupt_callback()
443 static int rt711_sdw_probe(struct sdw_slave *slave, in rt711_sdw_probe()
463 static int rt711_sdw_remove(struct sdw_slave *slave) in rt711_sdw_remove()
501 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_system_suspend()
530 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_resume()
A Drt5682-sdw.c333 struct sdw_slave *slave) in rt5682_sdw_init()
377 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init()
531 static int rt5682_update_status(struct sdw_slave *slave, in rt5682_update_status()
553 static int rt5682_read_prop(struct sdw_slave *slave) in rt5682_read_prop()
663 static int rt5682_bus_config(struct sdw_slave *slave, in rt5682_bus_config()
678 static int rt5682_interrupt_callback(struct sdw_slave *slave, in rt5682_interrupt_callback()
703 static int rt5682_sdw_probe(struct sdw_slave *slave, in rt5682_sdw_probe()
718 static int rt5682_sdw_remove(struct sdw_slave *slave) in rt5682_sdw_remove()
752 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_system_suspend()
779 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_resume()
A Dmax98373-sdw.c270 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume()
300 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop()
360 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init()
479 static int max98373_clock_calculate(struct sdw_slave *slave, in max98373_clock_calculate()
499 static int max98373_clock_config(struct sdw_slave *slave, in max98373_clock_config()
770 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init()
812 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status()
830 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config()
852 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe()
A Drt715-sdca-sdw.c118 static int rt715_sdca_update_status(struct sdw_slave *slave, in rt715_sdca_update_status()
137 static int rt715_sdca_read_prop(struct sdw_slave *slave) in rt715_sdca_read_prop()
179 static int rt715_sdca_sdw_probe(struct sdw_slave *slave, in rt715_sdca_sdw_probe()
224 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt715_dev_resume()
A Dwcd938x-sdw.c92 int wcd938x_swr_get_current_bank(struct sdw_slave *sdev) in wcd938x_swr_get_current_bank()
161 static int wcd9380_update_status(struct sdw_slave *slave, in wcd9380_update_status()
167 static int wcd9380_bus_config(struct sdw_slave *slave, in wcd9380_bus_config()
175 static int wcd9380_interrupt_callback(struct sdw_slave *slave, in wcd9380_interrupt_callback()
216 static int wcd9380_probe(struct sdw_slave *pdev, in wcd9380_probe()
A Drt1308-sdw.h158 struct sdw_slave *sdw_slave; member
A Drt1316-sdw.h44 struct sdw_slave *sdw_slave; member
A Drt711-sdca.h21 struct sdw_slave *slave;
237 int rt711_sdca_io_init(struct device *dev, struct sdw_slave *slave);
239 struct regmap *mbq_regmap, struct sdw_slave *slave);
A Drt700.h17 struct sdw_slave *slave;
170 int rt700_io_init(struct device *dev, struct sdw_slave *slave);
172 struct regmap *regmap, struct sdw_slave *slave);
/linux/drivers/base/regmap/
A Dregmap-sdw.c14 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_write()
22 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_read()
56 struct regmap *__regmap_init_sdw(struct sdw_slave *sdw, in __regmap_init_sdw()
72 struct regmap *__devm_regmap_init_sdw(struct sdw_slave *sdw, in __devm_regmap_init_sdw()
A Dregmap-sdw-mbq.c15 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_mbq_write()
28 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_mbq_read()
68 struct regmap *__regmap_init_sdw_mbq(struct sdw_slave *sdw, in __regmap_init_sdw_mbq()
84 struct regmap *__devm_regmap_init_sdw_mbq(struct sdw_slave *sdw, in __devm_regmap_init_sdw_mbq()

Completed in 41 milliseconds

12