/Linux-v6.1/tools/testing/selftests/kvm/x86_64/ |
D | ucna_injection_test.c | 82 uint64_t ctl2; in ucna_injection_guest_code() local 88 ctl2 = rdmsr(MSR_IA32_MCx_CTL2(UCNA_BANK)); in ucna_injection_guest_code() 89 wrmsr(MSR_IA32_MCx_CTL2(UCNA_BANK), ctl2 | MCI_CTL2_CMCI_EN); in ucna_injection_guest_code() 100 ctl2 = rdmsr(MSR_IA32_MCx_CTL2(UCNA_BANK)); in ucna_injection_guest_code() 101 wrmsr(MSR_IA32_MCx_CTL2(UCNA_BANK), ctl2 & ~MCI_CTL2_CMCI_EN); in ucna_injection_guest_code() 112 uint64_t ctl2 = rdmsr(MSR_IA32_MCx_CTL2(UCNA_BANK)); in cmci_disabled_guest_code() local 113 wrmsr(MSR_IA32_MCx_CTL2(UCNA_BANK), ctl2 | MCI_CTL2_CMCI_EN); in cmci_disabled_guest_code() 120 uint64_t ctl2 = rdmsr(MSR_IA32_MCx_CTL2(UCNA_BANK)); in cmci_enabled_guest_code() local 121 wrmsr(MSR_IA32_MCx_CTL2(UCNA_BANK), ctl2 | MCI_CTL2_RESERVED_BIT); in cmci_enabled_guest_code()
|
/Linux-v6.1/drivers/gpu/drm/i915/display/ |
D | intel_backlight.c | 625 u32 ctl, ctl2, freq; in i965_enable_backlight() local 627 ctl2 = intel_de_read(dev_priv, BLC_PWM_CTL2); in i965_enable_backlight() 628 if (ctl2 & BLM_PWM_ENABLE) { in i965_enable_backlight() 630 ctl2 &= ~BLM_PWM_ENABLE; in i965_enable_backlight() 631 intel_de_write(dev_priv, BLC_PWM_CTL2, ctl2); in i965_enable_backlight() 641 ctl2 = BLM_PIPE(pipe); in i965_enable_backlight() 643 ctl2 |= BLM_COMBINATION_MODE; in i965_enable_backlight() 645 ctl2 |= BLM_POLARITY_I965; in i965_enable_backlight() 646 intel_de_write(dev_priv, BLC_PWM_CTL2, ctl2); in i965_enable_backlight() 648 intel_de_write(dev_priv, BLC_PWM_CTL2, ctl2 | BLM_PWM_ENABLE); in i965_enable_backlight() [all …]
|
D | dvo_tfp410.c | 207 u8 ctl2; in tfp410_detect() local 209 if (tfp410_readb(dvo, TFP410_CTL_2, &ctl2)) { in tfp410_detect() 210 if (ctl2 & TFP410_CTL_2_RSEN) in tfp410_detect()
|
D | intel_backlight_regs.h | 82 /* PCH CTL1 is totally different, all but the below bits are reserved. CTL2 is
|
D | intel_ddi.c | 545 u32 ctl2 = 0; in intel_ddi_enable_transcoder_func() local 551 ctl2 |= PORT_SYNC_MODE_ENABLE | in intel_ddi_enable_transcoder_func() 556 TRANS_DDI_FUNC_CTL2(cpu_transcoder), ctl2); in intel_ddi_enable_transcoder_func() 3234 u32 ctl2 = intel_de_read(dev_priv, TRANS_DDI_FUNC_CTL2(cpu_transcoder)); in bdw_transcoder_master_readout() local 3236 if ((ctl2 & PORT_SYNC_MODE_ENABLE) == 0) in bdw_transcoder_master_readout() 3239 master_select = REG_FIELD_GET(PORT_SYNC_MODE_MASTER_SELECT_MASK, ctl2); in bdw_transcoder_master_readout()
|
/Linux-v6.1/drivers/mtd/nand/raw/ |
D | cafe_nand.c | 66 uint32_t ctl2; member 174 cafe_writel(cafe, cafe->ctl2 | 0x100 | command, NAND_CTRL2); in cafe_nand_cmdfunc() 176 cafe->ctl2 &= ~(1<<30); in cafe_nand_cmdfunc() 243 cafe_writel(cafe, cafe->ctl2 | 0x100 | NAND_CMD_RNDOUTSTART, NAND_CTRL2); in cafe_nand_cmdfunc() 245 cafe_writel(cafe, cafe->ctl2 | 0x100 | NAND_CMD_READSTART, NAND_CTRL2); in cafe_nand_cmdfunc() 248 cafe_dev_dbg(&cafe->pdev->dev, "dlen %x, ctl1 %x, ctl2 %x\n", in cafe_nand_cmdfunc() 298 WARN_ON(cafe->ctl2 & (1<<30)); in cafe_nand_cmdfunc() 310 cafe_writel(cafe, cafe->ctl2, NAND_CTRL2); in cafe_nand_cmdfunc() 314 cafe_writel(cafe, cafe->ctl2, NAND_CTRL2); in cafe_nand_cmdfunc() 544 cafe->ctl2 |= (1<<30); in cafe_nand_write_page_lowlevel() [all …]
|
/Linux-v6.1/drivers/rtc/ |
D | rtc-rs5c348.c | 79 txbuf[0] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_set_time() 81 txbuf[2] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_set_time() 124 txbuf[0] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_read_time() 126 txbuf[2] = RS5C348_CMD_R(RS5C348_REG_CTL2); /* cmd, ctl2 */ in rs5c348_rtc_read_time()
|
D | rtc-rzn1.c | 274 u32 subu = 0, ctl2; in rzn1_rtc_set_offset() local 308 ret = readl_poll_timeout(rtc->base + RZN1_RTC_CTL2, ctl2, in rzn1_rtc_set_offset() 309 !(ctl2 & RZN1_RTC_CTL2_WUST), 100, 2000000); in rzn1_rtc_set_offset()
|
/Linux-v6.1/drivers/pci/pcie/ |
D | aspm.c | 473 static void aspm_program_l1ss(struct pci_dev *dev, u32 ctl1, u32 ctl2) in aspm_program_l1ss() argument 482 pci_write_config_dword(dev, l1ss + PCI_L1SS_CTL2, ctl2); in aspm_program_l1ss() 505 u32 ctl1 = 0, ctl2 = 0; in aspm_calc_l1ss_info() local 524 ctl2 |= scale1 | (val1 << 3); in aspm_calc_l1ss_info() 527 ctl2 |= scale2 | (val2 << 3); in aspm_calc_l1ss_info() 552 ctl2 == pctl2 && ctl2 == cctl2) in aspm_calc_l1ss_info() 561 aspm_program_l1ss(parent, pctl1, ctl2); in aspm_calc_l1ss_info() 569 aspm_program_l1ss(child, cctl1, ctl2); in aspm_calc_l1ss_info() 781 u32 *cap, ctl1, ctl2; in pci_restore_aspm_l1ss_state() local 792 ctl2 = *cap++; in pci_restore_aspm_l1ss_state() [all …]
|
/Linux-v6.1/drivers/hwmon/ |
D | lm93.c | 291 * The two PWM CTL2 registers can read something other than what was 1752 u8 ctl2, ctl4; in pwm_show() local 1755 ctl2 = data->block9[nr][LM93_PWM_CTL2]; in pwm_show() 1757 if (ctl2 & 0x01) /* show user commanded value if enabled */ in pwm_show() 1760 rc = LM93_PWM_FROM_REG(ctl2 >> 4, (ctl4 & 0x07) ? in pwm_show() 1771 u8 ctl2, ctl4; in pwm_store() local 1780 ctl2 = lm93_read_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL2)); in pwm_store() 1782 ctl2 = (ctl2 & 0x0f) | LM93_PWM_TO_REG(val, (ctl4 & 0x07) ? in pwm_store() 1785 data->pwm_override[nr] = LM93_PWM_FROM_REG(ctl2 >> 4, in pwm_store() 1788 lm93_write_byte(client, LM93_REG_PWM_CTL(nr, LM93_PWM_CTL2), ctl2); in pwm_store() [all …]
|
/Linux-v6.1/drivers/video/fbdev/ |
D | arcfb.c | 426 unsigned char ctl2; in arcfb_ioctl() local 428 ctl2 = ks108_readb_ctl2(info->par); in arcfb_ioctl() 429 if (copy_to_user(argp, &ctl2, sizeof(ctl2))) in arcfb_ioctl()
|
/Linux-v6.1/drivers/net/ |
D | sungem_phy.c | 795 u16 ctl, ctl2; in marvell_setup_forced() local 825 ctl2 = sungem_phy_read(phy, MII_M1011_PHY_SPEC_CONTROL); in marvell_setup_forced() 826 ctl2 &= ~(MII_M1011_PHY_SPEC_CONTROL_MANUAL_MDIX | in marvell_setup_forced() 831 ctl2 |= (fd == DUPLEX_FULL) ? in marvell_setup_forced() 834 sungem_phy_write(phy, MII_1000BASETCONTROL, ctl2); in marvell_setup_forced()
|
/Linux-v6.1/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_a0.c | 455 txd->ctl2 = 0; in hw_atl_a0_hw_ring_tx_xmit() 465 txd->ctl2 |= (buff->mss << 16) | in hw_atl_a0_hw_ring_tx_xmit() 484 txd->ctl2 |= HW_ATL_A0_TXD_CTL2_LEN & (pkt_len << 14); in hw_atl_a0_hw_ring_tx_xmit() 488 txd->ctl2 |= HW_ATL_A0_TXD_CTL2_CTX_EN; in hw_atl_a0_hw_ring_tx_xmit()
|
D | hw_atl_b0.c | 679 txd->ctl2 = 0; in hw_atl_b0_hw_ring_tx_xmit() 690 txd->ctl2 |= (buff->mss << 16); in hw_atl_b0_hw_ring_tx_xmit() 698 txd->ctl2 |= (buff->len_l4 << 8) | in hw_atl_b0_hw_ring_tx_xmit() 715 txd->ctl2 |= HW_ATL_B0_TXD_CTL2_LEN & (pkt_len << 14); in hw_atl_b0_hw_ring_tx_xmit() 719 txd->ctl2 |= HW_ATL_B0_TXD_CTL2_CTX_EN; in hw_atl_b0_hw_ring_tx_xmit()
|
D | hw_atl_utils.h | 21 u32 ctl2; /* 63..46 - payload length, 45 - ctx enable, 44 - ctx index */ member
|
/Linux-v6.1/drivers/dma/ |
D | pch_dma.c | 188 val = dma_readl(pd, CTL2); in pdc_enable_irq() 195 dma_writel(pd, CTL2, val); in pdc_enable_irq() 746 pd->regs.dma_ctl2 = dma_readl(pd, CTL2); in pch_dma_save_regs() 769 dma_writel(pd, CTL2, pd->regs.dma_ctl2); in pch_dma_restore_regs()
|
/Linux-v6.1/Documentation/devicetree/bindings/display/ |
D | lvds.yaml | 79 CTL2: Data Enable
|
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/ |
D | mt76x02_mac.h | 145 u8 ctl2; member
|
/Linux-v6.1/drivers/net/wireless/ath/ath9k/ |
D | mac.h | 281 u32 ctl2; member 319 #define ds_ctl2 u.tx.ctl2
|
/Linux-v6.1/drivers/infiniband/hw/bnxt_re/ |
D | qplib_res.c | 898 u16 ctl2; in bnxt_qplib_determine_atomics() local 908 pcie_capability_read_word(dev, PCI_EXP_DEVCTL2, &ctl2); in bnxt_qplib_determine_atomics() 909 return !(ctl2 & PCI_EXP_DEVCTL2_ATOMIC_REQ); in bnxt_qplib_determine_atomics()
|
/Linux-v6.1/Documentation/devicetree/bindings/arm/tegra/ |
D | nvidia,tegra186-pmc.yaml | 99 hdmi-dp0, hdmi-dp1, pex-cntrl, pex-ctl2, pex-l0-rst,
|
/Linux-v6.1/sound/soc/codecs/ |
D | cs35l33.h | 25 #define CS35L33_BST_CTL2 0x0C /* Boost Converter CTL2 */
|
D | cs35l35.h | 28 #define CS35L35_SP_FMT_CTL2 0x0E /* Serial Port Format CTL2 */
|
/Linux-v6.1/sound/mips/ |
D | hal2.h | 141 /* Bits in CTL2 register */
|
/Linux-v6.1/arch/x86/include/asm/ |
D | mce.h | 91 /* CTL2 register defines */
|