Lines Matching +full:slave +full:- +full:addr

1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
10 u64 sdw_dmi_override_adr(struct sdw_bus *bus, u64 addr);
17 return -ENOTSUPP;
23 u64 addr, struct sdw_slave_id *id);
33 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) {}
41 static inline void sdw_slave_debugfs_exit(struct sdw_slave *slave) {}
52 * struct sdw_msg - Message structure
53 * @addr: Register address accessed in the Slave
55 * @dev_num: Slave device number
56 * @addr_page1: SCP address page 1 Slave register
57 * @addr_page2: SCP address page 2 Slave register
64 u16 addr;
76 * struct sdw_btp_msg - Message structure
77 * @addr: Start Register address accessed in the Slave
80 * @dev_num: Slave device number
86 u32 addr;
103 * sdw_port_runtime: Runtime port parameters for Master or Slave
110 * @port_node: List node for Master or Slave port_list
126 * sdw_slave_runtime: Runtime Stream parameters for Slave
128 * @slave: Slave handle
129 * @direction: Data direction for Slave
130 * @ch_count: Number of channels handled by the Slave for
133 * @port_list: List of Slave Ports configured for this stream
136 struct sdw_slave *slave;
151 * @slave_rt_list: Slave runtime list
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,
187 u32 addr, size_t count, u16 dev_num, u8 flags, u8 *buf);
197 params->port_num = port_num;
198 params->blk_grp_ctrl_valid = grp_ctrl_valid;
199 params->blk_grp_ctrl = grp_ctrl;
200 params->sample_interval = sample_int;
201 params->offset1 = off1;
202 params->offset2 = off2;
203 params->hstart = hstart;
204 params->hstop = hstop;
205 params->blk_pkg_mode = pack_mode;
206 params->lane_ctrl = lane_ctrl;
214 params->num = port_num;
215 params->bps = bps;
216 params->flow_mode = flow_mode;
217 params->data_mode = data_mode;
221 int sdw_bread_no_pm_unlocked(struct sdw_bus *bus, u16 dev_num, u32 addr);
222 int sdw_bwrite_no_pm_unlocked(struct sdw_bus *bus, u16 dev_num, u32 addr, u8 value);
225 * At the moment we only track Master-initiated hw_reset.
231 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size);