Home
last modified time | relevance | path

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

/linux/drivers/hv/
H A Dhv.c337 union hv_synic_scontrol sctrl; in hv_hyp_synic_enable_interrupts() local
340 sctrl.as_uint64 = hv_get_msr(HV_MSR_SCONTROL); in hv_hyp_synic_enable_interrupts()
341 sctrl.enable = 1; in hv_hyp_synic_enable_interrupts()
343 hv_set_msr(HV_MSR_SCONTROL, sctrl.as_uint64); in hv_hyp_synic_enable_interrupts()
370 union hv_synic_scontrol sctrl; in hv_para_synic_enable_interrupts() local
373 sctrl.as_uint64 = hv_para_get_synic_register(HV_MSR_SCONTROL); in hv_para_synic_enable_interrupts()
374 sctrl.enable = 1; in hv_para_synic_enable_interrupts()
375 hv_para_set_synic_register(HV_MSR_SCONTROL, sctrl.as_uint64); in hv_para_synic_enable_interrupts()
458 union hv_synic_scontrol sctrl; in hv_hyp_synic_disable_interrupts() local
461 sctrl.as_uint64 = hv_get_msr(HV_MSR_SCONTROL); in hv_hyp_synic_disable_interrupts()
[all …]
H A Dmshv_synic.c457 union hv_synic_scontrol sctrl; in mshv_synic_init() local
519 sctrl.as_uint64 = hv_get_non_nested_msr(HV_MSR_SCONTROL); in mshv_synic_init()
520 sctrl.enable = 1; in mshv_synic_init()
521 hv_set_non_nested_msr(HV_MSR_SCONTROL, sctrl.as_uint64); in mshv_synic_init()
551 union hv_synic_scontrol sctrl; in mshv_synic_cleanup() local
590 sctrl.as_uint64 = hv_get_non_nested_msr(HV_MSR_SCONTROL); in mshv_synic_cleanup()
591 sctrl.enable = 0; in mshv_synic_cleanup()
592 hv_set_non_nested_msr(HV_MSR_SCONTROL, sctrl.as_uint64); in mshv_synic_cleanup()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A 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/arch/arm64/boot/dts/hisilicon/
H A 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 …]
H A Dhi3660.dtsi368 sctrl: sctrl@fff0a000 { label
369 compatible = "hisilicon,hi3660-sctrl", "syscon";
886 clocks = <&sctrl HI3660_PCLK_AO_GPIO0>;
900 clocks = <&sctrl HI3660_PCLK_AO_GPIO1>;
914 clocks = <&sctrl HI3660_PCLK_AO_GPIO2>;
928 clocks = <&sctrl HI3660_PCLK_AO_GPIO3>;
942 clocks = <&sctrl HI3660_PCLK_AO_GPIO4>;
956 clocks = <&sctrl HI3660_PCLK_AO_GPIO5>;
968 clocks = <&sctrl HI3660_PCLK_AO_GPIO6>;
1072 hisilicon,peripheral-syscon = <&sctrl>;
/linux/drivers/phy/hisilicon/
H A Dphy-hi3670-usb3.c130 struct regmap *sctrl; member
327 if (!priv->sctrl) { in hi3670_is_abbclk_selected()
332 if (regmap_read(priv->sctrl, SCTRL_SCDEEPSLEEPED, &reg)) { in hi3670_is_abbclk_selected()
614 priv->sctrl = syscon_regmap_lookup_by_phandle(dev->of_node, in hi3670_phy_probe()
616 if (IS_ERR(priv->sctrl)) { in hi3670_phy_probe()
618 return PTR_ERR(priv->sctrl); in hi3670_phy_probe()
/linux/arch/arm64/boot/dts/bitmain/
H A Dbm1880.dtsi91 sctrl: system-controller@50010000 { label
92 compatible = "bitmain,bm1880-sctrl", "syscon",
/linux/drivers/isdn/hardware/mISDN/
H A Dhfcpci.c92 unsigned char sctrl; member
176 hc->hw.sctrl |= SCTRL_MODE_NT; /* NT-MODE */ in hfcpci_setmode()
180 hc->hw.sctrl &= ~SCTRL_MODE_NT; /* TE-MODE */ in hfcpci_setmode()
187 Write_hfc(hc, HFCPCI_SCTRL, hc->hw.sctrl); in hfcpci_setmode()
233 hc->hw.sctrl = 0x40; /* set tx_lo mode, error in datasheet ! */ in reset_hfcpci()
1290 hc->hw.sctrl &= ~SCTRL_B2_ENA; in mode_hfcpci()
1293 hc->hw.sctrl &= ~SCTRL_B1_ENA; in mode_hfcpci()
1322 hc->hw.sctrl |= SCTRL_B2_ENA; in mode_hfcpci()
1328 hc->hw.sctrl |= SCTRL_B1_ENA; in mode_hfcpci()
1357 hc->hw.sctrl |= SCTRL_B2_ENA; in mode_hfcpci()
[all …]
H A Dhfcsusb.c688 __u8 conhdlc, sctrl, sctrl_r; in hfcsusb_setup_bch() local
735 sctrl = 0x40 + ((hw->protocol == ISDN_P_TE_S0) ? 0x00 : 0x04); in hfcsusb_setup_bch()
738 sctrl |= 1; in hfcsusb_setup_bch()
742 sctrl |= 2; in hfcsusb_setup_bch()
745 write_reg(hw, HFCUSB_SCTRL, sctrl); in hfcsusb_setup_bch()
/linux/Documentation/devicetree/bindings/clock/
H A Dhi3670-clock.txt14 - "hisilicon,hi3670-sctrl"
H A Dhi3660-clock.txt14 - "hisilicon,hi3660-sctrl"
H A Dhi6220-clock.txt14 - "hisilicon,hi6220-acpu-sctrl"
/linux/drivers/net/dsa/microchip/
H A Dksz8.c1814 u8 sctrl = 0; in ksz8_phy_port_link_up() local
1842 sctrl |= PORT_FORCE_FLOW_CTRL; in ksz8_phy_port_link_up()
1844 ksz_prmw8(dev, port, regs[P_STP_CTRL], PORT_FORCE_FLOW_CTRL, sctrl); in ksz8_phy_port_link_up()