/linux-6.1.9/include/linux/soundwire/ |
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); 619 int (*interrupt_callback)(struct sdw_slave *slave, 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, 664 struct sdw_slave { struct 687 #define dev_to_sdw_dev(_dev) container_of(_dev, struct sdw_slave, dev) argument [all …]
|
/linux-6.1.9/drivers/soundwire/ |
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);
|
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()
|
D | bus.c | 151 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() 361 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg() 418 sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread_no_pm() 435 sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) in sdw_nwrite_no_pm() 451 int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write_no_pm() 523 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm() 536 int sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update_no_pm() 550 int sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update() 570 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread() 594 int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) in sdw_nwrite() [all …]
|
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() 165 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove() 185 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown()
|
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);
|
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()
|
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-6.1.9/sound/soc/codecs/ |
D | rt1308-sdw.c | 121 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop() 194 dev_dbg(&rt1308->sdw_slave->dev, "%s m_btl_l=0x%x, m_btl_r=0x%x\n", __func__, in rt1308_apply_calib_params() 196 dev_dbg(&rt1308->sdw_slave->dev, "%s c_btl_l=0x%x, c_btl_r=0x%x\n", __func__, in rt1308_apply_calib_params() 200 static int rt1308_io_init(struct device *dev, struct sdw_slave *slave) in rt1308_io_init() 290 static int rt1308_update_status(struct sdw_slave *slave, in rt1308_update_status() 312 static int rt1308_bus_config(struct sdw_slave *slave, in rt1308_bus_config() 327 static int rt1308_interrupt_callback(struct sdw_slave *slave, in rt1308_interrupt_callback() 557 if (!rt1308->sdw_slave) in rt1308_sdw_hw_params() 585 retval = sdw_stream_add_slave(rt1308->sdw_slave, &stream_config, in rt1308_sdw_hw_params() 604 if (!rt1308->sdw_slave) in rt1308_sdw_pcm_hw_free() [all …]
|
D | sdw-mockup.c | 22 struct sdw_slave *slave; 164 static int sdw_mockup_update_status(struct sdw_slave *slave, in sdw_mockup_update_status() 170 static int sdw_mockup_read_prop(struct sdw_slave *slave) in sdw_mockup_read_prop() 234 static int sdw_mockup_bus_config(struct sdw_slave *slave, in sdw_mockup_bus_config() 240 static int sdw_mockup_interrupt_callback(struct sdw_slave *slave, in sdw_mockup_interrupt_callback() 253 static int sdw_mockup_sdw_probe(struct sdw_slave *slave, in sdw_mockup_sdw_probe() 277 static int sdw_mockup_sdw_remove(struct sdw_slave *slave) in sdw_mockup_sdw_remove()
|
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() 648 struct sdw_slave *slave) in rt1316_sdw_init() 658 rt1316->sdw_slave = slave; in rt1316_sdw_init() 678 static int rt1316_sdw_probe(struct sdw_slave *slave, in rt1316_sdw_probe() [all …]
|
D | rt715-sdca-sdw.c | 119 static int rt715_sdca_update_status(struct sdw_slave *slave, in rt715_sdca_update_status() 138 static int rt715_sdca_read_prop(struct sdw_slave *slave) in rt715_sdca_read_prop() 180 static int rt715_sdca_sdw_probe(struct sdw_slave *slave, in rt715_sdca_sdw_probe() 197 static int rt715_sdca_sdw_remove(struct sdw_slave *slave) in rt715_sdca_sdw_remove() 233 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt715_dev_resume()
|
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);
|
D | rt711-sdca-sdw.c | 141 static int rt711_sdca_update_status(struct sdw_slave *slave, in rt711_sdca_update_status() 178 static int rt711_sdca_read_prop(struct sdw_slave *slave) in rt711_sdca_read_prop() 241 static int rt711_sdca_interrupt_callback(struct sdw_slave *slave, in rt711_sdca_interrupt_callback() 347 static int rt711_sdca_sdw_probe(struct sdw_slave *slave, in rt711_sdca_sdw_probe() 364 static int rt711_sdca_sdw_remove(struct sdw_slave *slave) in rt711_sdca_sdw_remove() 407 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_system_suspend() 438 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_resume()
|
D | rt711-sdw.c | 317 static int rt711_update_status(struct sdw_slave *slave, in rt711_update_status() 339 static int rt711_read_prop(struct sdw_slave *slave) in rt711_read_prop() 404 static int rt711_bus_config(struct sdw_slave *slave, in rt711_bus_config() 419 static int rt711_interrupt_callback(struct sdw_slave *slave, in rt711_interrupt_callback() 444 static int rt711_sdw_probe(struct sdw_slave *slave, in rt711_sdw_probe() 464 static int rt711_sdw_remove(struct sdw_slave *slave) in rt711_sdw_remove() 508 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_system_suspend() 537 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_dev_resume()
|
D | rt700-sdw.c | 313 static int rt700_update_status(struct sdw_slave *slave, in rt700_update_status() 335 static int rt700_read_prop(struct sdw_slave *slave) in rt700_read_prop() 399 static int rt700_bus_config(struct sdw_slave *slave, in rt700_bus_config() 414 static int rt700_interrupt_callback(struct sdw_slave *slave, in rt700_interrupt_callback() 443 static int rt700_sdw_probe(struct sdw_slave *slave, in rt700_sdw_probe() 463 static int rt700_sdw_remove(struct sdw_slave *slave) in rt700_sdw_remove() 501 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_system_suspend() 531 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt700_dev_resume()
|
D | max98373-sdw.c | 270 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume() 302 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop() 362 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init() 481 static int max98373_clock_calculate(struct sdw_slave *slave, in max98373_clock_calculate() 501 static int max98373_clock_config(struct sdw_slave *slave, in max98373_clock_config() 772 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init() 814 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status() 832 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config() 854 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe() 867 static int max98373_sdw_remove(struct sdw_slave *slave) in max98373_sdw_remove()
|
D | rt1316-sdw.h | 44 struct sdw_slave *sdw_slave; member
|
D | rt1308-sdw.h | 161 struct sdw_slave *sdw_slave; member
|
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()
|
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() 755 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_system_suspend() 782 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_resume()
|
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);
|
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-6.1.9/drivers/base/regmap/ |
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()
|
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()
|