Home
last modified time | relevance | path

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

123

/linux/include/sound/
H A Dsdca.h17 struct sdw_slave;
61 void sdca_lookup_functions(struct sdw_slave *slave); in sdca_lookup_interface_revision()
62 void sdca_lookup_swft(struct sdw_slave *slave); in sdca_device_quirk_match()
63 void sdca_lookup_interface_revision(struct sdw_slave *slave); in sdca_device_quirk_match()
64 bool sdca_device_quirk_match(struct sdw_slave *slave, enum sdca_quirk quirk); in sdca_device_quirk_match()
65 int sdca_dev_register_functions(struct sdw_slave *slave); in sdca_device_quirk_match()
66 void sdca_dev_unregister_functions(struct sdw_slave *slave);
70 static inline void sdca_lookup_functions(struct sdw_slave *slave) {}
71 static inline void sdca_lookup_swft(struct sdw_slave *slave) {}
72 static inline void sdca_lookup_interface_revision(struct sdw_slave *slav
[all...]
/linux/drivers/soundwire/
H 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()
146 struct sdw_slave *slave;
185 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave,
188 int sdw_configure_dpn_intr(struct sdw_slave *slave, int port,
196 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave,
241 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size);
H A Dbus.c172 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave()
362 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg()
415 static int sdw_ntransfer_no_pm(struct sdw_slave *slave, u32 addr, u8 flags, in sdw_ntransfer_no_pm()
452 int sdw_nread_no_pm(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread_no_pm()
468 int sdw_nwrite_no_pm(struct sdw_slave *slave, u32 addr, size_t count, const u8 *val) in sdw_nwrite_no_pm()
480 int sdw_write_no_pm(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write_no_pm()
557 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm()
570 int sdw_update_no_pm(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update_no_pm()
584 int sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update()
609 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread()
[all …]
H A Dbus_type.c22 sdw_get_device_id(struct sdw_slave *slave, const struct sdw_driver *drv) in sdw_get_device_id()
40 struct sdw_slave *slave; in sdw_bus_match()
53 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size) in sdw_slave_modalias()
64 const struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_uevent()
77 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_probe()
163 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_remove()
180 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_shutdown()
H A Ddebugfs.c37 static ssize_t sdw_sprintf(struct sdw_slave *slave, in sdw_sprintf()
53 struct sdw_slave *slave = s_file->private; in sdw_slave_reg_show()
152 struct sdw_slave *slave = data; in set_command()
170 struct sdw_slave *slave = data; in set_command_type()
189 struct sdw_slave *slave = data; in set_start_address()
205 struct sdw_slave *slave = data; in set_num_bytes()
222 static int do_bpt_sequence(struct sdw_slave *slave, bool write, u8 *buffer) in do_bpt_sequence()
249 struct sdw_slave *slave = data; in cmd_go()
339 void sdw_slave_debugfs_init(struct sdw_slave *slave) in sdw_slave_debugfs_init()
367 void sdw_slave_debugfs_exit(struct sdw_slave *slave) in sdw_slave_debugfs_exit()
/linux/sound/soc/codecs/
H A Drt1318-sdw.c345 static int rt1318_read_prop(struct sdw_slave *slave) in rt1318_read_prop()
404 static int rt1318_io_init(struct device *dev, struct sdw_slave *slave) in rt1318_io_init()
443 static int rt1318_update_status(struct sdw_slave *slave, in rt1318_update_status()
581 if (!rt1318->sdw_slave) in rt1318_sdw_hw_params()
605 retval = sdw_stream_add_slave(rt1318->sdw_slave, &stream_config, in rt1318_sdw_hw_params()
655 if (!rt1318->sdw_slave) in rt1318_sdw_pcm_hw_free()
658 sdw_stream_remove_slave(rt1318->sdw_slave, sdw_stream); in rt1318_sdw_pcm_hw_free()
682 dev_dbg(&rt1318->sdw_slave->dev, "%s pm_runtime_resume, ret=%d", __func__, ret); in rt1318_sdw_component_probe()
734 struct sdw_slave *slave) in rt1318_sdw_init()
744 rt1318->sdw_slave in rt1318_sdw_init()
[all...]
H A Drt1308-sdw.c123 static int rt1308_read_prop(struct sdw_slave *slave) in rt1308_read_prop()
196 dev_dbg(&rt1308->sdw_slave->dev, "%s m_btl_l=0x%x, m_btl_r=0x%x\n", __func__, in rt1308_apply_calib_params()
198 dev_dbg(&rt1308->sdw_slave->dev, "%s c_btl_l=0x%x, c_btl_r=0x%x\n", __func__, in rt1308_apply_calib_params()
213 static int rt1308_io_init(struct device *dev, struct sdw_slave *slave) in rt1308_io_init()
301 static int rt1308_update_status(struct sdw_slave *slave, in rt1308_update_status()
320 static int rt1308_bus_config(struct sdw_slave *slave, in rt1308_bus_config()
335 static int rt1308_interrupt_callback(struct sdw_slave *slave, in rt1308_interrupt_callback()
545 if (!rt1308->sdw_slave) in rt1308_sdw_hw_params()
562 retval = sdw_stream_add_slave(rt1308->sdw_slave, &stream_config, in rt1308_sdw_hw_params()
581 if (!rt1308->sdw_slave) in rt1308_sdw_pcm_hw_free()
[all...]
H A Dsdw-mockup.c23 struct sdw_slave *slave;
127 static int sdw_mockup_update_status(struct sdw_slave *slave, in sdw_mockup_update_status()
133 static int sdw_mockup_read_prop(struct sdw_slave *slave) in sdw_mockup_read_prop()
197 static int sdw_mockup_bus_config(struct sdw_slave *slave, in sdw_mockup_bus_config()
203 static int sdw_mockup_interrupt_callback(struct sdw_slave *slave, in sdw_mockup_interrupt_callback()
216 static int sdw_mockup_sdw_probe(struct sdw_slave *slave, in sdw_mockup_sdw_probe()
H A Drt1316-sdw.c196 static int rt1316_read_prop(struct sdw_slave *slave) in rt1316_read_prop()
268 static int rt1316_io_init(struct device *dev, struct sdw_slave *slave) in rt1316_io_init()
311 static int rt1316_update_status(struct sdw_slave *slave, in rt1316_update_status()
524 if (!rt1316->sdw_slave) in rt1316_sdw_hw_params()
536 retval = sdw_stream_add_slave(rt1316->sdw_slave, &stream_config, in rt1316_sdw_hw_params()
555 if (!rt1316->sdw_slave) in rt1316_sdw_pcm_hw_free()
558 sdw_stream_remove_slave(rt1316->sdw_slave, sdw_stream); in rt1316_sdw_pcm_hw_free()
598 rt1316_sdw_parse_dt(rt1316, &rt1316->sdw_slave->dev); in rt1316_sdw_component_probe()
657 struct sdw_slave *slave) in rt1316_sdw_init()
667 rt1316->sdw_slave in rt1316_sdw_init()
[all...]
H A Drt1017-sdca-sdw.c257 static int rt1017_sdca_read_prop(struct sdw_slave *slave) in rt1017_sdca_read_prop()
319 static int rt1017_sdca_io_init(struct device *dev, struct sdw_slave *slave) in rt1017_sdca_io_init()
371 static int rt1017_sdca_update_status(struct sdw_slave *slave, in rt1017_sdca_update_status()
590 if (!rt1017->sdw_slave) in rt1017_sdca_pcm_hw_params()
618 retval = sdw_stream_add_slave(rt1017->sdw_slave, &stream_config, in rt1017_sdca_pcm_hw_params()
662 if (!rt1017->sdw_slave) in rt1017_sdca_pcm_hw_free()
665 sdw_stream_remove_slave(rt1017->sdw_slave, sdw_stream); in rt1017_sdca_pcm_hw_free()
703 struct sdw_slave *slave) in rt1017_sdca_init()
713 rt1017->sdw_slave = slave; in rt1017_sdca_init()
731 static int rt1017_sdca_sdw_probe(struct sdw_slave *slav
[all...]
H A Drt1320-sdw.c663 static int rt1320_read_prop(struct sdw_slave *slave) in rt1320_read_prop()
743 pm_runtime_mark_last_busy(&rt1320->sdw_slave->dev); in rt1320_pde_transition_delay()
756 dev_warn(&rt1320->sdw_slave->dev, "%s PDE to %s is NOT ready", __func__, ps?"PS3":"PS0"); in rt1320_pde_transition_delay()
766 struct device *dev = &rt1320->sdw_slave->dev; in rt1320_data_rw()
777 ret = sdw_bpt_send_sync(rt1320->sdw_slave->bus, rt1320->sdw_slave, &rt1320->bra_msg); in rt1320_data_rw()
863 struct device *dev = &rt1320->sdw_slave->dev; in rt1320_check_fw_ready()
898 struct device *dev = &rt1320->sdw_slave->dev; in rt1320_check_power_state_ready()
920 struct device *dev = &rt1320->sdw_slave->dev; in rt1320_process_fw_param()
970 dev_err(&rt1320->sdw_slave->dev, "%s: FW is NOT ready for SET/GET_PARAM\n", __func__); in rt1320_process_fw_param()
977 struct device *dev = &rt1320->sdw_slave->dev; in rt1320_fw_param_protocol()
[all …]
H A Drt715-sdca.h22 struct sdw_slave *slave;
128 int rt715_sdca_io_init(struct device *dev, struct sdw_slave *slave);
130 struct regmap *regmap, struct sdw_slave *slave);
H A Dmax98373-sdw.c267 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98373_resume()
299 static int max98373_read_prop(struct sdw_slave *slave) in max98373_read_prop()
359 static int max98373_io_init(struct sdw_slave *slave) in max98373_io_init()
466 static int max98373_clock_calculate(struct sdw_slave *slave, in max98373_clock_calculate()
486 static int max98373_clock_config(struct sdw_slave *slave, in max98373_clock_config()
728 static int max98373_init(struct sdw_slave *slave, struct regmap *regmap) in max98373_init()
789 static int max98373_update_status(struct sdw_slave *slave, in max98373_update_status()
807 static int max98373_bus_config(struct sdw_slave *slave, in max98373_bus_config()
829 static int max98373_sdw_probe(struct sdw_slave *slave, in max98373_sdw_probe()
842 static void max98373_sdw_remove(struct sdw_slave *slav
[all...]
H A Drt5682-sdw.c298 struct sdw_slave *slave) in rt5682_sdw_init()
368 static int rt5682_io_init(struct device *dev, struct sdw_slave *slave) in rt5682_io_init()
511 static int rt5682_update_status(struct sdw_slave *slave, in rt5682_update_status()
530 static int rt5682_read_prop(struct sdw_slave *slave) in rt5682_read_prop()
640 static int rt5682_bus_config(struct sdw_slave *slave, in rt5682_bus_config()
655 static int rt5682_interrupt_callback(struct sdw_slave *slave, in rt5682_interrupt_callback()
680 static int rt5682_sdw_probe(struct sdw_slave *slave, in rt5682_sdw_probe()
693 static void rt5682_sdw_remove(struct sdw_slave *slave) in rt5682_sdw_remove()
728 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt5682_dev_system_suspend()
755 struct sdw_slave *slav
[all...]
H A Dmax98363.c91 struct sdw_slave *slave = dev_to_sdw_dev(dev); in max98363_resume()
119 static int max98363_read_prop(struct sdw_slave *slave) in max98363_read_prop()
157 static int max98363_io_init(struct sdw_slave *slave) in max98363_io_init()
298 static int max98363_update_status(struct sdw_slave *slave, in max98363_update_status()
386 static int max98363_init(struct sdw_slave *slave, struct regmap *regmap) in max98363_init()
432 static int max98363_sdw_probe(struct sdw_slave *slave, in max98363_sdw_probe()
H A Drt722-sdca-sdw.c208 static int rt722_sdca_update_status(struct sdw_slave *slave, in rt722_sdca_update_status()
242 static int rt722_sdca_read_prop(struct sdw_slave *slave) in rt722_sdca_read_prop()
314 static int rt722_sdca_interrupt_callback(struct sdw_slave *slave, in rt722_sdca_interrupt_callback()
416 static int rt722_sdca_sdw_probe(struct sdw_slave *slave, in rt722_sdca_sdw_probe()
431 static void rt722_sdca_sdw_remove(struct sdw_slave *slave) in rt722_sdca_sdw_remove()
471 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt722_sdca_dev_system_suspend()
502 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt722_sdca_dev_resume()
H A Drt1316-sdw.h44 struct sdw_slave *sdw_slave; member
H A Drt1308-sdw.h161 struct sdw_slave *sdw_slave; member
H A Drt700.h17 struct sdw_slave *slave;
165 int rt700_io_init(struct device *dev, struct sdw_slave *slave);
167 struct regmap *regmap, struct sdw_slave *slave);
H A Drt711-sdca.h21 struct sdw_slave *slave;
239 int rt711_sdca_io_init(struct device *dev, struct sdw_slave *slave);
241 struct regmap *mbq_regmap, struct sdw_slave *slave);
H A Drt722-sdca.h21 struct sdw_slave *slave;
242 int rt722_sdca_io_init(struct device *dev, struct sdw_slave *slave);
243 int rt722_sdca_init(struct device *dev, struct regmap *regmap, struct sdw_slave *slave);
H A Drt721-sdca.h22 struct sdw_slave *slave;
271 int rt721_sdca_io_init(struct device *dev, struct sdw_slave *slave);
273 struct regmap *mbq_regmap, struct sdw_slave *slave);
/linux/drivers/base/regmap/
H A Dregmap-sdw.c15 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_write()
28 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_gather_write()
39 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_read()
69 struct regmap *__regmap_init_sdw(struct sdw_slave *sdw, in __regmap_init_sdw()
85 struct regmap *__devm_regmap_init_sdw(struct sdw_slave *sdw, in __devm_regmap_init_sdw()
/linux/sound/soc/sdca/
H A Dsdca_device.c18 void sdca_lookup_interface_revision(struct sdw_slave *slave) in sdca_lookup_interface_revision()
36 void sdca_lookup_swft(struct sdw_slave *slave) in sdca_device_quirk_rt712_vb()
50 static bool sdca_device_quirk_rt712_vb(struct sdw_slave *slave) in sdca_device_quirk_rt712_vb()
79 static bool sdca_device_quirk_skip_func_type_patching(struct sdw_slave *slave) in sdca_device_quirk_match()
96 bool sdca_device_quirk_match(struct sdw_slave *slave, enum sdca_quirk quirk)
/linux/drivers/mfd/
H A Dcs42l43-sdw.c61 static int cs42l43_read_prop(struct sdw_slave *sdw) in cs42l43_read_prop()
93 static int cs42l43_sdw_update_status(struct sdw_slave *sdw, enum sdw_slave_status status) in cs42l43_sdw_update_status()
123 static int cs42l43_sdw_interrupt(struct sdw_slave *sdw, in cs42l43_sdw_interrupt()
140 static int cs42l43_sdw_bus_config(struct sdw_slave *sdw, in cs42l43_sdw_bus_config()
170 static int cs42l43_sdw_probe(struct sdw_slave *sdw, const struct sdw_device_id *id) in cs42l43_sdw_probe()

123