Home
last modified time | relevance | path

Searched refs:tcsr (Results 1 – 8 of 8) sorted by relevance

/drivers/soc/qcom/
Dqcom_gsbi.c114 struct regmap *tcsr; member
146 gsbi->tcsr = syscon_regmap_lookup_by_phandle(node, "syscon-tcsr"); in gsbi_probe()
148 if (!IS_ERR(gsbi->tcsr)) { in gsbi_probe()
198 regmap_update_bits(gsbi->tcsr, in gsbi_probe()
201 regmap_update_bits(gsbi->tcsr, in gsbi_probe()
/drivers/pwm/
Dpwm-xilinx.c34 u32 xilinx_timer_tlr_cycles(struct xilinx_timer_priv *priv, u32 tcsr, in xilinx_timer_tlr_cycles() argument
39 if (tcsr & TCSR_UDT) in xilinx_timer_tlr_cycles()
45 u32 tlr, u32 tcsr) in xilinx_timer_get_period() argument
49 if (tcsr & TCSR_UDT) in xilinx_timer_get_period()
/drivers/net/ethernet/marvell/mvpp2/
Dmvpp2_tai.c242 u32 tcsr; in mvpp22_tai_gettimex64() local
260 tcsr = readl(base + MVPP22_TAI_TCSR); in mvpp22_tai_gettimex64()
261 if (tcsr & TCSR_CAPTURE_1_VALID) { in mvpp22_tai_gettimex64()
264 } else if (tcsr & TCSR_CAPTURE_0_VALID) { in mvpp22_tai_gettimex64()
/drivers/pmdomain/qcom/
Dcpr.c236 struct regmap *tcsr; member
392 static void cpr_set_acc(struct regmap *tcsr, struct fuse_corner *f, in cpr_set_acc() argument
400 regmap_multi_reg_write(tcsr, f->accs, f->num_accs); in cpr_set_acc()
403 regmap_multi_reg_write(tcsr, f->accs, f->num_accs); in cpr_set_acc()
413 if (drv->tcsr && dir == DOWN) in cpr_pre_voltage()
414 cpr_set_acc(drv->tcsr, prev_fuse_corner, fuse_corner); in cpr_pre_voltage()
425 if (drv->tcsr && dir == UP) in cpr_post_voltage()
426 cpr_set_acc(drv->tcsr, prev_fuse_corner, fuse_corner); in cpr_post_voltage()
1538 regmap_multi_reg_write(drv->tcsr, acc_desc->config, in cpr_pd_attach_dev()
1543 regmap_update_bits(drv->tcsr, acc_desc->enable_reg, in cpr_pd_attach_dev()
[all …]
/drivers/phy/qualcomm/
Dphy-qcom-qusb2.c438 struct regmap *tcsr; member
807 if (qphy->tcsr) { in qusb2_phy_init()
808 ret = regmap_read(qphy->tcsr, qphy->cfg->clk_scheme_offset, in qusb2_phy_init()
1009 qphy->tcsr = syscon_regmap_lookup_by_phandle(dev->of_node, in qusb2_phy_probe()
1011 if (IS_ERR(qphy->tcsr)) { in qusb2_phy_probe()
1013 qphy->tcsr = NULL; in qusb2_phy_probe()
Dphy-qcom-qmp-pcie.c3556 struct regmap *tcsr; in qmp_pcie_get_4ln_config() local
3560 tcsr = syscon_regmap_lookup_by_phandle_args(qmp->dev->of_node, in qmp_pcie_get_4ln_config()
3563 if (IS_ERR(tcsr)) { in qmp_pcie_get_4ln_config()
3564 ret = PTR_ERR(tcsr); in qmp_pcie_get_4ln_config()
3572 ret = regmap_test_bits(tcsr, args[0], BIT(args[1])); in qmp_pcie_get_4ln_config()
/drivers/firmware/
Dqcom_scm.c1313 struct device_node *tcsr; in qcom_scm_find_dload_address() local
1319 tcsr = of_parse_phandle(np, "qcom,dload-mode", 0); in qcom_scm_find_dload_address()
1320 if (!tcsr) in qcom_scm_find_dload_address()
1323 ret = of_address_to_resource(tcsr, 0, &res); in qcom_scm_find_dload_address()
1324 of_node_put(tcsr); in qcom_scm_find_dload_address()
/drivers/hwtracing/coresight/
Dcoresight-stm.c623 coresight_simple_reg32(tcsr, STMTCSR),