t_params 260 drivers/media/tuners/tuner-simple.c struct tuner_params *t_params, t_params 266 drivers/media/tuners/tuner-simple.c for (i = 0; i < t_params->count; i++) { t_params 267 drivers/media/tuners/tuner-simple.c if (*frequency > t_params->ranges[i].limit) t_params 271 drivers/media/tuners/tuner-simple.c if (i == t_params->count) { t_params 273 drivers/media/tuners/tuner-simple.c *frequency, t_params->ranges[i - 1].limit); t_params 274 drivers/media/tuners/tuner-simple.c *frequency = t_params->ranges[--i].limit; t_params 276 drivers/media/tuners/tuner-simple.c *config = t_params->ranges[i].config; t_params 277 drivers/media/tuners/tuner-simple.c *cb = t_params->ranges[i].cb; t_params 552 drivers/media/tuners/tuner-simple.c struct tuner_params *t_params; t_params 581 drivers/media/tuners/tuner-simple.c t_params = simple_tuner_params(fe, desired_type); t_params 583 drivers/media/tuners/tuner-simple.c i = simple_config_lookup(fe, t_params, ¶ms->frequency, t_params 596 drivers/media/tuners/tuner-simple.c if (t_params->cb_first_if_lower_freq && div < priv->last_div) { t_params 608 drivers/media/tuners/tuner-simple.c if (t_params->has_tda9887) { t_params 620 drivers/media/tuners/tuner-simple.c if (t_params->port1_active ^ t_params->port1_invert_for_secam_lc) t_params 622 drivers/media/tuners/tuner-simple.c if (t_params->port2_active ^ t_params->port2_invert_for_secam_lc) t_params 625 drivers/media/tuners/tuner-simple.c if (t_params->port1_active) t_params 627 drivers/media/tuners/tuner-simple.c if (t_params->port2_active) t_params 630 drivers/media/tuners/tuner-simple.c if (t_params->intercarrier_mode) t_params 633 drivers/media/tuners/tuner-simple.c if (i == 0 && t_params->default_top_secam_low) t_params 634 drivers/media/tuners/tuner-simple.c tda_config |= TDA9887_TOP(t_params->default_top_secam_low); t_params 635 drivers/media/tuners/tuner-simple.c else if (i == 1 && t_params->default_top_secam_mid) t_params 636 drivers/media/tuners/tuner-simple.c tda_config |= TDA9887_TOP(t_params->default_top_secam_mid); t_params 637 drivers/media/tuners/tuner-simple.c else if (t_params->default_top_secam_high) t_params 638 drivers/media/tuners/tuner-simple.c tda_config |= TDA9887_TOP(t_params->default_top_secam_high); t_params 640 drivers/media/tuners/tuner-simple.c if (i == 0 && t_params->default_top_low) t_params 641 drivers/media/tuners/tuner-simple.c tda_config |= TDA9887_TOP(t_params->default_top_low); t_params 642 drivers/media/tuners/tuner-simple.c else if (i == 1 && t_params->default_top_mid) t_params 643 drivers/media/tuners/tuner-simple.c tda_config |= TDA9887_TOP(t_params->default_top_mid); t_params 644 drivers/media/tuners/tuner-simple.c else if (t_params->default_top_high) t_params 645 drivers/media/tuners/tuner-simple.c tda_config |= TDA9887_TOP(t_params->default_top_high); t_params 647 drivers/media/tuners/tuner-simple.c if (t_params->default_pll_gating_18) t_params 672 drivers/media/tuners/tuner-simple.c struct tuner_params *t_params; t_params 682 drivers/media/tuners/tuner-simple.c t_params = &tun->params[j]; t_params 685 drivers/media/tuners/tuner-simple.c switch (t_params->radio_if) { t_params 697 drivers/media/tuners/tuner-simple.c t_params->radio_if); t_params 701 drivers/media/tuners/tuner-simple.c buffer[2] = (t_params->ranges[0].config & ~TUNER_RATIO_MASK) | t_params 712 drivers/media/tuners/tuner-simple.c if (t_params->cb_first_if_lower_freq && div < priv->last_div) { t_params 726 drivers/media/tuners/tuner-simple.c if (t_params->has_tda9887) { t_params 733 drivers/media/tuners/tuner-simple.c if (t_params->port1_active && t_params 734 drivers/media/tuners/tuner-simple.c !t_params->port1_fm_high_sensitivity) t_params 736 drivers/media/tuners/tuner-simple.c if (t_params->port2_active && t_params 737 drivers/media/tuners/tuner-simple.c !t_params->port2_fm_high_sensitivity) t_params 739 drivers/media/tuners/tuner-simple.c if (t_params->intercarrier_mode) t_params 741 drivers/media/tuners/tuner-simple.c if (t_params->port1_set_for_fm_mono && mono) t_params 743 drivers/media/tuners/tuner-simple.c if (t_params->fm_gain_normal) t_params 745 drivers/media/tuners/tuner-simple.c if (t_params->radio_if == 2) t_params 851 drivers/media/tuners/tuner-simple.c struct tuner_params *t_params; t_params 865 drivers/media/tuners/tuner-simple.c t_params = simple_tuner_params(fe, TUNER_PARAM_TYPE_DIGITAL); t_params 866 drivers/media/tuners/tuner-simple.c ret = simple_config_lookup(fe, t_params, &frequency, &config, &cb); t_params 870 drivers/media/tuners/tuner-simple.c div = ((frequency + t_params->iffreq) * 62500 + offset + t_params 884 drivers/media/tuners/tuner-simple.c return (div * tun->stepsize) - t_params->iffreq; t_params 1063 drivers/soundwire/cadence_master.c struct sdw_transport_params *t_params, t_params 1070 drivers/soundwire/cadence_master.c int num = t_params->port_num; t_params 1092 drivers/soundwire/cadence_master.c dpn_config |= (t_params->blk_grp_ctrl << t_params 1094 drivers/soundwire/cadence_master.c dpn_config |= (t_params->blk_pkg_mode << t_params 1098 drivers/soundwire/cadence_master.c dpn_offsetctrl |= (t_params->offset1 << t_params 1100 drivers/soundwire/cadence_master.c dpn_offsetctrl |= (t_params->offset2 << t_params 1104 drivers/soundwire/cadence_master.c dpn_hctrl |= (t_params->hstart << t_params 1106 drivers/soundwire/cadence_master.c dpn_hctrl |= (t_params->hstop << SDW_REG_SHIFT(CDNS_DPN_HCTRL_HSTOP)); t_params 1107 drivers/soundwire/cadence_master.c dpn_hctrl |= (t_params->lane_ctrl << t_params 1111 drivers/soundwire/cadence_master.c cdns_writel(cdns, dpn_samplectrl_off, (t_params->sample_interval - 1)); t_params 60 drivers/soundwire/stream.c struct sdw_transport_params *t_params, t_params 68 drivers/soundwire/stream.c addr1 = SDW_DPN_OFFSETCTRL2_B1(t_params->port_num); t_params 69 drivers/soundwire/stream.c addr2 = SDW_DPN_BLOCKCTRL3_B1(t_params->port_num); t_params 70 drivers/soundwire/stream.c addr3 = SDW_DPN_SAMPLECTRL2_B1(t_params->port_num); t_params 71 drivers/soundwire/stream.c addr4 = SDW_DPN_HCTRL_B1(t_params->port_num); t_params 73 drivers/soundwire/stream.c addr1 = SDW_DPN_OFFSETCTRL2_B0(t_params->port_num); t_params 74 drivers/soundwire/stream.c addr2 = SDW_DPN_BLOCKCTRL3_B0(t_params->port_num); t_params 75 drivers/soundwire/stream.c addr3 = SDW_DPN_SAMPLECTRL2_B0(t_params->port_num); t_params 76 drivers/soundwire/stream.c addr4 = SDW_DPN_HCTRL_B0(t_params->port_num); t_params 80 drivers/soundwire/stream.c ret = sdw_write(slave, addr1, t_params->offset2); t_params 87 drivers/soundwire/stream.c ret = sdw_write(slave, addr2, t_params->blk_pkg_mode); t_params 102 drivers/soundwire/stream.c wbuf = (t_params->sample_interval - 1); t_params 113 drivers/soundwire/stream.c wbuf = t_params->hstart; t_params 115 drivers/soundwire/stream.c wbuf |= t_params->hstop; t_params 128 drivers/soundwire/stream.c struct sdw_transport_params *t_params = &p_rt->transport_params; t_params 138 drivers/soundwire/stream.c t_params->port_num); t_params 142 drivers/soundwire/stream.c addr1 = SDW_DPN_PORTCTRL(t_params->port_num); t_params 143 drivers/soundwire/stream.c addr2 = SDW_DPN_BLOCKCTRL1(t_params->port_num); t_params 146 drivers/soundwire/stream.c addr3 = SDW_DPN_SAMPLECTRL1_B1(t_params->port_num); t_params 147 drivers/soundwire/stream.c addr4 = SDW_DPN_OFFSETCTRL1_B1(t_params->port_num); t_params 148 drivers/soundwire/stream.c addr5 = SDW_DPN_BLOCKCTRL2_B1(t_params->port_num); t_params 149 drivers/soundwire/stream.c addr6 = SDW_DPN_LANECTRL_B1(t_params->port_num); t_params 152 drivers/soundwire/stream.c addr3 = SDW_DPN_SAMPLECTRL1_B0(t_params->port_num); t_params 153 drivers/soundwire/stream.c addr4 = SDW_DPN_OFFSETCTRL1_B0(t_params->port_num); t_params 154 drivers/soundwire/stream.c addr5 = SDW_DPN_BLOCKCTRL2_B0(t_params->port_num); t_params 155 drivers/soundwire/stream.c addr6 = SDW_DPN_LANECTRL_B0(t_params->port_num); t_params 166 drivers/soundwire/stream.c t_params->port_num); t_params 175 drivers/soundwire/stream.c t_params->port_num); t_params 180 drivers/soundwire/stream.c wbuf = (t_params->sample_interval - 1) & SDW_DPN_SAMPLECTRL_LOW; t_params 185 drivers/soundwire/stream.c t_params->port_num); t_params 190 drivers/soundwire/stream.c ret = sdw_write(s_rt->slave, addr4, t_params->offset1); t_params 194 drivers/soundwire/stream.c t_params->port_num); t_params 199 drivers/soundwire/stream.c if (t_params->blk_grp_ctrl_valid) { t_params 200 drivers/soundwire/stream.c ret = sdw_write(s_rt->slave, addr5, t_params->blk_grp_ctrl); t_params 204 drivers/soundwire/stream.c t_params->port_num); t_params 211 drivers/soundwire/stream.c ret = sdw_write(s_rt->slave, addr6, t_params->lane_ctrl); t_params 215 drivers/soundwire/stream.c t_params->port_num); t_params 222 drivers/soundwire/stream.c t_params, dpn_prop->type); t_params 226 drivers/soundwire/stream.c t_params->port_num); t_params 302 drivers/soundwire/stream.c struct sdw_transport_params *t_params = &p_rt->transport_params; t_params 323 drivers/soundwire/stream.c ret, t_params->port_num); t_params 332 drivers/soundwire/stream.c struct sdw_transport_params *t_params = &p_rt->transport_params; t_params 349 drivers/soundwire/stream.c ret, t_params->port_num); t_params 507 drivers/soundwire/stream.c struct sdw_transport_params *t_params = &p_rt->transport_params; t_params 523 drivers/soundwire/stream.c t_params->port_num); t_params 241 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c cs_etm_decoder__create_etm_packet_printer(struct cs_etm_trace_params *t_params, t_params 249 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c switch (t_params->protocol) { t_params 252 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c cs_etm_decoder__gen_etmv3_config(t_params, &config_etmv3); t_params 253 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c decoder_name = (t_params->protocol == CS_ETM_PROTO_ETMV3) ? t_params 259 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c cs_etm_decoder__gen_etmv4_config(t_params, &trace_config_etmv4); t_params 581 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c struct cs_etm_trace_params *t_params, t_params 590 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c switch (t_params->protocol) { t_params 593 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c cs_etm_decoder__gen_etmv3_config(t_params, &config_etmv3); t_params 594 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c decoder_name = (t_params->protocol == CS_ETM_PROTO_ETMV3) ? t_params 600 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c cs_etm_decoder__gen_etmv4_config(t_params, &trace_config_etmv4); t_params 624 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c struct cs_etm_trace_params *t_params, t_params 628 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c return cs_etm_decoder__create_etm_packet_printer(t_params, t_params 631 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c return cs_etm_decoder__create_etm_packet_decoder(t_params, t_params 639 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c struct cs_etm_trace_params t_params[]) t_params 646 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c if ((!t_params) || (!d_params)) t_params 685 tools/perf/util/cs-etm-decoder/cs-etm-decoder.c &t_params[i], t_params 83 tools/perf/util/cs-etm-decoder/cs-etm-decoder.h struct cs_etm_trace_params t_params[]); t_params 379 tools/perf/util/cs-etm.c static void cs_etm__set_trace_param_etmv3(struct cs_etm_trace_params *t_params, t_params 385 tools/perf/util/cs-etm.c t_params[idx].protocol = cs_etm__get_v7_protocol_version(etmidr); t_params 386 tools/perf/util/cs-etm.c t_params[idx].etmv3.reg_ctrl = metadata[idx][CS_ETM_ETMCR]; t_params 387 tools/perf/util/cs-etm.c t_params[idx].etmv3.reg_trc_id = metadata[idx][CS_ETM_ETMTRACEIDR]; t_params 390 tools/perf/util/cs-etm.c static void cs_etm__set_trace_param_etmv4(struct cs_etm_trace_params *t_params, t_params 395 tools/perf/util/cs-etm.c t_params[idx].protocol = CS_ETM_PROTO_ETMV4i; t_params 396 tools/perf/util/cs-etm.c t_params[idx].etmv4.reg_idr0 = metadata[idx][CS_ETMV4_TRCIDR0]; t_params 397 tools/perf/util/cs-etm.c t_params[idx].etmv4.reg_idr1 = metadata[idx][CS_ETMV4_TRCIDR1]; t_params 398 tools/perf/util/cs-etm.c t_params[idx].etmv4.reg_idr2 = metadata[idx][CS_ETMV4_TRCIDR2]; t_params 399 tools/perf/util/cs-etm.c t_params[idx].etmv4.reg_idr8 = metadata[idx][CS_ETMV4_TRCIDR8]; t_params 400 tools/perf/util/cs-etm.c t_params[idx].etmv4.reg_configr = metadata[idx][CS_ETMV4_TRCCONFIGR]; t_params 401 tools/perf/util/cs-etm.c t_params[idx].etmv4.reg_traceidr = metadata[idx][CS_ETMV4_TRCTRACEIDR]; t_params 404 tools/perf/util/cs-etm.c static int cs_etm__init_trace_params(struct cs_etm_trace_params *t_params, t_params 417 tools/perf/util/cs-etm.c cs_etm__set_trace_param_etmv3(t_params, etm, i, etmidr); t_params 420 tools/perf/util/cs-etm.c cs_etm__set_trace_param_etmv4(t_params, etm, i); t_params 458 tools/perf/util/cs-etm.c struct cs_etm_trace_params *t_params; t_params 468 tools/perf/util/cs-etm.c t_params = zalloc(sizeof(*t_params) * etm->num_cpu); t_params 470 tools/perf/util/cs-etm.c if (!t_params) t_params 473 tools/perf/util/cs-etm.c if (cs_etm__init_trace_params(t_params, etm)) t_params 481 tools/perf/util/cs-etm.c decoder = cs_etm_decoder__new(etm->num_cpu, &d_params, t_params); t_params 501 tools/perf/util/cs-etm.c zfree(&t_params); t_params 687 tools/perf/util/cs-etm.c struct cs_etm_trace_params *t_params = NULL; t_params 699 tools/perf/util/cs-etm.c t_params = zalloc(sizeof(*t_params) * etm->num_cpu); t_params 701 tools/perf/util/cs-etm.c if (!t_params) t_params 704 tools/perf/util/cs-etm.c if (cs_etm__init_trace_params(t_params, etm)) t_params 712 tools/perf/util/cs-etm.c etmq->decoder = cs_etm_decoder__new(etm->num_cpu, &d_params, t_params); t_params 726 tools/perf/util/cs-etm.c zfree(&t_params);