Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/hv/
Dhv.c213 union hv_synic_scontrol sctrl; in hv_synic_enable_regs() local
273 sctrl.as_uint64 = hv_get_register(HV_REGISTER_SCONTROL); in hv_synic_enable_regs()
274 sctrl.enable = 1; in hv_synic_enable_regs()
276 hv_set_register(HV_REGISTER_SCONTROL, sctrl.as_uint64); in hv_synic_enable_regs()
298 union hv_synic_scontrol sctrl; in hv_synic_disable_regs() local
336 sctrl.as_uint64 = hv_get_register(HV_REGISTER_SCONTROL); in hv_synic_disable_regs()
337 sctrl.enable = 0; in hv_synic_disable_regs()
338 hv_set_register(HV_REGISTER_SCONTROL, sctrl.as_uint64); in hv_synic_disable_regs()
/linux-6.1.9/Documentation/devicetree/bindings/phy/
Dhisilicon,hi3670-usb3.yaml30 hisilicon,sctrl-syscon:
46 - hisilicon,sctrl-syscon
60 hisilicon,sctrl-syscon = <&sctrl>;
/linux-6.1.9/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
516 sctrl = &ctrl->ctrl; in qcom_slim_probe()
517 sctrl->dev = &pdev->dev; in qcom_slim_probe()
527 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()
/linux-6.1.9/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()
/linux-6.1.9/arch/arm64/boot/dts/hisilicon/
Dhi3670.dtsi173 sctrl: sctrl@fff0a000 { label
174 compatible = "hisilicon,hi3670-sctrl", "syscon";
522 clocks = <&sctrl HI3670_PCLK_GPIO18>;
535 clocks = <&sctrl HI3670_PCLK_GPIO19>;
575 clocks = <&sctrl HI3670_PCLK_AO_GPIO0>;
589 clocks = <&sctrl HI3670_PCLK_AO_GPIO1>;
603 clocks = <&sctrl HI3670_PCLK_AO_GPIO2>;
617 clocks = <&sctrl HI3670_PCLK_AO_GPIO3>;
631 clocks = <&sctrl HI3670_PCLK_AO_GPIO4>;
645 clocks = <&sctrl HI3670_PCLK_AO_GPIO5>;
[all …]
Dhi3660.dtsi364 sctrl: sctrl@fff0a000 { label
365 compatible = "hisilicon,hi3660-sctrl", "syscon";
882 clocks = <&sctrl HI3660_PCLK_AO_GPIO0>;
896 clocks = <&sctrl HI3660_PCLK_AO_GPIO1>;
910 clocks = <&sctrl HI3660_PCLK_AO_GPIO2>;
924 clocks = <&sctrl HI3660_PCLK_AO_GPIO3>;
938 clocks = <&sctrl HI3660_PCLK_AO_GPIO4>;
952 clocks = <&sctrl HI3660_PCLK_AO_GPIO5>;
964 clocks = <&sctrl HI3660_PCLK_AO_GPIO6>;
1068 hisilicon,peripheral-syscon = <&sctrl>;
Dhi6220.dtsi287 compatible = "hisilicon,hi6220-acpu-sctrl", "syscon";
/linux-6.1.9/sound/pci/
Dens1370.c377 unsigned int sctrl; /* serial control register */ member
809 ensoniq->sctrl |= what; in snd_ensoniq_trigger()
811 ensoniq->sctrl &= ~what; in snd_ensoniq_trigger()
812 outl(ensoniq->sctrl, ES_REG(ensoniq, SERIAL)); in snd_ensoniq_trigger()
877 ensoniq->sctrl &= ~(ES_P1_LOOP_SEL | ES_P1_PAUSE | ES_P1_SCT_RLD | ES_P1_MODEM); in snd_ensoniq_playback1_prepare()
878 ensoniq->sctrl |= ES_P1_INT_EN | ES_P1_MODEO(mode); in snd_ensoniq_playback1_prepare()
879 outl(ensoniq->sctrl, ES_REG(ensoniq, SERIAL)); in snd_ensoniq_playback1_prepare()
918 ensoniq->sctrl &= ~(ES_P2_LOOP_SEL | ES_P2_PAUSE | ES_P2_DAC_SEN | in snd_ensoniq_playback2_prepare()
920 ensoniq->sctrl |= ES_P2_INT_EN | ES_P2_MODEO(mode) | in snd_ensoniq_playback2_prepare()
922 outl(ensoniq->sctrl, ES_REG(ensoniq, SERIAL)); in snd_ensoniq_playback2_prepare()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/arch/arm64/boot/dts/bitmain/
Dbm1880.dtsi91 sctrl: system-controller@50010000 { label
92 compatible = "bitmain,bm1880-sctrl", "syscon",
/linux-6.1.9/Documentation/devicetree/bindings/clock/
Dhi3670-clock.txt14 - "hisilicon,hi3670-sctrl"
Dhi3660-clock.txt14 - "hisilicon,hi3660-sctrl"
Dhi6220-clock.txt14 - "hisilicon,hi6220-acpu-sctrl"
/linux-6.1.9/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()