Home
last modified time | relevance | path

Searched refs:tcsr (Results 1 – 7 of 7) 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()
200 regmap_update_bits(gsbi->tcsr, in gsbi_probe()
203 regmap_update_bits(gsbi->tcsr, in gsbi_probe()
Dcpr.c237 struct regmap *tcsr; member
393 static void cpr_set_acc(struct regmap *tcsr, struct fuse_corner *f, in cpr_set_acc() argument
401 regmap_multi_reg_write(tcsr, f->accs, f->num_accs); in cpr_set_acc()
404 regmap_multi_reg_write(tcsr, f->accs, f->num_accs); in cpr_set_acc()
414 if (drv->tcsr && dir == DOWN) in cpr_pre_voltage()
415 cpr_set_acc(drv->tcsr, prev_fuse_corner, fuse_corner); in cpr_pre_voltage()
426 if (drv->tcsr && dir == UP) in cpr_post_voltage()
427 cpr_set_acc(drv->tcsr, prev_fuse_corner, fuse_corner); in cpr_post_voltage()
1539 regmap_multi_reg_write(drv->tcsr, acc_desc->config, in cpr_pd_attach_dev()
1544 regmap_update_bits(drv->tcsr, acc_desc->enable_reg, in cpr_pd_attach_dev()
[all …]
/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/phy/qualcomm/
Dphy-qcom-qusb2.c439 struct regmap *tcsr; member
808 if (qphy->tcsr) { in qusb2_phy_init()
809 ret = regmap_read(qphy->tcsr, qphy->cfg->clk_scheme_offset, in qusb2_phy_init()
1007 qphy->tcsr = syscon_regmap_lookup_by_phandle(dev->of_node, in qusb2_phy_probe()
1009 if (IS_ERR(qphy->tcsr)) { in qusb2_phy_probe()
1011 qphy->tcsr = NULL; in qusb2_phy_probe()
/drivers/firmware/
Dqcom_scm.c1304 struct device_node *tcsr; in qcom_scm_find_dload_address() local
1310 tcsr = of_parse_phandle(np, "qcom,dload-mode", 0); in qcom_scm_find_dload_address()
1311 if (!tcsr) in qcom_scm_find_dload_address()
1314 ret = of_address_to_resource(tcsr, 0, &res); in qcom_scm_find_dload_address()
1315 of_node_put(tcsr); in qcom_scm_find_dload_address()
/drivers/hwtracing/coresight/
Dcoresight-stm.c647 coresight_simple_reg32(tcsr, STMTCSR),