Home
last modified time | relevance | path

Searched refs:sctrl (Results 1 – 7 of 7) sorted by relevance

/drivers/hv/
Dhv.c199 union hv_synic_scontrol sctrl; in hv_synic_enable_regs() local
240 sctrl.as_uint64 = hv_get_register(HV_REGISTER_SCONTROL); in hv_synic_enable_regs()
241 sctrl.enable = 1; in hv_synic_enable_regs()
243 hv_set_register(HV_REGISTER_SCONTROL, sctrl.as_uint64); in hv_synic_enable_regs()
263 union hv_synic_scontrol sctrl; in hv_synic_disable_regs() local
288 sctrl.as_uint64 = hv_get_register(HV_REGISTER_SCONTROL); in hv_synic_disable_regs()
289 sctrl.enable = 0; in hv_synic_disable_regs()
290 hv_set_register(HV_REGISTER_SCONTROL, sctrl.as_uint64); in hv_synic_disable_regs()
/drivers/slimbus/
Dqcom-ctrl.c278 static int qcom_clk_pause_wakeup(struct slim_controller *sctrl) in qcom_clk_pause_wakeup() argument
280 struct qcom_slim_ctrl *ctrl = dev_get_drvdata(sctrl->dev); in qcom_clk_pause_wakeup()
325 static int qcom_xfer_msg(struct slim_controller *sctrl, in qcom_xfer_msg() argument
328 struct qcom_slim_ctrl *ctrl = dev_get_drvdata(sctrl->dev); in qcom_xfer_msg()
389 static int qcom_set_laddr(struct slim_controller *sctrl, in qcom_set_laddr() argument
392 struct qcom_slim_ctrl *ctrl = dev_get_drvdata(sctrl->dev); in qcom_set_laddr()
490 struct slim_controller *sctrl; in qcom_slim_probe() local
518 sctrl = &ctrl->ctrl; in qcom_slim_probe()
519 sctrl->dev = &pdev->dev; in qcom_slim_probe()
529 sctrl->set_laddr = qcom_set_laddr; in qcom_slim_probe()
[all …]
Dqcom-ngd-ctrl.c779 static int qcom_slim_ngd_xfer_msg(struct slim_controller *sctrl, in qcom_slim_ngd_xfer_msg() argument
782 struct qcom_slim_ngd_ctrl *ctrl = dev_get_drvdata(sctrl->dev); in qcom_slim_ngd_xfer_msg()
841 ret = slim_alloc_txn_tid(sctrl, txn); in qcom_slim_ngd_xfer_msg()
889 dev_err(sctrl->dev, "TX timed out:MC:0x%x,mt:0x%x", txn->mc, in qcom_slim_ngd_xfer_msg()
898 dev_err(sctrl->dev, "TX timed out:MC:0x%x,mt:0x%x", in qcom_slim_ngd_xfer_msg()
/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dmcp77.c35 u32 cctrl, sctrl; member
250 clk->sctrl = (divs + P2) << 16; in mcp77_clk_calc()
254 clk->sctrl = P1 << 16; in mcp77_clk_calc()
273 clk->scoef, clk->spost, clk->sctrl); in mcp77_clk_calc()
338 nvkm_mask(device, 0x4020, 0x00070000, clk->sctrl); in mcp77_clk_prog()
343 nvkm_wr32(device, 0x4020, 0x80000000 | clk->sctrl); in mcp77_clk_prog()
/drivers/phy/hisilicon/
Dphy-hi3670-usb3.c129 struct regmap *sctrl; member
326 if (!priv->sctrl) { in hi3670_is_abbclk_selected()
331 if (regmap_read(priv->sctrl, SCTRL_SCDEEPSLEEPED, &reg)) { in hi3670_is_abbclk_selected()
613 priv->sctrl = syscon_regmap_lookup_by_phandle(dev->of_node, in hi3670_phy_probe()
615 if (IS_ERR(priv->sctrl)) { in hi3670_phy_probe()
617 return PTR_ERR(priv->sctrl); in hi3670_phy_probe()
/drivers/isdn/hardware/mISDN/
Dhfcpci.c90 unsigned char sctrl; member
174 hc->hw.sctrl |= SCTRL_MODE_NT; /* NT-MODE */ in hfcpci_setmode()
178 hc->hw.sctrl &= ~SCTRL_MODE_NT; /* TE-MODE */ in hfcpci_setmode()
185 Write_hfc(hc, HFCPCI_SCTRL, hc->hw.sctrl); in hfcpci_setmode()
231 hc->hw.sctrl = 0x40; /* set tx_lo mode, error in datasheet ! */ in reset_hfcpci()
1288 hc->hw.sctrl &= ~SCTRL_B2_ENA; in mode_hfcpci()
1291 hc->hw.sctrl &= ~SCTRL_B1_ENA; in mode_hfcpci()
1320 hc->hw.sctrl |= SCTRL_B2_ENA; in mode_hfcpci()
1326 hc->hw.sctrl |= SCTRL_B1_ENA; in mode_hfcpci()
1355 hc->hw.sctrl |= SCTRL_B2_ENA; in mode_hfcpci()
[all …]
Dhfcsusb.c687 __u8 conhdlc, sctrl, sctrl_r; in hfcsusb_setup_bch() local
734 sctrl = 0x40 + ((hw->protocol == ISDN_P_TE_S0) ? 0x00 : 0x04); in hfcsusb_setup_bch()
737 sctrl |= 1; in hfcsusb_setup_bch()
741 sctrl |= 2; in hfcsusb_setup_bch()
744 write_reg(hw, HFCUSB_SCTRL, sctrl); in hfcsusb_setup_bch()