Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/include/linux/soundwire/
A Dsdw.h12 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 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,
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 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_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 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 Dbus.c151 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 Dsysfs_local.h15 int sdw_slave_sysfs_init(struct sdw_slave *slave);
16 int sdw_slave_sysfs_dpn_init(struct sdw_slave *slave);
A Ddebugfs.c34 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 Drt1308-sdw.c122 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 Drt1318-sdw.c345 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 Dsdw-mockup.c23 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 Drt1316-sdw.c196 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 Dcs42l42-sdw.c128 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 Drt715-sdca-sdw.c119 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 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 Drt712-sdca-sdw.c138 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 Drt711-sdca-sdw.c141 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 Drt700-sdw.c313 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 Drt711-sdw.c317 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 Dmax98373-sdw.c271 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 Drt5682-sdw.c320 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 Drt1316-sdw.h44 struct sdw_slave *sdw_slave; member
A Drt712-sdca.h22 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 Drt1308-sdw.h161 struct sdw_slave *sdw_slave; member
/linux-6.3-rc2/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 54 milliseconds

123