Home
last modified time | relevance | path

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

1234

/linux-6.15/include/linux/soundwire/
H A Dsdw.h23 struct sdw_slave;
487 struct sdw_slave *array[];
614 int (*read_prop)(struct sdw_slave *sdw);
617 int (*update_status)(struct sdw_slave *slave,
619 int (*bus_config)(struct sdw_slave *slave,
621 int (*port_prep)(struct sdw_slave *slave,
624 int (*clk_stop)(struct sdw_slave *slave,
661 struct sdw_slave { struct
703 int (*remove)(struct sdw_slave *sdw);
704 void (*shutdown)(struct sdw_slave *sdw);
[all …]
/linux-6.15/include/sound/
H A Dsdca.h15 struct sdw_slave;
53 void sdca_lookup_functions(struct sdw_slave *slave);
54 void sdca_lookup_interface_revision(struct sdw_slave *slave);
55 bool sdca_device_quirk_match(struct sdw_slave *slave, enum sdca_quirk quirk);
59 static inline void sdca_lookup_functions(struct sdw_slave *slave) {} in sdca_lookup_functions()
60 static inline void sdca_lookup_interface_revision(struct sdw_slave *slave) {} in sdca_lookup_interface_revision()
61 static inline bool sdca_device_quirk_match(struct sdw_slave *slave, enum sdca_quirk quirk) in sdca_device_quirk_match()
/linux-6.15/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()
136 struct sdw_slave *slave;
175 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave,
178 int sdw_configure_dpn_intr(struct sdw_slave *slave, int port,
186 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave,
231 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size);
H 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()
146 struct sdw_slave *slave = dev_to_sdw_dev(dev); \
160 struct sdw_slave *slave = dev_to_sdw_dev(dev); in words_show()
186 struct sdw_slave *slave = dev_to_sdw_dev(kobj_to_dev(kobj)); in dp0_attr_visible()
195 struct sdw_slave *slave = dev_to_sdw_dev(kobj_to_dev(kobj)); in dp0_group_visible()
231 struct sdw_slave *slave = dev_to_sdw_dev(dev); in status_show()
240 struct sdw_slave *slave = dev_to_sdw_dev(dev); in device_number_show()
H A Dbus.c170 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave()
555 int sdw_read_no_pm(struct sdw_slave *slave, u32 addr) in sdw_read_no_pm()
665 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read()
700 struct sdw_slave *slave; in sdw_get_slave()
724 static int sdw_get_device_num(struct sdw_slave *slave) in sdw_get_device_num()
831 struct sdw_slave *slave, *_s; in sdw_program_device_num()
1061 struct sdw_slave *slave; in sdw_bus_prep_clk_stop()
1190 struct sdw_slave *slave; in sdw_bus_exit_clk_stop()
1259 int sdw_configure_dpn_intr(struct sdw_slave *slave, in sdw_configure_dpn_intr()
1874 struct sdw_slave *slave; in sdw_handle_slave_status()
[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()
83 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_probe()
162 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()
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()
150 struct sdw_slave *slave = data; in set_command()
168 struct sdw_slave *slave = data; in set_command_type()
187 struct sdw_slave *slave = data; in set_start_address()
203 struct sdw_slave *slave = data; in set_num_bytes()
220 static int do_bpt_sequence(struct sdw_slave *slave, bool write, u8 *buffer) in do_bpt_sequence()
239 struct sdw_slave *slave = data; in cmd_go()
329 void sdw_slave_debugfs_init(struct sdw_slave *slave) in sdw_slave_debugfs_init()
357 void sdw_slave_debugfs_exit(struct sdw_slave *slave) in sdw_slave_debugfs_exit()
H A Dirq.h18 void sdw_irq_create_mapping(struct sdw_slave *slave);
32 static inline void sdw_irq_create_mapping(struct sdw_slave *slave) in sdw_irq_create_mapping()
/linux-6.15/sound/soc/codecs/
H A Dcs35l56-sdw.c37 static int cs35l56_sdw_poll_mem_status(struct sdw_slave *peripheral, in cs35l56_sdw_poll_mem_status()
56 static int cs35l56_sdw_slow_read(struct sdw_slave *peripheral, unsigned int reg, in cs35l56_sdw_slow_read()
118 struct sdw_slave *peripheral = context; in cs35l56_sdw_read()
181 struct sdw_slave *peripheral = context; in cs35l56_sdw_gather_write()
255 static void cs35l56_sdw_init(struct sdw_slave *peripheral) in cs35l56_sdw_init()
289 static int cs35l56_sdw_interrupt(struct sdw_slave *peripheral, in cs35l56_sdw_interrupt()
338 static int cs35l56_sdw_read_prop(struct sdw_slave *peripheral) in cs35l56_sdw_read_prop()
369 static int cs35l56_sdw_update_status(struct sdw_slave *peripheral, in cs35l56_sdw_update_status()
396 static int __maybe_unused cs35l56_sdw_clk_stop(struct sdw_slave *peripheral, in cs35l56_sdw_clk_stop()
418 struct sdw_slave *peripheral = cs35l56->sdw_peripheral; in cs35l56_sdw_handle_unattach()
[all …]
H A Drt1308-sdw.c123 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()
321 static int rt1308_bus_config(struct sdw_slave *slave, in rt1308_bus_config()
546 if (!rt1308->sdw_slave) in rt1308_sdw_hw_params()
582 if (!rt1308->sdw_slave) in rt1308_sdw_pcm_hw_free()
627 rt1308_sdw_parse_dt(rt1308, &rt1308->sdw_slave->dev); in rt1308_sdw_component_probe()
681 struct sdw_slave *slave) in rt1308_sdw_init()
691 rt1308->sdw_slave = slave; in rt1308_sdw_init()
730 static int rt1308_sdw_probe(struct sdw_slave *slave, in rt1308_sdw_probe()
743 static int rt1308_sdw_remove(struct sdw_slave *slave) in rt1308_sdw_remove()
[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()
240 static int sdw_mockup_sdw_remove(struct sdw_slave *slave) in sdw_mockup_sdw_remove()
H A Drt1318-sdw.c345 static int rt1318_read_prop(struct sdw_slave *slave) in rt1318_read_prop()
444 static int rt1318_update_status(struct sdw_slave *slave, in rt1318_update_status()
582 if (!rt1318->sdw_slave) in rt1318_sdw_hw_params()
606 retval = sdw_stream_add_slave(rt1318->sdw_slave, &stream_config, in rt1318_sdw_hw_params()
656 if (!rt1318->sdw_slave) in rt1318_sdw_pcm_hw_free()
659 sdw_stream_remove_slave(rt1318->sdw_slave, sdw_stream); in rt1318_sdw_pcm_hw_free()
735 struct sdw_slave *slave) in rt1318_sdw_init()
745 rt1318->sdw_slave = slave; in rt1318_sdw_init()
784 static int rt1318_sdw_probe(struct sdw_slave *slave, in rt1318_sdw_probe()
797 static int rt1318_sdw_remove(struct sdw_slave *slave) in rt1318_sdw_remove()
[all …]
H A Drt1316-sdw.c196 static int rt1316_read_prop(struct sdw_slave *slave) in rt1316_read_prop()
312 static int rt1316_update_status(struct sdw_slave *slave, in rt1316_update_status()
525 if (!rt1316->sdw_slave) in rt1316_sdw_hw_params()
556 if (!rt1316->sdw_slave) in rt1316_sdw_pcm_hw_free()
559 sdw_stream_remove_slave(rt1316->sdw_slave, sdw_stream); in rt1316_sdw_pcm_hw_free()
599 rt1316_sdw_parse_dt(rt1316, &rt1316->sdw_slave->dev); in rt1316_sdw_component_probe()
658 struct sdw_slave *slave) in rt1316_sdw_init()
668 rt1316->sdw_slave = slave; in rt1316_sdw_init()
707 static int rt1316_sdw_probe(struct sdw_slave *slave, in rt1316_sdw_probe()
720 static int rt1316_sdw_remove(struct sdw_slave *slave) in rt1316_sdw_remove()
[all …]
H A Drt1017-sdca-sdw.c257 static int rt1017_sdca_read_prop(struct sdw_slave *slave) in rt1017_sdca_read_prop()
372 static int rt1017_sdca_update_status(struct sdw_slave *slave, in rt1017_sdca_update_status()
591 if (!rt1017->sdw_slave) in rt1017_sdca_pcm_hw_params()
619 retval = sdw_stream_add_slave(rt1017->sdw_slave, &stream_config, in rt1017_sdca_pcm_hw_params()
663 if (!rt1017->sdw_slave) in rt1017_sdca_pcm_hw_free()
666 sdw_stream_remove_slave(rt1017->sdw_slave, sdw_stream); in rt1017_sdca_pcm_hw_free()
704 struct sdw_slave *slave) in rt1017_sdca_init()
714 rt1017->sdw_slave = slave; in rt1017_sdca_init()
732 static int rt1017_sdca_sdw_probe(struct sdw_slave *slave, in rt1017_sdca_sdw_probe()
745 static int rt1017_sdca_sdw_remove(struct sdw_slave *slave) in rt1017_sdca_sdw_remove()
[all …]
H A Dcs42l42-sdw.c129 static int cs42l42_sdw_port_prep(struct sdw_slave *slave, in cs42l42_sdw_port_prep()
203 static int cs42l42_sdw_poll_status(struct sdw_slave *peripheral, u8 mask, u8 match) in cs42l42_sdw_poll_status()
223 struct sdw_slave *peripheral = context; in cs42l42_sdw_read()
273 struct sdw_slave *peripheral = context; in cs42l42_sdw_write()
284 static void cs42l42_sdw_init(struct sdw_slave *peripheral) in cs42l42_sdw_init()
310 static int cs42l42_sdw_read_prop(struct sdw_slave *peripheral) in cs42l42_sdw_read_prop()
340 static int cs42l42_sdw_update_status(struct sdw_slave *peripheral, in cs42l42_sdw_update_status()
386 static int cs42l42_sdw_bus_config(struct sdw_slave *peripheral, in cs42l42_sdw_bus_config()
435 struct sdw_slave *peripheral = cs42l42->sdw_peripheral; in cs42l42_sdw_handle_unattach()
516 static int cs42l42_sdw_probe(struct sdw_slave *peripheral, const struct sdw_device_id *id) in cs42l42_sdw_probe()
[all …]
H A Drt715-sdca-sdw.c119 static int rt715_sdca_update_status(struct sdw_slave *slave, in rt715_sdca_update_status()
135 static int rt715_sdca_read_prop(struct sdw_slave *slave) in rt715_sdca_read_prop()
177 static int rt715_sdca_sdw_probe(struct sdw_slave *slave, in rt715_sdca_sdw_probe()
194 static int rt715_sdca_sdw_remove(struct sdw_slave *slave) in rt715_sdca_sdw_remove()
227 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt715_dev_resume()
H A Drt1320-sdw.c476 static int rt1320_read_prop(struct sdw_slave *slave) in rt1320_read_prop()
549 pm_runtime_mark_last_busy(&rt1320->sdw_slave->dev); in rt1320_pde_transition_delay()
575 struct sdw_slave *slave = rt1320->sdw_slave; in rt1320_load_mcu_patch()
641 struct sdw_slave *slave = rt1320->sdw_slave; in rt1320_vc_preset()
1190 if (!rt1320->sdw_slave) in rt1320_sdw_hw_params()
1278 if (!rt1320->sdw_slave) in rt1320_sdw_pcm_hw_free()
1371 struct regmap *mbq_regmap, struct sdw_slave *slave) in rt1320_sdw_init()
1381 rt1320->sdw_slave = slave; in rt1320_sdw_init()
1426 static int rt1320_sdw_probe(struct sdw_slave *slave, in rt1320_sdw_probe()
1443 static int rt1320_sdw_remove(struct sdw_slave *slave) in rt1320_sdw_remove()
[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 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()
299 static int max98363_update_status(struct sdw_slave *slave, in max98363_update_status()
387 static int max98363_init(struct sdw_slave *slave, struct regmap *regmap) in max98363_init()
433 static int max98363_sdw_probe(struct sdw_slave *slave, in max98363_sdw_probe()
H A Drt721-sdca-sdw.c189 static int rt721_sdca_update_status(struct sdw_slave *slave, in rt721_sdca_update_status()
223 static int rt721_sdca_read_prop(struct sdw_slave *slave) in rt721_sdca_read_prop()
294 static int rt721_sdca_interrupt_callback(struct sdw_slave *slave, in rt721_sdca_interrupt_callback()
399 static int rt721_sdca_sdw_probe(struct sdw_slave *slave, in rt721_sdca_sdw_probe()
416 static int rt721_sdca_sdw_remove(struct sdw_slave *slave) in rt721_sdca_sdw_remove()
459 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt721_sdca_dev_system_suspend()
490 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt721_sdca_dev_resume()
H A Drt711-sdca-sdw.c141 static int rt711_sdca_update_status(struct sdw_slave *slave, in rt711_sdca_update_status()
175 static int rt711_sdca_read_prop(struct sdw_slave *slave) in rt711_sdca_read_prop()
245 static int rt711_sdca_interrupt_callback(struct sdw_slave *slave, in rt711_sdca_interrupt_callback()
351 static int rt711_sdca_sdw_probe(struct sdw_slave *slave, in rt711_sdca_sdw_probe()
368 static int rt711_sdca_sdw_remove(struct sdw_slave *slave) in rt711_sdca_sdw_remove()
410 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_system_suspend()
441 struct sdw_slave *slave = dev_to_sdw_dev(dev); in rt711_sdca_dev_resume()
/linux-6.15/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()
H A Dregmap-sdw-mbq.c46 static int regmap_sdw_mbq_poll_busy(struct sdw_slave *slave, unsigned int reg, in regmap_sdw_mbq_poll_busy()
73 static int regmap_sdw_mbq_write_impl(struct sdw_slave *slave, in regmap_sdw_mbq_write_impl()
100 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_mbq_write()
127 static int regmap_sdw_mbq_read_impl(struct sdw_slave *slave, in regmap_sdw_mbq_read_impl()
160 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_mbq_read()
231 struct regmap *__regmap_init_sdw_mbq(struct sdw_slave *sdw, in __regmap_init_sdw_mbq()
253 struct regmap *__devm_regmap_init_sdw_mbq(struct sdw_slave *sdw, in __devm_regmap_init_sdw_mbq()
/linux-6.15/sound/soc/sdca/
H A Dsdca_device.c16 void sdca_lookup_interface_revision(struct sdw_slave *slave) in sdca_lookup_interface_revision()
29 static bool sdca_device_quirk_rt712_vb(struct sdw_slave *slave) in sdca_device_quirk_rt712_vb()
58 bool sdca_device_quirk_match(struct sdw_slave *slave, enum sdca_quirk quirk) in sdca_device_quirk_match()
/linux-6.15/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()

1234