Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/hv/
Dhv.c499 union hv_synic_scontrol sctrl; in hv_synic_init() local
537 rdmsrl(HV_X64_MSR_SCONTROL, sctrl.as_uint64); in hv_synic_init()
538 sctrl.enable = 1; in hv_synic_init()
540 wrmsrl(HV_X64_MSR_SCONTROL, sctrl.as_uint64); in hv_synic_init()
587 union hv_synic_scontrol sctrl; in hv_synic_cleanup() local
618 rdmsrl(HV_X64_MSR_SCONTROL, sctrl.as_uint64); in hv_synic_cleanup()
619 sctrl.enable = 0; in hv_synic_cleanup()
620 wrmsrl(HV_X64_MSR_SCONTROL, sctrl.as_uint64); in hv_synic_cleanup()
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dmcp77.c35 u32 cctrl, sctrl; member
253 clk->sctrl = (divs + P2) << 16; in mcp77_clk_calc()
257 clk->sctrl = P1 << 16; in mcp77_clk_calc()
276 clk->scoef, clk->spost, clk->sctrl); in mcp77_clk_calc()
341 nvkm_mask(device, 0x4020, 0x00070000, clk->sctrl); in mcp77_clk_prog()
346 nvkm_wr32(device, 0x4020, 0x80000000 | clk->sctrl); in mcp77_clk_prog()
/linux-4.4.14/sound/pci/
Dens1370.c399 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.4.14/drivers/isdn/hisax/
Dhfc_sx.c392 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 …]
Dhfc_pci.c139 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 …]
Dhfc_2bds0.c418 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()
Dhfcscard.c96 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()
Dhisax.h695 unsigned char sctrl; member
722 unsigned char sctrl; member
750 unsigned char sctrl; member
/linux-4.4.14/drivers/isdn/hardware/mISDN/
Dhfcpci.c104 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 …]
Dhfcsusb.c696 __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.4.14/drivers/gpu/drm/radeon/
Dradeon_cp.c1465 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()