Home
last modified time | relevance | path

Searched refs:acc_attr (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/uts/sun4v/io/px/
H A Dpx_tools_4v.c227 size_t size = PCITOOL_ACC_ATTR_SIZE(prg_p->acc_attr); in pxtool_pcicfg_access()
254 if (PCITOOL_ACC_IS_BIG_ENDIAN(prg_p->acc_attr)) in pxtool_pcicfg_access()
323 if (PCITOOL_ACC_IS_BIG_ENDIAN(prg_p->acc_attr)) in pxtool_pcicfg_access()
363 size_t size = PCITOOL_ACC_ATTR_SIZE(prg_p->acc_attr); in pxtool_pciiomem_access()
379 if (PCITOOL_ACC_IS_BIG_ENDIAN(prg_p->acc_attr)) in pxtool_pciiomem_access()
416 if (PCITOOL_ACC_IS_BIG_ENDIAN(prg_p->acc_attr)) in pxtool_pciiomem_access()
478 size = PCITOOL_ACC_ATTR_SIZE(prg.acc_attr); in pxtool_bus_reg_ops()
483 prg.barnum, prg.offset, prg.acc_attr); in pxtool_bus_reg_ops()
525 PCITOOL_ACC_IS_BIG_ENDIAN(prg.acc_attr), is_write); in pxtool_bus_reg_ops()
/illumos-gate/usr/src/cmd/pcieadm/
H A Dpcieadm.c421 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()
428 pci_reg.acc_attr += PCITOOL_ACC_ATTR_SIZE_2; in pcieadm_read_cfgspace_kernel()
431 pci_reg.acc_attr += PCITOOL_ACC_ATTR_SIZE_4; in pcieadm_read_cfgspace_kernel()
434 pci_reg.acc_attr += PCITOOL_ACC_ATTR_SIZE_8; in pcieadm_read_cfgspace_kernel()
/illumos-gate/usr/src/uts/i86pc/io/pci/
H A Dpci_tools.c588 int size = PCITOOL_ACC_ATTR_SIZE(prg->acc_attr); in pcitool_cfg_access()
589 boolean_t big_endian = PCITOOL_ACC_IS_BIG_ENDIAN(prg->acc_attr); in pcitool_cfg_access()
682 size_t size = PCITOOL_ACC_ATTR_SIZE(prg->acc_attr); in pcitool_io_access()
683 boolean_t big_endian = PCITOOL_ACC_IS_BIG_ENDIAN(prg->acc_attr); in pcitool_io_access()
770 size_t size = PCITOOL_ACC_ATTR_SIZE(prg->acc_attr); in pcitool_mem_access()
771 boolean_t big_endian = PCITOOL_ACC_IS_BIG_ENDIAN(prg->acc_attr); in pcitool_mem_access()
990 size = PCITOOL_ACC_ATTR_SIZE(prg.acc_attr); in pcitool_dev_reg_ops()
1026 prg2.acc_attr = in pcitool_dev_reg_ops()
/illumos-gate/usr/src/uts/sun4u/io/pci/
H A Dpci_tools.c669 size = PCITOOL_ACC_ATTR_SIZE(prg.acc_attr); in pcitool_bus_reg_ops()
682 PCITOOL_ACC_IS_BIG_ENDIAN(prg.acc_attr), &prg.status); in pcitool_bus_reg_ops()
821 (PCITOOL_ACC_IS_BIG_ENDIAN(prg->acc_attr)? "big" : "ltl")); in pcitool_config_request()
825 write_flag, PCITOOL_ACC_IS_BIG_ENDIAN(prg->acc_attr), &prg->status); in pcitool_config_request()
866 size = PCITOOL_ACC_ATTR_SIZE(prg.acc_attr); in pcitool_dev_reg_ops()
972 PCITOOL_ACC_IS_BIG_ENDIAN(prg.acc_attr), &prg.status); in pcitool_dev_reg_ops()
/illumos-gate/usr/src/uts/sun/io/audio/drv/audiocs/
H A Daudio_4231_apcdma.c57 static ddi_device_acc_attr_t acc_attr = { variable
115 sizeof (cs4231_regs_t), &acc_attr, handle) != DDI_SUCCESS) { in apc_map_regs()
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool.c444 cfg_prg.acc_attr = PCITOOL_ACC_ATTR_SIZE_4 + NATIVE_ENDIAN; in get_config_header()
479 cfg_prg.acc_attr = PCITOOL_ACC_ATTR_SIZE_4 + PCITOOL_ACC_ATTR_ENDN_LTL; in supports_ari()
763 prg.acc_attr = PCITOOL_ACC_ATTR_SIZE_4 + NATIVE_ENDIAN; in do_probe()
1076 local_prg.acc_attr = in bytedump_get()
1077 (PCITOOL_ACC_IS_BIG_ENDIAN(local_prg.acc_attr) ? in bytedump_get()
1078 (local_prg.acc_attr & ~PCITOOL_ACC_ATTR_ENDN_BIG) : in bytedump_get()
1079 (local_prg.acc_attr | PCITOOL_ACC_ATTR_ENDN_BIG)); in bytedump_get()
1364 prg.acc_attr = set_acc_attr(input_args_p); in do_device_or_nexus()
/illumos-gate/usr/src/uts/sun4u/chicago/io/fpc/
H A Dfpc-impl-4u.c279 prg.acc_attr = PCITOOL_ACC_ATTR_SIZE_8 | PCITOOL_ACC_ATTR_ENDN_BIG; in fpc_event_io()
321 prg.acc_attr = PCITOOL_ACC_ATTR_SIZE_8 | PCITOOL_ACC_ATTR_ENDN_BIG; in fpc_counter_io()
/illumos-gate/usr/src/uts/sun4u/io/px/
H A Dpx_tools_4u.c261 boolean_t endian = PCITOOL_ACC_IS_BIG_ENDIAN(prg_p->acc_attr); in pxtool_access()
262 size_t size = PCITOOL_ACC_ATTR_SIZE(prg_p->acc_attr); in pxtool_access()
/illumos-gate/usr/src/uts/common/io/cxgbe/t4nex/
H A Dt4_sge.c114 ddi_device_acc_attr_t *acc_attr, ddi_dma_attr_t *dma_attr,
191 ddi_device_acc_attr_t *acc_attr; in t4_sge_init() local
198 acc_attr = &sc->sge.acc_attr_desc; in t4_sge_init()
199 acc_attr->devacc_attr_version = DDI_DEVICE_ATTR_V0; in t4_sge_init()
200 acc_attr->devacc_attr_endian_flags = DDI_NEVERSWAP_ACC; in t4_sge_init()
201 acc_attr->devacc_attr_dataorder = DDI_STRICTORDER_ACC; in t4_sge_init()
220 acc_attr = &sc->sge.acc_attr_tx; in t4_sge_init()
221 acc_attr->devacc_attr_version = DDI_DEVICE_ATTR_V0; in t4_sge_init()
222 acc_attr->devacc_attr_endian_flags = DDI_NEVERSWAP_ACC; in t4_sge_init()
255 acc_attr = &sc->sge.rxb_params.acc_attr_rx; in t4_sge_init()
[all …]
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_tools.c523 cfg_prg.acc_attr = in pxtool_get_bar()
656 prg.barnum, prg.offset, prg.acc_attr); in pxtool_dev_reg_ops()
700 PCITOOL_ACC_IS_BIG_ENDIAN(prg.acc_attr) ? "big":"ltl"); in pxtool_dev_reg_ops()
/illumos-gate/usr/src/uts/common/sys/
H A Dpci_tools.h231 uint32_t acc_attr; /* access attributes - to kernel */ member
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c579 prg.acc_attr = PCITOOL_ACC_ATTR_SIZE_4 + in read_long()
602 prg.acc_attr = PCITOOL_ACC_ATTR_SIZE_2 + in read_word()
625 prg.acc_attr = PCITOOL_ACC_ATTR_SIZE_1 + in read_byte()
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/
H A Ddcam_ring_buff.c103 &softc_p->attachinfo.acc_attr, in ring_buff_create()
/illumos-gate/usr/src/uts/common/io/audio/drv/audiosolo/
H A Daudiosolo.c89 static ddi_device_acc_attr_t acc_attr = { variable
1171 if (ddi_regs_map_setup(dip, 1, &dev->io.base, 0, 0, &acc_attr, in solo_map_registers()
1176 if (ddi_regs_map_setup(dip, 2, &dev->sb.base, 0, 0, &acc_attr, in solo_map_registers()
1181 if (ddi_regs_map_setup(dip, 3, &dev->vc.base, 0, 0, &acc_attr, in solo_map_registers()
/illumos-gate/usr/src/uts/common/sys/1394/
H A Dh1394.h210 ddi_device_acc_attr_t acc_attr; member
H A Dt1394.h100 ddi_device_acc_attr_t acc_attr; member
/illumos-gate/usr/src/uts/common/io/
H A Decpp.c446 static ddi_device_acc_attr_t acc_attr = { variable
5386 sizeof (struct config_reg), &acc_attr, in pc87332_map_regs()
5393 sizeof (struct info_reg), &acc_attr, &pp->i_handle) in pc87332_map_regs()
5400 sizeof (struct fifo_reg), &acc_attr, &pp->f_handle) in pc87332_map_regs()
5407 sizeof (struct cheerio_dma_reg), &acc_attr, in pc87332_map_regs()
5543 0x403, sizeof (struct config2_reg), &acc_attr, in pc97317_map_regs()
5765 0, sizeof (struct isaspace), &acc_attr, in m1553_map_regs()
5772 sizeof (struct info_reg), &acc_attr, &pp->i_handle) in m1553_map_regs()
5779 sizeof (struct fifo_reg), &acc_attr, &pp->f_handle) in m1553_map_regs()
5813 sizeof (struct info_reg), &acc_attr, &pp->i_handle) in x86_map_regs()
[all …]
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.h395 ddi_device_acc_attr_t acc_attr; member
/illumos-gate/usr/src/uts/common/io/audio/drv/audiocmi/
H A Daudiocmi.c64 static ddi_device_acc_attr_t acc_attr = { variable
911 if (ddi_regs_map_setup(dip, 1, &dev->regs, 0, 0, &acc_attr, in cmpci_attach()
/illumos-gate/usr/src/uts/common/io/audio/drv/audioens/
H A Daudioens.c143 static ddi_device_acc_attr_t acc_attr = { variable
1087 if (ddi_regs_map_setup(dip, 1, &dev->regs, 0, 0, &acc_attr, in audioens_attach()
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_bus.c335 &sp->s_attachinfo.acc_attr, in scsa1394_bus_alloc_buf_phys()
/illumos-gate/usr/src/uts/common/io/audio/drv/audiopci/
H A Daudiopci.c147 static ddi_device_acc_attr_t acc_attr = { variable
1220 if (ddi_regs_map_setup(dip, 1, &dev->regs, 0, 0, &acc_attr, in audiopci_attach()
/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_isoch.c261 &avp->av_attachinfo.acc_attr) != 0) { in av1394_isoch_devmap()
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_attach.c282 soft_state->halinfo.acc_attr = soft_state->drvinfo.di_buf_attr; in hci1394_soft_state_phase2_init()
/illumos-gate/usr/src/uts/common/io/iprb/
H A Diprb.c160 static ddi_device_acc_attr_t acc_attr = { variable
285 if (ddi_regs_map_setup(dip, 1, &ip->regs, 0, 0, &acc_attr, in iprb_attach()

12