Searched refs:BMVAL (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/hwtracing/coresight/ |
D | coresight-etm3x-core.c | 767 drvdata->arch = BMVAL(etmidr, 4, 11); in etm_init_arch_data() 773 drvdata->nr_addr_cmp = BMVAL(etmccr, 0, 3) * 2; in etm_init_arch_data() 774 drvdata->nr_cntr = BMVAL(etmccr, 13, 15); in etm_init_arch_data() 775 drvdata->nr_ext_inp = BMVAL(etmccr, 17, 19); in etm_init_arch_data() 776 drvdata->nr_ext_out = BMVAL(etmccr, 20, 22); in etm_init_arch_data() 777 drvdata->nr_ctxid_cmp = BMVAL(etmccr, 24, 25); in etm_init_arch_data()
|
D | coresight-priv.h | 38 #define BMVAL(val, lsb, msb) ((val & GENMASK(msb, lsb)) >> lsb) macro
|
D | coresight-tmc-core.c | 234 switch (BMVAL(devid, 8, 10)) { in tmc_get_memwidth() 462 drvdata->config_type = BMVAL(devid, 6, 7); in tmc_probe()
|
D | coresight-cti-core.c | 205 #define CTI_DEVID_MAXTRIGS(devid_val) ((int) BMVAL(devid_val, 8, 15)) 208 #define CTI_DEVID_CTMCHANNELS(devid_val) ((int) BMVAL(devid_val, 16, 19))
|
D | coresight-etm4x.h | 624 #define ETM_MODE_COND(val) BMVAL(val, 8, 10) 627 #define ETM_MODE_QELEM(val) BMVAL(val, 13, 14)
|
D | coresight-stm.c | 777 return BMVAL(stmspfeat2r, 12, 15) ? 8 : 4; in stm_fundamental_data_size()
|
/linux-6.1.9/tools/perf/util/ |
D | cs-etm.h | 193 #define BMVAL(val, lsb, msb) ((val & GENMASK(msb, lsb)) >> lsb) macro
|
/linux-6.1.9/tools/perf/arch/arm/util/ |
D | cs-etm.c | 113 val = BMVAL(val, 5, 9); in cs_etm_set_context_id() 130 if (!BMVAL(val, 29, 30) || BMVAL(val, 10, 14) < 4) { in cs_etm_set_context_id()
|