Home
last modified time | relevance | path

Searched refs:pci_reg (Results 1 – 12 of 12) sorted by relevance

/illumos-gate/usr/src/cmd/pcieadm/
H A Dpcieadm.c412 pcitool_reg_t pci_reg; in pcieadm_read_cfgspace_kernel() local
414 bzero(&pci_reg, sizeof (pci_reg)); in pcieadm_read_cfgspace_kernel()
415 pci_reg.user_version = PCITOOL_VERSION; in pcieadm_read_cfgspace_kernel()
416 pci_reg.bus_no = pck->pck_bus; in pcieadm_read_cfgspace_kernel()
417 pci_reg.dev_no = pck->pck_dev; in pcieadm_read_cfgspace_kernel()
418 pci_reg.func_no = pck->pck_func; in pcieadm_read_cfgspace_kernel()
419 pci_reg.barnum = 0; in pcieadm_read_cfgspace_kernel()
420 pci_reg.offset = off; in pcieadm_read_cfgspace_kernel()
421 pci_reg.acc_attr = PCITOOL_ACC_ATTR_ENDN_LTL; in pcieadm_read_cfgspace_kernel()
425 pci_reg.acc_attr += PCITOOL_ACC_ATTR_SIZE_1; in pcieadm_read_cfgspace_kernel()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci.c340 pci_regspec_t pci_reg; in pci_bus_map() local
366 pci_reg = *(pci_regspec_t *)(mp->map_obj.rp); in pci_bus_map()
367 pci_rp = &pci_reg; in pci_bus_map()
399 pci_reg = pci_rp[rnumber]; in pci_bus_map()
406 pci_rp = &pci_reg; in pci_bus_map()
/illumos-gate/usr/src/uts/common/io/bnx/
H A Dbnx_mm.c99 mm_read_pci(lm_device_t *pdev, u32_t pci_reg, u32_t *reg_value) in mm_read_pci() argument
104 (off_t)pci_reg); in mm_read_pci()
125 mm_write_pci(lm_device_t *pdev, u32_t pci_reg, u32_t reg_value) in mm_write_pci() argument
130 (off_t)pci_reg, (uint32_t)reg_value); in mm_write_pci()
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dlm.h469 u32_t pci_reg,
477 u32_t pci_reg,
/illumos-gate/usr/src/uts/i86pc/io/pciex/
H A Dnpe.c511 pci_regspec_t pci_reg; in npe_bus_map() local
528 pci_reg = *(pci_regspec_t *)(mp->map_obj.rp); in npe_bus_map()
529 pci_rp = &pci_reg; in npe_bus_map()
561 pci_reg = pci_rp[rnumber]; in npe_bus_map()
568 pci_rp = &pci_reg; in npe_bus_map()
/illumos-gate/usr/src/uts/sun4u/io/
H A Dpmubus.c665 pci_regspec_t pci_reg; in pmubus_map() local
755 ret = pmubus_apply_range(pmubusp, rdip, &pmubus_rp, &pci_reg); in pmubus_map()
836 mp->map_obj.rp = (struct regspec *)&pci_reg; in pmubus_map()
H A Dsbbc.c517 pci_regspec_t pci_reg; in sbbc_busmap() local
588 rval = sbbc_apply_range(sbbcsoftp, rdip, child_rp, &pci_reg); in sbbc_busmap()
598 p_map_request.map_obj.rp = (struct regspec *)&pci_reg; in sbbc_busmap()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/
H A Dqlge_dbg.c961 struct ql_pci_reg *pci_reg; in ql_chip_ioctl() local
996 pci_reg = (struct ql_pci_reg *)(void *)dmp->b_rptr; in ql_chip_ioctl()
1024 if (iocp->ioc_count != sizeof (*pci_reg)) { in ql_chip_ioctl()
1028 if (pci_reg->addr > 0xff) in ql_chip_ioctl()
1030 pci_reg->value = in ql_chip_ioctl()
1032 pci_reg->addr); in ql_chip_ioctl()
1036 if (iocp->ioc_count != sizeof (*pci_reg)) { in ql_chip_ioctl()
1040 if (pci_reg->addr > 0xff) in ql_chip_ioctl()
1042 pci_config_put16(qlge->pci_handle, pci_reg->addr, in ql_chip_ioctl()
1043 pci_reg->value); in ql_chip_ioctl()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Dmm.h216 u32_t pci_reg,
221 u32_t pci_reg,
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Ddb21554.c1723 pci_regspec_t *pci_regsetp, pci_reg; in db_pci_map() local
1753 pci_reg = pci_regsetp[rnumber]; in db_pci_map()
1758 pci_reg = *(pci_regspec_t *)mp->map_obj.rp; in db_pci_map()
1764 addr_space_type = pci_reg.pci_phys_hi & PCI_ADDR_MASK; in db_pci_map()
1856 PCI_REG_BUS_G(pci_reg.pci_phys_hi); in db_pci_map()
1858 PCI_REG_DEV_G(pci_reg.pci_phys_hi); in db_pci_map()
1860 PCI_REG_FUNC_G(pci_reg.pci_phys_hi); in db_pci_map()
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_devinfo.c383 u32_t pci_reg, val; in lm_get_bar_offset_direct() local
388 pci_reg = PCICFG_BAR_1_LOW; in lm_get_bar_offset_direct()
391 pci_reg = PCICFG_BAR_1_LOW + 8; in lm_get_bar_offset_direct()
394 pci_reg = PCICFG_BAR_1_LOW + 16; in lm_get_bar_offset_direct()
401 lm_status = mm_read_pci(pdev, pci_reg, &val); in lm_get_bar_offset_direct()
408 pci_reg += 4; /* sizeof configuration space bar address register */ in lm_get_bar_offset_direct()
409 lm_status = mm_read_pci(pdev, pci_reg, &val); in lm_get_bar_offset_direct()
/illumos-gate/usr/src/uts/common/io/bnx/570x/common/include/
H A D5706_reg.h1563 typedef struct pci_reg struct