diff options
author | Sanyog Kale <sanyog.r.kale@intel.com> | 2018-04-26 18:38:17 +0530 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2018-05-11 21:47:04 +0530 |
commit | f8101c74aa542b6e583513216176679a9e922b2f (patch) | |
tree | 9cf9287895ff87ba4f4b99b3b8c3e33e57ac3245 /drivers/soundwire/bus.h | |
parent | bbe7379d8040a88ea832fdcbe49a9d16e9b5755e (diff) | |
download | linux-f8101c74aa542b6e583513216176679a9e922b2f.tar.gz linux-f8101c74aa542b6e583513216176679a9e922b2f.tar.bz2 linux-f8101c74aa542b6e583513216176679a9e922b2f.zip |
soundwire: Add Master and Slave port programming
Master and Slave port registers need to be programmed for each port
used in a stream. Add the helpers for port register programming.
Signed-off-by: Sanyog Kale <sanyog.r.kale@intel.com>
Signed-off-by: Shreyas NC <shreyas.nc@intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/bus.h')
-rw-r--r-- | drivers/soundwire/bus.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/soundwire/bus.h b/drivers/soundwire/bus.h index 39e6811e435c..133268ab8086 100644 --- a/drivers/soundwire/bus.h +++ b/drivers/soundwire/bus.h @@ -106,6 +106,10 @@ struct sdw_master_runtime { struct list_head bus_node; }; +struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave, + enum sdw_data_direction direction, + unsigned int port_num); + int sdw_transfer(struct sdw_bus *bus, struct sdw_msg *msg); int sdw_transfer_defer(struct sdw_bus *bus, struct sdw_msg *msg, struct sdw_defer *defer); |