/linux-6.3-rc2/include/linux/soundwire/ |
A D | sdw.h | 12 struct sdw_slave; 458 int sdw_slave_read_prop(struct sdw_slave *slave); 623 int (*read_prop)(struct sdw_slave *sdw); 626 int (*update_status)(struct sdw_slave *slave, 628 int (*bus_config)(struct sdw_slave *slave, 630 int (*port_prep)(struct sdw_slave *slave, 633 int (*clk_stop)(struct sdw_slave *slave, 669 struct sdw_slave { struct 710 int (*probe)(struct sdw_slave *sdw, 712 int (*remove)(struct sdw_slave *sdw); [all …]
|
/linux-6.3-rc2/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, 158 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, 214 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_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 const 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() 164 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove() 182 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown()
|
A D | bus.c | 151 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave() 498 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm() 591 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read() 623 struct sdw_slave *slave; in sdw_get_slave() 647 static int sdw_get_device_num(struct sdw_slave *slave) in sdw_get_device_num() 742 struct sdw_slave *slave, *_s; in sdw_program_device_num() 970 struct sdw_slave *slave; in sdw_bus_prep_clk_stop() 1099 struct sdw_slave *slave; in sdw_bus_exit_clk_stop() 1168 int sdw_configure_dpn_intr(struct sdw_slave *slave, in sdw_configure_dpn_intr() 1770 struct sdw_slave *slave; in sdw_handle_slave_status() [all …]
|
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 | debugfs.c | 34 static ssize_t sdw_sprintf(struct sdw_slave *slave, in sdw_sprintf() 50 struct sdw_slave *slave = s_file->private; in sdw_slave_reg_show() 132 void sdw_slave_debugfs_init(struct sdw_slave *slave) in sdw_slave_debugfs_init() 149 void sdw_slave_debugfs_exit(struct sdw_slave *slave) in sdw_slave_debugfs_exit()
|
/linux-6.3-rc2/sound/soc/codecs/ |
A D | rt1308-sdw.c | 122 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop() 302 static int rt1308_update_status(struct sdw_slave *slave, in rt1308_update_status() 324 static int rt1308_bus_config(struct sdw_slave *slave, in rt1308_bus_config() 565 if (!rt1308->sdw_slave) in rt1308_sdw_hw_params() 601 if (!rt1308->sdw_slave) in rt1308_sdw_pcm_hw_free() 646 rt1308_sdw_parse_dt(rt1308, &rt1308->sdw_slave->dev); in rt1308_sdw_component_probe() 697 struct sdw_slave *slave) in rt1308_sdw_init() 707 rt1308->sdw_slave = slave; in rt1308_sdw_init() 727 static int rt1308_sdw_probe(struct sdw_slave *slave, in rt1308_sdw_probe() 742 static int rt1308_sdw_remove(struct sdw_slave *slave) in rt1308_sdw_remove() [all …]
|
A D | rt1318-sdw.c | 345 static int rt1318_read_prop(struct sdw_slave *slave) in rt1318_read_prop() 454 static int rt1318_update_status(struct sdw_slave *slave, in rt1318_update_status() 611 if (!rt1318->sdw_slave) in rt1318_sdw_hw_params() 635 retval = sdw_stream_add_slave(rt1318->sdw_slave, &stream_config, in rt1318_sdw_hw_params() 685 if (!rt1318->sdw_slave) in rt1318_sdw_pcm_hw_free() 688 sdw_stream_remove_slave(rt1318->sdw_slave, stream->sdw_stream); in rt1318_sdw_pcm_hw_free() 761 struct sdw_slave *slave) in rt1318_sdw_init() 771 rt1318->sdw_slave = slave; in rt1318_sdw_init() 791 static int rt1318_sdw_probe(struct sdw_slave *slave, in rt1318_sdw_probe() 804 static int rt1318_sdw_remove(struct sdw_slave *slave) in rt1318_sdw_remove() [all …]
|
A D | sdw-mockup.c | 23 struct sdw_slave *slave; 149 static int sdw_mockup_update_status(struct sdw_slave *slave, in sdw_mockup_update_status() 155 static int sdw_mockup_read_prop(struct sdw_slave *slave) in sdw_mockup_read_prop() 219 static int sdw_mockup_bus_config(struct sdw_slave *slave, in sdw_mockup_bus_config() 225 static int sdw_mockup_interrupt_callback(struct sdw_slave *slave, in sdw_mockup_interrupt_callback() 238 static int sdw_mockup_sdw_probe(struct sdw_slave *slave, in sdw_mockup_sdw_probe() 262 static int sdw_mockup_sdw_remove(struct sdw_slave *slave) in sdw_mockup_sdw_remove()
|
A D | rt1316-sdw.c | 196 static int rt1316_read_prop(struct sdw_slave *slave) in rt1316_read_prop() 321 static int rt1316_update_status(struct sdw_slave *slave, in rt1316_update_status() 541 if (!rt1316->sdw_slave) in rt1316_sdw_hw_params() 572 if (!rt1316->sdw_slave) in rt1316_sdw_pcm_hw_free() 575 sdw_stream_remove_slave(rt1316->sdw_slave, stream->sdw_stream); in rt1316_sdw_pcm_hw_free() 615 rt1316_sdw_parse_dt(rt1316, &rt1316->sdw_slave->dev); in rt1316_sdw_component_probe() 671 struct sdw_slave *slave) in rt1316_sdw_init() 681 rt1316->sdw_slave = slave; in rt1316_sdw_init() 701 static int rt1316_sdw_probe(struct sdw_slave *slave, in rt1316_sdw_probe() 714 static int rt1316_sdw_remove(struct sdw_slave *slave) in rt1316_sdw_remove() [all …]
|
A D | cs42l42-sdw.c | 128 static int cs42l42_sdw_port_prep(struct sdw_slave *slave, in cs42l42_sdw_port_prep() 205 static int cs42l42_sdw_poll_status(struct sdw_slave *peripheral, u8 mask, u8 match) in cs42l42_sdw_poll_status() 225 struct sdw_slave *peripheral = context; in cs42l42_sdw_read() 275 struct sdw_slave *peripheral = context; in cs42l42_sdw_write() 286 static void cs42l42_sdw_init(struct sdw_slave *peripheral) in cs42l42_sdw_init() 312 static int cs42l42_sdw_read_prop(struct sdw_slave *peripheral) in cs42l42_sdw_read_prop() 342 static int cs42l42_sdw_update_status(struct sdw_slave *peripheral, in cs42l42_sdw_update_status() 368 static int cs42l42_sdw_bus_config(struct sdw_slave *peripheral, in cs42l42_sdw_bus_config() 417 struct sdw_slave *peripheral = cs42l42->sdw_peripheral; in cs42l42_sdw_handle_unattach() 498 static int cs42l42_sdw_probe(struct sdw_slave *peripheral, const struct sdw_device_id *id) in cs42l42_sdw_probe() [all …]
|
A 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()
|
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 | rt712-sdca-sdw.c | 138 static int rt712_sdca_update_status(struct sdw_slave *slave, in rt712_sdca_update_status() 175 static int rt712_sdca_read_prop(struct sdw_slave *slave) in rt712_sdca_read_prop() 237 static int rt712_sdca_interrupt_callback(struct sdw_slave *slave, in rt712_sdca_interrupt_callback() 343 static int rt712_sdca_sdw_probe(struct sdw_slave *slave, in rt712_sdca_sdw_probe() 360 static int rt712_sdca_sdw_remove(struct sdw_slave *slave) in rt712_sdca_sdw_remove() 406 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt712_sdca_dev_system_suspend() 437 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt712_sdca_dev_resume()
|
A 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() 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() 406 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_system_suspend() 437 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_resume()
|
A 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()
|
A 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()
|
A D | max98373-sdw.c | 271 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume() 303 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop() 363 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init() 482 static int max98373_clock_calculate(struct sdw_slave *slave, in max98373_clock_calculate() 502 static int max98373_clock_config(struct sdw_slave *slave, in max98373_clock_config() 760 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init() 802 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status() 820 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config() 842 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe() 855 static int max98373_sdw_remove(struct sdw_slave *slave) in max98373_sdw_remove()
|
A D | rt5682-sdw.c | 320 struct sdw_slave *slave) in rt5682_sdw_init() 364 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init() 518 static int rt5682_update_status(struct sdw_slave *slave, in rt5682_update_status() 540 static int rt5682_read_prop(struct sdw_slave *slave) in rt5682_read_prop() 650 static int rt5682_bus_config(struct sdw_slave *slave, in rt5682_bus_config() 665 static int rt5682_interrupt_callback(struct sdw_slave *slave, in rt5682_interrupt_callback() 690 static int rt5682_sdw_probe(struct sdw_slave *slave, in rt5682_sdw_probe() 705 static int rt5682_sdw_remove(struct sdw_slave *slave) in rt5682_sdw_remove() 742 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_system_suspend() 769 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_resume()
|
A D | rt1316-sdw.h | 44 struct sdw_slave *sdw_slave; member
|
A D | rt712-sdca.h | 22 struct sdw_slave *slave; 215 int rt712_sdca_io_init(struct device *dev, struct sdw_slave *slave); 217 struct regmap *mbq_regmap, struct sdw_slave *slave);
|
A D | rt1308-sdw.h | 161 struct sdw_slave *sdw_slave; member
|
/linux-6.3-rc2/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()
|