/Linux-v4.19/drivers/usb/serial/ |
D | ark3116.c | 67 __u32 hcr; /* handshake control register (0x8) member 145 priv->hcr = 0; in ark3116_port_probe() 212 __u8 lcr, hcr, eval; in ark3116_set_termios() local 241 hcr = (cflag & CRTSCTS) ? 0x03 : 0x00; in ark3116_set_termios() 272 __func__, hcr, lcr, quot); in ark3116_set_termios() 275 if (priv->hcr != hcr) { in ark3116_set_termios() 276 priv->hcr = hcr; in ark3116_set_termios() 277 ark3116_write_reg(serial, 0x8, hcr); in ark3116_set_termios()
|
/Linux-v4.19/arch/arm/include/asm/ |
D | kvm_emulate.h | 102 vcpu->arch.hcr = HCR_GUEST_MASK; in vcpu_reset_hcr() 107 return (unsigned long *)&vcpu->arch.hcr; in vcpu_hcr() 112 vcpu->arch.hcr &= ~HCR_TWE; in vcpu_clear_wfe_traps() 117 vcpu->arch.hcr |= HCR_TWE; in vcpu_set_wfe_traps()
|
D | kvm_host.h | 160 u32 hcr; member
|
/Linux-v4.19/arch/arm/kvm/hyp/ |
D | switch.c | 47 write_sysreg(vcpu->arch.hcr, HCR); in __activate_traps() 67 if (vcpu->arch.hcr & HCR_VA) in __deactivate_traps() 68 vcpu->arch.hcr = read_sysreg(HCR); in __deactivate_traps()
|
/Linux-v4.19/drivers/infiniband/hw/mthca/ |
D | mthca_cmd.c | 194 return readl(dev->hcr + HCR_STATUS_OFFSET) & in go_bit() 257 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), dev->hcr + 0 * 4); in mthca_cmd_post_hcr() 258 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), dev->hcr + 1 * 4); in mthca_cmd_post_hcr() 259 __raw_writel((__force u32) cpu_to_be32(in_modifier), dev->hcr + 2 * 4); in mthca_cmd_post_hcr() 260 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), dev->hcr + 3 * 4); in mthca_cmd_post_hcr() 261 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), dev->hcr + 4 * 4); in mthca_cmd_post_hcr() 262 __raw_writel((__force u32) cpu_to_be32(token << 16), dev->hcr + 5 * 4); in mthca_cmd_post_hcr() 270 op), dev->hcr + 6 * 4); in mthca_cmd_post_hcr() 373 __raw_readl(dev->hcr + HCR_OUT_PARAM_OFFSET)) << 32 | in mthca_cmd_poll() 375 __raw_readl(dev->hcr + HCR_OUT_PARAM_OFFSET + 4)); in mthca_cmd_poll() [all …]
|
D | mthca_dev.h | 323 void __iomem *hcr; member
|
/Linux-v4.19/drivers/net/wireless/intersil/hostap/ |
D | hostap_cs.c | 244 static void sandisk_write_hcr(local_info_t *local, int hcr) in sandisk_write_hcr() argument 252 HFA384X_OUTB(hcr, SANDISK_HCR_OFF); in sandisk_write_hcr() 368 static void prism2_pccard_genesis_reset(local_info_t *local, int hcr) in prism2_pccard_genesis_reset() argument 378 sandisk_write_hcr(local, hcr); in prism2_pccard_genesis_reset() 399 res = pcmcia_write_config_byte(hw_priv->link, CISREG_CCSR, hcr); in prism2_pccard_genesis_reset()
|
D | hostap_download.c | 388 static int prism2_enable_genesis(local_info_t *local, int hcr) in prism2_enable_genesis() argument 395 dev->name, hcr); in prism2_enable_genesis() 398 local->func->genesis_reset(local, hcr); in prism2_enable_genesis() 407 hcr); in prism2_enable_genesis() 412 hcr, initseq[0], initseq[1], initseq[2], initseq[3], in prism2_enable_genesis()
|
D | hostap_plx.c | 296 static void prism2_plx_genesis_reset(local_info_t *local, int hcr) in prism2_plx_genesis_reset() argument 306 outb(hcr, hw_priv->cor_offset + 2); in prism2_plx_genesis_reset() 316 writeb(hcr, hw_priv->attr_mem + hw_priv->cor_offset + 2); in prism2_plx_genesis_reset()
|
D | hostap_pci.c | 267 static void prism2_pci_genesis_reset(local_info_t *local, int hcr) in prism2_pci_genesis_reset() argument 273 HFA384X_OUTW(hcr, HFA384X_PCIHCR_OFF); in prism2_pci_genesis_reset()
|
D | hostap_wlan.h | 577 void (*genesis_reset)(local_info_t *local, int hcr);
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | cmd.c | 426 status = readl(mlx4_priv(dev)->cmd.hcr + HCR_STATUS_OFFSET); in cmd_pending() 438 u32 __iomem *hcr = cmd->hcr; in mlx4_cmd_post() local 483 __raw_writel((__force u32) cpu_to_be32(in_param >> 32), hcr + 0); in mlx4_cmd_post() 484 __raw_writel((__force u32) cpu_to_be32(in_param & 0xfffffffful), hcr + 1); in mlx4_cmd_post() 485 __raw_writel((__force u32) cpu_to_be32(in_modifier), hcr + 2); in mlx4_cmd_post() 486 __raw_writel((__force u32) cpu_to_be32(out_param >> 32), hcr + 3); in mlx4_cmd_post() 487 __raw_writel((__force u32) cpu_to_be32(out_param & 0xfffffffful), hcr + 4); in mlx4_cmd_post() 488 __raw_writel((__force u32) cpu_to_be32(token << 16), hcr + 5); in mlx4_cmd_post() 497 op), hcr + 6); in mlx4_cmd_post() 588 void __iomem *hcr = priv->cmd.hcr; in mlx4_cmd_poll() local [all …]
|
D | mlx4.h | 629 void __iomem *hcr; member
|
/Linux-v4.19/drivers/atm/ |
D | fore200e.c | 514 if (irq_posted && (readl(fore200e->regs.pca.hcr) & PCA200E_HCR_OUTFULL)) { in fore200e_pca_irq_check() 526 writel(PCA200E_HCR_CLRINTR, fore200e->regs.pca.hcr); in fore200e_pca_irq_ack() 533 writel(PCA200E_HCR_RESET, fore200e->regs.pca.hcr); in fore200e_pca_reset() 535 writel(0, fore200e->regs.pca.hcr); in fore200e_pca_reset() 553 fore200e->regs.pca.hcr = fore200e->virt_base + PCA200E_HCR_OFFSET; in fore200e_pca_map() 756 u32 hcr = fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_STICKY; in fore200e_sba_irq_enable() local 757 fore200e->bus->write(hcr | SBA200E_HCR_INTR_ENA, fore200e->regs.sba.hcr); in fore200e_sba_irq_enable() 762 return fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_INTR_REQ; in fore200e_sba_irq_check() 767 u32 hcr = fore200e->bus->read(fore200e->regs.sba.hcr) & SBA200E_HCR_STICKY; in fore200e_sba_irq_ack() local 768 fore200e->bus->write(hcr | SBA200E_HCR_INTR_CLR, fore200e->regs.sba.hcr); in fore200e_sba_irq_ack() [all …]
|
D | fore200e.h | 773 volatile u32 __iomem * hcr; /* address of host control register */ member 782 u32 __iomem *hcr; /* address of host control register */ member
|
/Linux-v4.19/arch/arm64/kvm/hyp/ |
D | switch.c | 129 u64 hcr = vcpu->arch.hcr_el2; in __activate_traps() local 131 write_sysreg(hcr, hcr_el2); in __activate_traps() 133 if (cpus_have_const_cap(ARM64_HAS_RAS_EXTN) && (hcr & HCR_VSE)) in __activate_traps()
|
/Linux-v4.19/virt/kvm/arm/hyp/ |
D | vgic-v3-sr.c | 697 u32 hcr; in __vgic_v3_bump_eoicount() local 699 hcr = read_gicreg(ICH_HCR_EL2); in __vgic_v3_bump_eoicount() 700 hcr += 1 << ICH_HCR_EOIcount_SHIFT; in __vgic_v3_bump_eoicount() 701 write_gicreg(hcr, ICH_HCR_EL2); in __vgic_v3_bump_eoicount()
|
/Linux-v4.19/virt/kvm/arm/ |
D | arm.c | 851 unsigned long *hcr; in vcpu_interrupt_line() local 858 hcr = vcpu_hcr(vcpu); in vcpu_interrupt_line() 860 set = test_and_set_bit(bit_index, hcr); in vcpu_interrupt_line() 862 set = test_and_clear_bit(bit_index, hcr); in vcpu_interrupt_line()
|
D | mmu.c | 2201 unsigned long hcr = *vcpu_hcr(vcpu); in kvm_set_way_flush() local 2212 if (!(hcr & HCR_TVM)) { in kvm_set_way_flush() 2216 *vcpu_hcr(vcpu) = hcr | HCR_TVM; in kvm_set_way_flush()
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_hw_v1.c | 1714 u32 __iomem *hcr = (u32 __iomem *)(hr_dev->reg_base + ROCEE_MB1_REG); in hns_roce_v1_post_mbox() local 1740 writeq(in_param, hcr + 0); in hns_roce_v1_post_mbox() 1741 writeq(out_param, hcr + 2); in hns_roce_v1_post_mbox() 1742 writel(in_modifier, hcr + 4); in hns_roce_v1_post_mbox() 1746 writel(val, hcr + 5); in hns_roce_v1_post_mbox() 1756 u8 __iomem *hcr = hr_dev->reg_base + ROCEE_MB1_REG; in hns_roce_v1_chk_mbox() local 1770 __raw_readl(hcr + HCR_STATUS_OFFSET)); in hns_roce_v1_chk_mbox()
|
D | hns_roce_hw_v2.c | 1514 u32 __iomem *hcr = (u32 __iomem *)(hr_dev->reg_base + in hns_roce_v2_post_mbox() local 1539 writeq(in_param, hcr + 0); in hns_roce_v2_post_mbox() 1540 writeq(out_param, hcr + 2); in hns_roce_v2_post_mbox() 1545 writel(val0, hcr + 4); in hns_roce_v2_post_mbox() 1546 writel(val1, hcr + 5); in hns_roce_v2_post_mbox()
|