Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Dpci_ib.h167 #define IB_INO_INTR_ON(reg_p) *(reg_p) |= COMMON_INTR_MAP_REG_VALID argument
168 #define IB_INO_INTR_OFF(reg_p) *(reg_p) &= ~COMMON_INTR_MAP_REG_VALID argument
169 #define IB_INO_INTR_RESET(reg_p) *(reg_p) = 0ull argument
172 #define IB_INO_INTR_PENDING(reg_p, ino) \ argument
173 (((*(reg_p) >> (((ino) & 0x1f) << 1)) & COMMON_CLEAR_INTR_REG_MASK) == \
175 #define IB_INO_INTR_CLEAR(reg_p) *(reg_p) = COMMON_CLEAR_INTR_REG_IDLE argument
176 #define IB_INO_INTR_TRIG(reg_p) *(reg_p) = COMMON_CLEAR_INTR_REG_RECEIVED argument
177 #define IB_INO_INTR_PEND(reg_p) *(reg_p) = COMMON_CLEAR_INTR_REG_PENDING argument
/illumos-gate/usr/src/uts/sun4u/opl/sys/pcicmu/
H A Dpcmu_ib.h110 #define PCMU_IB_INO_INTR_ON(reg_p) *(reg_p) |= PCMU_INTR_MAP_REG_VALID argument
111 #define PCMU_IB_INO_INTR_OFF(reg_p) *(reg_p) &= ~PCMU_INTR_MAP_REG_VALID argument
115 #define PCMU_IB_INO_INTR_PENDING(reg_p, ino) \ argument
116 (((*(reg_p) >> (((ino) & 0x1f) << 1)) & \
119 #define PCMU_IB_INO_INTR_CLEAR(reg_p) *(reg_p) = PCMU_CLEAR_INTR_REG_IDLE argument
120 #define PCMU_IB_INO_INTR_PEND(reg_p) *(reg_p) = PCMU_CLEAR_INTR_REG_PENDING argument
/illumos-gate/usr/src/uts/sun4v/io/niumx/
H A Dniumx.c251 niu_regspec_t *reg_p; in niumx_attach() local
312 ddi_prop_free(reg_p); in niumx_attach()
374 niu_regspec_t *reg_p; in niumx_map() local
389 kmem_free(reg_p, reglen); in niumx_map()
402 kmem_free(reg_p, reglen); in niumx_map()
425 ASSERT(reg_p->size_high == 0); in niumx_map()
428 reg_begin = reg_p->addr_low; in niumx_map()
447 kmem_free(reg_p - rn, reglen); in niumx_map()
458 niu_regspec_t *reg_p; in niumx_ctlops() local
505 kmem_free(reg_p, reglen); in niumx_ctlops()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvnet_dds.c692 vdds_reg_t *reg_p; in vdds_match_niu_nexus() local
707 DDI_PROP_DONTPASS, "reg", (int **)&reg_p, &reglen); in vdds_match_niu_nexus()
713 hdl = reg_p->addr_hi & 0x0FFFFFFF; in vdds_match_niu_nexus()
714 ddi_prop_free(reg_p); in vdds_match_niu_nexus()
737 vdds_reg_t *reg_p; in vdds_match_niu_node() local
747 DDI_PROP_DONTPASS, "reg", (int **)&reg_p, &reglen); in vdds_match_niu_node()
753 addr_hi = reg_p->addr_hi; in vdds_match_niu_node()
755 ddi_prop_free(reg_p); in vdds_match_niu_node()
H A Dvnex.c469 vnex_regspec_t *reg_p; in vnex_add_intr() local
472 DDI_PROP_DONTPASS, "reg", (caddr_t)&reg_p, in vnex_add_intr()
481 cfg = SUN4V_REG_SPEC2CFG_HDL(reg_p->physaddr); in vnex_add_intr()
482 kmem_free(reg_p, reglen); in vnex_add_intr()
H A Dcnex.c1015 cnex_regspec_t *reg_p; in cnex_attach() local
1041 "reg", (caddr_t)&reg_p, &reglen) != DDI_SUCCESS) { in cnex_attach()
1046 cnex_ssp->cfghdl = SUN4V_REG_SPEC2CFG_HDL(reg_p->physaddr); in cnex_attach()
1047 kmem_free(reg_p, reglen); in cnex_attach()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_iommu.c247 uint32_t *reg_p; in iommu_configure() local
250 "reg", (caddr_t)&reg_p, &reg_len) != DDI_PROP_SUCCESS) in iommu_configure()
252 cfgpa += (*reg_p) & (PCI_CONF_ADDR_MASK ^ PCI_REG_REG_M); in iommu_configure()
253 kmem_free(reg_p, reg_len); in iommu_configure()
H A Dpcisch.c3257 uint32_t *reg_p; in pci_setup_cfgpa() local
3263 "reg", (caddr_t)&reg_p, &reg_len) != DDI_PROP_SUCCESS) in pci_setup_cfgpa()
3265 cfgpa += (*reg_p) & (PCI_CONF_ADDR_MASK ^ PCI_REG_REG_M); in pci_setup_cfgpa()
3266 kmem_free(reg_p, reg_len); in pci_setup_cfgpa()
/illumos-gate/usr/src/uts/common/io/pciex/
H A Dpcie_fault.c3291 pf_pcie_adv_err_regs_t *reg_p = PCIE_ADV_REG(pfd_p); in pf_find_busp_by_aer() local
3295 pcie_tlp_hdr_t *tlp_hdr = (pcie_tlp_hdr_t *)reg_p->pcie_ue_hdr; in pf_find_busp_by_aer()
3296 uint32_t trans_type = reg_p->pcie_ue_tgt_trans; in pf_find_busp_by_aer()
3300 pcie_cpl_t *cpl_tlp = (pcie_cpl_t *)&reg_p->pcie_ue_hdr[1]; in pf_find_busp_by_aer()
3306 addr = reg_p->pcie_ue_tgt_addr; in pf_find_busp_by_aer()
3310 bdf = reg_p->pcie_ue_tgt_bdf; in pf_find_busp_by_aer()
3320 pf_pcie_adv_bdg_err_regs_t *reg_p = PCIE_ADV_BDG_REG(pfd_p); in pf_find_busp_by_saer() local
3325 addr = reg_p->pcie_sue_tgt_addr; in pf_find_busp_by_saer()
3326 bdf = reg_p->pcie_sue_tgt_bdf; in pf_find_busp_by_saer()
/illumos-gate/usr/src/uts/i86pc/io/
H A Disa.c474 struct regspec *reg_p = &isa_extra_resource[i]; in isa_apply_range() local
476 if (isa_reg_p->regspec_addr < reg_p->regspec_addr) in isa_apply_range()
479 (reg_p->regspec_addr + reg_p->regspec_size)) in isa_apply_range()
/illumos-gate/usr/src/uts/sun4/os/
H A Dddi_impl.c428 prop_1275_cell_t *imap, *imap_mask, *scan, *reg_p, *match_req; in get_intr_parent() local
509 (caddr_t)&reg_p, &reg_len) != DDI_SUCCESS) { in get_intr_parent()
518 match_req[i] = (reg_p[i] & imap_mask[i]); in get_intr_parent()
632 kmem_free(reg_p, reg_len); in get_intr_parent()