Searched refs:BMVAL (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/ |
D | coresight-etm4x-core.c | 640 if (BMVAL(etmidr0, 1, 1) && BMVAL(etmidr0, 2, 2)) in etm4_init_arch_data() 646 if (BMVAL(etmidr0, 5, 5)) in etm4_init_arch_data() 652 if (BMVAL(etmidr0, 6, 6)) in etm4_init_arch_data() 658 if (BMVAL(etmidr0, 7, 7)) in etm4_init_arch_data() 664 if (BMVAL(etmidr0, 9, 9)) in etm4_init_arch_data() 670 drvdata->nr_event = BMVAL(etmidr0, 10, 11); in etm4_init_arch_data() 672 drvdata->q_support = BMVAL(etmidr0, 15, 16); in etm4_init_arch_data() 674 drvdata->ts_size = BMVAL(etmidr0, 24, 28); in etm4_init_arch_data() 682 drvdata->arch = BMVAL(etmidr1, 4, 11); in etm4_init_arch_data() 688 drvdata->ctxid_size = BMVAL(etmidr2, 5, 9); in etm4_init_arch_data() [all …]
|
D | coresight-etm3x-core.c | 761 drvdata->arch = BMVAL(etmidr, 4, 11); in etm_init_arch_data() 767 drvdata->nr_addr_cmp = BMVAL(etmccr, 0, 3) * 2; in etm_init_arch_data() 768 drvdata->nr_cntr = BMVAL(etmccr, 13, 15); in etm_init_arch_data() 769 drvdata->nr_ext_inp = BMVAL(etmccr, 17, 19); in etm_init_arch_data() 770 drvdata->nr_ext_out = BMVAL(etmccr, 20, 22); in etm_init_arch_data() 771 drvdata->nr_ctxid_cmp = BMVAL(etmccr, 24, 25); in etm_init_arch_data()
|
D | coresight-etm4x.h | 156 #define ETM_MODE_COND(val) BMVAL(val, 8, 10) 159 #define ETM_MODE_QELEM(val) BMVAL(val, 13, 14)
|
D | coresight-priv.h | 38 #define BMVAL(val, lsb, msb) ((val & GENMASK(msb, lsb)) >> lsb) macro
|
D | coresight-tmc-core.c | 231 switch (BMVAL(devid, 8, 10)) { in tmc_get_memwidth() 463 drvdata->config_type = BMVAL(devid, 6, 7); in tmc_probe()
|
D | coresight-etm4x-sysfs.c | 24 if (BMVAL(config->addr_acc[idx], 0, 1) == ETM_INSTR_ADDR) { in etm4_set_mode_exclude() 534 val = BMVAL(config->eventctrl1, 0, 3); in event_instren_show() 702 if ((val & BIT(8)) && (BMVAL(val, 0, 7) == 0)) in bb_ctrl_store() 858 val = BMVAL(config->addr_acc[idx], 0, 1); in addr_instdatatype_show() 1144 val = BMVAL(config->addr_acc[idx], 2, 3); in addr_ctxtype_show() 1210 val = BMVAL(config->addr_acc[idx], 4, 6); in addr_context_show() 1253 val = BMVAL(config->addr_acc[idx], 8, 14); in addr_exlevel_s_ns_show()
|
D | coresight-cti-core.c | 204 #define CTI_DEVID_MAXTRIGS(devid_val) ((int) BMVAL(devid_val, 8, 15)) 207 #define CTI_DEVID_CTMCHANNELS(devid_val) ((int) BMVAL(devid_val, 16, 19))
|
D | coresight-stm.c | 792 return BMVAL(stmspfeat2r, 12, 15) ? 8 : 4; in stm_fundamental_data_size()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
D | cs-etm.h | 163 #define BMVAL(val, lsb, msb) ((val & GENMASK(msb, lsb)) >> lsb) macro
|
/kernel/linux/linux-5.10/tools/perf/arch/arm/util/ |
D | cs-etm.c | 96 val = BMVAL(val, 5, 9); in cs_etm_set_context_id()
|