Home
last modified time | relevance | path

Searched refs:res_ctrl (Results 1 - 9 of 9) sorted by relevance

/kernel/linux/linux-6.6/drivers/hwtracing/coresight/
H A Dcoresight-etm4x-cfg.c105 reg_csdev->driver_regval = &drvcfg->res_ctrl[idx]; in etm4_cfg_map_reg_offset()
H A Dcoresight-etm4x-sysfs.c241 config->res_ctrl[i] = 0x0; in reset_store()
1708 val = config->res_ctrl[idx]; in res_ctrl_show()
1731 config->res_ctrl[idx] = val & (TRCRSCTLRn_PAIRINV | in res_ctrl_store()
1738 static DEVICE_ATTR_RW(res_ctrl);
H A Dcoresight-etm4x-core.c473 etm4x_relaxed_write32(csa, config->res_ctrl[i], TRCRSCTLRn(i)); in etm4_enable_hw()
597 if (!config->res_ctrl[rselector]) in etm4_config_timestamp_event()
627 config->res_ctrl[rselector] = val; in etm4_config_timestamp_event()
H A Dcoresight-etm4x.h823 * @res_ctrl: Controls the selection of the resources in the trace unit.
867 u32 res_ctrl[ETM_MAX_RES_SEL]; member
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
H A Ddavinci_emac.c1781 struct resource *res, *res_ctrl; in davinci_emac_probe() local
1841 res_ctrl = platform_get_resource(pdev, IORESOURCE_MEM, 1); in davinci_emac_probe()
1842 if (res_ctrl) { in davinci_emac_probe()
1844 devm_ioremap_resource(&pdev->dev, res_ctrl); in davinci_emac_probe()
1909 rc = davinci_emac_try_get_mac(pdev, res_ctrl ? 0 : 1, priv->mac_addr); in davinci_emac_probe()
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/
H A Ddavinci_emac.c1813 struct resource *res, *res_ctrl; in davinci_emac_probe() local
1872 res_ctrl = platform_get_resource(pdev, IORESOURCE_MEM, 1); in davinci_emac_probe()
1873 if (res_ctrl) { in davinci_emac_probe()
1875 devm_ioremap_resource(&pdev->dev, res_ctrl); in davinci_emac_probe()
1937 rc = davinci_emac_try_get_mac(pdev, res_ctrl ? 0 : 1, priv->mac_addr); in davinci_emac_probe()
/kernel/linux/linux-5.10/drivers/hwtracing/coresight/
H A Dcoresight-etm4x.h235 * @res_ctrl: Controls the selection of the resources in the trace unit.
279 u32 res_ctrl[ETM_MAX_RES_SEL]; member
H A Dcoresight-etm4x-sysfs.c240 config->res_ctrl[i] = 0x0; in reset_store()
1699 val = config->res_ctrl[idx]; in res_ctrl_show()
1722 config->res_ctrl[idx] = val & GENMASK(21, 0); in res_ctrl_store()
1726 static DEVICE_ATTR_RW(res_ctrl);
H A Dcoresight-etm4x-core.c168 writel_relaxed(config->res_ctrl[i], in etm4_enable_hw()
286 if (!config->res_ctrl[rselector]) in etm4_config_timestamp_event()
316 config->res_ctrl[rselector] = val; in etm4_config_timestamp_event()

Completed in 22 milliseconds