Lines Matching full:devid
218 static enum tmc_mem_intf_width tmc_get_memwidth(u32 devid) in tmc_get_memwidth() argument
225 * DEVID::MEMWIDTH[10:8] in tmc_get_memwidth()
231 switch (BMVAL(devid, 8, 10)) { in tmc_get_memwidth()
266 coresight_tmc_reg(devid, CORESIGHT_DEVID);
381 static int tmc_etr_setup_caps(struct device *parent, u32 devid, void *dev_caps) in tmc_etr_setup_caps() argument
393 if (!(devid & TMC_DEVID_NOSCAT) && tmc_etr_can_use_sg(parent)) in tmc_etr_setup_caps()
397 if (devid & TMC_DEVID_AXIAW_VALID) in tmc_etr_setup_caps()
398 dma_mask = ((devid >> TMC_DEVID_AXIAW_SHIFT) & in tmc_etr_setup_caps()
435 u32 devid; in tmc_probe() local
462 devid = readl_relaxed(drvdata->base + CORESIGHT_DEVID); in tmc_probe()
463 drvdata->config_type = BMVAL(devid, 6, 7); in tmc_probe()
464 drvdata->memwidth = tmc_get_memwidth(devid); in tmc_probe()
487 ret = tmc_etr_setup_caps(dev, devid, in tmc_probe()