Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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_no_pm(slave, addr1, t_params->offset2); in _sdw_program_slave_port_params()
[all …]
Dcadence_master.c1480 struct sdw_transport_params *t_params, in cdns_transport_params() argument
1496 int source_num = t_params->port_num; in cdns_transport_params()
1497 int target_num = t_params->port_num; in cdns_transport_params()
1536 u32p_replace_bits(&dpn_config, t_params->blk_grp_ctrl, CDNS_DPN_CONFIG_BGC); in cdns_transport_params()
1537 u32p_replace_bits(&dpn_config, t_params->blk_pkg_mode, CDNS_DPN_CONFIG_BPM); in cdns_transport_params()
1543 u32p_replace_bits(&dpn_offsetctrl, t_params->offset1, CDNS_DPN_OFFSET_CTRL_1); in cdns_transport_params()
1544 u32p_replace_bits(&dpn_offsetctrl, t_params->offset2, CDNS_DPN_OFFSET_CTRL_2); in cdns_transport_params()
1552 u32p_replace_bits(&dpn_hctrl, t_params->hstart, CDNS_DPN_HCTRL_HSTART); in cdns_transport_params()
1553 u32p_replace_bits(&dpn_hctrl, t_params->hstop, CDNS_DPN_HCTRL_HSTOP); in cdns_transport_params()
1554 u32p_replace_bits(&dpn_hctrl, t_params->lane_ctrl, CDNS_DPN_HCTRL_LCTRL); in cdns_transport_params()
[all …]
/Linux-v6.6/tools/perf/util/cs-etm-decoder/
Dcs-etm-decoder.c648 struct cs_etm_trace_params *t_params, in cs_etm_decoder__create_etm_decoder() argument
657 switch (t_params->protocol) { in cs_etm_decoder__create_etm_decoder()
660 csid = (t_params->etmv3.reg_idr & CORESIGHT_TRACE_ID_VAL_MASK); in cs_etm_decoder__create_etm_decoder()
661 cs_etm_decoder__gen_etmv3_config(t_params, &config_etmv3); in cs_etm_decoder__create_etm_decoder()
662 decoder->decoder_name = (t_params->protocol == CS_ETM_PROTO_ETMV3) ? in cs_etm_decoder__create_etm_decoder()
668 csid = (t_params->etmv4.reg_traceidr & CORESIGHT_TRACE_ID_VAL_MASK); in cs_etm_decoder__create_etm_decoder()
669 cs_etm_decoder__gen_etmv4_config(t_params, &trace_config_etmv4); in cs_etm_decoder__create_etm_decoder()
674 csid = (t_params->ete.reg_traceidr & CORESIGHT_TRACE_ID_VAL_MASK); in cs_etm_decoder__create_etm_decoder()
675 cs_etm_decoder__gen_ete_config(t_params, &trace_config_ete); in cs_etm_decoder__create_etm_decoder()
717 struct cs_etm_trace_params t_params[]) in cs_etm_decoder__new() argument
[all …]
Dcs-etm-decoder.h97 struct cs_etm_trace_params t_params[]);
/Linux-v6.6/tools/perf/util/
Dcs-etm.c643 static void cs_etm__set_trace_param_etmv3(struct cs_etm_trace_params *t_params, in cs_etm__set_trace_param_etmv3() argument
649 t_params[idx].protocol = cs_etm__get_v7_protocol_version(etmidr); in cs_etm__set_trace_param_etmv3()
650 t_params[idx].etmv3.reg_ctrl = metadata[idx][CS_ETM_ETMCR]; in cs_etm__set_trace_param_etmv3()
651 t_params[idx].etmv3.reg_trc_id = metadata[idx][CS_ETM_ETMTRACEIDR]; in cs_etm__set_trace_param_etmv3()
654 static void cs_etm__set_trace_param_etmv4(struct cs_etm_trace_params *t_params, in cs_etm__set_trace_param_etmv4() argument
659 t_params[idx].protocol = CS_ETM_PROTO_ETMV4i; in cs_etm__set_trace_param_etmv4()
660 t_params[idx].etmv4.reg_idr0 = metadata[idx][CS_ETMV4_TRCIDR0]; in cs_etm__set_trace_param_etmv4()
661 t_params[idx].etmv4.reg_idr1 = metadata[idx][CS_ETMV4_TRCIDR1]; in cs_etm__set_trace_param_etmv4()
662 t_params[idx].etmv4.reg_idr2 = metadata[idx][CS_ETMV4_TRCIDR2]; in cs_etm__set_trace_param_etmv4()
663 t_params[idx].etmv4.reg_idr8 = metadata[idx][CS_ETMV4_TRCIDR8]; in cs_etm__set_trace_param_etmv4()
[all …]