s_rt 125 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt, s_rt 130 drivers/soundwire/stream.c struct sdw_slave_prop *slave_prop = &s_rt->slave->prop; s_rt 136 drivers/soundwire/stream.c dpn_prop = sdw_get_slave_dpn_prop(s_rt->slave, s_rt 137 drivers/soundwire/stream.c s_rt->direction, s_rt 162 drivers/soundwire/stream.c ret = sdw_update(s_rt->slave, addr1, 0xF, wbuf); s_rt 164 drivers/soundwire/stream.c dev_err(&s_rt->slave->dev, s_rt 171 drivers/soundwire/stream.c ret = sdw_write(s_rt->slave, addr2, (p_params->bps - 1)); s_rt 173 drivers/soundwire/stream.c dev_err(&s_rt->slave->dev, s_rt 181 drivers/soundwire/stream.c ret = sdw_write(s_rt->slave, addr3, wbuf); s_rt 183 drivers/soundwire/stream.c dev_err(&s_rt->slave->dev, s_rt 190 drivers/soundwire/stream.c ret = sdw_write(s_rt->slave, addr4, t_params->offset1); s_rt 192 drivers/soundwire/stream.c dev_err(&s_rt->slave->dev, s_rt 200 drivers/soundwire/stream.c ret = sdw_write(s_rt->slave, addr5, t_params->blk_grp_ctrl); s_rt 202 drivers/soundwire/stream.c dev_err(&s_rt->slave->dev, s_rt 211 drivers/soundwire/stream.c ret = sdw_write(s_rt->slave, addr6, t_params->lane_ctrl); s_rt 213 drivers/soundwire/stream.c dev_err(&s_rt->slave->dev, s_rt 221 drivers/soundwire/stream.c ret = _sdw_program_slave_port_params(bus, s_rt->slave, s_rt 224 drivers/soundwire/stream.c dev_err(&s_rt->slave->dev, s_rt 262 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt = NULL; s_rt 268 drivers/soundwire/stream.c list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { s_rt 269 drivers/soundwire/stream.c list_for_each_entry(p_rt, &s_rt->port_list, port_node) { s_rt 270 drivers/soundwire/stream.c ret = sdw_program_slave_port_params(bus, s_rt, p_rt); s_rt 298 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt, s_rt 316 drivers/soundwire/stream.c ret = sdw_update(s_rt->slave, addr, 0xFF, p_rt->ch_mask); s_rt 318 drivers/soundwire/stream.c ret = sdw_update(s_rt->slave, addr, 0xFF, 0x0); s_rt 321 drivers/soundwire/stream.c dev_err(&s_rt->slave->dev, s_rt 372 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt; s_rt 376 drivers/soundwire/stream.c list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { s_rt 377 drivers/soundwire/stream.c list_for_each_entry(s_port, &s_rt->port_list, port_node) { s_rt 378 drivers/soundwire/stream.c ret = sdw_enable_disable_slave_ports(m_rt->bus, s_rt, s_rt 395 drivers/soundwire/stream.c static int sdw_do_port_prep(struct sdw_slave_runtime *s_rt, s_rt 399 drivers/soundwire/stream.c const struct sdw_slave_ops *ops = s_rt->slave->ops; s_rt 403 drivers/soundwire/stream.c ret = ops->port_prep(s_rt->slave, &prep_ch, cmd); s_rt 405 drivers/soundwire/stream.c dev_err(&s_rt->slave->dev, s_rt 416 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt, s_rt 431 drivers/soundwire/stream.c dpn_prop = sdw_get_slave_dpn_prop(s_rt->slave, s_rt 432 drivers/soundwire/stream.c s_rt->direction, s_rt 453 drivers/soundwire/stream.c ret = sdw_configure_dpn_intr(s_rt->slave, p_rt->num, prep, s_rt 460 drivers/soundwire/stream.c sdw_do_port_prep(s_rt, prep_ch, SDW_OPS_PORT_PRE_PREP); s_rt 467 drivers/soundwire/stream.c ret = sdw_update(s_rt->slave, addr, s_rt 470 drivers/soundwire/stream.c ret = sdw_update(s_rt->slave, addr, 0xFF, 0x0); s_rt 473 drivers/soundwire/stream.c dev_err(&s_rt->slave->dev, s_rt 479 drivers/soundwire/stream.c port_ready = &s_rt->slave->port_ready[prep_ch.num]; s_rt 483 drivers/soundwire/stream.c val = sdw_read(s_rt->slave, SDW_DPN_PREPARESTATUS(p_rt->num)); s_rt 486 drivers/soundwire/stream.c dev_err(&s_rt->slave->dev, s_rt 493 drivers/soundwire/stream.c sdw_do_port_prep(s_rt, prep_ch, SDW_OPS_PORT_POST_PREP); s_rt 497 drivers/soundwire/stream.c ret = sdw_configure_dpn_intr(s_rt->slave, p_rt->num, prep, s_rt 540 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt; s_rt 545 drivers/soundwire/stream.c list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { s_rt 546 drivers/soundwire/stream.c list_for_each_entry(p_rt, &s_rt->port_list, port_node) { s_rt 547 drivers/soundwire/stream.c ret = sdw_prep_deprep_slave_ports(m_rt->bus, s_rt, s_rt 574 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt; s_rt 585 drivers/soundwire/stream.c list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { s_rt 586 drivers/soundwire/stream.c slave = s_rt->slave; s_rt 958 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt; s_rt 960 drivers/soundwire/stream.c s_rt = kzalloc(sizeof(*s_rt), GFP_KERNEL); s_rt 961 drivers/soundwire/stream.c if (!s_rt) s_rt 964 drivers/soundwire/stream.c INIT_LIST_HEAD(&s_rt->port_list); s_rt 965 drivers/soundwire/stream.c s_rt->ch_count = stream_config->ch_count; s_rt 966 drivers/soundwire/stream.c s_rt->direction = stream_config->direction; s_rt 967 drivers/soundwire/stream.c s_rt->slave = slave; s_rt 969 drivers/soundwire/stream.c return s_rt; s_rt 989 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt; s_rt 992 drivers/soundwire/stream.c list_for_each_entry(s_rt, &m_rt->slave_rt_list, m_rt_node) { s_rt 993 drivers/soundwire/stream.c if (s_rt->slave != slave) s_rt 997 drivers/soundwire/stream.c &s_rt->port_list, port_node) { s_rt 1016 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt, *_s_rt; s_rt 1021 drivers/soundwire/stream.c list_for_each_entry_safe(s_rt, _s_rt, s_rt 1023 drivers/soundwire/stream.c if (s_rt->slave == slave) { s_rt 1024 drivers/soundwire/stream.c list_del(&s_rt->m_rt_node); s_rt 1025 drivers/soundwire/stream.c kfree(s_rt); s_rt 1046 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt, *_s_rt; s_rt 1048 drivers/soundwire/stream.c list_for_each_entry_safe(s_rt, _s_rt, &m_rt->slave_rt_list, m_rt_node) { s_rt 1049 drivers/soundwire/stream.c sdw_slave_port_release(s_rt->slave->bus, s_rt->slave, stream); s_rt 1050 drivers/soundwire/stream.c sdw_release_slave_stream(s_rt->slave, stream); s_rt 1215 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt, s_rt 1243 drivers/soundwire/stream.c list_add_tail(&p_rt->port_node, &s_rt->port_list); s_rt 1329 drivers/soundwire/stream.c struct sdw_slave_runtime *s_rt; s_rt 1348 drivers/soundwire/stream.c s_rt = sdw_alloc_slave_rt(slave, stream_config, stream); s_rt 1349 drivers/soundwire/stream.c if (!s_rt) { s_rt 1361 drivers/soundwire/stream.c list_add_tail(&s_rt->m_rt_node, &m_rt->slave_rt_list); s_rt 1363 drivers/soundwire/stream.c ret = sdw_slave_port_config(slave, s_rt, port_config, num_ports);