/linux/drivers/soundwire/ |
H A D | generic_bandwidth_allocation.c | 38 struct sdw_port_runtime *p_rt; in sdw_compute_slave_ports() local 52 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_compute_slave_ports() 53 if (p_rt->lane != t_data->lane) in sdw_compute_slave_ports() 56 ch = hweight32(p_rt->ch_mask); in sdw_compute_slave_ports() 58 sdw_fill_xport_params(&p_rt->transport_params, in sdw_compute_slave_ports() 59 p_rt->num, false, in sdw_compute_slave_ports() 64 SDW_BLK_PKG_PER_PORT, p_rt->lane); in sdw_compute_slave_ports() 66 sdw_fill_port_params(&p_rt->port_params, in sdw_compute_slave_ports() 67 p_rt->num, bps, in sdw_compute_slave_ports() 93 struct sdw_port_runtime *p_rt; in sdw_compute_dp0_slave_ports() local 109 struct sdw_port_runtime *p_rt; sdw_compute_dp0_master_ports() local 137 struct sdw_port_runtime *p_rt; sdw_compute_master_ports() local 228 struct sdw_port_runtime *p_rt; sdw_compute_group_params() local 339 struct sdw_port_runtime *p_rt; sdw_get_group_count() local [all...] |
H A D | stream.c | 131 struct sdw_port_runtime *p_rt) in sdw_program_slave_port_params() argument 133 struct sdw_transport_params *t_params = &p_rt->transport_params; in sdw_program_slave_port_params() 134 struct sdw_port_params *p_params = &p_rt->port_params; in sdw_program_slave_port_params() 253 struct sdw_port_runtime *p_rt) in sdw_program_master_port_params() argument 264 &p_rt->transport_params, in sdw_program_master_port_params() 270 &p_rt->port_params, in sdw_program_master_port_params() 284 struct sdw_port_runtime *p_rt; in sdw_program_port_params() local 289 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in sdw_program_port_params() 290 ret = sdw_program_slave_port_params(bus, s_rt, p_rt); in sdw_program_port_params() 297 list_for_each_entry(p_rt, in sdw_program_port_params() 319 sdw_enable_disable_slave_ports(struct sdw_bus * bus,struct sdw_slave_runtime * s_rt,struct sdw_port_runtime * p_rt,bool en) sdw_enable_disable_slave_ports() argument 349 sdw_enable_disable_master_ports(struct sdw_master_runtime * m_rt,struct sdw_port_runtime * p_rt,bool en) sdw_enable_disable_master_ports() argument 443 sdw_prep_deprep_slave_ports(struct sdw_bus * bus,struct sdw_slave_runtime * s_rt,struct sdw_port_runtime * p_rt,bool prep) sdw_prep_deprep_slave_ports() argument 547 sdw_prep_deprep_master_ports(struct sdw_master_runtime * m_rt,struct sdw_port_runtime * p_rt,bool prep) sdw_prep_deprep_master_ports() argument 584 struct sdw_port_runtime *p_rt; sdw_prep_deprep_ports() local 957 struct sdw_port_runtime *p_rt; sdw_port_alloc() local 968 sdw_port_config(struct sdw_port_runtime * p_rt,const struct sdw_port_config * port_config,int port_index) sdw_port_config() argument 982 sdw_port_free(struct sdw_port_runtime * p_rt) sdw_port_free() argument 996 struct sdw_port_runtime *p_rt, *_p_rt; sdw_slave_port_free() local 1017 struct sdw_port_runtime *p_rt; sdw_slave_port_alloc() local 1045 struct sdw_port_runtime *p_rt; sdw_slave_port_config() local 1079 struct sdw_port_runtime *p_rt, *_p_rt; sdw_master_port_free() local 1089 struct sdw_port_runtime *p_rt; sdw_master_port_alloc() local 1105 struct sdw_port_runtime *p_rt; sdw_master_port_config() local 1741 struct sdw_port_runtime *p_rt; _sdw_deprepare_stream() local [all...] |
H A D | qcom.c | 1080 struct sdw_port_runtime *p_rt; in qcom_swrm_compute_params() local 1087 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in qcom_swrm_compute_params() 1088 pcfg = &ctrl->pconfig[p_rt->num]; in qcom_swrm_compute_params() 1089 p_rt->transport_params.port_num = p_rt->num; in qcom_swrm_compute_params() 1091 sdw_fill_port_params(&p_rt->port_params, in qcom_swrm_compute_params() 1092 p_rt->num, pcfg->word_length + 1, in qcom_swrm_compute_params() 1101 list_for_each_entry(p_rt, &s_rt->port_list, port_node) { in qcom_swrm_compute_params() 1102 m_port = slave->m_port_map[p_rt->num]; in qcom_swrm_compute_params() 1108 p_rt in qcom_swrm_compute_params() 1142 struct sdw_port_runtime *p_rt; qcom_swrm_stream_free_ports() local 1165 struct sdw_port_runtime *p_rt; qcom_swrm_stream_alloc_ports() local [all...] |
H A D | amd_manager.c | 442 struct sdw_port_runtime *p_rt; in amd_sdw_compute_params() local 457 list_for_each_entry(p_rt, &m_rt->port_list, port_node) { in amd_sdw_compute_params() 458 port_bo = (p_rt->num * 64) + 1; in amd_sdw_compute_params() 459 dev_dbg(bus->dev, "p_rt->num=%d hstart=%d hstop=%d port_bo=%d\n", in amd_sdw_compute_params() 460 p_rt->num, hstart, hstop, port_bo); in amd_sdw_compute_params() 461 sdw_fill_xport_params(&p_rt->transport_params, p_rt->num, in amd_sdw_compute_params() 464 SDW_BLK_PKG_PER_PORT, p_rt->lane); in amd_sdw_compute_params() 466 sdw_fill_port_params(&p_rt->port_params, in amd_sdw_compute_params() 467 p_rt in amd_sdw_compute_params() [all...] |
/linux/Documentation/scheduler/ |
H A D | sched-util-clamp.rst | 496 p_rt->uclamp[UCLAMP_MIN] = 1024 497 p_rt->uclamp[UCLAMP_MAX] = 1024
|