Lines Matching refs:tag
187 ifpga_pci_decompose_tag(void *pcv, pcitag_t tag, int *busp, int *devicep,
191 printf("ifpga_pci_decompose_tag(pcv=%p, tag=0x%08lx, bp=%p, dp=%p, "
192 "fp=%p)\n", pcv, tag, busp, devicep, functionp);
196 *busp = (tag >> 16) & 0xff;
198 *devicep = (tag >> 11) & 0x1f;
200 *functionp = (tag >> 8) & 0x7;
204 ifpga_pci_conf_read(void *pcv, pcitag_t tag, int reg)
211 ifpga_pci_decompose_tag(pcv, tag, &bus, &device, &function);
234 tag | reg);
245 printf("ifpga_pci_conf_read(pcv=%p tag=0x%08lx reg=0x%02x)=0x%08x\n",
246 pcv, tag, reg, data);
252 ifpga_pci_conf_write(void *pcv, pcitag_t tag, int reg, pcireg_t data)
259 printf("ifpga_pci_conf_write(pcv=%p tag=0x%08lx reg=0x%02x, 0x%08x)\n",
260 pcv, tag, reg, data);
263 ifpga_pci_decompose_tag(pcv, tag, &bus, &device, &function);
285 bus_space_write_4(sc->sc_iot, sc->sc_conf_ioh, tag | reg,
310 printf("ifpga_pci_intr_map: pcv=%p, tag=%08lx pin=%d line=%d "