Lines Matching refs:bus

195 static uint32_t	read_long(int fd, int bus, int dev, int func,
197 static uint8_t read_byte(int fd, int bus, int dev, int func, int offset,
199 static uint16_t read_word(int fd, int bus, int dev, int func, int offset,
284 * The binding-name property encodes the bus type.
305 * be part of a bus type. This may get confused a bit
307 * the bus class since there's no delimiter. If the
309 * this will become part of the bus type string
311 * print something potentially useful for bus types
648 * the bus type of the IO slot and not the leaf, which
754 * so that bus frequency, bus type and
2311 read_long(int fd, int bus, int dev, int func, int offset, int *ret)
2320 prg.bus_no = bus;
2327 log_printf("%d.%d.%d offset 0x%x\n", bus, dev, func, offset);
2334 read_word(int fd, int bus, int dev, int func, int offset, int *ret)
2343 prg.bus_no = bus;
2350 log_printf("%d.%d.%d offset 0x%x\n", bus, dev, func, offset);
2357 read_byte(int fd, int bus, int dev, int func, int offset, int *ret)
2366 prg.bus_no = bus;
2373 log_printf("%d.%d.%d offset 0x%x\n", bus, dev, func, offset);
2382 (char *device_path, int bus, int dev, int func, int *cur_link_width,
2413 cap_ptr = read_byte(fd, bus, dev, func, PCI_CONF_CAP_PTR, &ret);
2419 cap_reg = read_word(fd, bus, dev, func, cap_ptr, &ret);
2429 link_status = read_word(fd, bus, dev, func,
2454 (fd, bus, dev, func, PCI_CONF_HEADER, &ret);
2464 sec_status = read_word(fd, bus, dev, func,
2492 pcix_status = read_long(fd, bus, dev, func,
2512 cap_reg = read_word(fd, bus, dev, func, cap_ptr, &ret);