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; in sdw_acpi_find_slaves()
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) {} in sdw_slave_debugfs_init() argument
41 static inline void sdw_slave_debugfs_exit(struct sdw_slave *slave) {} in sdw_slave_debugfs_exit() argument
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; member
85 * sdw_port_runtime: Runtime port parameters for Master or Slave
92 * @port_node: List node for Master or Slave port_list
106 * sdw_slave_runtime: Runtime Stream parameters for Slave
108 * @slave: Slave handle
109 * @direction: Data direction for Slave
110 * @ch_count: Number of channels handled by the Slave for
113 * @port_list: List of Slave Ports configured for this stream
116 struct sdw_slave *slave; member
131 * @slave_rt_list: Slave runtime list
154 struct sdw_dpn_prop *sdw_get_slave_dpn_prop(struct sdw_slave *slave,
157 int sdw_configure_dpn_intr(struct sdw_slave *slave, int port,
165 int sdw_fill_msg(struct sdw_msg *msg, struct sdw_slave *slave,
166 u32 addr, size_t count, u16 dev_num, u8 flags, u8 *buf);
176 params->port_num = port_num; in sdw_fill_xport_params()
177 params->blk_grp_ctrl_valid = grp_ctrl_valid; in sdw_fill_xport_params()
178 params->blk_grp_ctrl = grp_ctrl; in sdw_fill_xport_params()
179 params->sample_interval = sample_int; in sdw_fill_xport_params()
180 params->offset1 = off1; in sdw_fill_xport_params()
181 params->offset2 = off2; in sdw_fill_xport_params()
182 params->hstart = hstart; in sdw_fill_xport_params()
183 params->hstop = hstop; in sdw_fill_xport_params()
184 params->blk_pkg_mode = pack_mode; in sdw_fill_xport_params()
185 params->lane_ctrl = lane_ctrl; in sdw_fill_xport_params()
193 params->num = port_num; in sdw_fill_port_params()
194 params->bps = bps; in sdw_fill_port_params()
195 params->flow_mode = flow_mode; in sdw_fill_port_params()
196 params->data_mode = data_mode; in sdw_fill_port_params()
200 int sdw_bread_no_pm_unlocked(struct sdw_bus *bus, u16 dev_num, u32 addr);
201 int sdw_bwrite_no_pm_unlocked(struct sdw_bus *bus, u16 dev_num, u32 addr, u8 value);
204 * At the moment we only track Master-initiated hw_reset.
210 int sdw_slave_modalias(const struct sdw_slave *slave, char *buf, size_t size);