Lines Matching refs:cmb

73 			drvdata->cmb->trig_patt[tpdm_attr->idx]);  in tpdm_simple_dataset_show()
78 drvdata->cmb->trig_patt_mask[tpdm_attr->idx]); in tpdm_simple_dataset_show()
83 drvdata->cmb->patt_val[tpdm_attr->idx]); in tpdm_simple_dataset_show()
88 drvdata->cmb->patt_mask[tpdm_attr->idx]); in tpdm_simple_dataset_show()
93 drvdata->cmb->msr[tpdm_attr->idx]); in tpdm_simple_dataset_show()
148 drvdata->cmb->trig_patt[tpdm_attr->idx] = val; in tpdm_simple_dataset_store()
154 drvdata->cmb->trig_patt_mask[tpdm_attr->idx] = val; in tpdm_simple_dataset_store()
160 drvdata->cmb->patt_val[tpdm_attr->idx] = val; in tpdm_simple_dataset_store()
166 drvdata->cmb->patt_mask[tpdm_attr->idx] = val; in tpdm_simple_dataset_store()
172 drvdata->cmb->msr[tpdm_attr->idx] = val; in tpdm_simple_dataset_store()
249 if (drvdata->cmb) in tpdm_reset_datasets()
250 memset(drvdata->cmb, 0, sizeof(struct cmb_dataset)); in tpdm_reset_datasets()
364 if (drvdata->cmb->patt_ts) in set_cmb_tier()
368 if (drvdata->cmb->trig_ts) in set_cmb_tier()
372 if (drvdata->cmb->ts_all) in set_cmb_tier()
383 writel_relaxed(drvdata->cmb->msr[i], in set_cmb_msr()
396 writel_relaxed(drvdata->cmb->patt_val[i], in tpdm_enable_cmb()
398 writel_relaxed(drvdata->cmb->patt_mask[i], in tpdm_enable_cmb()
400 writel_relaxed(drvdata->cmb->trig_patt[i], in tpdm_enable_cmb()
402 writel_relaxed(drvdata->cmb->trig_patt_mask[i], in tpdm_enable_cmb()
414 if (drvdata->cmb->trace_mode) in tpdm_enable_cmb()
545 if (tpdm_has_cmb_dataset(drvdata) && (!drvdata->cmb)) { in tpdm_datasets_setup()
546 drvdata->cmb = devm_kzalloc(drvdata->dev, in tpdm_datasets_setup()
547 sizeof(*drvdata->cmb), GFP_KERNEL); in tpdm_datasets_setup()
548 if (!drvdata->cmb) in tpdm_datasets_setup()
771 (unsigned int)drvdata->cmb->patt_ts); in enable_ts_show()
796 drvdata->cmb->patt_ts = !!val; in enable_ts_store()
910 return sysfs_emit(buf, "%x\n", drvdata->cmb->trace_mode); in cmb_mode_show()
926 drvdata->cmb->trace_mode = trace_mode; in cmb_mode_store()
939 (unsigned int)drvdata->cmb->ts_all); in cmb_ts_all_show()
955 drvdata->cmb->ts_all = true; in cmb_ts_all_store()
957 drvdata->cmb->ts_all = false; in cmb_ts_all_store()
970 (unsigned int)drvdata->cmb->trig_ts); in cmb_trig_ts_show()
986 drvdata->cmb->trig_ts = true; in cmb_trig_ts_store()
988 drvdata->cmb->trig_ts = false; in cmb_trig_ts_store()