/linux/include/linux/soundwire/ |
A D | sdw.h | 11 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 D | bus.h | 33 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 D | sysfs_slave.c | 74 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 D | bus.c | 150 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 D | bus_type.c | 21 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 D | debugfs.c | 33 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 D | sysfs_local.h | 15 int sdw_slave_sysfs_init(struct sdw_slave *slave); 16 int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave);
|
A D | sysfs_slave_dpn.c | 53 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 D | sdw-mockup.c | 22 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 D | rt1308-sdw.c | 118 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 D | rt1316-sdw.c | 195 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 D | rt711-sdca-sdw.c | 140 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 D | rt715-sdca.h | 22 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 D | rt700-sdw.c | 312 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 D | rt711-sdw.c | 316 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 D | rt5682-sdw.c | 333 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 D | max98373-sdw.c | 270 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 D | rt715-sdca-sdw.c | 118 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 D | wcd938x-sdw.c | 92 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 D | rt1308-sdw.h | 158 struct sdw_slave *sdw_slave; member
|
A D | rt1316-sdw.h | 44 struct sdw_slave *sdw_slave; member
|
A D | rt711-sdca.h | 21 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 D | rt700.h | 17 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 D | regmap-sdw.c | 14 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 D | regmap-sdw-mbq.c | 15 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()
|