Lines Matching refs:slot
267 u_int slot, u_int func, u_int reg)
276 if (bus == 0 && slot == 0 && func == 0)
284 func_index = PCIE_ADDR_OFFSET(bus, slot, func, 0);
291 bcm_pcib_is_valid_quad(struct bcm_pcib_softc *sc, u_int bus, u_int slot,
297 if ((slot > PCI_SLOTMAX) || (func > PCI_FUNCMAX) || (reg > PCIE_REGMAX))
300 if (bus == 0 && slot == 0 && func == 0)
313 bcm_pcib_read_config(device_t dev, u_int bus, u_int slot, u_int func, u_int reg,
321 if (!bcm_pcib_is_valid_quad(sc, bus, slot, func, reg))
325 offset = bcm_get_offset_and_prepare_config(sc, bus, slot, func, reg);
347 bcm_pcib_write_config(device_t dev, u_int bus, u_int slot,
354 if (!bcm_pcib_is_valid_quad(sc, bus, slot, func, reg))
358 offset = bcm_get_offset_and_prepare_config(sc, bus, slot, func, reg);