Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/soundwire/
Dsdw.h10 struct sdw_slave;
403 int sdw_slave_read_prop(struct sdw_slave *slave);
527 int (*read_prop)(struct sdw_slave *sdw);
528 int (*interrupt_callback)(struct sdw_slave *slave,
530 int (*update_status)(struct sdw_slave *slave,
532 int (*bus_config)(struct sdw_slave *slave,
534 int (*port_prep)(struct sdw_slave *slave,
552 struct sdw_slave { struct
567 #define dev_to_sdw_dev(_dev) container_of(_dev, struct sdw_slave, dev) argument
572 int (*probe)(struct sdw_slave *sdw,
[all …]
Dsdw_type.h17 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size);
/Linux-v5.4/drivers/soundwire/
Dbus.h25 void sdw_slave_debugfs_init(struct sdw_slave *slave);
26 void sdw_slave_debugfs_exit(struct sdw_slave *slave);
32 static inline void sdw_slave_debugfs_init(struct sdw_slave *slave) {} in sdw_slave_debugfs_init()
33 static inline void sdw_slave_debugfs_exit(struct sdw_slave *slave) {} in sdw_slave_debugfs_exit()
107 struct sdw_slave *slave;
138 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave,
141 int sdw_configure_dpn_intr(struct sdw_slave *slave, int port,
150 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave,
155 sdw_update(struct sdw_slave *slave, u32 addr, u8 mask, u8 val) in sdw_update()
Dbus_type.c20 sdw_get_device_id(struct sdw_slave *slave, struct sdw_driver *drv) in sdw_get_device_id()
36 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_bus_match()
42 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size) in sdw_slave_modalias()
52 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_uevent()
72 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_probe()
118 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_remove()
132 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_drv_shutdown()
Dbus.c113 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_delete_slave()
274 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave, in sdw_fill_msg()
327 int sdw_nread(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nread()
355 int sdw_nwrite(struct sdw_slave *slave, u32 addr, size_t count, u8 *val) in sdw_nwrite()
381 int sdw_read(struct sdw_slave *slave, u32 addr) in sdw_read()
400 int sdw_write(struct sdw_slave *slave, u32 addr, u8 value) in sdw_write()
411 static struct sdw_slave *sdw_get_slave(struct sdw_bus *bus, int i) in sdw_get_slave()
413 struct sdw_slave *slave = NULL; in sdw_get_slave()
423 static int sdw_compare_devid(struct sdw_slave *slave, struct sdw_slave_id id) in sdw_compare_devid()
435 static int sdw_get_device_num(struct sdw_slave *slave) in sdw_get_device_num()
[all …]
Ddebugfs.c33 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()
Dslave.c12 struct sdw_slave *slave = dev_to_sdw_dev(dev); in sdw_slave_release()
20 struct sdw_slave *slave; in sdw_slave_add()
Dmipi_disco.c123 static int sdw_slave_read_dp0(struct sdw_slave *slave, in sdw_slave_read_dp0()
162 static int sdw_slave_read_dpn(struct sdw_slave *slave, in sdw_slave_read_dpn()
286 int sdw_slave_read_prop(struct sdw_slave *slave) in sdw_slave_read_prop()
Dstream.c59 struct sdw_slave *slave, in _sdw_program_slave_port_params()
576 struct sdw_slave *slave; in sdw_notify_config()
954 *sdw_alloc_slave_rt(struct sdw_slave *slave, in sdw_alloc_slave_rt()
984 struct sdw_slave *slave, in sdw_slave_port_release()
1013 static void sdw_release_slave_stream(struct sdw_slave *slave, in sdw_release_slave_stream()
1100 int sdw_stream_remove_slave(struct sdw_slave *slave, in sdw_stream_remove_slave()
1214 static int sdw_slave_port_config(struct sdw_slave *slave, in sdw_slave_port_config()
1323 int sdw_stream_add_slave(struct sdw_slave *slave, in sdw_stream_add_slave()
1395 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave, in sdw_get_slave_dpn_prop()
/Linux-v5.4/drivers/base/regmap/
Dregmap-sdw.c13 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_write()
21 struct sdw_slave *slave = dev_to_sdw_dev(dev); in regmap_sdw_read()
55 struct regmap *__regmap_init_sdw(struct sdw_slave *sdw, in __regmap_init_sdw()
71 struct regmap *__devm_regmap_init_sdw(struct sdw_slave *sdw, in __devm_regmap_init_sdw()
/Linux-v5.4/include/linux/
Dregmap.h34 struct sdw_slave;
572 struct regmap *__regmap_init_sdw(struct sdw_slave *sdw,
617 struct regmap *__devm_regmap_init_sdw(struct sdw_slave *sdw,
/Linux-v5.4/Documentation/driver-api/soundwire/
Dstream.rst238 int sdw_stream_add_slave(struct sdw_slave * slave,
389 int sdw_stream_remove_slave(struct sdw_slave * slave,