Home
last modified time | relevance | path

Searched refs:BMVAL (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/drivers/hwtracing/coresight/
Dcoresight-etm4x.c444 if (BMVAL(etmidr0, 1, 1) && BMVAL(etmidr0, 2, 2)) in etm4_init_arch_data()
450 if (BMVAL(etmidr0, 5, 5)) in etm4_init_arch_data()
456 if (BMVAL(etmidr0, 6, 6)) in etm4_init_arch_data()
462 if (BMVAL(etmidr0, 7, 7)) in etm4_init_arch_data()
468 if (BMVAL(etmidr0, 9, 9)) in etm4_init_arch_data()
474 drvdata->nr_event = BMVAL(etmidr0, 10, 11); in etm4_init_arch_data()
476 drvdata->q_support = BMVAL(etmidr0, 15, 16); in etm4_init_arch_data()
478 drvdata->ts_size = BMVAL(etmidr0, 24, 28); in etm4_init_arch_data()
486 drvdata->arch = BMVAL(etmidr1, 4, 11); in etm4_init_arch_data()
491 drvdata->ctxid_size = BMVAL(etmidr2, 5, 9); in etm4_init_arch_data()
[all …]
Dcoresight-etm3x.c736 drvdata->arch = BMVAL(etmidr, 4, 11); in etm_init_arch_data()
742 drvdata->nr_addr_cmp = BMVAL(etmccr, 0, 3) * 2; in etm_init_arch_data()
743 drvdata->nr_cntr = BMVAL(etmccr, 13, 15); in etm_init_arch_data()
744 drvdata->nr_ext_inp = BMVAL(etmccr, 17, 19); in etm_init_arch_data()
745 drvdata->nr_ext_out = BMVAL(etmccr, 20, 22); in etm_init_arch_data()
746 drvdata->nr_ctxid_cmp = BMVAL(etmccr, 24, 25); in etm_init_arch_data()
Dcoresight-etm4x.h156 #define ETM_MODE_COND(val) BMVAL(val, 8, 10)
159 #define ETM_MODE_QELEM(val) BMVAL(val, 13, 14)
Dcoresight-priv.h29 #define BMVAL(val, lsb, msb) ((val & GENMASK(msb, lsb)) >> lsb) macro
Dcoresight-tmc.c198 switch (BMVAL(devid, 8, 10)) { in tmc_get_memwidth()
416 drvdata->config_type = BMVAL(devid, 6, 7); in tmc_probe()
Dcoresight-etm4x-sysfs.c24 if (BMVAL(config->addr_acc[idx], 0, 1) == ETM_INSTR_ADDR) { in etm4_set_mode_exclude()
533 val = BMVAL(config->eventctrl1, 0, 3); in event_instren_show()
696 if (BMVAL(val, 0, 7) > drvdata->nr_addr_cmp) in bb_ctrl_store()
744 val = BMVAL(config->vinst_ctrl, 16, 19); in s_exlevel_vinst_show()
779 val = BMVAL(config->vinst_ctrl, 20, 23); in ns_exlevel_vinst_show()
852 val = BMVAL(config->addr_acc[idx], 0, 1); in addr_instdatatype_show()
1138 val = BMVAL(config->addr_acc[idx], 2, 3); in addr_ctxtype_show()
1204 val = BMVAL(config->addr_acc[idx], 4, 6); in addr_context_show()
Dcoresight-stm.c725 return BMVAL(stmspfeat2r, 12, 15) ? 8 : 4; in stm_fundamental_data_size()