p_rt              126 drivers/soundwire/stream.c 					 struct sdw_port_runtime *p_rt)
p_rt              128 drivers/soundwire/stream.c 	struct sdw_transport_params *t_params = &p_rt->transport_params;
p_rt              129 drivers/soundwire/stream.c 	struct sdw_port_params *p_params = &p_rt->port_params;
p_rt              233 drivers/soundwire/stream.c 					  struct sdw_port_runtime *p_rt)
p_rt              244 drivers/soundwire/stream.c 					&p_rt->transport_params,
p_rt              250 drivers/soundwire/stream.c 						  &p_rt->port_params,
p_rt              264 drivers/soundwire/stream.c 	struct sdw_port_runtime *p_rt;
p_rt              269 drivers/soundwire/stream.c 		list_for_each_entry(p_rt, &s_rt->port_list, port_node) {
p_rt              270 drivers/soundwire/stream.c 			ret = sdw_program_slave_port_params(bus, s_rt, p_rt);
p_rt              277 drivers/soundwire/stream.c 	list_for_each_entry(p_rt, &m_rt->port_list, port_node) {
p_rt              278 drivers/soundwire/stream.c 		ret = sdw_program_master_port_params(bus, p_rt);
p_rt              299 drivers/soundwire/stream.c 					  struct sdw_port_runtime *p_rt,
p_rt              302 drivers/soundwire/stream.c 	struct sdw_transport_params *t_params = &p_rt->transport_params;
p_rt              307 drivers/soundwire/stream.c 		addr = SDW_DPN_CHANNELEN_B1(p_rt->num);
p_rt              309 drivers/soundwire/stream.c 		addr = SDW_DPN_CHANNELEN_B0(p_rt->num);
p_rt              316 drivers/soundwire/stream.c 		ret = sdw_update(s_rt->slave, addr, 0xFF, p_rt->ch_mask);
p_rt              329 drivers/soundwire/stream.c 					   struct sdw_port_runtime *p_rt,
p_rt              332 drivers/soundwire/stream.c 	struct sdw_transport_params *t_params = &p_rt->transport_params;
p_rt              337 drivers/soundwire/stream.c 	enable_ch.port_num = p_rt->num;
p_rt              338 drivers/soundwire/stream.c 	enable_ch.ch_mask = p_rt->ch_mask;
p_rt              417 drivers/soundwire/stream.c 				       struct sdw_port_runtime *p_rt,
p_rt              428 drivers/soundwire/stream.c 	prep_ch.num = p_rt->num;
p_rt              429 drivers/soundwire/stream.c 	prep_ch.ch_mask = p_rt->ch_mask;
p_rt              453 drivers/soundwire/stream.c 		ret = sdw_configure_dpn_intr(s_rt->slave, p_rt->num, prep,
p_rt              464 drivers/soundwire/stream.c 		addr = SDW_DPN_PREPARECTRL(p_rt->num);
p_rt              468 drivers/soundwire/stream.c 					 0xFF, p_rt->ch_mask);
p_rt              483 drivers/soundwire/stream.c 		val = sdw_read(s_rt->slave, SDW_DPN_PREPARESTATUS(p_rt->num));
p_rt              484 drivers/soundwire/stream.c 		val &= p_rt->ch_mask;
p_rt              497 drivers/soundwire/stream.c 		ret = sdw_configure_dpn_intr(s_rt->slave, p_rt->num, prep,
p_rt              504 drivers/soundwire/stream.c 					struct sdw_port_runtime *p_rt,
p_rt              507 drivers/soundwire/stream.c 	struct sdw_transport_params *t_params = &p_rt->transport_params;
p_rt              513 drivers/soundwire/stream.c 	prep_ch.num = p_rt->num;
p_rt              514 drivers/soundwire/stream.c 	prep_ch.ch_mask = p_rt->ch_mask;
p_rt              541 drivers/soundwire/stream.c 	struct sdw_port_runtime *p_rt;
p_rt              546 drivers/soundwire/stream.c 		list_for_each_entry(p_rt, &s_rt->port_list, port_node) {
p_rt              548 drivers/soundwire/stream.c 							  p_rt, prep);
p_rt              555 drivers/soundwire/stream.c 	list_for_each_entry(p_rt, &m_rt->port_list, port_node) {
p_rt              556 drivers/soundwire/stream.c 		ret = sdw_prep_deprep_master_ports(m_rt, p_rt, prep);
p_rt              975 drivers/soundwire/stream.c 	struct sdw_port_runtime *p_rt, *_p_rt;
p_rt              977 drivers/soundwire/stream.c 	list_for_each_entry_safe(p_rt, _p_rt, &m_rt->port_list, port_node) {
p_rt              978 drivers/soundwire/stream.c 		list_del(&p_rt->port_node);
p_rt              979 drivers/soundwire/stream.c 		kfree(p_rt);
p_rt              987 drivers/soundwire/stream.c 	struct sdw_port_runtime *p_rt, *_p_rt;
p_rt              996 drivers/soundwire/stream.c 			list_for_each_entry_safe(p_rt, _p_rt,
p_rt              998 drivers/soundwire/stream.c 				list_del(&p_rt->port_node);
p_rt              999 drivers/soundwire/stream.c 				kfree(p_rt);
p_rt             1161 drivers/soundwire/stream.c 				   struct sdw_port_runtime *p_rt)
p_rt             1163 drivers/soundwire/stream.c 	if (!SDW_VALID_PORT_RANGE(p_rt->num)) {
p_rt             1165 drivers/soundwire/stream.c 			"SoundWire: Invalid port number :%d\n", p_rt->num);
p_rt             1177 drivers/soundwire/stream.c 	struct sdw_port_runtime *p_rt;
p_rt             1179 drivers/soundwire/stream.c 	p_rt = kzalloc(sizeof(*p_rt), GFP_KERNEL);
p_rt             1180 drivers/soundwire/stream.c 	if (!p_rt)
p_rt             1183 drivers/soundwire/stream.c 	p_rt->ch_mask = port_config[port_index].ch_mask;
p_rt             1184 drivers/soundwire/stream.c 	p_rt->num = port_config[port_index].num;
p_rt             1186 drivers/soundwire/stream.c 	return p_rt;
p_rt             1194 drivers/soundwire/stream.c 	struct sdw_port_runtime *p_rt;
p_rt             1199 drivers/soundwire/stream.c 		p_rt = sdw_port_alloc(bus->dev, port_config, i);
p_rt             1200 drivers/soundwire/stream.c 		if (!p_rt)
p_rt             1208 drivers/soundwire/stream.c 		list_add_tail(&p_rt->port_node, &m_rt->port_list);
p_rt             1219 drivers/soundwire/stream.c 	struct sdw_port_runtime *p_rt;
p_rt             1224 drivers/soundwire/stream.c 		p_rt = sdw_port_alloc(&slave->dev, port_config, i);
p_rt             1225 drivers/soundwire/stream.c 		if (!p_rt)
p_rt             1232 drivers/soundwire/stream.c 		ret = sdw_is_valid_port_range(&slave->dev, p_rt);
p_rt             1234 drivers/soundwire/stream.c 			kfree(p_rt);
p_rt             1243 drivers/soundwire/stream.c 		list_add_tail(&p_rt->port_node, &s_rt->port_list);