Searched refs:bus (Results 51 - 75 of 229) sorted by relevance

12345678910

/illumos-gate/usr/src/uts/i86pc/sys/
H A Dpsm_common.h71 * irq_cache_t: Entry for irq cache to map pci bus/dev/ipin or ACPI object
77 uchar_t bus, dev; member in struct:irq_cache
132 extern void acpi_new_irq_cache_ent(int bus, int dev, int ipin, int pci_irq,
135 extern int acpi_get_irq_cache_ent(uchar_t bus, uchar_t dev, int ipin,
/illumos-gate/usr/src/cmd/hal/utils/
H A Dadt_data.c25 get_audit_export_data(DBusConnection *bus, const char *invoked_by_syscon_name, size_t *data_size) argument
51 reply = dbus_connection_send_with_reply_and_block (bus,
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac_ioctl.h91 uint32_t bus; member in struct:aac_pci_info
97 int32_t bus; member in struct:aac_query_disk
/illumos-gate/usr/src/uts/sun4u/starcat/sys/post/
H A Dscat_const.h147 #define IS_VALID_IOBUS(bus) ((bus) >= 0 && (bus) < XC_IOBUS_PER_PORT)
277 #define IS_VALID_BUS(bus) ((bus) >= 0 && (bus) < BUS_COUNT)
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.c302 int br, bus; local
310 br = bus = 0;
316 did_create(mod, p->br_din, 0, br, NO_RC, bus)) == NULL) {
322 hb[br] = hb_process(mod, ptn, br, bus, p->br_din, link);
330 hb[br], PCI_BUS, PCI_BUS, bus, bus, link) < 0) {
338 bus++;
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dsmp-imps.c134 imps_bus bus[2]; member in struct:__anon2221
399 add_bus (imps_bus * bus) argument
403 memmove (str, bus->bus_type, 6);
405 KERNEL_PRINT ((" Bus id %d is %s\n", bus->id, str));
598 memcpy (defconfig.bus[0].bus_type, "ISA ", 6);
603 memcpy (defconfig.bus[0].bus_type, "MCA ", 6);
609 defconfig.bus[1].type = IMPS_BCT_BUS;
/illumos-gate/usr/src/uts/i86pc/os/
H A Dcmi_hw.c431 * Hash for interposed PCI config space values. We lookup on bus/dev/fun/offset
472 pcii_addent(int bus, int dev, int func, int reg, uint32_t val, int asz) argument
474 int idx = CMI_PCII_HASHIDX(bus, dev, func, reg);
483 if (CMI_PCII_MATCH(hep, bus, dev, func, reg, asz))
491 hep->pcii_bus = bus;
511 * Look for a match for the given bus/dev/func/reg; return 1 with valp
515 pcii_lookup(int bus, int dev, int func, int reg, int asz, uint32_t *valp) argument
517 int idx = CMI_PCII_HASHIDX(bus, dev, func, reg);
525 if (CMI_PCII_MATCH(hep, bus, dev, func, reg, asz)) {
537 pcii_rment(int bus, in argument
1824 cmi_pci_get_cmn(int bus, int dev, int func, int reg, int asz, int *interpose, ddi_acc_handle_t hdl) argument
1870 cmi_pci_getb(int bus, int dev, int func, int reg, int *interpose, ddi_acc_handle_t hdl) argument
1878 cmi_pci_getw(int bus, int dev, int func, int reg, int *interpose, ddi_acc_handle_t hdl) argument
1886 cmi_pci_getl(int bus, int dev, int func, int reg, int *interpose, ddi_acc_handle_t hdl) argument
1893 cmi_pci_interposeb(int bus, int dev, int func, int reg, uint8_t val) argument
1899 cmi_pci_interposew(int bus, int dev, int func, int reg, uint16_t val) argument
1905 cmi_pci_interposel(int bus, int dev, int func, int reg, uint32_t val) argument
1911 cmi_pci_put_cmn(int bus, int dev, int func, int reg, int asz, ddi_acc_handle_t hdl, uint32_t val) argument
1953 cmi_pci_putb(int bus, int dev, int func, int reg, ddi_acc_handle_t hdl, uint8_t val) argument
1960 cmi_pci_putw(int bus, int dev, int func, int reg, ddi_acc_handle_t hdl, uint16_t val) argument
1967 cmi_pci_putl(int bus, int dev, int func, int reg, ddi_acc_handle_t hdl, uint32_t val) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/opl/common/
H A Dopl_picl.c75 static uint32_t read_long(int fd, int bus, int dev, int func,
77 static uint8_t read_byte(int fd, int bus, int dev, int func, int offset,
79 static uint16_t read_word(int fd, int bus, int dev, int func, int offset,
189 * Get bus#, dev# and func# for this card from 'reg' property.
228 * Set bus_type to PCI_UNKN so that bus frequency,
229 * bus type and lane width will print as "--" or UNKN.
572 read_long(int fd, int bus, int dev, int func, int offset, int *ret) argument
581 prg.bus_no = bus;
588 log_printf("%d.%d.%d offset 0x%x\n", bus, dev, func, offset);
595 read_word(int fd, int bus, in argument
618 read_byte(int fd, int bus, int dev, int func, int offset, int *ret) argument
642 get_lane_width(char *device_path, int bus, int dev, int func, int *actual, int *maximum, uint32_t *speed_max, uint32_t *speed_at, int *type) argument
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/i86pc/x86pi/
H A Dx86pi_bay.c67 uint8_t bus, dev_funct; local
87 bus = slot.smbl_bus;
92 bus = ob.smboe_bus;
99 topo_mod_dprintf(mod, "%s: %s: bus(0x%02x) dev/func(0x%02x)\n", f,
100 devt == SMB_TYPE_SLOT ? "slot" : "ob dev", bus, dev_funct);
102 *bdf = BDF(bus, dev_funct);
/illumos-gate/usr/src/uts/sun4u/sys/pci/
H A Ddb21554_config.h183 #define DB_PCI_REG_ADDR(bus, device, function, reg) \
184 (((bus) & 0xff) << 16) | (((device & 0x1f)) << 11) \
188 #define DB_PCI_REG_ADDR_TYPE0(bus, device, function, reg) \
194 #define DB_PCI_REG_ADDR_TYPE1(bus, device, function, reg) \
195 ((((bus) & 0xff) << 16) | (((device & 0x1f)) << 11) \
/illumos-gate/usr/src/boot/sys/boot/fdt/dts/arm/
H A Drk3188.dtsi43 compatible = "simple-bus";
45 bus-frequency = <0>;
235 bus-frequency = <48000000>; /* TODO: verify freq */
247 bus-frequency = <48000000>; /* TODO: verify freq */
H A Dsocfpga-sockit-beri.dts79 bus-frequency = <25000000>;
83 bus-width = <4>;
H A Dts7800.dts59 bus-frequency = <0>;
83 compatible = "simple-bus";
85 bus-frequency = <0>;
H A Dimx6.dtsi50 bus-frequency = <0>;
60 compatible = "simple-bus";
91 compatible = "fsl,aips-bus", "simple-bus";
337 compatible = "fsl,aips-bus", "simple-bus";
419 bus-width = <0x4>;
429 bus-width = <0x4>;
439 bus-width = <0x4>;
448 bus
[all...]
/illumos-gate/usr/src/lib/libdiskmgt/
H A DMakefile.com31 bus.o inuse_mnt.o inuse_svm.o inuse_lu.o inuse_fs.o \
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_osdep.c35 uint16_t val = hw->bus.pci_cmd_word | CMD_MEM_WRT_INVALIDATE;
43 uint16_t val = hw->bus.pci_cmd_word & ~CMD_MEM_WRT_INVALIDATE;
/illumos-gate/usr/src/uts/common/sys/
H A Dpci_impl.h75 #define PCI_CADDR1(bus, device, function, reg) \
76 (PCI_CONE | (((bus) & 0xff) << 16) | (((device & 0x1f)) << 11) \
86 uchar_t c_busnum; /* bus number */
99 struct memlist *bus_avail; /* available free bus res */
103 uchar_t par_bus; /* parent bus number */
104 uchar_t sub_bus; /* highest bus number beyond this bridge */
105 uchar_t root_addr; /* legacy peer bus address assignment */
106 uchar_t num_cbb; /* # of CardBus Bridges on the bus */
107 boolean_t io_reprogram; /* need io reprog on this bus */
108 boolean_t mem_reprogram; /* need mem reprog on this bus */
[all...]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_osdep.c32 uint16_t val = hw->bus.pci_cmd_word | CMD_MEM_WRT_INVALIDATE;
40 uint16_t val = hw->bus.pci_cmd_word & ~CMD_MEM_WRT_INVALIDATE;
/illumos-gate/usr/src/lib/fm/topo/modules/sun4/ioboard/
H A Dioboard.c222 uint_t bussep, int minbrd, int maxbrd, int *brd, int *br, int *bus)
235 "Transcribing %s into board, bus, etc.\n", bac);
261 *bus = ((ac == IOB_BUSADDR1) ? 0 : 1);
265 topo_mod_dprintf(mod, "brd=%d br=%d bus=%d bc=%x ac=%x\n",
266 *brd, *br, *bus, bc, ac);
269 return (did_create(mod, dp, *brd, *br, NO_RC, *bus));
221 split_bus_address(topo_mod_t *mod, di_node_t dp, uint_t baseaddr, uint_t bussep, int minbrd, int maxbrd, int *brd, int *br, int *bus) argument
/illumos-gate/usr/src/cmd/pcitool/
H A Dpcitool_ui.h49 #define PROBERNG_FLAG 0x40 /* Probe devs within bus ranges */
96 uint8_t bus; member in struct:uiargs
/illumos-gate/usr/src/uts/common/xen/public/hvm/
H A Dhvm_op.h40 /* PCI INTx identification in PCI topology (domain:bus:device:intx). */
41 uint8_t domain, bus, device, intx; member in struct:xen_hvm_set_pci_intx_level
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82542.c116 /* bus type/speed/width */
169 * e1000_get_bus_info_82542 - Obtain bus information for adapter
172 * This will obtain information about the HW bus for which the
179 hw->bus.type = e1000_bus_type_pci;
180 hw->bus.speed = e1000_bus_speed_unknown;
181 hw->bus.width = e1000_bus_width_unknown;
194 struct e1000_bus_info *bus = &hw->bus; local
230 if (bus->pci_cmd_word & CMD_MEM_WRT_INVALIDATE)
274 if (hw->bus
[all...]
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_x550.c316 if (hw->bus.lan_id) {
410 /* X550EM bus type is internal*/
411 hw->bus.type = ixgbe_bus_type_internal;
662 IXGBE_KRM_LINK_CTRL_1(hw->bus.lan_id),
674 IXGBE_KRM_LINK_CTRL_1(hw->bus.lan_id),
695 IXGBE_KRM_LINK_CTRL_1(hw->bus.lan_id),
707 IXGBE_KRM_LINK_CTRL_1(hw->bus.lan_id),
1418 IXGBE_KRM_LINK_CTRL_1(hw->bus.lan_id),
1438 IXGBE_KRM_LINK_CTRL_1(hw->bus.lan_id),
1733 (hw->bus
[all...]
/illumos-gate/usr/src/uts/sun4/io/
H A Dpcicfg.c110 * 1275 "bus-range" property of a PCI Bus node.
155 uint_t highest_bus; /* Highest bus seen on the probe */
395 { 0xc01, "access-bus" },
704 * all its children) on the given bus. It is called when
714 uint_t bus; local
732 * "bus" specified.
736 "bus-range", (caddr_t)&pci_bus_range, &len) != DDI_SUCCESS) {
737 DEBUG0("no bus-range property\n");
741 bus = pci_bus_range.lo; /* primary bus numbe
907 pcicfg_configure_ntbridge(dev_info_t *new_device, uint_t bus, uint_t device) argument
1069 uint_t *bus; local
1327 int len, bus; local
1384 uint_t *bus; local
2813 uint_t *bus; local
4006 pcicfg_probe_children(dev_info_t *parent, uint_t bus, uint_t device, uint_t func, uint_t *highest_bus, pcicfg_flags_t flags, boolean_t is_pcie) argument
4277 pcicfg_fcode_probe(dev_info_t *parent, uint_t bus, uint_t device, uint_t func, uint_t *highest_bus, pcicfg_flags_t flags, boolean_t is_pcie) argument
4892 pcicfg_probe_bridge(dev_info_t *new_child, ddi_acc_handle_t h, uint_t bus, uint_t *highest_bus, boolean_t is_pcie) argument
5743 pcicfg_add_config_reg(dev_info_t *dip, uint_t bus, uint_t device, uint_t func) argument
5785 pcicfg_load_fcode(dev_info_t *dip, uint_t bus, uint_t device, uint_t func, uint16_t vendor_id, uint16_t device_id, uchar_t **fcode_addr, int *fcode_size, int rom_paddr, int rom_size) argument
5999 pcicfg_fcode_assign_bars(ddi_acc_handle_t h, dev_info_t *dip, uint_t bus, uint_t device, uint_t func, int32_t fc_request, pci_regspec_t *rom_regspec) argument
6828 char *bus; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/psm/
H A Dpsm_common.c48 * is programmed to the proper setting for the type of bus (level-triggered
226 * Return bus/dev/fn for PCI dip (note: not the parent "pci" node).
230 get_bdf(dev_info_t *dip, int *bus, int *device, int *func) argument
243 if (bus != NULL)
244 *bus = (int)PCI_REG_BUS_G(pci_rp->pci_phys_hi);
389 * Look first for an ACPI PCI bus node matching busid, then for a _PRT on the
827 * its attributes to PCI bus/dev/ipin and optionally to its associated ACPI
831 acpi_new_irq_cache_ent(int bus, int dev, int ipin, int pci_irq, argument
855 ep->bus = (uchar_t)bus;
875 acpi_get_irq_cache_ent(uchar_t bus, uchar_t dev, int ipin, int *pci_irqp, iflag_t *intr_flagp) argument
[all...]

Completed in 272 milliseconds

12345678910