Searched refs:BMVAL (Results 1 – 7 of 7) sorted by relevance
/drivers/hwtracing/coresight/ |
D | coresight-etm4x.c | 443 if (BMVAL(etmidr0, 1, 1) && BMVAL(etmidr0, 2, 2)) in etm4_init_arch_data() 449 if (BMVAL(etmidr0, 5, 5)) in etm4_init_arch_data() 455 if (BMVAL(etmidr0, 6, 6)) in etm4_init_arch_data() 461 if (BMVAL(etmidr0, 7, 7)) in etm4_init_arch_data() 467 if (BMVAL(etmidr0, 9, 9)) in etm4_init_arch_data() 473 drvdata->nr_event = BMVAL(etmidr0, 10, 11); in etm4_init_arch_data() 475 drvdata->q_support = BMVAL(etmidr0, 15, 16); in etm4_init_arch_data() 477 drvdata->ts_size = BMVAL(etmidr0, 24, 28); in etm4_init_arch_data() 485 drvdata->arch = BMVAL(etmidr1, 4, 11); in etm4_init_arch_data() 490 drvdata->ctxid_size = BMVAL(etmidr2, 5, 9); in etm4_init_arch_data() [all …]
|
D | coresight-etm3x.c | 731 drvdata->arch = BMVAL(etmidr, 4, 11); in etm_init_arch_data() 737 drvdata->nr_addr_cmp = BMVAL(etmccr, 0, 3) * 2; in etm_init_arch_data() 738 drvdata->nr_cntr = BMVAL(etmccr, 13, 15); in etm_init_arch_data() 739 drvdata->nr_ext_inp = BMVAL(etmccr, 17, 19); in etm_init_arch_data() 740 drvdata->nr_ext_out = BMVAL(etmccr, 20, 22); in etm_init_arch_data() 741 drvdata->nr_ctxid_cmp = BMVAL(etmccr, 24, 25); in etm_init_arch_data()
|
D | coresight-etm4x.h | 162 #define ETM_MODE_COND(val) BMVAL(val, 8, 10) 165 #define ETM_MODE_QELEM(val) BMVAL(val, 13, 14)
|
D | coresight-priv.h | 36 #define BMVAL(val, lsb, msb) ((val & GENMASK(msb, lsb)) >> lsb) macro
|
D | coresight-tmc.c | 200 switch (BMVAL(devid, 8, 10)) { in tmc_get_memwidth() 337 drvdata->config_type = BMVAL(devid, 6, 7); in tmc_probe()
|
D | coresight-etm4x-sysfs.c | 34 if (BMVAL(config->addr_acc[idx], 0, 1) == ETM_INSTR_ADDR) { in etm4_set_mode_exclude() 545 val = BMVAL(config->eventctrl1, 0, 3); in event_instren_show() 708 if (BMVAL(val, 0, 7) > drvdata->nr_addr_cmp) in bb_ctrl_store() 756 val = BMVAL(config->vinst_ctrl, 16, 19); in s_exlevel_vinst_show() 791 val = BMVAL(config->vinst_ctrl, 20, 23); in ns_exlevel_vinst_show() 864 val = BMVAL(config->addr_acc[idx], 0, 1); in addr_instdatatype_show() 1150 val = BMVAL(config->addr_acc[idx], 2, 3); in addr_ctxtype_show() 1216 val = BMVAL(config->addr_acc[idx], 4, 6); in addr_context_show()
|
D | coresight-stm.c | 731 return BMVAL(stmspfeat2r, 12, 15) ? 8 : 4; in stm_fundamental_data_size()
|