/linux-4.1.27/drivers/hv/ |
D | hv.c | 410 union hv_synic_scontrol sctrl; in hv_synic_init() local 448 rdmsrl(HV_X64_MSR_SCONTROL, sctrl.as_uint64); in hv_synic_init() 449 sctrl.enable = 1; in hv_synic_init() 451 wrmsrl(HV_X64_MSR_SCONTROL, sctrl.as_uint64); in hv_synic_init() 498 union hv_synic_scontrol sctrl; in hv_synic_cleanup() local 530 rdmsrl(HV_X64_MSR_SCONTROL, sctrl.as_uint64); in hv_synic_cleanup() 531 sctrl.enable = 0; in hv_synic_cleanup() 532 wrmsrl(HV_X64_MSR_SCONTROL, sctrl.as_uint64); in hv_synic_cleanup()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
D | mcp77.c | 35 u32 cctrl, sctrl; member 249 priv->sctrl = (divs + P2) << 16; in mcp77_clk_calc() 253 priv->sctrl = P1 << 16; in mcp77_clk_calc() 272 priv->scoef, priv->spost, priv->sctrl); in mcp77_clk_calc() 335 nv_mask(clk, 0x4020, 0x00070000, priv->sctrl); in mcp77_clk_prog() 340 nv_wr32(clk, 0x4020, 0x80000000 | priv->sctrl); in mcp77_clk_prog()
|
/linux-4.1.27/sound/pci/ |
D | ens1370.c | 399 unsigned int sctrl; /* serial control register */ member 831 ensoniq->sctrl |= what; in snd_ensoniq_trigger() 833 ensoniq->sctrl &= ~what; in snd_ensoniq_trigger() 834 outl(ensoniq->sctrl, ES_REG(ensoniq, SERIAL)); in snd_ensoniq_trigger() 910 ensoniq->sctrl &= ~(ES_P1_LOOP_SEL | ES_P1_PAUSE | ES_P1_SCT_RLD | ES_P1_MODEM); in snd_ensoniq_playback1_prepare() 911 ensoniq->sctrl |= ES_P1_INT_EN | ES_P1_MODEO(mode); in snd_ensoniq_playback1_prepare() 912 outl(ensoniq->sctrl, ES_REG(ensoniq, SERIAL)); in snd_ensoniq_playback1_prepare() 951 ensoniq->sctrl &= ~(ES_P2_LOOP_SEL | ES_P2_PAUSE | ES_P2_DAC_SEN | in snd_ensoniq_playback2_prepare() 953 ensoniq->sctrl |= ES_P2_INT_EN | ES_P2_MODEO(mode) | in snd_ensoniq_playback2_prepare() 955 outl(ensoniq->sctrl, ES_REG(ensoniq, SERIAL)); in snd_ensoniq_playback2_prepare() [all …]
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | hfc_sx.c | 392 cs->hw.hfcsx.sctrl = 0x40; /* set tx_lo mode, error in datasheet ! */ in reset_hfcsx() 393 Write_hfc(cs, HFCSX_SCTRL, cs->hw.hfcsx.sctrl); in reset_hfcsx() 605 cs->hw.hfcsx.sctrl |= SCTRL_MODE_NT; in hfcsx_auxcmd() 606 Write_hfc(cs, HFCSX_SCTRL, cs->hw.hfcsx.sctrl); /* set NT-mode */ in hfcsx_auxcmd() 634 cs->hw.hfcsx.sctrl &= ~SCTRL_B2_ENA; in hfcsx_auxcmd() 640 Write_hfc(cs, HFCSX_SCTRL, cs->hw.hfcsx.sctrl); in hfcsx_auxcmd() 1063 cs->hw.hfcsx.sctrl &= ~SCTRL_B2_ENA; in mode_hfcsx() 1066 cs->hw.hfcsx.sctrl &= ~SCTRL_B1_ENA; in mode_hfcsx() 1077 cs->hw.hfcsx.sctrl |= SCTRL_B2_ENA; in mode_hfcsx() 1080 cs->hw.hfcsx.sctrl |= SCTRL_B1_ENA; in mode_hfcsx() [all …]
|
D | hfc_pci.c | 139 cs->hw.hfcpci.sctrl = 0x40; /* set tx_lo mode, error in datasheet ! */ in reset_hfcpci() 140 Write_hfc(cs, HFCPCI_SCTRL, cs->hw.hfcpci.sctrl); in reset_hfcpci() 780 cs->hw.hfcpci.sctrl |= SCTRL_MODE_NT; in hfcpci_auxcmd() 781 Write_hfc(cs, HFCPCI_SCTRL, cs->hw.hfcpci.sctrl); /* set NT-mode */ in hfcpci_auxcmd() 811 cs->hw.hfcpci.sctrl &= ~SCTRL_B2_ENA; in hfcpci_auxcmd() 816 Write_hfc(cs, HFCPCI_SCTRL, cs->hw.hfcpci.sctrl); in hfcpci_auxcmd() 1300 cs->hw.hfcpci.sctrl &= ~SCTRL_B2_ENA; in mode_hfcpci() 1303 cs->hw.hfcpci.sctrl &= ~SCTRL_B1_ENA; in mode_hfcpci() 1318 cs->hw.hfcpci.sctrl |= SCTRL_B2_ENA; in mode_hfcpci() 1321 cs->hw.hfcpci.sctrl |= SCTRL_B1_ENA; in mode_hfcpci() [all …]
|
D | hfc_2bds0.c | 418 cs->hw.hfcD.sctrl &= ~SCTRL_B2_ENA; in mode_2bs0() 421 cs->hw.hfcD.sctrl &= ~SCTRL_B1_ENA; in mode_2bs0() 428 cs->hw.hfcD.sctrl |= SCTRL_B2_ENA; in mode_2bs0() 432 cs->hw.hfcD.sctrl |= SCTRL_B1_ENA; in mode_2bs0() 439 cs->hw.hfcD.sctrl |= SCTRL_B2_ENA; in mode_2bs0() 443 cs->hw.hfcD.sctrl |= SCTRL_B1_ENA; in mode_2bs0() 447 WriteReg(cs, HFCD_DATA, HFCD_SCTRL, cs->hw.hfcD.sctrl); in mode_2bs0()
|
D | hfcscard.c | 96 cs->hw.hfcD.sctrl = 0; in reset_hfcs() 97 cs->BC_Write_Reg(cs, HFCD_DATA, HFCD_SCTRL, cs->hw.hfcD.sctrl); in reset_hfcs()
|
D | hisax.h | 695 unsigned char sctrl; member 722 unsigned char sctrl; member 750 unsigned char sctrl; member
|
/linux-4.1.27/drivers/isdn/hardware/mISDN/ |
D | hfcpci.c | 104 unsigned char sctrl; member 187 hc->hw.sctrl |= SCTRL_MODE_NT; /* NT-MODE */ in hfcpci_setmode() 191 hc->hw.sctrl &= ~SCTRL_MODE_NT; /* TE-MODE */ in hfcpci_setmode() 198 Write_hfc(hc, HFCPCI_SCTRL, hc->hw.sctrl); in hfcpci_setmode() 244 hc->hw.sctrl = 0x40; /* set tx_lo mode, error in datasheet ! */ in reset_hfcpci() 1302 hc->hw.sctrl &= ~SCTRL_B2_ENA; in mode_hfcpci() 1305 hc->hw.sctrl &= ~SCTRL_B1_ENA; in mode_hfcpci() 1334 hc->hw.sctrl |= SCTRL_B2_ENA; in mode_hfcpci() 1340 hc->hw.sctrl |= SCTRL_B1_ENA; in mode_hfcpci() 1369 hc->hw.sctrl |= SCTRL_B2_ENA; in mode_hfcpci() [all …]
|
D | hfcsusb.c | 696 __u8 conhdlc, sctrl, sctrl_r; in hfcsusb_setup_bch() local 743 sctrl = 0x40 + ((hw->protocol == ISDN_P_TE_S0) ? 0x00 : 0x04); in hfcsusb_setup_bch() 746 sctrl |= 1; in hfcsusb_setup_bch() 750 sctrl |= 2; in hfcsusb_setup_bch() 753 write_reg(hw, HFCUSB_SCTRL, sctrl); in hfcsusb_setup_bch()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_cp.c | 1465 u32 sctrl; in radeon_do_init_cp() local 1509 sctrl = RADEON_READ(RADEON_SURFACE_CNTL); in radeon_do_init_cp() 1515 RADEON_WRITE(RADEON_SURFACE_CNTL, sctrl); in radeon_do_init_cp()
|