Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/drivers/soundwire/
Dstream.c63 struct sdw_transport_params *t_params, in _sdw_program_slave_port_params() argument
71 addr1 = SDW_DPN_OFFSETCTRL2_B1(t_params->port_num); in _sdw_program_slave_port_params()
72 addr2 = SDW_DPN_BLOCKCTRL3_B1(t_params->port_num); in _sdw_program_slave_port_params()
73 addr3 = SDW_DPN_SAMPLECTRL2_B1(t_params->port_num); in _sdw_program_slave_port_params()
74 addr4 = SDW_DPN_HCTRL_B1(t_params->port_num); in _sdw_program_slave_port_params()
76 addr1 = SDW_DPN_OFFSETCTRL2_B0(t_params->port_num); in _sdw_program_slave_port_params()
77 addr2 = SDW_DPN_BLOCKCTRL3_B0(t_params->port_num); in _sdw_program_slave_port_params()
78 addr3 = SDW_DPN_SAMPLECTRL2_B0(t_params->port_num); in _sdw_program_slave_port_params()
79 addr4 = SDW_DPN_HCTRL_B0(t_params->port_num); in _sdw_program_slave_port_params()
83 ret = sdw_write(slave, addr1, t_params->offset2); in _sdw_program_slave_port_params()
[all …]
Dcadence_master.c1310 struct sdw_transport_params *t_params, in cdns_transport_params() argument
1317 int num = t_params->port_num; in cdns_transport_params()
1338 u32p_replace_bits(&dpn_config, t_params->blk_grp_ctrl, CDNS_DPN_CONFIG_BGC); in cdns_transport_params()
1339 u32p_replace_bits(&dpn_config, t_params->blk_pkg_mode, CDNS_DPN_CONFIG_BPM); in cdns_transport_params()
1342 u32p_replace_bits(&dpn_offsetctrl, t_params->offset1, CDNS_DPN_OFFSET_CTRL_1); in cdns_transport_params()
1343 u32p_replace_bits(&dpn_offsetctrl, t_params->offset2, CDNS_DPN_OFFSET_CTRL_2); in cdns_transport_params()
1346 u32p_replace_bits(&dpn_hctrl, t_params->hstart, CDNS_DPN_HCTRL_HSTART); in cdns_transport_params()
1347 u32p_replace_bits(&dpn_hctrl, t_params->hstop, CDNS_DPN_HCTRL_HSTOP); in cdns_transport_params()
1348 u32p_replace_bits(&dpn_hctrl, t_params->lane_ctrl, CDNS_DPN_HCTRL_LCTRL); in cdns_transport_params()
1351 cdns_writel(cdns, dpn_samplectrl_off, (t_params->sample_interval - 1)); in cdns_transport_params()
/kernel/linux/linux-5.10/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.c241 cs_etm_decoder__create_etm_packet_printer(struct cs_etm_trace_params *t_params, in cs_etm_decoder__create_etm_packet_printer() argument
249 switch (t_params->protocol) { in cs_etm_decoder__create_etm_packet_printer()
252 cs_etm_decoder__gen_etmv3_config(t_params, &config_etmv3); in cs_etm_decoder__create_etm_packet_printer()
253 decoder_name = (t_params->protocol == CS_ETM_PROTO_ETMV3) ? in cs_etm_decoder__create_etm_packet_printer()
259 cs_etm_decoder__gen_etmv4_config(t_params, &trace_config_etmv4); in cs_etm_decoder__create_etm_packet_printer()
583 struct cs_etm_trace_params *t_params, in cs_etm_decoder__create_etm_packet_decoder() argument
592 switch (t_params->protocol) { in cs_etm_decoder__create_etm_packet_decoder()
595 cs_etm_decoder__gen_etmv3_config(t_params, &config_etmv3); in cs_etm_decoder__create_etm_packet_decoder()
596 decoder_name = (t_params->protocol == CS_ETM_PROTO_ETMV3) ? in cs_etm_decoder__create_etm_packet_decoder()
602 cs_etm_decoder__gen_etmv4_config(t_params, &trace_config_etmv4); in cs_etm_decoder__create_etm_packet_decoder()
[all …]
Dcs-etm-decoder.h83 struct cs_etm_trace_params t_params[]);
/kernel/linux/linux-5.10/tools/perf/util/
Dcs-etm.c399 static void cs_etm__set_trace_param_etmv3(struct cs_etm_trace_params *t_params, in cs_etm__set_trace_param_etmv3() argument
405 t_params[idx].protocol = cs_etm__get_v7_protocol_version(etmidr); in cs_etm__set_trace_param_etmv3()
406 t_params[idx].etmv3.reg_ctrl = metadata[idx][CS_ETM_ETMCR]; in cs_etm__set_trace_param_etmv3()
407 t_params[idx].etmv3.reg_trc_id = metadata[idx][CS_ETM_ETMTRACEIDR]; in cs_etm__set_trace_param_etmv3()
410 static void cs_etm__set_trace_param_etmv4(struct cs_etm_trace_params *t_params, in cs_etm__set_trace_param_etmv4() argument
415 t_params[idx].protocol = CS_ETM_PROTO_ETMV4i; in cs_etm__set_trace_param_etmv4()
416 t_params[idx].etmv4.reg_idr0 = metadata[idx][CS_ETMV4_TRCIDR0]; in cs_etm__set_trace_param_etmv4()
417 t_params[idx].etmv4.reg_idr1 = metadata[idx][CS_ETMV4_TRCIDR1]; in cs_etm__set_trace_param_etmv4()
418 t_params[idx].etmv4.reg_idr2 = metadata[idx][CS_ETMV4_TRCIDR2]; in cs_etm__set_trace_param_etmv4()
419 t_params[idx].etmv4.reg_idr8 = metadata[idx][CS_ETMV4_TRCIDR8]; in cs_etm__set_trace_param_etmv4()
[all …]