Home
last modified time | relevance | path

Searched refs:t_params (Results 1 – 6 of 6) sorted by relevance

/linux-5.19.10/drivers/media/tuners/
Dtuner-simple.c260 struct tuner_params *t_params, in simple_config_lookup() argument
266 for (i = 0; i < t_params->count; i++) { in simple_config_lookup()
267 if (*frequency > t_params->ranges[i].limit) in simple_config_lookup()
271 if (i == t_params->count) { in simple_config_lookup()
273 *frequency, t_params->ranges[i - 1].limit); in simple_config_lookup()
274 *frequency = t_params->ranges[--i].limit; in simple_config_lookup()
276 *config = t_params->ranges[i].config; in simple_config_lookup()
277 *cb = t_params->ranges[i].cb; in simple_config_lookup()
552 struct tuner_params *t_params; in simple_set_tv_freq() local
581 t_params = simple_tuner_params(fe, desired_type); in simple_set_tv_freq()
[all …]
/linux-5.19.10/drivers/soundwire/
Dstream.c64 struct sdw_transport_params *t_params, in _sdw_program_slave_port_params() argument
72 addr1 = SDW_DPN_OFFSETCTRL2_B1(t_params->port_num); in _sdw_program_slave_port_params()
73 addr2 = SDW_DPN_BLOCKCTRL3_B1(t_params->port_num); in _sdw_program_slave_port_params()
74 addr3 = SDW_DPN_SAMPLECTRL2_B1(t_params->port_num); in _sdw_program_slave_port_params()
75 addr4 = SDW_DPN_HCTRL_B1(t_params->port_num); in _sdw_program_slave_port_params()
77 addr1 = SDW_DPN_OFFSETCTRL2_B0(t_params->port_num); in _sdw_program_slave_port_params()
78 addr2 = SDW_DPN_BLOCKCTRL3_B0(t_params->port_num); in _sdw_program_slave_port_params()
79 addr3 = SDW_DPN_SAMPLECTRL2_B0(t_params->port_num); in _sdw_program_slave_port_params()
80 addr4 = SDW_DPN_HCTRL_B0(t_params->port_num); in _sdw_program_slave_port_params()
84 ret = sdw_write(slave, addr1, t_params->offset2); in _sdw_program_slave_port_params()
[all …]
Dcadence_master.c1417 struct sdw_transport_params *t_params, in cdns_transport_params() argument
1433 int source_num = t_params->port_num; in cdns_transport_params()
1434 int target_num = t_params->port_num; in cdns_transport_params()
1473 u32p_replace_bits(&dpn_config, t_params->blk_grp_ctrl, CDNS_DPN_CONFIG_BGC); in cdns_transport_params()
1474 u32p_replace_bits(&dpn_config, t_params->blk_pkg_mode, CDNS_DPN_CONFIG_BPM); in cdns_transport_params()
1480 u32p_replace_bits(&dpn_offsetctrl, t_params->offset1, CDNS_DPN_OFFSET_CTRL_1); in cdns_transport_params()
1481 u32p_replace_bits(&dpn_offsetctrl, t_params->offset2, CDNS_DPN_OFFSET_CTRL_2); in cdns_transport_params()
1489 u32p_replace_bits(&dpn_hctrl, t_params->hstart, CDNS_DPN_HCTRL_HSTART); in cdns_transport_params()
1490 u32p_replace_bits(&dpn_hctrl, t_params->hstop, CDNS_DPN_HCTRL_HSTOP); in cdns_transport_params()
1491 u32p_replace_bits(&dpn_hctrl, t_params->lane_ctrl, CDNS_DPN_HCTRL_LCTRL); in cdns_transport_params()
[all …]
/linux-5.19.10/tools/perf/util/
Dcs-etm.c436 static void cs_etm__set_trace_param_etmv3(struct cs_etm_trace_params *t_params, in cs_etm__set_trace_param_etmv3() argument
442 t_params[idx].protocol = cs_etm__get_v7_protocol_version(etmidr); in cs_etm__set_trace_param_etmv3()
443 t_params[idx].etmv3.reg_ctrl = metadata[idx][CS_ETM_ETMCR]; in cs_etm__set_trace_param_etmv3()
444 t_params[idx].etmv3.reg_trc_id = metadata[idx][CS_ETM_ETMTRACEIDR]; in cs_etm__set_trace_param_etmv3()
447 static void cs_etm__set_trace_param_etmv4(struct cs_etm_trace_params *t_params, in cs_etm__set_trace_param_etmv4() argument
452 t_params[idx].protocol = CS_ETM_PROTO_ETMV4i; in cs_etm__set_trace_param_etmv4()
453 t_params[idx].etmv4.reg_idr0 = metadata[idx][CS_ETMV4_TRCIDR0]; in cs_etm__set_trace_param_etmv4()
454 t_params[idx].etmv4.reg_idr1 = metadata[idx][CS_ETMV4_TRCIDR1]; in cs_etm__set_trace_param_etmv4()
455 t_params[idx].etmv4.reg_idr2 = metadata[idx][CS_ETMV4_TRCIDR2]; in cs_etm__set_trace_param_etmv4()
456 t_params[idx].etmv4.reg_idr8 = metadata[idx][CS_ETMV4_TRCIDR8]; in cs_etm__set_trace_param_etmv4()
[all …]
/linux-5.19.10/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.c616 struct cs_etm_trace_params *t_params, in cs_etm_decoder__create_etm_decoder() argument
625 switch (t_params->protocol) { in cs_etm_decoder__create_etm_decoder()
628 cs_etm_decoder__gen_etmv3_config(t_params, &config_etmv3); in cs_etm_decoder__create_etm_decoder()
629 decoder->decoder_name = (t_params->protocol == CS_ETM_PROTO_ETMV3) ? in cs_etm_decoder__create_etm_decoder()
635 cs_etm_decoder__gen_etmv4_config(t_params, &trace_config_etmv4); in cs_etm_decoder__create_etm_decoder()
640 cs_etm_decoder__gen_ete_config(t_params, &trace_config_ete); in cs_etm_decoder__create_etm_decoder()
678 struct cs_etm_trace_params t_params[]) in cs_etm_decoder__new() argument
685 if ((!t_params) || (!d_params)) in cs_etm_decoder__new()
724 &t_params[i], in cs_etm_decoder__new()
Dcs-etm-decoder.h95 struct cs_etm_trace_params t_params[]);