Searched defs:cfg_prg (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_tools.c513 pcitool_reg_t cfg_prg = *prg_p; /* Make local copy. */ local
523 cfg_prg.acc_attr =
528 * sun4v acc function doesn't use phys_addr but uses cfg_prg.offset.
530 cfg_prg.offset = PCI_BAR_OFFSET((*prg_p));
531 off_in_space = PX_GET_BDF(prg_p) + cfg_prg.offset;
532 cfg_prg.phys_addr = pxtool_get_phys_addr(px_p, PCI_CONFIG_SPACE,
537 off_in_space, cfg_prg.phys_addr, cfg_prg.barnum);
541 * cfg_prg.offset is the offset into config space of the
544 rval = pxtool_pcicfg_access(px_p, &cfg_prg, bar_
[all...]
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool.c438 pcitool_reg_t cfg_prg; local
443 cfg_prg.offset = 0;
444 cfg_prg.acc_attr = PCITOOL_ACC_ATTR_SIZE_4 + NATIVE_ENDIAN;
445 cfg_prg.bus_no = bus_no;
446 cfg_prg.dev_no = dev_no;
447 cfg_prg.func_no = func_no;
448 cfg_prg.barnum = 0;
449 cfg_prg.user_version = PCITOOL_VERSION;
453 cfg_prg.offset += sizeof (uint32_t);
455 ioctl(fd, PCITOOL_DEVICE_GET_REG, &cfg_prg)) !
466 pcitool_reg_t cfg_prg; local
[all...]

Completed in 68 milliseconds