tag 3162 arch/i386/i386/machdep.c bus_space_tag_t tag = I386_BUS_SPACE_IO;
tag 3163 arch/i386/i386/machdep.c com_kgdb_attach(tag, comkgdbaddr, comkgdbrate, COM_FREQ,
tag 83 arch/i386/i386/mpbios_intr_fixup.c nforce4_mpbios_fixup(pci_chipset_tag_t pc, pcitag_t tag)
tag 88 arch/i386/i386/mpbios_intr_fixup.c pci_decompose_tag (pc, tag, &bus, NULL, NULL);
tag 90 arch/i386/i386/mpbios_intr_fixup.c reg = pci_conf_read(pc, tag, NFORCE4_PNPIRQ2);
tag 101 arch/i386/i386/mpbios_intr_fixup.c reg = pci_conf_read(pc, tag, NFORCE4_PNPIRQ3);
tag 115 arch/i386/i386/mpbios_intr_fixup.c mcp04_mpbios_fixup(pci_chipset_tag_t pc, pcitag_t tag)
tag 120 arch/i386/i386/mpbios_intr_fixup.c pci_decompose_tag (pc, tag, &bus, NULL, NULL);
tag 122 arch/i386/i386/mpbios_intr_fixup.c reg = pci_conf_read(pc, tag, NFORCE4_PNPIRQ2);
tag 136 arch/i386/i386/mpbios_intr_fixup.c via8237_mpbios_fixup(pci_chipset_tag_t pc, pcitag_t tag)
tag 140 arch/i386/i386/mpbios_intr_fixup.c pci_decompose_tag (pc, tag, &bus, NULL, NULL);
tag 890 arch/i386/include/bus.h int _bus_dmamem_alloc(bus_dma_tag_t tag, bus_size_t size,
tag 893 arch/i386/include/bus.h void _bus_dmamem_free(bus_dma_tag_t tag, bus_dma_segment_t *segs,
tag 895 arch/i386/include/bus.h int _bus_dmamem_map(bus_dma_tag_t tag, bus_dma_segment_t *segs,
tag 897 arch/i386/include/bus.h void _bus_dmamem_unmap(bus_dma_tag_t tag, caddr_t kva,
tag 899 arch/i386/include/bus.h paddr_t _bus_dmamem_mmap(bus_dma_tag_t tag, bus_dma_segment_t *segs,
tag 902 arch/i386/include/bus.h int _bus_dmamem_alloc_range(bus_dma_tag_t tag, bus_size_t size,
tag 376 arch/i386/isa/ahc_isa.c ahc->tag = iot;
tag 494 arch/i386/isa/ahc_isa.c sd.sd_tag = ahc->tag;
tag 164 arch/i386/pci/ali1543.c ali1543_init(pci_chipset_tag_t pc, bus_space_tag_t iot, pcitag_t tag,
tag 168 arch/i386/pci/ali1543.c if (piix_init(pc, iot, tag, ptagp, phandp) == 0) {
tag 111 arch/i386/pci/amd756.c amd756_init(pci_chipset_tag_t pc, bus_space_tag_t iot, pcitag_t tag,
tag 122 arch/i386/pci/amd756.c ph->ph_tag = tag;
tag 128 arch/i386/pci/opti82c558.c opti82c558_init(pci_chipset_tag_t pc, bus_space_tag_t iot, pcitag_t tag,
tag 138 arch/i386/pci/opti82c558.c ph->ph_tag = tag;
tag 116 arch/i386/pci/opti82c700.c opti82c700_init(pci_chipset_tag_t pc, bus_space_tag_t iot, pcitag_t tag,
tag 126 arch/i386/pci/opti82c700.c ph->ph_tag = tag;
tag 186 arch/i386/pci/pchb.c pcitag_t tag;
tag 303 arch/i386/pci/pchb.c tag = pci_make_tag(pa->pa_pc, 0, 16, 0);
tag 304 arch/i386/pci/pchb.c bcreg = pci_conf_read(pa->pa_pc, tag, 0xd0);
tag 309 arch/i386/pci/pchb.c tag = pci_make_tag(pa->pa_pc, 0, 16, 0);
tag 310 arch/i386/pci/pchb.c bcreg = pci_conf_read(pa->pa_pc, tag, 0xd0);
tag 315 arch/i386/pci/pchb.c tag = pci_make_tag(pa->pa_pc, 0, 16, 0);
tag 316 arch/i386/pci/pchb.c bcreg = pci_conf_read(pa->pa_pc, tag, 0xd4);
tag 154 arch/i386/pci/pci_addr_fixup.c pcitag_t tag)
tag 157 arch/i386/pci/pci_addr_fixup.c pciaddr_print_devid(pc, tag);
tag 158 arch/i386/pci/pci_addr_fixup.c pciaddr_resource_manage(sc, pc, tag, pciaddr_do_resource_reserve);
tag 163 arch/i386/pci/pci_addr_fixup.c pci_chipset_tag_t pc, pcitag_t tag)
tag 166 arch/i386/pci/pci_addr_fixup.c pciaddr_print_devid(pc, tag);
tag 167 arch/i386/pci/pci_addr_fixup.c pciaddr_resource_manage(sc, pc, tag,
tag 173 arch/i386/pci/pci_addr_fixup.c pcitag_t tag)
tag 176 arch/i386/pci/pci_addr_fixup.c pciaddr_print_devid(pc, tag);
tag 177 arch/i386/pci/pci_addr_fixup.c pciaddr_resource_manage(sc, pc, tag, pciaddr_do_resource_allocate);
tag 182 arch/i386/pci/pci_addr_fixup.c pcitag_t tag, pciaddr_resource_manage_func_t func)
tag 190 arch/i386/pci/pci_addr_fixup.c val = pci_conf_read(pc, tag, PCI_BHLC_REG);
tag 214 arch/i386/pci/pci_addr_fixup.c val = pci_conf_read(pc, tag, mapreg);
tag 215 arch/i386/pci/pci_addr_fixup.c pci_conf_write(pc, tag, mapreg, ~0);
tag 217 arch/i386/pci/pci_addr_fixup.c mask = pci_conf_read(pc, tag, mapreg);
tag 218 arch/i386/pci/pci_addr_fixup.c pci_conf_write(pc, tag, mapreg, val);
tag 250 arch/i386/pci/pci_addr_fixup.c error += (*func) (sc, pc, tag, mapreg, ex, type, &addr, size);
tag 265 arch/i386/pci/pci_addr_fixup.c pcitag_t tag, int mapreg, struct extent *ex, int type, bus_addr_t *addr,
tag 275 arch/i386/pci/pci_addr_fixup.c if (pciaddr_device_is_agp(pc, tag))
tag 292 arch/i386/pci/pci_addr_fixup.c pci_conf_write(pc, tag, mapreg, *addr);
tag 296 arch/i386/pci/pci_addr_fixup.c pciaddr_print_devid(pc, tag);
tag 299 arch/i386/pci/pci_addr_fixup.c if (pciaddr_ioaddr(pci_conf_read(pc, tag, mapreg)) != *addr) {
tag 300 arch/i386/pci/pci_addr_fixup.c pci_conf_write(pc, tag, mapreg, 0); /* clear */
tag 311 arch/i386/pci/pci_addr_fixup.c pcitag_t tag, int mapreg, struct extent *ex, int type, bus_addr_t *addr,
tag 320 arch/i386/pci/pci_addr_fixup.c val = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 331 arch/i386/pci/pci_addr_fixup.c pci_conf_write(pc, tag, mapreg, 0); /* clear */
tag 340 arch/i386/pci/pci_addr_fixup.c pci_chipset_tag_t pc, pcitag_t tag, int mapreg, struct extent *ex, int type,
tag 349 arch/i386/pci/pci_addr_fixup.c val = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 363 arch/i386/pci/pci_addr_fixup.c pci_conf_write(pc, tag, mapreg, 0); /* clear */
tag 379 arch/i386/pci/pci_addr_fixup.c pciaddr_print_devid(pci_chipset_tag_t pc, pcitag_t tag)
tag 384 arch/i386/pci/pci_addr_fixup.c id = pci_conf_read(pc, tag, PCI_ID_REG);
tag 385 arch/i386/pci/pci_addr_fixup.c pci_decompose_tag(pc, tag, &bus, &device, &function);
tag 391 arch/i386/pci/pci_addr_fixup.c pciaddr_device_is_agp(pci_chipset_tag_t pc, pcitag_t tag)
tag 397 arch/i386/pci/pci_addr_fixup.c class = pci_conf_read(pc, tag, PCI_CLASS_REG);
tag 399 arch/i386/pci/pci_addr_fixup.c status = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 401 arch/i386/pci/pci_addr_fixup.c rval = pci_conf_read(pc, tag, PCI_CAPLISTPTR_REG);
tag 405 arch/i386/pci/pci_addr_fixup.c rval = pci_conf_read(pc, tag, off);
tag 57 arch/i386/pci/pci_bus_fixup.c pcitag_t tag;
tag 63 arch/i386/pci/pci_bus_fixup.c tag = pci_make_tag(pc, bus, device, 0);
tag 64 arch/i386/pci/pci_bus_fixup.c reg = pci_conf_read(pc, tag, PCI_ID_REG);
tag 79 arch/i386/pci/pci_bus_fixup.c reg = pci_conf_read(pc, tag, PCI_BHLC_REG);
tag 88 arch/i386/pci/pci_bus_fixup.c tag = pci_make_tag(pc, bus, device, function);
tag 89 arch/i386/pci/pci_bus_fixup.c reg = pci_conf_read(pc, tag, PCI_ID_REG);
tag 98 arch/i386/pci/pci_bus_fixup.c reg = pci_conf_read(pc, tag, PCI_CLASS_REG);
tag 103 arch/i386/pci/pci_bus_fixup.c reg = pci_conf_read(pc, tag, PPB_REG_BUSINFO);
tag 106 arch/i386/pci/pci_bus_fixup.c pcibus_print_devid(pc, tag);
tag 118 arch/i386/pci/pci_bus_fixup.c pcibus_print_devid(pc, tag);
tag 137 arch/i386/pci/pci_bus_fixup.c pcibus_print_devid(pc, tag);
tag 164 arch/i386/pci/pci_bus_fixup.c pcitag_t tag;
tag 170 arch/i386/pci/pci_bus_fixup.c tag = pci_make_tag(pc, bus, device, 0);
tag 171 arch/i386/pci/pci_bus_fixup.c reg = pci_conf_read(pc, tag, PCI_ID_REG);
tag 186 arch/i386/pci/pci_bus_fixup.c reg = pci_conf_read(pc, tag, PCI_BHLC_REG);
tag 195 arch/i386/pci/pci_bus_fixup.c tag = pci_make_tag(pc, bus, device, function);
tag 196 arch/i386/pci/pci_bus_fixup.c reg = pci_conf_read(pc, tag, PCI_ID_REG);
tag 205 arch/i386/pci/pci_bus_fixup.c reg = pci_conf_read(pc, tag, PCI_CLASS_REG);
tag 212 arch/i386/pci/pci_bus_fixup.c reg = pci_conf_read(pc, tag, PPB_REG_BUSINFO);
tag 215 arch/i386/pci/pci_bus_fixup.c pci_conf_write(pc, tag, PPB_REG_BUSINFO, reg);
tag 223 arch/i386/pci/pci_bus_fixup.c pci_conf_write(pc, tag, PPB_REG_BUSINFO, reg);
tag 259 arch/i386/pci/pci_bus_fixup.c pcibus_print_devid(pci_chipset_tag_t pc, pcitag_t tag)
tag 264 arch/i386/pci/pci_bus_fixup.c id = pci_conf_read(pc, tag, PCI_ID_REG);
tag 265 arch/i386/pci/pci_bus_fixup.c pci_decompose_tag(pc, tag, &bus, &device, &function);
tag 600 arch/i386/pci/pci_intr_fixup.c intr = pci_conf_read(pc, ihp->tag, PCI_INTERRUPT_REG);
tag 604 arch/i386/pci/pci_intr_fixup.c pci_conf_write(pc, ihp->tag, PCI_INTERRUPT_REG, intr);
tag 651 arch/i386/pci/pci_intr_fixup.c pci_intr_header_fixup(pci_chipset_tag_t pc, pcitag_t tag,
tag 664 arch/i386/pci/pci_intr_fixup.c ihp->tag = tag;
tag 665 arch/i386/pci/pci_intr_fixup.c pci_decompose_tag(pc, tag, &bus, &device, &function);
tag 720 arch/i386/pci/pci_intr_fixup.c pcireg_t id = pci_conf_read(pc, tag, PCI_ID_REG);
tag 135 arch/i386/pci/pci_machdep.c u_int32_t tag;
tag 206 arch/i386/pci/pci_machdep.c pcitag_t tag;
tag 213 arch/i386/pci/pci_machdep.c tag.mode1 = PCI_MODE1_ENABLE |
tag 220 arch/i386/pci/pci_machdep.c tag.mode2.port = 0xc000 | (device << 8);
tag 221 arch/i386/pci/pci_machdep.c tag.mode2.enable = 0xf0 | (function << 1);
tag 222 arch/i386/pci/pci_machdep.c tag.mode2.forward = bus;
tag 228 arch/i386/pci/pci_machdep.c return tag;
tag 232 arch/i386/pci/pci_machdep.c pci_decompose_tag(pci_chipset_tag_t pc, pcitag_t tag, int *bp, int *dp, int *fp)
tag 238 arch/i386/pci/pci_machdep.c *bp = (tag.mode1 >> 16) & 0xff;
tag 240 arch/i386/pci/pci_machdep.c *dp = (tag.mode1 >> 11) & 0x1f;
tag 242 arch/i386/pci/pci_machdep.c *fp = (tag.mode1 >> 8) & 0x7;
tag 246 arch/i386/pci/pci_machdep.c *bp = tag.mode2.forward & 0xff;
tag 248 arch/i386/pci/pci_machdep.c *dp = (tag.mode2.port >> 8) & 0xf;
tag 250 arch/i386/pci/pci_machdep.c *fp = (tag.mode2.enable >> 1) & 0x7;
tag 258 arch/i386/pci/pci_machdep.c pci_conf_read(pci_chipset_tag_t pc, pcitag_t tag, int reg)
tag 264 arch/i386/pci/pci_machdep.c outl(PCI_MODE1_ADDRESS_REG, tag.mode1 | reg);
tag 269 arch/i386/pci/pci_machdep.c outb(PCI_MODE2_ENABLE_REG, tag.mode2.enable);
tag 270 arch/i386/pci/pci_machdep.c outb(PCI_MODE2_FORWARD_REG, tag.mode2.forward);
tag 271 arch/i386/pci/pci_machdep.c data = inl(tag.mode2.port | reg);
tag 282 arch/i386/pci/pci_machdep.c pci_conf_write(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t data)
tag 287 arch/i386/pci/pci_machdep.c outl(PCI_MODE1_ADDRESS_REG, tag.mode1 | reg);
tag 292 arch/i386/pci/pci_machdep.c outb(PCI_MODE2_ENABLE_REG, tag.mode2.enable);
tag 293 arch/i386/pci/pci_machdep.c outb(PCI_MODE2_FORWARD_REG, tag.mode2.forward);
tag 294 arch/i386/pci/pci_machdep.c outl(tag.mode2.port | reg, data);
tag 355 arch/i386/pci/pci_machdep.c if (!pcim1_quirk_tbl[i].tag)
tag 357 arch/i386/pci/pci_machdep.c t.mode1 = pcim1_quirk_tbl[i].tag;
tag 68 arch/i386/pci/pci_machdep.h pcitag_t tag;
tag 524 arch/i386/pci/pcibios.c pcitag_t tag;
tag 529 arch/i386/pci/pcibios.c tag = pci_make_tag(pc, bus, device, 0);
tag 530 arch/i386/pci/pcibios.c id = pci_conf_read(pc, tag, PCI_ID_REG);
tag 542 arch/i386/pci/pcibios.c bhlcr = pci_conf_read(pc, tag, PCI_BHLC_REG);
tag 551 arch/i386/pci/pcibios.c tag = pci_make_tag(pc, bus, device, function);
tag 552 arch/i386/pci/pcibios.c id = pci_conf_read(pc, tag, PCI_ID_REG);
tag 563 arch/i386/pci/pcibios.c (*func)(sc, pc, tag);
tag 108 arch/i386/pci/piix.c piix_init(pci_chipset_tag_t pc, bus_space_tag_t iot, pcitag_t tag,
tag 119 arch/i386/pci/piix.c ph->ph_tag = tag;
tag 68 arch/i386/pci/rccosb4.c osb4_init(pci_chipset_tag_t pc, bus_space_tag_t iot, pcitag_t tag,
tag 79 arch/i386/pci/rccosb4.c ph->piix.ph_tag = tag;
tag 98 arch/i386/pci/sis85c503.c sis85c503_init(pci_chipset_tag_t pc, bus_space_tag_t iot, pcitag_t tag,
tag 102 arch/i386/pci/sis85c503.c if (piix_init(pc, iot, tag, ptagp, phandp) == 0) {
tag 143 arch/i386/pci/via8231.c via8231_init(pci_chipset_tag_t pc, bus_space_tag_t iot, pcitag_t tag,
tag 155 arch/i386/pci/via8231.c ph->ph_tag = tag;
tag 156 arch/i386/pci/via8231.c id = pci_conf_read(pc, tag, PCI_ID_REG);
tag 123 arch/i386/pci/via82c586.c via82c586_init(pci_chipset_tag_t pc, bus_space_tag_t iot, pcitag_t tag,
tag 128 arch/i386/pci/via82c586.c if (piix_init(pc, iot, tag, ptagp, phandp) == 0) {
tag 134 arch/i386/pci/via82c586.c reg = pci_conf_read(pc, tag, VP3_CFG_KBDMISCCTRL12_REG);
tag 137 arch/i386/pci/via82c586.c pci_conf_write(pc, tag, VP3_CFG_KBDMISCCTRL12_REG, reg);
tag 134 dev/acpi/acpi.c pcitag_t tag;
tag 220 dev/acpi/acpi.c tag = pci_make_tag(pc,
tag 227 dev/acpi/acpi.c ival = pci_conf_read(pc, tag, idx & ~0x3);
tag 234 dev/acpi/acpi.c pci_conf_write(pc, tag, idx & ~0x3, ival);
tag 152 dev/acpi/acpiprt.c pcitag_t tag;
tag 243 dev/acpi/acpiprt.c tag = pci_make_tag(pc, bus, dev, 0);
tag 245 dev/acpi/acpiprt.c reg = pci_conf_read(pc, tag, PCI_BHLC_REG);
tag 252 dev/acpi/acpiprt.c tag = pci_make_tag(pc, bus, dev, func);
tag 253 dev/acpi/acpiprt.c reg = pci_conf_read(pc, tag, PCI_INTERRUPT_REG);
tag 257 dev/acpi/acpiprt.c pci_conf_write(pc, tag, PCI_INTERRUPT_REG, reg);
tag 280 dev/acpi/acpiprt.c pcitag_t tag;
tag 300 dev/acpi/acpiprt.c tag = pci_make_tag(pc, bus, dev, func);
tag 301 dev/acpi/acpiprt.c reg = pci_conf_read(pc, tag, PCI_CLASS_REG);
tag 304 dev/acpi/acpiprt.c reg = pci_conf_read(pc, tag, PPB_REG_BUSINFO);
tag 361 dev/ata/atascsi.c fis->sector_count = xa->tag << 3;
tag 523 dev/ata/atascsi.c if (xa->tag < ap->ap_ncqdepth) {
tag 724 dev/ata/atascsi.c fis->sector_count = xa->tag << 3;
tag 252 dev/ata/atascsi.h u_int8_t tag;
tag 145 dev/cardbus/cardbus.c cardbustag_t tag = ca->ca_tag;
tag 167 dev/cardbus/cardbus.c u_int32_t e = (cf->cardbus_conf_read)(cc, tag, i);
tag 199 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, reg, 0);
tag 216 dev/cardbus/cardbus.c exrom = cardbus_conf_read(cc, cf, tag, reg);
tag 217 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, reg, exrom | 1);
tag 219 dev/cardbus/cardbus.c command = cardbus_conf_read(cc, cf, tag,
tag 221 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag,
tag 246 dev/cardbus/cardbus.c exrom = cardbus_conf_read(cc, cf, tag, reg);
tag 247 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, reg, exrom & ~1);
tag 250 dev/cardbus/cardbus.c command = cardbus_conf_read(cc, cf, tag,
tag 252 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag,
tag 260 dev/cardbus/cardbus.c command = cardbus_conf_read(cc, cf, tag,
tag 262 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, CARDBUS_COMMAND_STATUS_REG,
tag 264 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, reg, 0);
tag 377 dev/cardbus/cardbus.c cardbustag_t tag;
tag 405 dev/cardbus/cardbus.c tag = cardbus_make_tag(cc, cf, sc->sc_bus, sc->sc_device, function);
tag 409 dev/cardbus/cardbus.c id = cardbus_conf_read(cc, cf, tag, CARDBUS_ID_REG);
tag 424 dev/cardbus/cardbus.c bhlc = cardbus_conf_read(cc, cf, tag, CARDBUS_BHLC_REG);
tag 435 dev/cardbus/cardbus.c tag = cardbus_make_tag(cc, cf, sc->sc_bus, sc->sc_device,
tag 438 dev/cardbus/cardbus.c id = cardbus_conf_read(cc, cf, tag, CARDBUS_ID_REG);
tag 439 dev/cardbus/cardbus.c class = cardbus_conf_read(cc, cf, tag, CARDBUS_CLASS_REG);
tag 440 dev/cardbus/cardbus.c cis_ptr = cardbus_conf_read(cc, cf, tag, CARDBUS_CIS_REG);
tag 453 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE0_REG, 0);
tag 454 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE1_REG, 0);
tag 455 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE2_REG, 0);
tag 456 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE3_REG, 0);
tag 457 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE4_REG, 0);
tag 458 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE5_REG, 0);
tag 459 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, CARDBUS_ROM_REG, 0);
tag 462 dev/cardbus/cardbus.c bhlc = cardbus_conf_read(cc, cf, tag, CARDBUS_BHLC_REG);
tag 472 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, CARDBUS_BHLC_REG, bhlc);
tag 473 dev/cardbus/cardbus.c bhlc = cardbus_conf_read(cc, cf, tag, CARDBUS_BHLC_REG);
tag 480 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, CARDBUS_BHLC_REG,
tag 512 dev/cardbus/cardbus.c ca.ca_tag = tag;
tag 725 dev/cardbus/cardbus.c cardbustag_t tag;
tag 736 dev/cardbus/cardbus.c tag = cardbus_make_tag(cc, cf, sc->sc_bus, sc->sc_device, func);
tag 738 dev/cardbus/cardbus.c command = cardbus_conf_read(cc, cf, tag, CARDBUS_COMMAND_STATUS_REG);
tag 742 dev/cardbus/cardbus.c cardbus_conf_write(cc, cf, tag, CARDBUS_COMMAND_STATUS_REG, command);
tag 744 dev/cardbus/cardbus.c cardbus_free_tag(cc, cf, tag);
tag 776 dev/cardbus/cardbus.c cardbustag_t tag, int capid, int *offset, cardbusreg_t *value)
tag 781 dev/cardbus/cardbus.c reg = cardbus_conf_read(cc, cf, tag, PCI_COMMAND_STATUS_REG);
tag 785 dev/cardbus/cardbus.c ofs = PCI_CAPLIST_PTR(cardbus_conf_read(cc, cf, tag,
tag 792 dev/cardbus/cardbus.c reg = cardbus_conf_read(cc, cf, tag, ofs);
tag 69 dev/cardbus/cardbus_map.c cardbustag_t tag, int reg, pcireg_t *typep)
tag 75 dev/cardbus/cardbus_map.c address = cardbus_conf_read(cc, cf, tag, reg);
tag 76 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, reg, 0xffffffff);
tag 77 dev/cardbus/cardbus_map.c mask = cardbus_conf_read(cc, cf, tag, reg);
tag 78 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, reg, address);
tag 98 dev/cardbus/cardbus_map.c cardbustag_t tag, int reg, cardbusreg_t type, bus_addr_t *basep,
tag 123 dev/cardbus/cardbus_map.c address = cardbus_conf_read(cc, cf, tag, reg);
tag 124 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, reg, 0xffffffff);
tag 125 dev/cardbus/cardbus_map.c mask = cardbus_conf_read(cc, cf, tag, reg);
tag 126 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, reg, address);
tag 158 dev/cardbus/cardbus_map.c cardbustag_t tag, int reg, cardbusreg_t type, bus_addr_t *basep,
tag 180 dev/cardbus/cardbus_map.c address = cardbus_conf_read(cc, cf, tag, reg);
tag 181 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, reg, 0xffffffff);
tag 182 dev/cardbus/cardbus_map.c mask = cardbus_conf_read(cc, cf, tag, reg);
tag 183 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, reg, address);
tag 260 dev/cardbus/cardbus_map.c cardbustag_t tag = cardbus_make_tag(cc, cf, sc->sc_bus,
tag 267 dev/cardbus/cardbus_map.c if (cardbus_io_find(cc, cf, tag, reg, type, &base, &size,
tag 273 dev/cardbus/cardbus_map.c if (cardbus_mem_find(cc, cf, tag, reg, type, &base, &size,
tag 288 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, reg, base);
tag 300 dev/cardbus/cardbus_map.c cardbus_free_tag(cc, cf, tag);
tag 320 dev/cardbus/cardbus_map.c bus_space_tag_t tag, bus_space_handle_t handle, bus_size_t size)
tag 328 dev/cardbus/cardbus_map.c if (sc->sc_iot == tag) {
tag 332 dev/cardbus/cardbus_map.c } else if (sc->sc_memt == tag) {
tag 359 dev/cardbus/cardbus_map.c cardbustag_t tag = Cardbus_make_tag(ct);
tag 363 dev/cardbus/cardbus_map.c ct->ct_bar[0] = cardbus_conf_read(cc, cf, tag, CARDBUS_BASE0_REG);
tag 364 dev/cardbus/cardbus_map.c ct->ct_bar[1] = cardbus_conf_read(cc, cf, tag, CARDBUS_BASE1_REG);
tag 365 dev/cardbus/cardbus_map.c ct->ct_bar[2] = cardbus_conf_read(cc, cf, tag, CARDBUS_BASE2_REG);
tag 366 dev/cardbus/cardbus_map.c ct->ct_bar[3] = cardbus_conf_read(cc, cf, tag, CARDBUS_BASE3_REG);
tag 367 dev/cardbus/cardbus_map.c ct->ct_bar[4] = cardbus_conf_read(cc, cf, tag, CARDBUS_BASE4_REG);
tag 368 dev/cardbus/cardbus_map.c ct->ct_bar[5] = cardbus_conf_read(cc, cf, tag, CARDBUS_BASE5_REG);
tag 372 dev/cardbus/cardbus_map.c Cardbus_free_tag(ct, tag);
tag 386 dev/cardbus/cardbus_map.c cardbustag_t tag = Cardbus_make_tag(ct);
tag 390 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE0_REG, ct->ct_bar[0]);
tag 391 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE1_REG, ct->ct_bar[1]);
tag 392 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE2_REG, ct->ct_bar[2]);
tag 393 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE3_REG, ct->ct_bar[3]);
tag 394 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE4_REG, ct->ct_bar[4]);
tag 395 dev/cardbus/cardbus_map.c cardbus_conf_write(cc, cf, tag, CARDBUS_BASE5_REG, ct->ct_bar[5]);
tag 397 dev/cardbus/cardbus_map.c Cardbus_free_tag(ct, tag);
tag 424 dev/cardbus/cardbusvar.h #define Cardbus_mapreg_unmap(ct, reg, tag, handle, size)\
tag 426 dev/cardbus/cardbusvar.h (reg), (tag), (handle), (size))
tag 434 dev/cardbus/cardbusvar.h #define Cardbus_free_tag(ct, tag) \
tag 435 dev/cardbus/cardbusvar.h (*(ct)->ct_cf->cardbus_free_tag)((ct)->ct_cc, (tag))
tag 436 dev/cardbus/cardbusvar.h #define cardbus_free_tag(cc, cf, tag) \
tag 437 dev/cardbus/cardbusvar.h (*(cf)->cardbus_free_tag)(cc, (tag))
tag 439 dev/cardbus/cardbusvar.h #define Cardbus_conf_read(ct, tag, offs) \
tag 440 dev/cardbus/cardbusvar.h (*(ct)->ct_cf->cardbus_conf_read)((ct)->ct_cf, (tag), (offs))
tag 441 dev/cardbus/cardbusvar.h #define cardbus_conf_read(cc, cf, tag, offs) \
tag 442 dev/cardbus/cardbusvar.h ((cf)->cardbus_conf_read)((cc), (tag), (offs))
tag 443 dev/cardbus/cardbusvar.h #define Cardbus_conf_write(ct, tag, offs, val) \
tag 444 dev/cardbus/cardbusvar.h (*(ct)->ct_cf->cardbus_conf_write)((ct)->ct_cf, (tag), (offs), (val))
tag 445 dev/cardbus/cardbusvar.h #define cardbus_conf_write(cc, cf, tag, offs, val) \
tag 446 dev/cardbus/cardbusvar.h ((cf)->cardbus_conf_write)((cc), (tag), (offs), (val))
tag 112 dev/eisa/if_fea.c bus_space_tag_t tag;
tag 114 dev/eisa/if_fea.c tag = sc->sc_bc;
tag 119 dev/eisa/if_fea.c PDQ_OS_IOWR_8(tag, sc->sc_iobase, PDQ_EISA_FUNCTION_CTRL, 0x23);
tag 120 dev/eisa/if_fea.c PDQ_OS_IOWR_8(tag, sc->sc_iobase, PDQ_EISA_IO_CMP_1_1,
tag 122 dev/eisa/if_fea.c PDQ_OS_IOWR_8(tag, sc->sc_iobase, PDQ_EISA_IO_CMP_0_1,
tag 124 dev/eisa/if_fea.c PDQ_OS_IOWR_8(tag, sc->sc_iobase, PDQ_EISA_SLOT_CTRL, 0x01);
tag 125 dev/eisa/if_fea.c data = PDQ_OS_IORD_8(tag, sc->sc_iobase, PDQ_EISA_BURST_HOLDOFF);
tag 127 dev/eisa/if_fea.c PDQ_OS_IOWR_8(tag, sc->sc_iobase, PDQ_EISA_BURST_HOLDOFF, data & ~1);
tag 129 dev/eisa/if_fea.c PDQ_OS_IOWR_8(tag, sc->sc_iobase, PDQ_EISA_BURST_HOLDOFF, data | 1);
tag 131 dev/eisa/if_fea.c data = PDQ_OS_IORD_8(tag, sc->sc_iobase, PDQ_EISA_IO_CONFIG_STAT_0);
tag 132 dev/eisa/if_fea.c PDQ_OS_IOWR_8(tag, sc->sc_iobase, PDQ_EISA_IO_CONFIG_STAT_0,
tag 101 dev/flash.c flashattach(struct flash_softc *sc, struct flash_ctl_tag *tag,
tag 108 dev/flash.c sc->sc_tag = tag;
tag 59 dev/i2c/i2c_exec.c iic_exec(i2c_tag_t tag, i2c_op_t op, i2c_addr_t addr, const void *vcmd,
tag 71 dev/i2c/i2c_exec.c if (tag->ic_exec != NULL)
tag 72 dev/i2c/i2c_exec.c return ((*tag->ic_exec)(tag->ic_cookie, op, addr, cmd,
tag 76 dev/i2c/i2c_exec.c if ((error = iic_initiate_xfer(tag, addr, flags)) != 0)
tag 79 dev/i2c/i2c_exec.c if ((error = iic_write_byte(tag, *cmd++, flags)) != 0)
tag 94 dev/i2c/i2c_exec.c (error = iic_initiate_xfer(tag, addr, flags)) != 0)
tag 99 dev/i2c/i2c_exec.c if ((error = iic_read_byte(tag, buf++, flags)) != 0)
tag 104 dev/i2c/i2c_exec.c (error = iic_initiate_xfer(tag, addr, flags)) != 0)
tag 106 dev/i2c/i2c_exec.c if ((error = iic_write_byte(tag, *buf++, flags)) != 0)
tag 113 dev/i2c/i2c_exec.c iic_send_stop(tag, flags);
tag 123 dev/i2c/i2c_exec.c iic_smbus_write_byte(i2c_tag_t tag, i2c_addr_t addr, uint8_t cmd,
tag 127 dev/i2c/i2c_exec.c return (iic_exec(tag, I2C_OP_WRITE_WITH_STOP, addr, &cmd, 1,
tag 137 dev/i2c/i2c_exec.c iic_smbus_read_byte(i2c_tag_t tag, i2c_addr_t addr, uint8_t cmd,
tag 141 dev/i2c/i2c_exec.c return (iic_exec(tag, I2C_OP_READ_WITH_STOP, addr, &cmd, 1,
tag 151 dev/i2c/i2c_exec.c iic_smbus_receive_byte(i2c_tag_t tag, i2c_addr_t addr, uint8_t *valp,
tag 155 dev/i2c/i2c_exec.c return (iic_exec(tag, I2C_OP_READ_WITH_STOP, addr, NULL, 0,
tag 229 dev/ic/aic79xx.c char channel, int lun, u_int tag,
tag 896 dev/ic/aic79xx.c scb_index = aic_le16toh(completion->tag);
tag 1443 dev/ic/aic79xx.c u_int tag;
tag 1450 dev/ic/aic79xx.c tag = SCB_LIST_NULL;
tag 1454 dev/ic/aic79xx.c tag = SCB_GET_TAG(scb);
tag 1460 dev/ic/aic79xx.c 'A', lun, tag, ROLE_INITIATOR,
tag 2219 dev/ic/aic79xx.c u_int tag;
tag 2221 dev/ic/aic79xx.c tag = SCB_LIST_NULL;
tag 2241 dev/ic/aic79xx.c tag = SCB_GET_TAG(scb);
tag 2256 dev/ic/aic79xx.c tag = SCB_GET_TAG(scb);
tag 2260 dev/ic/aic79xx.c tag, ROLE_INITIATOR,
tag 2430 dev/ic/aic79xx.c u_int tag;
tag 2433 dev/ic/aic79xx.c tag = SCB_GET_TAG(scb);
tag 2435 dev/ic/aic79xx.c tag = SCB_LIST_NULL;
tag 2438 dev/ic/aic79xx.c SCB_GET_LUN(scb), tag,
tag 4637 dev/ic/aic79xx.c int tag;
tag 4644 dev/ic/aic79xx.c tag = SCB_LIST_NULL;
tag 4646 dev/ic/aic79xx.c tag = ahd_inb(ahd, INITIATOR_TAG);
tag 4648 dev/ic/aic79xx.c devinfo->lun, tag, ROLE_TARGET,
tag 4660 dev/ic/aic79xx.c /*arg*/tag);
tag 5478 dev/ic/aic79xx.c const pcitag_t tag = ahd->dev_softc->pa_tag;
tag 5493 dev/ic/aic79xx.c cmd = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 5508 dev/ic/aic79xx.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, mod_cmd);
tag 5534 dev/ic/aic79xx.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, cmd |
tag 5679 dev/ic/aic79xx.c ahd_find_scb_by_tag(struct ahd_softc *ahd, u_int tag)
tag 5687 dev/ic/aic79xx.c if (SCB_GET_TAG(scb) == tag)
tag 5699 dev/ic/aic79xx.c if (SCB_GET_TAG(list_scb) == tag)
tag 5709 dev/ic/aic79xx.c if (SCB_GET_TAG(scb) == tag)
tag 6135 dev/ic/aic79xx.c next_scb->hscb->tag = aic_htole16(scb_data->numscbs);
tag 6528 dev/ic/aic79xx.c AUSCBPTR_EN | offsetof(struct hardware_scb, tag));
tag 7113 dev/ic/aic79xx.c char channel, int lun, u_int tag, role_t role)
tag 7132 dev/ic/aic79xx.c && ((tag == SCB_GET_TAG(scb))
tag 7133 dev/ic/aic79xx.c || (tag == SCB_LIST_NULL));
tag 7136 dev/ic/aic79xx.c && ((tag == scb->io_ctx->csio.tag_id)
tag 7137 dev/ic/aic79xx.c || (tag == SCB_LIST_NULL));
tag 7140 dev/ic/aic79xx.c match = ((tag == SCB_GET_TAG(scb)) || (tag == SCB_LIST_NULL));
tag 7267 dev/ic/aic79xx.c int lun, u_int tag, role_t role, uint32_t status,
tag 7329 dev/ic/aic79xx.c if (ahd_match_scb(ahd, scb, target, channel, lun, tag, role)) {
tag 7415 dev/ic/aic79xx.c lun, tag, role, status,
tag 7424 dev/ic/aic79xx.c lun, tag, role)) {
tag 7497 dev/ic/aic79xx.c int lun, u_int tag, role_t role, uint32_t status,
tag 7653 dev/ic/aic79xx.c int lun, u_int tag, role_t role, uint32_t status)
tag 7704 dev/ic/aic79xx.c lun, tag, role) == 0)
tag 7727 dev/ic/aic79xx.c if (ahd_match_scb(ahd, scbp, target, channel, lun, tag, role)) {
tag 7742 dev/ic/aic79xx.c ahd_platform_abort_scbs(ahd, target, channel, lun, tag, role, status);
tag 10000 dev/ic/aic79xx.c bus_dma_tag_t tag = ahd->parent_dmat;
tag 10005 dev/ic/aic79xx.c if ((error = bus_dmamap_create(tag, size, 1, size, 0, BUS_DMA_NOWAIT,
tag 10012 dev/ic/aic79xx.c if ((error = bus_dmamem_alloc(tag, size, PAGE_SIZE, 0, &map->dmaseg,
tag 10019 dev/ic/aic79xx.c if ((error = bus_dmamem_map(tag, &map->dmaseg, nseg, size,
tag 10026 dev/ic/aic79xx.c if ((error = bus_dmamap_load(tag, map->dmamap, map->vaddr, size, NULL,
tag 10038 dev/ic/aic79xx.c bus_dmamem_unmap(tag, map->vaddr, size);
tag 10040 dev/ic/aic79xx.c bus_dmamem_free(tag, &map->dmaseg, 1);
tag 10042 dev/ic/aic79xx.c bus_dmamap_destroy(tag, map->dmamap);
tag 10051 dev/ic/aic79xx.c bus_dma_tag_t tag = ahd->parent_dmat;
tag 10053 dev/ic/aic79xx.c bus_dmamap_unload(tag, map->dmamap);
tag 10054 dev/ic/aic79xx.c bus_dmamem_unmap(tag, map->vaddr, map->size);
tag 10055 dev/ic/aic79xx.c bus_dmamem_free(tag, &map->dmaseg, 1);
tag 10056 dev/ic/aic79xx.c bus_dmamap_destroy(tag, map->dmamap);
tag 10624 dev/ic/aic79xx.c ahd_lookup_scb(struct ahd_softc *ahd, u_int tag)
tag 10628 dev/ic/aic79xx.c if (tag >= AHD_SCB_MAX)
tag 10630 dev/ic/aic79xx.c scb = ahd->scb_data.scbindex[tag];
tag 153 dev/ic/aic79xx.h aic_le16toh(scb->hscb->tag)
tag 536 dev/ic/aic79xx.h /*16*/ uint16_t tag; /* Reused by Sequencer. */
tag 1090 dev/ic/aic79xx.h uint16_t tag;
tag 1399 dev/ic/aic79xx.h u_int tag, role_t role);
tag 1462 dev/ic/aic79xx.h char channel, int lun, u_int tag,
tag 1466 dev/ic/aic79xx.h char channel, int lun, u_int tag,
tag 1473 dev/ic/aic79xx.h char channel, int lun, u_int tag,
tag 237 dev/ic/aic79xx_openbsd.h #define ahd_platform_abort_scbs(ahd, target, channel, lun, tag, role, status)
tag 249 dev/ic/aic7xxx.c static int ahc_createdmamem(bus_dma_tag_t tag,
tag 258 dev/ic/aic7xxx.c static void ahc_freedmamem(bus_dma_tag_t tag,
tag 545 dev/ic/aic7xxx.c scb->hscb->tag);
tag 894 dev/ic/aic7xxx.c scb->hscb->tag);
tag 963 dev/ic/aic7xxx.c SCB_GET_LUN(scb), scb->hscb->tag,
tag 982 dev/ic/aic7xxx.c ahc->scb_data->hscbs[scbptr].tag);
tag 1321 dev/ic/aic7xxx.c u_int tag;
tag 1323 dev/ic/aic7xxx.c tag = SCB_LIST_NULL;
tag 1328 dev/ic/aic7xxx.c tag = scb->hscb->tag;
tag 1331 dev/ic/aic7xxx.c scb->hscb->tag, tag == SCB_LIST_NULL ?
tag 1334 dev/ic/aic7xxx.c saved_lun, tag,
tag 1417 dev/ic/aic7xxx.c u_int tag;
tag 1420 dev/ic/aic7xxx.c tag = scb->hscb->tag;
tag 1422 dev/ic/aic7xxx.c tag = SCB_LIST_NULL;
tag 1425 dev/ic/aic7xxx.c SCB_GET_LUN(scb), tag,
tag 1612 dev/ic/aic7xxx.c hscb->tag);
tag 2371 dev/ic/aic7xxx.c ahc->msgout_buf[ahc->msgout_index++] = scb->hscb->tag;
tag 2414 dev/ic/aic7xxx.c "SCB flags = %x", scb->hscb->tag, scb->hscb->control,
tag 3427 dev/ic/aic7xxx.c int tag;
tag 3434 dev/ic/aic7xxx.c tag = SCB_LIST_NULL;
tag 3436 dev/ic/aic7xxx.c tag = ahc_inb(ahc, INITIATOR_TAG);
tag 3438 dev/ic/aic7xxx.c devinfo->lun, tag, ROLE_TARGET,
tag 3450 dev/ic/aic7xxx.c /*arg*/tag);
tag 3611 dev/ic/aic7xxx.c scb->hscb->tag);
tag 4447 dev/ic/aic7xxx.c next_scb->hscb->tag = ahc->scb_data->numscbs;
tag 4657 dev/ic/aic7xxx.c ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag);
tag 5068 dev/ic/aic7xxx.c char channel, int lun, u_int tag, role_t role)
tag 5092 dev/ic/aic7xxx.c && ((tag == scb->hscb->tag)
tag 5093 dev/ic/aic7xxx.c || (tag == SCB_LIST_NULL));
tag 5096 dev/ic/aic7xxx.c && ((tag == scb->io_ctx->csio.tag_id)
tag 5097 dev/ic/aic7xxx.c || (tag == SCB_LIST_NULL));
tag 5100 dev/ic/aic7xxx.c match = ((tag == scb->hscb->tag) || (tag == SCB_LIST_NULL));
tag 5152 dev/ic/aic7xxx.c ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag);
tag 5154 dev/ic/aic7xxx.c prev_scb->hscb->next = scb->hscb->tag;
tag 5158 dev/ic/aic7xxx.c ahc->qinfifo[ahc->qinfifonext] = scb->hscb->tag;
tag 5163 dev/ic/aic7xxx.c scb->hscb->next = ahc->next_queued_scb->hscb->tag;
tag 5184 dev/ic/aic7xxx.c int lun, u_int tag, role_t role, uint32_t status,
tag 5222 dev/ic/aic7xxx.c ahc_outb(ahc, NEXT_QUEUED_SCB, ahc->next_queued_scb->hscb->tag);
tag 5232 dev/ic/aic7xxx.c if (ahc_match_scb(ahc, scb, target, channel, lun, tag, role)) {
tag 5304 dev/ic/aic7xxx.c ahc->scb_data->scbindex[scb->hscb->tag] = NULL;
tag 5307 dev/ic/aic7xxx.c ahc->qinfifo[qinstart] = scb->hscb->tag;
tag 5310 dev/ic/aic7xxx.c ahc_outb(ahc, NEXT_QUEUED_SCB, scb->hscb->tag);
tag 5315 dev/ic/aic7xxx.c scb->hscb->next = ahc->next_queued_scb->hscb->tag;
tag 5488 dev/ic/aic7xxx.c int lun, u_int tag, int stop_on_first, int remove,
tag 5528 dev/ic/aic7xxx.c tag, ROLE_INITIATOR)) {
tag 5651 dev/ic/aic7xxx.c int lun, u_int tag, role_t role, uint32_t status)
tag 5715 dev/ic/aic7xxx.c lun, tag, role) == 0)
tag 5727 dev/ic/aic7xxx.c ahc_search_disc_list(ahc, target, channel, lun, tag,
tag 5747 dev/ic/aic7xxx.c && ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)))
tag 5761 dev/ic/aic7xxx.c if (ahc_match_scb(ahc, scbp, target, channel, lun, tag, role)) {
tag 5776 dev/ic/aic7xxx.c ahc_platform_abort_scbs(ahc, target, channel, lun, tag, role, status);
tag 6550 dev/ic/aic7xxx.c printf("Kernel NEXTQSCB = %d\n", ahc->next_queued_scb->hscb->tag);
tag 6623 dev/ic/aic7xxx.c /*cur_col =*/ printf("\n%3d ", scb->hscb->tag);
tag 6628 dev/ic/aic7xxx.c ahc_outb(ahc, SCBPTR, scb->hscb->tag);
tag 6643 dev/ic/aic7xxx.c printf("%d ", scb->hscb->tag);
tag 6657 dev/ic/aic7xxx.c printf("%d ", scb->hscb->tag);
tag 7300 dev/ic/aic7xxx.c ahc_createdmamem(bus_dma_tag_t tag, int size, int flags, bus_dmamap_t *mapp,
tag 7306 dev/ic/aic7xxx.c if ((error = bus_dmamap_create(tag, size, 1, size, 0,
tag 7313 dev/ic/aic7xxx.c if ((error = bus_dmamem_alloc(tag, size, PAGE_SIZE, 0,
tag 7320 dev/ic/aic7xxx.c if ((error = bus_dmamem_map(tag, seg, *nseg, size, vaddr,
tag 7327 dev/ic/aic7xxx.c if ((error = bus_dmamap_load(tag, *mapp, *vaddr, size, NULL,
tag 7338 dev/ic/aic7xxx.c bus_dmamem_unmap(tag, *vaddr, size);
tag 7340 dev/ic/aic7xxx.c bus_dmamem_free(tag, seg, *nseg);
tag 7342 dev/ic/aic7xxx.c bus_dmamap_destroy(tag, *mapp);
tag 7350 dev/ic/aic7xxx.c ahc_freedmamem(bus_dma_tag_t tag, int size, bus_dmamap_t map, caddr_t vaddr,
tag 7354 dev/ic/aic7xxx.c bus_dmamap_unload(tag, map);
tag 7355 dev/ic/aic7xxx.c bus_dmamem_unmap(tag, vaddr, size);
tag 7356 dev/ic/aic7xxx.c bus_dmamem_free(tag, seg, nseg);
tag 7357 dev/ic/aic7xxx.c bus_dmamap_destroy(tag, map);
tag 264 dev/ic/aic7xxx_inline.h IO_INLINE struct scb *ahc_lookup_scb(struct ahc_softc *ahc, u_int tag);
tag 368 dev/ic/aic7xxx_inline.h ahc->scb_data->scbindex[hscb->tag] = NULL;
tag 380 dev/ic/aic7xxx_inline.h ahc_lookup_scb(struct ahc_softc *ahc, u_int tag)
tag 384 dev/ic/aic7xxx_inline.h scb = ahc->scb_data->scbindex[tag];
tag 411 dev/ic/aic7xxx_inline.h saved_tag = q_hscb->tag;
tag 415 dev/ic/aic7xxx_inline.h aic_htole32(ahc_hscb_busaddr(ahc, q_hscb->tag)
tag 418 dev/ic/aic7xxx_inline.h q_hscb->tag = saved_tag;
tag 419 dev/ic/aic7xxx_inline.h q_hscb->next = scb->hscb->tag;
tag 426 dev/ic/aic7xxx_inline.h ahc->scb_data->scbindex[scb->hscb->tag] = scb;
tag 437 dev/ic/aic7xxx_inline.h if (scb->hscb->tag == SCB_LIST_NULL
tag 440 dev/ic/aic7xxx_inline.h scb->hscb->tag, scb->hscb->next);
tag 452 dev/ic/aic7xxx_inline.h ahc->qinfifo[ahc->qinfifonext] = scb->hscb->tag;
tag 510 dev/ic/aic7xxx_openbsd.c ahc->scb_data->scbindex[scb->hscb->tag] = scb;
tag 513 dev/ic/aic7xxx_openbsd.c ahc_outb(ahc, SCBPTR, scb->hscb->tag);
tag 514 dev/ic/aic7xxx_openbsd.c ahc_outb(ahc, TARG_IMMEDIATE_SCB, scb->hscb->tag);
tag 645 dev/ic/aic7xxx_openbsd.c printf("%s: SCB %d timed out\n", ahc_name(ahc), scb->hscb->tag);
tag 180 dev/ic/aic7xxx_openbsd.h bus_space_read_1((ahc)->tag, (ahc)->bsh, port)
tag 183 dev/ic/aic7xxx_openbsd.h bus_space_write_1((ahc)->tag, (ahc)->bsh, port, value)
tag 186 dev/ic/aic7xxx_openbsd.h bus_space_write_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count)
tag 189 dev/ic/aic7xxx_openbsd.h bus_space_read_multi_1((ahc)->tag, (ahc)->bsh, port, valp, count)
tag 310 dev/ic/aic7xxx_openbsd.h char channel, int lun, u_int tag,
tag 105 dev/ic/aic7xxx_seeprom.c sd.sd_tag = ahc->tag;
tag 344 dev/ic/aic7xxx_seeprom.c devconfig = pci_conf_read(ahc->bd->pc, ahc->bd->tag, DEVCONFIG);
tag 348 dev/ic/aic7xxx_seeprom.c pci_conf_write(ahc->bd->pc, ahc->bd->tag, DEVCONFIG, devconfig);
tag 484 dev/ic/aic7xxxvar.h /*27*/ uint8_t tag; /*
tag 542 dev/ic/aic7xxxvar.h pcitag_t tag;
tag 949 dev/ic/aic7xxxvar.h bus_space_tag_t tag;
tag 1221 dev/ic/aic7xxxvar.h u_int tag, role_t role);
tag 320 dev/ic/cissreg.h u_int32_t tag;
tag 1860 dev/ic/iha.c u_int8_t tag, target, lun, msg, abortmsg;
tag 1919 dev/ic/iha.c tag = bus_space_read_1(iot, ioh, TUL_SFIFO); /* Read Tag ID */
tag 1920 dev/ic/iha.c pScb = &sc->HCS_Scb[tag];
tag 1146 dev/ic/mpi.c letoh16(sie->tag));
tag 854 dev/ic/mpireg.h u_int16_t tag;
tag 608 dev/ic/ncr53c9x.c target, lun, ecb->cmd.cmd.opcode, ecb->tag[0], ecb->tag[1]));
tag 669 dev/ic/ncr53c9x.c if (ecb->tag[0] != 0) {
tag 691 dev/ic/ncr53c9x.c cmd[1] = ecb->tag[0]; /* msg[1] */
tag 692 dev/ic/ncr53c9x.c cmd[2] = ecb->tag[1]; /* msg[2] */
tag 917 dev/ic/ncr53c9x.c int s, tag;
tag 934 dev/ic/ncr53c9x.c tag = 0;
tag 936 dev/ic/ncr53c9x.c tag = 0;
tag 938 dev/ic/ncr53c9x.c tag = 0;
tag 940 dev/ic/ncr53c9x.c tag = MSG_HEAD_OF_Q_TAG;
tag 942 dev/ic/ncr53c9x.c tag = MSG_SIMPLE_Q_TAG;
tag 946 dev/ic/ncr53c9x.c tag = 0;
tag 964 dev/ic/ncr53c9x.c if (!tag) {
tag 970 dev/ic/ncr53c9x.c tag = 0;
tag 982 dev/ic/ncr53c9x.c ecb->tag[0] = tag;
tag 983 dev/ic/ncr53c9x.c if (tag) {
tag 1014 dev/ic/ncr53c9x.c ecb->tag[1] = i;
tag 1025 dev/ic/ncr53c9x.c if (!li->untagged && tag) {
tag 1189 dev/ic/ncr53c9x.c if (ecb->tag[0] && li->queued[ecb->tag[1]]) {
tag 1191 dev/ic/ncr53c9x.c if (li->queued[ecb->tag[1]] && (li->queued[ecb->tag[1]] != ecb))
tag 1193 dev/ic/ncr53c9x.c "instead of ecb %p", ecb->tag[1],
tag 1195 dev/ic/ncr53c9x.c li->queued[ecb->tag[1]], ecb);
tag 1197 dev/ic/ncr53c9x.c li->queued[ecb->tag[1]] = NULL;
tag 1557 dev/ic/ncr53c9x.c if (ecb->tag[0] &&
tag 1558 dev/ic/ncr53c9x.c li->queued[ecb->tag[1]] != NULL) {
tag 1559 dev/ic/ncr53c9x.c li->queued[ecb->tag[1]] = NULL;
tag 1562 dev/ic/ncr53c9x.c ecb->tag[0] = ecb->tag[1] = 0;
tag 1861 dev/ic/ncr53c9x.c sc->sc_omess[0] = ecb->tag[0];
tag 1862 dev/ic/ncr53c9x.c sc->sc_omess[1] = ecb->tag[1];
tag 2392 dev/ic/ncr53c9x.c ecb->tag[0] == 0) {
tag 2410 dev/ic/ncr53c9x.c if (ecb->tag[0])
tag 126 dev/ic/ncr53c9xvar.h u_char tag[2]; /* TAG bytes */
tag 344 dev/ic/sili.c ccb->ccb_xa.tag, ccb->ccb_xa.state);
tag 345 dev/ic/sili.c if (!(pss_masked & (1 << ccb->ccb_xa.tag))) {
tag 348 dev/ic/sili.c ccb->ccb_xa.tag, pss_masked,
tag 351 dev/ic/sili.c pss_masked &= ~(1 << ccb->ccb_xa.tag);
tag 488 dev/ic/sili.c ccb->ccb_xa.tag = i;
tag 545 dev/ic/sili.c ccb->ccb_xa.tag);
tag 707 dev/ic/sili.c sili_pwrite(sp, SILI_PREG_CAR_LO(ccb->ccb_xa.tag),
tag 709 dev/ic/sili.c sili_pwrite(sp, SILI_PREG_CAR_HI(ccb->ccb_xa.tag),
tag 824 dev/ic/sili.c xa->tag * SILI_CMD_LEN, SILI_CMD_LEN, BUS_DMASYNC_PREWRITE);
tag 862 dev/ic/sili.c xa->tag * SILI_CMD_LEN, SILI_CMD_LEN, BUS_DMASYNC_POSTWRITE);
tag 867 dev/ic/sili.c sp->sp_active &= ~(1 << xa->tag);
tag 874 dev/ic/sili.c "slot %d\n", PORTNAME(sp), xa->state, xa->tag);
tag 895 dev/ic/sili.c sili_port_intr(sp, ccb->ccb_xa.tag);
tag 978 dev/ic/sili.c SILI_PREG_RX_COUNT(xa->tag));
tag 992 dev/ic/sili.c if (sili_port_intr(sp, -1) & (1 << ccb->ccb_xa.tag)) {
tag 1012 dev/ic/sili.c int slot = ccb->ccb_xa.tag;
tag 362 dev/ic/siop.c int offset, target, lun, tag;
tag 401 dev/ic/siop.c tag = siop_cmd->cmd_c.tag;
tag 413 dev/ic/siop.c tag = -1;
tag 416 dev/ic/siop.c } else if (siop_lun->siop_tag[tag].active != siop_cmd) {
tag 418 dev/ic/siop.c "active (%p != %p)\n", lun, tag, siop_cmd,
tag 419 dev/ic/siop.c siop_lun->siop_tag[tag].active);
tag 427 dev/ic/siop.c tag = -1;
tag 699 dev/ic/siop.c tag = bus_space_read_1(sc->sc_c.sc_rt, sc->sc_c.sc_rh,
tag 715 dev/ic/siop.c if (siop_lun->siop_tag[tag].active == NULL) {
tag 719 dev/ic/siop.c target, lun, tag);
tag 722 dev/ic/siop.c siop_cmd = siop_lun->siop_tag[tag].active;
tag 1078 dev/ic/siop.c siop_lun->siop_tag[tag].active = NULL;
tag 1134 dev/ic/siop.c xs->sc_link->lun, siop_cmd->cmd_c.tag);
tag 1226 dev/ic/siop.c int tag = siop_cmd->cmd_tables->msg_out[2];
tag 1232 dev/ic/siop.c sc->sc_c.sc_dev.dv_xname, target, lun, tag, siop_cmd->cmd_c.tag,
tag 1243 dev/ic/siop.c siop_lun->siop_tag[tag].active = NULL;
tag 1246 dev/ic/siop.c siop_cmd->cmd_c.tag = 0;
tag 1271 dev/ic/siop.c int target, lun, tag;
tag 1294 dev/ic/siop.c for (tag = 0; tag <
tag 1297 dev/ic/siop.c tag++) {
tag 1298 dev/ic/siop.c siop_cmd = siop_lun->siop_tag[tag].active;
tag 1301 dev/ic/siop.c siop_lun->siop_tag[tag].active = NULL;
tag 1305 dev/ic/siop.c siop_cmd, tag);
tag 1545 dev/ic/siop.c int target, lun, tag, slot;
tag 1604 dev/ic/siop.c for (tag = 1; tag < SIOP_NTAG; tag++) {
tag 1605 dev/ic/siop.c if (siop_lun->siop_tag[tag].active == NULL)
tag 1608 dev/ic/siop.c if (tag == SIOP_NTAG) /* no free tag */
tag 1611 dev/ic/siop.c tag = 0;
tag 1613 dev/ic/siop.c siop_cmd->cmd_c.tag = tag;
tag 1644 dev/ic/siop.c if (tag > 0) {
tag 1650 dev/ic/siop.c sc->sc_c.sc_dev.dv_xname, target, lun, tag,
tag 1660 dev/ic/siop.c siop_cmd->cmd_tables->msg_out[2] = tag;
tag 1677 dev/ic/siop.c siop_lun->siop_tag[tag].active = siop_cmd;
tag 1681 dev/ic/siop.c if (siop_lun->siop_tag[tag].reseloff > 0)
tag 1683 dev/ic/siop.c siop_lun->siop_tag[tag].reseloff + 1,
tag 91 dev/ic/siopvar_common.h int tag; /* tag used for tagged command queuing */
tag 224 dev/isa/gscsio.c gscsio_acb_init(struct gscsio_acb *acb, i2c_tag_t tag)
tag 242 dev/isa/gscsio.c tag->ic_cookie = acb;
tag 243 dev/isa/gscsio.c tag->ic_acquire_bus = gscsio_acb_acquire_bus;
tag 244 dev/isa/gscsio.c tag->ic_release_bus = gscsio_acb_release_bus;
tag 245 dev/isa/gscsio.c tag->ic_send_start = gscsio_acb_send_start;
tag 246 dev/isa/gscsio.c tag->ic_send_stop = gscsio_acb_send_stop;
tag 247 dev/isa/gscsio.c tag->ic_initiate_xfer = gscsio_acb_initiate_xfer;
tag 248 dev/isa/gscsio.c tag->ic_read_byte = gscsio_acb_read_byte;
tag 249 dev/isa/gscsio.c tag->ic_write_byte = gscsio_acb_write_byte;
tag 253 dev/isa/gscsio.c iba.iba_tag = tag;
tag 226 dev/isa/isapnpres.c isapnp_process_tag(tag, len, buf, card, dev, conf)
tag 227 dev/isa/isapnpres.c u_char tag, len, *buf;
tag 237 dev/isa/isapnpres.c switch (tag) {
tag 312 dev/isa/isapnpres.c switch (tag) {
tag 424 dev/isa/isapnpres.c printf("tag %.2x, len %d: ", tag, len);
tag 445 dev/isa/isapnpres.c u_char d, tag;
tag 486 dev/isa/isapnpres.c tag = d;
tag 494 dev/isa/isapnpres.c tag = (d >> 3) & 0xf;
tag 512 dev/isa/isapnpres.c if (isapnp_process_tag(tag, len, buf, &card, &dev, &conf) == -1) {
tag 519 dev/isa/isapnpres.c while (tag != ISAPNP_TAG_END);
tag 679 dev/pci/agp.c agp_alloc_dmamem(bus_dma_tag_t tag, size_t size, int flags,
tag 686 dev/pci/agp.c if ((error = bus_dmamem_alloc(tag, size, PAGE_SIZE, 0,
tag 691 dev/pci/agp.c if ((error = bus_dmamem_map(tag, seg, *rseg, size, vaddr,
tag 696 dev/pci/agp.c if ((error = bus_dmamap_create(tag, size, *rseg, size, 0,
tag 701 dev/pci/agp.c if ((error = bus_dmamap_load(tag, *mapp, *vaddr, size, NULL,
tag 711 dev/pci/agp.c bus_dmamap_destroy(tag, *mapp);
tag 714 dev/pci/agp.c bus_dmamem_unmap(tag, *vaddr, size);
tag 717 dev/pci/agp.c bus_dmamem_free(tag, seg, *rseg);
tag 727 dev/pci/agp.c agp_free_dmamem(bus_dma_tag_t tag, size_t size, bus_dmamap_t map,
tag 731 dev/pci/agp.c bus_dmamap_unload(tag, map);
tag 732 dev/pci/agp.c bus_dmamap_destroy(tag, map);
tag 733 dev/pci/agp.c bus_dmamem_unmap(tag, vaddr, size);
tag 734 dev/pci/agp.c bus_dmamem_free(tag, seg, nseg);
tag 766 dev/pci/ahc_pci.c bd->tag = pa->pa_tag;
tag 812 dev/pci/ahc_pci.c ahc->tag = st;
tag 1122 dev/pci/ahc_pci.c devconfig = pci_conf_read(ahc->bd->pc, ahc->bd->tag, DEVCONFIG);
tag 1165 dev/pci/ahc_pci.c devconfig = pci_conf_read(ahc->bd->pc, ahc->bd->tag, DEVCONFIG);
tag 1198 dev/pci/ahc_pci.c pci_conf_write(ahc->bd->pc, ahc->bd->tag, DEVCONFIG, devconfig);
tag 1322 dev/pci/ahc_pci.c cmd = pci_conf_read(ahc->bd->pc, ahc->bd->tag, PCIR_COMMAND);
tag 1323 dev/pci/ahc_pci.c pci_conf_write(ahc->bd->pc, ahc->bd->tag, PCIR_COMMAND,
tag 1354 dev/pci/ahc_pci.c status1 = pci_conf_read(ahc->bd->pc, ahc->bd->tag,
tag 1363 dev/pci/ahc_pci.c status1 = pci_conf_read(ahc->bd->pc, ahc->bd->tag, PCI_COMMAND_STATUS_REG + 1);
tag 1383 dev/pci/ahc_pci.c status1 = pci_conf_read(ahc->bd->pc, ahc->bd->tag, PCI_COMMAND_STATUS_REG);
tag 1411 dev/pci/ahc_pci.c pci_conf_write(ahc->bd->pc, ahc->bd->tag, PCI_COMMAND_STATUS_REG, status1);
tag 1640 dev/pci/ahc_pci.c command = pci_conf_read(ahc->bd->pc, ahc->bd->tag, PCI_COMMAND_STATUS_REG);
tag 1642 dev/pci/ahc_pci.c pci_conf_write(ahc->bd->pc, ahc->bd->tag, PCI_COMMAND_STATUS_REG, command);
tag 1659 dev/pci/ahc_pci.c pci_conf_write(ahc->bd->pc, ahc->bd->tag, CSIZE_LATTIME, 0);
tag 1660 dev/pci/ahc_pci.c devconfig = pci_conf_read(ahc->bd->pc, ahc->bd->tag, DEVCONFIG);
tag 1662 dev/pci/ahc_pci.c pci_conf_write(ahc->bd->pc, ahc->bd->tag, DEVCONFIG, devconfig);
tag 953 dev/pci/ahci.c ccb->ccb_xa.tag = i;
tag 561 dev/pci/ahd_pci.c const pcitag_t tag = ahd->dev_softc->pa_tag;
tag 574 dev/pci/ahd_pci.c cmd = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 575 dev/pci/ahd_pci.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG,
tag 607 dev/pci/ahd_pci.c pci_status1 = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 608 dev/pci/ahd_pci.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, pci_status1);
tag 636 dev/pci/ahd_pci.c pci_status1 = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 637 dev/pci/ahd_pci.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, pci_status1);
tag 641 dev/pci/ahd_pci.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, cmd);
tag 786 dev/pci/ahd_pci.c const pcitag_t tag = ahd->dev_softc->pa_tag;
tag 792 dev/pci/ahd_pci.c devconfig = pci_conf_read(pc, tag, DEVCONFIG);
tag 799 dev/pci/ahd_pci.c pci_conf_write(pc, tag, DEVCONFIG, devconfig);
tag 932 dev/pci/ahd_pci.c const pcitag_t tag = ahd->dev_softc->pa_tag;
tag 979 dev/pci/ahd_pci.c pci_status1 = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 980 dev/pci/ahd_pci.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG , pci_status1);
tag 993 dev/pci/ahd_pci.c const pcitag_t tag = ahd->dev_softc->pa_tag;
tag 1006 dev/pci/ahd_pci.c pcix_status = pci_conf_read(pc, tag, ahd->pcix_off + 0x04);
tag 1055 dev/pci/ahd_pci.c pci_conf_write(pc, tag, ahd->pcix_off + 0x04, pcix_status);
tag 1212 dev/pci/auixp.c pcitag_t tag;
tag 1220 dev/pci/auixp.c tag = pa->pa_tag;
tag 1231 dev/pci/auixp.c sc->sc_tag = tag;
tag 1810 dev/pci/auixp.c pcitag_t tag;
tag 1815 dev/pci/auixp.c tag = sc->sc_tag;
tag 1817 dev/pci/auixp.c if (pci_get_capability(pc, tag, PCI_CAP_PWRMGMT, &pmcapreg, 0)) {
tag 1818 dev/pci/auixp.c data = pci_conf_read(pc, tag, pmcapreg + PCI_PMCSR);
tag 1820 dev/pci/auixp.c pci_conf_write(pc, tag, pmcapreg + PCI_PMCSR, state);
tag 944 dev/pci/azalia.c int tag;
tag 947 dev/pci/azalia.c tag = RIRB_UNSOL_TAG(az->unsolq[az->unsolq_rp].resp);
tag 949 dev/pci/azalia.c DPRINTF(("%s: codec#=%d tag=%d\n", __func__, i, tag));
tag 953 dev/pci/azalia.c codec->unsol_event(codec, tag);
tag 2419 dev/pci/azalia_codec.c azalia_stac9200_unsol_event(codec_t *this, int tag)
tag 2424 dev/pci/azalia_codec.c switch (tag) {
tag 2441 dev/pci/azalia_codec.c DPRINTF(("%s: unknown tag: %d\n", __func__, tag));
tag 107 dev/pci/ehci_pci.c pcitag_t tag = pa->pa_tag;
tag 123 dev/pci/ehci_pci.c sc->sc_tag = tag;
tag 148 dev/pci/ehci_pci.c switch(pci_conf_read(pc, tag, PCI_USBREV) & PCI_USBREV_MASK) {
tag 1013 dev/pci/esa.c pcitag_t tag = pa->pa_tag;
tag 1037 dev/pci/esa.c sc->sc_tag = tag;
tag 1291 dev/pci/esa.c pcitag_t tag = sc->sc_tag;
tag 1301 dev/pci/esa.c data = pci_conf_read(pc, tag, PCI_LEGACY_AUDIO_CTRL);
tag 1303 dev/pci/esa.c pci_conf_write(pc, tag, PCI_LEGACY_AUDIO_CTRL, data);
tag 1380 dev/pci/esa.c pcitag_t tag = sc->sc_tag;
tag 1384 dev/pci/esa.c data = pci_conf_read(pc, tag, ESA_PCI_ALLEGRO_CONFIG);
tag 1387 dev/pci/esa.c pci_conf_write(pc, tag, ESA_PCI_ALLEGRO_CONFIG, data);
tag 1390 dev/pci/esa.c data = pci_conf_read(pc, tag, ESA_PCI_ALLEGRO_CONFIG);
tag 1397 dev/pci/esa.c pci_conf_write(pc, tag, ESA_PCI_ALLEGRO_CONFIG, data);
tag 1400 dev/pci/esa.c data = pci_conf_read(pc, tag, ESA_PCI_USER_CONFIG);
tag 1402 dev/pci/esa.c pci_conf_write(pc, tag, ESA_PCI_USER_CONFIG, data);
tag 1598 dev/pci/esa.c pcitag_t tag = sc->sc_tag;
tag 1603 dev/pci/esa.c if (pci_get_capability(pc, tag, PCI_CAP_PWRMGMT, &pmcapreg, 0)) {
tag 1604 dev/pci/esa.c data = pci_conf_read(pc, tag, pmcapreg + PCI_PMCSR);
tag 1606 dev/pci/esa.c pci_conf_write(pc, tag, pmcapreg + PCI_PMCSR, state);
tag 1812 dev/pci/if_bgereg.h #define BGE_MEMWIN_READ(pc, tag, x, val) \
tag 1814 dev/pci/if_bgereg.h pci_conf_write(pc, tag, BGE_PCI_MEMWIN_BASEADDR, \
tag 1819 dev/pci/if_bgereg.h #define BGE_MEMWIN_WRITE(pc, tag, x, val) \
tag 1821 dev/pci/if_bgereg.h pci_conf_write(pc, tag, BGE_PCI_MEMWIN_BASEADDR, \
tag 2250 dev/pci/if_bgereg.h #define PCI_SETBIT(pc, tag, reg, x) \
tag 2251 dev/pci/if_bgereg.h pci_conf_write(pc, tag, reg, (pci_conf_read(pc, tag, reg) | (x)))
tag 2252 dev/pci/if_bgereg.h #define PCI_CLRBIT(pc, tag, reg, x) \
tag 2253 dev/pci/if_bgereg.h pci_conf_write(pc, tag, reg, (pci_conf_read(pc, tag, reg) & ~(x)))
tag 671 dev/pci/if_bnxreg.h #define PCI_SETBIT(pc, tag, reg, x) pci_conf_write(pc, tag, reg, (pci_conf_read(pc, tag, reg) | (x)))
tag 672 dev/pci/if_bnxreg.h #define PCI_CLRBIT(pc, tag, reg, x) pci_conf_write(pc, tag, reg, (pci_conf_read(pc, tag, reg) & ~(x)))
tag 383 dev/pci/if_wpi.c wpi_dma_contig_alloc(bus_dma_tag_t tag, struct wpi_dma_info *dma, void **kvap,
tag 388 dev/pci/if_wpi.c dma->tag = tag;
tag 391 dev/pci/if_wpi.c error = bus_dmamap_create(tag, size, 1, size, 0, flags, &dma->map);
tag 395 dev/pci/if_wpi.c error = bus_dmamem_alloc(tag, size, alignment, 0, &dma->seg, 1, &nsegs,
tag 400 dev/pci/if_wpi.c error = bus_dmamem_map(tag, &dma->seg, 1, size, &dma->vaddr, flags);
tag 404 dev/pci/if_wpi.c error = bus_dmamap_load_raw(tag, dma->map, &dma->seg, 1, size, flags);
tag 425 dev/pci/if_wpi.c bus_dmamap_unload(dma->tag, dma->map);
tag 426 dev/pci/if_wpi.c bus_dmamem_unmap(dma->tag, dma->vaddr, dma->size);
tag 427 dev/pci/if_wpi.c bus_dmamem_free(dma->tag, &dma->seg, 1);
tag 430 dev/pci/if_wpi.c bus_dmamap_destroy(dma->tag, dma->map);
tag 57 dev/pci/if_wpivar.h bus_dma_tag_t tag;
tag 1007 dev/pci/ips.c ips_dmamem_alloc(struct dmamem *dm, bus_dma_tag_t tag, bus_size_t size)
tag 1011 dev/pci/ips.c dm->dm_tag = tag;
tag 1014 dev/pci/ips.c if (bus_dmamap_create(tag, size, 1, size, 0,
tag 1017 dev/pci/ips.c if (bus_dmamem_alloc(tag, size, 0, 0, &dm->dm_seg, 1, &nsegs,
tag 1020 dev/pci/ips.c if (bus_dmamem_map(tag, &dm->dm_seg, 1, size, (caddr_t *)&dm->dm_vaddr,
tag 1023 dev/pci/ips.c if (bus_dmamap_load(tag, dm->dm_map, dm->dm_vaddr, size, NULL,
tag 1030 dev/pci/ips.c bus_dmamem_unmap(tag, dm->dm_vaddr, size);
tag 1032 dev/pci/ips.c bus_dmamem_free(tag, &dm->dm_seg, 1);
tag 1034 dev/pci/ips.c bus_dmamap_destroy(tag, dm->dm_map);
tag 665 dev/pci/pccbb.c pcitag_t tag = sc->sc_tag;
tag 672 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 676 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, reg);
tag 681 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, PCI_CB_LSCP_REG);
tag 685 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_CB_LSCP_REG, reg);
tag 688 dev/pci/pccbb.c PCI_CB_LATENCY(reg), pci_conf_read(pc, tag, PCI_CB_LSCP_REG)));
tag 693 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, PCI_BHLC_REG);
tag 697 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_BHLC_REG, reg);
tag 700 dev/pci/pccbb.c PCI_LATTIMER(reg), pci_conf_read(pc, tag, PCI_BHLC_REG)));
tag 703 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, PCI_BCR_INTR);
tag 707 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_BCR_INTR, reg);
tag 711 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, PCI_CBCTRL);
tag 719 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_CBCTRL, reg);
tag 732 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, PCI12XX_MFUNC);
tag 736 dev/pci/pccbb.c if ((pci_conf_read(pc, tag, PCI_SYSCTRL) &
tag 741 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI12XX_MFUNC, reg);
tag 751 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI12XX_MMCTRL, 0);
tag 753 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, PCI_SYSCTRL);
tag 755 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_SYSCTRL, reg);
tag 756 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, PCI_CBCTRL);
tag 758 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_CBCTRL, reg);
tag 762 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, TOPIC_SOCKET_CTRL);
tag 764 dev/pci/pccbb.c pci_conf_write(pc, tag, TOPIC_SOCKET_CTRL, reg);
tag 766 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, TOPIC_SLOT_CTRL);
tag 773 dev/pci/pccbb.c pci_conf_write(pc, tag, TOPIC_SLOT_CTRL, reg);
tag 777 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, TOPIC_SLOT_CTRL);
tag 786 dev/pci/pccbb.c pci_conf_write(pc, tag, TOPIC_SLOT_CTRL, reg);
tag 794 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, TOPIC100_PMCSR);
tag 796 dev/pci/pccbb.c pci_conf_write(pc, tag, TOPIC100_PMCSR,
tag 810 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, O2MICRO_RESERVED1);
tag 811 dev/pci/pccbb.c pci_conf_write(pc, tag, O2MICRO_RESERVED1, reg &
tag 813 dev/pci/pccbb.c reg = pci_conf_read(pc, tag, O2MICRO_RESERVED2);
tag 814 dev/pci/pccbb.c pci_conf_write(pc, tag, O2MICRO_RESERVED2, reg &
tag 820 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_CB_MEMBASE0, 0xffffffff);
tag 821 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_CB_MEMLIMIT0, 0);
tag 822 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_CB_MEMBASE1, 0xffffffff);
tag 823 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_CB_MEMLIMIT1, 0);
tag 824 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_CB_IOBASE0, 0xffffffff);
tag 825 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_CB_IOLIMIT0, 0);
tag 826 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_CB_IOBASE1, 0xffffffff);
tag 827 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_CB_IOLIMIT1, 0);
tag 1702 dev/pci/pccbb.c cb_show_regs(pc, tag, memt, memh)
tag 1704 dev/pci/pccbb.c pcitag_t tag;
tag 1714 dev/pci/pccbb.c printf(" %08x", pci_conf_read(pc, tag, i));
tag 1720 dev/pci/pccbb.c printf(" %08x", pci_conf_read(pc, tag, i));
tag 1758 dev/pci/pccbb.c pccbb_free_tag(cc, tag)
tag 1760 dev/pci/pccbb.c cardbustag_t tag;
tag 1771 dev/pci/pccbb.c pccbb_conf_read(cc, tag, offset)
tag 1773 dev/pci/pccbb.c cardbustag_t tag;
tag 1778 dev/pci/pccbb.c return pci_conf_read(sc->sc_pc, tag, offset);
tag 1788 dev/pci/pccbb.c pccbb_conf_write(cc, tag, reg, val)
tag 1790 dev/pci/pccbb.c cardbustag_t tag;
tag 1796 dev/pci/pccbb.c pci_conf_write(sc->sc_pc, tag, reg, val);
tag 2936 dev/pci/pccbb.c pcitag_t tag;
tag 3030 dev/pci/pccbb.c tag = sc->sc_tag;
tag 3031 dev/pci/pccbb.c pci_conf_write(pc, tag, offs, win[0].win_start);
tag 3032 dev/pci/pccbb.c pci_conf_write(pc, tag, offs + 4, win[0].win_limit);
tag 3033 dev/pci/pccbb.c pci_conf_write(pc, tag, offs + 8, win[1].win_start);
tag 3034 dev/pci/pccbb.c pci_conf_write(pc, tag, offs + 12, win[1].win_limit);
tag 3036 dev/pci/pccbb.c pci_conf_read(pc, tag, offs),
tag 3037 dev/pci/pccbb.c pci_conf_read(pc, tag, offs + 4) + align,
tag 3038 dev/pci/pccbb.c pci_conf_read(pc, tag, offs + 8),
tag 3039 dev/pci/pccbb.c pci_conf_read(pc, tag, offs + 12) + align));
tag 3042 dev/pci/pccbb.c pcireg_t bcr = pci_conf_read(pc, tag, PCI_BCR_INTR);
tag 3049 dev/pci/pccbb.c pci_conf_write(pc, tag, PCI_BCR_INTR, bcr);
tag 241 dev/pci/pci.c pci_probe_device(struct pci_softc *sc, pcitag_t tag,
tag 251 dev/pci/pci.c pci_decompose_tag(pc, tag, &bus, &device, &function);
tag 253 dev/pci/pci.c bhlcr = pci_conf_read(pc, tag, PCI_BHLC_REG);
tag 257 dev/pci/pci.c id = pci_conf_read(pc, tag, PCI_ID_REG);
tag 258 dev/pci/pci.c csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 259 dev/pci/pci.c class = pci_conf_read(pc, tag, PCI_CLASS_REG);
tag 276 dev/pci/pci.c pa.pa_tag = tag;
tag 294 dev/pci/pci.c pa.pa_intrtag = tag;
tag 299 dev/pci/pci.c pa.pa_intrtag = tag;
tag 306 dev/pci/pci.c intr = pci_conf_read(pc, tag, PCI_INTERRUPT_REG);
tag 333 dev/pci/pci.c reg = pci_conf_read(pc, tag, PCI_BHLC_REG);
tag 336 dev/pci/pci.c if (pci_get_capability(pc, tag,
tag 342 dev/pci/pci.c pd->pd_tag = tag;
tag 352 dev/pci/pci.c pci_get_capability(pci_chipset_tag_t pc, pcitag_t tag, int capid,
tag 358 dev/pci/pci.c reg = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 363 dev/pci/pci.c reg = pci_conf_read(pc, tag, PCI_BHLC_REG);
tag 375 dev/pci/pci.c ofs = PCI_CAPLIST_PTR(pci_conf_read(pc, tag, ofs));
tag 381 dev/pci/pci.c reg = pci_conf_read(pc, tag, ofs);
tag 426 dev/pci/pci.c pcitag_t tag;
tag 429 dev/pci/pci.c tag = pci_make_tag(pc, sc->sc_bus, device, 0);
tag 431 dev/pci/pci.c bhlcr = pci_conf_read(pc, tag, PCI_BHLC_REG);
tag 435 dev/pci/pci.c id = pci_conf_read(pc, tag, PCI_ID_REG);
tag 456 dev/pci/pci.c tag = pci_make_tag(pc, sc->sc_bus, device, function);
tag 457 dev/pci/pci.c ret = pci_probe_device(sc, tag, match, pap);
tag 533 dev/pci/pci.c pcitag_t tag;
tag 564 dev/pci/pci.c tag = pci_make_tag(pc, io->pi_sel.pc_bus, io->pi_sel.pc_dev,
tag 578 dev/pci/pci.c io->pi_data = pci_conf_read(pc, tag, io->pi_reg);
tag 596 dev/pci/pci.c pci_conf_write(pc, tag, io->pi_reg, io->pi_data);
tag 58 dev/pci/pci_map.c obsd_pci_io_find(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,
tag 86 dev/pci/pci_map.c csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 88 dev/pci/pci_map.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG,
tag 90 dev/pci/pci_map.c address = pci_conf_read(pc, tag, reg);
tag 91 dev/pci/pci_map.c pci_conf_write(pc, tag, reg, 0xffffffff);
tag 92 dev/pci/pci_map.c mask = pci_conf_read(pc, tag, reg);
tag 93 dev/pci/pci_map.c pci_conf_write(pc, tag, reg, address);
tag 95 dev/pci/pci_map.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, csr);
tag 123 dev/pci/pci_map.c obsd_pci_mem_find(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,
tag 157 dev/pci/pci_map.c csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 159 dev/pci/pci_map.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG,
tag 161 dev/pci/pci_map.c address = pci_conf_read(pc, tag, reg);
tag 162 dev/pci/pci_map.c pci_conf_write(pc, tag, reg, 0xffffffff);
tag 163 dev/pci/pci_map.c mask = pci_conf_read(pc, tag, reg);
tag 164 dev/pci/pci_map.c pci_conf_write(pc, tag, reg, address);
tag 166 dev/pci/pci_map.c address1 = pci_conf_read(pc, tag, reg + 4);
tag 167 dev/pci/pci_map.c pci_conf_write(pc, tag, reg + 4, 0xffffffff);
tag 168 dev/pci/pci_map.c mask1 = pci_conf_read(pc, tag, reg + 4);
tag 169 dev/pci/pci_map.c pci_conf_write(pc, tag, reg + 4, address1);
tag 172 dev/pci/pci_map.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, csr);
tag 268 dev/pci/pci_map.c pci_mapreg_type(pci_chipset_tag_t pc, pcitag_t tag, int reg)
tag 270 dev/pci/pci_map.c return (_PCI_MAPREG_TYPEBITS(pci_conf_read(pc, tag, reg)));
tag 274 dev/pci/pci_map.c pci_mapreg_probe(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t *typep)
tag 280 dev/pci/pci_map.c csr = pci_conf_read(pc, tag, PCI_COMMAND_STATUS_REG);
tag 282 dev/pci/pci_map.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, csr &
tag 284 dev/pci/pci_map.c address = pci_conf_read(pc, tag, reg);
tag 285 dev/pci/pci_map.c pci_conf_write(pc, tag, reg, 0xffffffff);
tag 286 dev/pci/pci_map.c mask = pci_conf_read(pc, tag, reg);
tag 287 dev/pci/pci_map.c pci_conf_write(pc, tag, reg, address);
tag 289 dev/pci/pci_map.c pci_conf_write(pc, tag, PCI_COMMAND_STATUS_REG, csr);
tag 301 dev/pci/pci_map.c pci_mapreg_info(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t type,
tag 306 dev/pci/pci_map.c return (obsd_pci_io_find(pc, tag, reg, type, basep, sizep,
tag 309 dev/pci/pci_map.c return (obsd_pci_mem_find(pc, tag, reg, type, basep, sizep,
tag 318 dev/pci/pci_map.c bus_space_tag_t tag;
tag 344 dev/pci/pci_map.c tag = pa->pa_iot;
tag 348 dev/pci/pci_map.c tag = pa->pa_memt;
tag 360 dev/pci/pci_map.c if (bus_space_map(tag, base, size, busflags | flags, &handle))
tag 364 dev/pci/pci_map.c *tagp = tag;
tag 2979 dev/pci/pciide.c pcitag_t tag;
tag 3001 dev/pci/pciide.c tag = pci_make_tag(pa->pa_pc, pa->pa_bus, pa->pa_device, 0);
tag 3002 dev/pci/pciide.c id = pci_conf_read(sc->sc_pc, tag, PCI_ID_REG);
tag 3003 dev/pci/pciide.c class = pci_conf_read(sc->sc_pc, tag, PCI_CLASS_REG);
tag 3011 dev/pci/pciide.c tag = pci_make_tag(pa->pa_pc, pa->pa_bus, 17, 0);
tag 3012 dev/pci/pciide.c id = pci_conf_read(sc->sc_pc, tag, PCI_ID_REG);
tag 3013 dev/pci/pciide.c class = pci_conf_read(sc->sc_pc, tag, PCI_CLASS_REG);
tag 234 dev/pci/pcivar.h int pci_probe_device(struct pci_softc *, pcitag_t tag,
tag 125 dev/pci/safe.c void safe_dump_ring(struct safe_softc *sc, const char *tag);
tag 2042 dev/pci/safe.c safe_dump_dmastatus(struct safe_softc *sc, const char *tag)
tag 2044 dev/pci/safe.c printf("%s: ENDIAN 0x%x SRC 0x%x DST 0x%x STAT 0x%x\n", tag,
tag 2050 dev/pci/safe.c safe_dump_intrstate(struct safe_softc *sc, const char *tag)
tag 2053 dev/pci/safe.c tag, READ_REG(sc, SAFE_HI_CFG), READ_REG(sc, SAFE_HI_MASK),
tag 2059 dev/pci/safe.c safe_dump_ringstate(struct safe_softc *sc, const char *tag)
tag 2065 dev/pci/safe.c tag, estat, (estat >> SAFE_PE_ERNGSTAT_NEXT_S),
tag 2070 dev/pci/safe.c safe_dump_request(struct safe_softc *sc, const char* tag, struct safe_ringentry *re)
tag 2075 dev/pci/safe.c printf("%s: %p (%u): csr %x src %x dst %x sa %x len %x\n", tag,
tag 2126 dev/pci/safe.c safe_dump_ring(struct safe_softc *sc, const char *tag)
tag 2129 dev/pci/safe.c safe_dump_intrstate(sc, tag);
tag 2130 dev/pci/safe.c safe_dump_dmastatus(sc, tag);
tag 2131 dev/pci/safe.c safe_dump_ringstate(sc, tag);
tag 2135 dev/pci/safe.c safe_dump_request(sc, tag, re);
tag 149 dev/pci/sdhc_pci.c pcitag_t tag;
tag 153 dev/pci/sdhc_pci.c tag = pci_make_tag(pa->pa_pc, pa->pa_bus, pa->pa_device, 3);
tag 154 dev/pci/sdhc_pci.c id = pci_conf_read(pa->pa_pc, tag, PCI_ID_REG);
tag 162 dev/pci/sdhc_pci.c reg = pci_conf_read(pa->pa_pc, tag, SDHC_PCI_GENERAL_CTL);
tag 164 dev/pci/sdhc_pci.c pci_conf_write(pa->pa_pc, tag, SDHC_PCI_GENERAL_CTL, reg);
tag 216 dev/pci/siop_pci_common.c pcitag_t tag = pa->pa_tag;
tag 245 dev/pci/siop_pci_common.c pci_sc->sc_tag = tag;
tag 84 dev/pci/tga.c pcitag_t tag, struct tga_devconfig *dc);
tag 198 dev/pci/tga.c tga_getdevconfig(memt, pc, tag, dc)
tag 201 dev/pci/tga.c pcitag_t tag;
tag 212 dev/pci/tga.c dc->dc_pcitag = tag;
tag 216 dev/pci/tga.c if (pci_mapreg_info(pc, tag, 0x10,
tag 96 dev/pci/uhci_pci.c pcitag_t tag = pa->pa_tag;
tag 123 dev/pci/uhci_pci.c sc->sc_tag = tag;
tag 144 dev/pci/uhci_pci.c pci_conf_write(pc, tag, PCI_LEGSUP, PCI_LEGSUP_USBPIRQDEN);
tag 146 dev/pci/uhci_pci.c switch(pci_conf_read(pc, tag, PCI_USBREV) & PCI_USBREV_MASK) {
tag 271 dev/pckbc/pckbd.c pckbd_is_console(tag, slot)
tag 272 dev/pckbc/pckbd.c pckbc_tag_t tag;
tag 276 dev/pckbc/pckbd.c (tag == pckbd_consdata.t_kbctag) &&
tag 76 dev/pckbc/pms_intelli.c pmsi_setintellimode(tag, slot)
tag 77 dev/pckbc/pms_intelli.c pckbc_tag_t tag;
tag 87 dev/pckbc/pms_intelli.c res = pckbc_poll_cmd(tag, slot, cmd, 2, 0, 0, 0);
tag 93 dev/pckbc/pms_intelli.c res = pckbc_poll_cmd(tag, slot, cmd, 1, 1, resp, 0);
tag 99 dev/pcmcia/pcmciachip.h #define pcmcia_chip_mem_alloc(tag, handle, size, pcmhp) \
tag 100 dev/pcmcia/pcmciachip.h ((*(tag)->mem_alloc)((handle), (size), (pcmhp)))
tag 102 dev/pcmcia/pcmciachip.h #define pcmcia_chip_mem_free(tag, handle, pcmhp) \
tag 103 dev/pcmcia/pcmciachip.h ((*(tag)->mem_free)((handle), (pcmhp)))
tag 105 dev/pcmcia/pcmciachip.h #define pcmcia_chip_mem_map(tag, handle, kind, card_addr, size, pcmhp, \
tag 107 dev/pcmcia/pcmciachip.h ((*(tag)->mem_map)((handle), (kind), (card_addr), (size), (pcmhp), \
tag 110 dev/pcmcia/pcmciachip.h #define pcmcia_chip_mem_unmap(tag, handle, window) \
tag 111 dev/pcmcia/pcmciachip.h ((*(tag)->mem_unmap)((handle), (window)))
tag 114 dev/pcmcia/pcmciachip.h #define pcmcia_chip_io_alloc(tag, handle, start, size, align, pcihp) \
tag 115 dev/pcmcia/pcmciachip.h ((*(tag)->io_alloc)((handle), (start), (size), (align), (pcihp)))
tag 117 dev/pcmcia/pcmciachip.h #define pcmcia_chip_io_free(tag, handle, pcihp) \
tag 118 dev/pcmcia/pcmciachip.h ((*(tag)->io_free)((handle), (pcihp)))
tag 120 dev/pcmcia/pcmciachip.h #define pcmcia_chip_io_map(tag, handle, width, card_addr, size, pcihp, \
tag 122 dev/pcmcia/pcmciachip.h ((*(tag)->io_map)((handle), (width), (card_addr), (size), (pcihp), \
tag 125 dev/pcmcia/pcmciachip.h #define pcmcia_chip_io_unmap(tag, handle, window) \
tag 126 dev/pcmcia/pcmciachip.h ((*(tag)->io_unmap)((handle), (window)))
tag 129 dev/pcmcia/pcmciachip.h #define pcmcia_chip_intr_establish(tag, handle, pf, ipl, fct, arg, xname) \
tag 130 dev/pcmcia/pcmciachip.h ((*(tag)->intr_establish)((handle), (pf), (ipl), (fct), (arg), (xname)))
tag 132 dev/pcmcia/pcmciachip.h #define pcmcia_chip_intr_disestablish(tag, handle, ih) \
tag 133 dev/pcmcia/pcmciachip.h ((*(tag)->intr_disestablish)((handle), (ih)))
tag 135 dev/pcmcia/pcmciachip.h #define pcmcia_chip_intr_string(tag, handle, ih) \
tag 136 dev/pcmcia/pcmciachip.h ((*(tag)->intr_string)((handle), (ih)))
tag 139 dev/pcmcia/pcmciachip.h #define pcmcia_chip_socket_enable(tag, handle) \
tag 140 dev/pcmcia/pcmciachip.h ((*(tag)->socket_enable)((handle)))
tag 141 dev/pcmcia/pcmciachip.h #define pcmcia_chip_socket_disable(tag, handle) \
tag 142 dev/pcmcia/pcmciachip.h ((*(tag)->socket_disable)((handle)))
tag 152 dev/sbus/stp4020.c return (bus_space_read_2(h->tag, h->regs, o));
tag 162 dev/sbus/stp4020.c bus_space_write_2(h->tag, h->regs, o, v);
tag 173 dev/sbus/stp4020.c return (bus_space_read_2(h->tag, h->regs, o));
tag 185 dev/sbus/stp4020.c bus_space_write_2(h->tag, h->regs, o, v);
tag 56 dev/sbus/stp4020var.h bus_space_tag_t tag; /* socket control space */
tag 47 dev/sdmmc/sdmmcchip.h #define sdmmc_chip_host_reset(tag, handle) \
tag 48 dev/sdmmc/sdmmcchip.h ((tag)->host_reset((handle)))
tag 50 dev/sdmmc/sdmmcchip.h #define sdmmc_chip_host_ocr(tag, handle) \
tag 51 dev/sdmmc/sdmmcchip.h ((tag)->host_ocr((handle)))
tag 52 dev/sdmmc/sdmmcchip.h #define sdmmc_chip_host_maxblklen(tag, handle) \
tag 53 dev/sdmmc/sdmmcchip.h ((tag)->host_maxblklen((handle)))
tag 55 dev/sdmmc/sdmmcchip.h #define sdmmc_chip_card_detect(tag, handle) \
tag 56 dev/sdmmc/sdmmcchip.h ((tag)->card_detect((handle)))
tag 58 dev/sdmmc/sdmmcchip.h #define sdmmc_chip_bus_power(tag, handle, ocr) \
tag 59 dev/sdmmc/sdmmcchip.h ((tag)->bus_power((handle), (ocr)))
tag 60 dev/sdmmc/sdmmcchip.h #define sdmmc_chip_bus_clock(tag, handle, freq) \
tag 61 dev/sdmmc/sdmmcchip.h ((tag)->bus_clock((handle), (freq)))
tag 63 dev/sdmmc/sdmmcchip.h #define sdmmc_chip_exec_command(tag, handle, cmdp) \
tag 64 dev/sdmmc/sdmmcchip.h ((tag)->exec_command((handle), (cmdp)))
tag 66 dev/sdmmc/sdmmcchip.h #define sdmmc_chip_card_intr_mask(tag, handle, enable) \
tag 67 dev/sdmmc/sdmmcchip.h ((tag)->card_intr_mask((handle), (enable)))
tag 68 dev/sdmmc/sdmmcchip.h #define sdmmc_chip_card_intr_ack(tag, handle) \
tag 69 dev/sdmmc/sdmmcchip.h ((tag)->card_intr_ack((handle)))
tag 1973 dev/usb/if_zyd.c if (UGETW(desc->tag) == ZYD_TAG_MULTIFRAME) {
tag 1023 dev/usb/if_zydreg.h uWord tag;
tag 1913 dev/usb/umass.c int tag = UGETDW(cbw->dCBWTag);
tag 1919 dev/usb/umass.c sc->sc_dev.dv_xname, tag, clen,
tag 1931 dev/usb/umass.c int tag = UGETDW(csw->dCSWTag);
tag 1937 dev/usb/umass.c tag, sig, (sig == CSWSIGNATURE? "valid":"invalid"),
tag 1938 dev/usb/umass.c tag, res,
tag 98 dev/usb/usb_mem.c usb_block_allocmem(bus_dma_tag_t tag, size_t size, size_t align,
tag 118 dev/usb/usb_mem.c if (p->tag == tag && p->size >= size && p->align >= align) {
tag 142 dev/usb/usb_mem.c p->tag = tag;
tag 145 dev/usb/usb_mem.c error = bus_dmamem_alloc(tag, p->size, align, 0,
tag 151 dev/usb/usb_mem.c error = bus_dmamem_map(tag, p->segs, p->nsegs, p->size,
tag 156 dev/usb/usb_mem.c error = bus_dmamap_create(tag, p->size, 1, p->size,
tag 161 dev/usb/usb_mem.c error = bus_dmamap_load(tag, p->map, p->kaddr, p->size, NULL,
tag 170 dev/usb/usb_mem.c bus_dmamap_destroy(tag, p->map);
tag 172 dev/usb/usb_mem.c bus_dmamem_unmap(tag, p->kaddr, p->size);
tag 174 dev/usb/usb_mem.c bus_dmamem_free(tag, p->segs, p->nsegs);
tag 190 dev/usb/usb_mem.c bus_dmamap_unload(p->tag, p->map);
tag 191 dev/usb/usb_mem.c bus_dmamap_destroy(p->tag, p->map);
tag 192 dev/usb/usb_mem.c bus_dmamem_unmap(p->tag, p->kaddr, p->size);
tag 193 dev/usb/usb_mem.c bus_dmamem_free(p->tag, p->segs, p->nsegs);
tag 218 dev/usb/usb_mem.c bus_dma_tag_t tag = bus->dmatag;
tag 229 dev/usb/usb_mem.c err = usb_block_allocmem(tag, size, align, &p->block);
tag 240 dev/usb/usb_mem.c if (f->block->tag == tag)
tag 244 dev/usb/usb_mem.c err = usb_block_allocmem(tag, USB_MEM_BLOCK, USB_MEM_SMALL,&b);
tag 43 dev/usb/usb_mem.h bus_dma_tag_t tag;
tag 158 isofs/udf/ecma167-udf.h struct desc_tag tag;
tag 165 isofs/udf/ecma167-udf.h struct desc_tag tag;
tag 172 isofs/udf/ecma167-udf.h struct desc_tag tag;
tag 198 isofs/udf/ecma167-udf.h struct desc_tag tag;
tag 276 isofs/udf/ecma167-udf.h struct desc_tag tag;
tag 286 isofs/udf/ecma167-udf.h struct desc_tag tag;
tag 302 isofs/udf/ecma167-udf.h struct desc_tag tag;
tag 325 isofs/udf/ecma167-udf.h struct desc_tag tag;
tag 342 isofs/udf/ecma167-udf.h struct desc_tag tag;
tag 370 isofs/udf/ecma167-udf.h struct desc_tag tag;
tag 141 isofs/udf/udf_subr.c if (!udf_checktag(&pvd->tag, TAGID_PRI_VOL))
tag 194 isofs/udf/udf_vfsops.c udf_checktag(struct desc_tag *tag, uint16_t id)
tag 199 isofs/udf/udf_vfsops.c itag = (uint8_t *)tag;
tag 201 isofs/udf/udf_vfsops.c if (letoh16(tag->id) != id)
tag 208 isofs/udf/udf_vfsops.c if (cksum == tag->cksum)
tag 296 isofs/udf/udf_vfsops.c if (!udf_checktag(&lvd->tag, TAGID_LOGVOL)) {
tag 307 isofs/udf/udf_vfsops.c if (!udf_checktag(&pd->tag, TAGID_PARTITION)) {
tag 354 isofs/udf/udf_vfsops.c if (!udf_checktag(&fsd->tag, TAGID_FSD)) {
tag 381 isofs/udf/udf_vfsops.c if ((error = udf_checktag(&root_fentry->tag, TAGID_FENTRY))) {
tag 550 isofs/udf/udf_vfsops.c if (udf_checktag(&fe->tag, TAGID_FENTRY)) {
tag 718 isofs/udf/udf_vfsops.c if (udf_checktag(&ump->um_stbl->tag, 0)) {
tag 745 isofs/udf/udf_vnops.c if (udf_checktag(&fid->tag, TAGID_FID)) {
tag 1037 isofs/udf/udf_vnops.c if (udf_checktag(&fid->tag, TAGID_FID)) {
tag 1222 isofs/udf/udf_vnops.c struct icb_tag *tag;
tag 1230 isofs/udf/udf_vnops.c tag = &fentry->icbtag;
tag 1232 isofs/udf/udf_vnops.c switch (letoh16(tag->strat_type)) {
tag 1241 isofs/udf/udf_vnops.c printf("Unknown strategy type %d\n", tag->strat_type);
tag 1245 isofs/udf/udf_vnops.c switch (letoh16(tag->flags) & 0x7) {
tag 1309 isofs/udf/udf_vnops.c tag->flags & 0x7);
tag 199 kern/uipc_mbuf.c m->m_pkthdr.pf.tag = 0;
tag 741 kern/vfs_lockf.c lf_print(char *tag, struct lockf *lock)
tag 745 kern/vfs_lockf.c printf("%s: lock %p for ", tag, lock);
tag 765 kern/vfs_lockf.c lf_printlist(char *tag, struct lockf *lock)
tag 769 kern/vfs_lockf.c printf("%s: Lock list:\n", tag);
tag 337 kern/vfs_subr.c getnewvnode(enum vtagtype tag, struct mount *mp, int (**vops)(void *),
tag 419 kern/vfs_subr.c vp->v_tag = tag;
tag 285 lib/libsa/bootp.c u_char tag;
tag 297 lib/libsa/bootp.c tag = *cp++;
tag 299 lib/libsa/bootp.c if (tag == TAG_END)
tag 302 lib/libsa/bootp.c if (tag == TAG_SUBNET_MASK)
tag 304 lib/libsa/bootp.c if (tag == TAG_GATEWAY)
tag 306 lib/libsa/bootp.c if (tag == TAG_SWAPSERVER)
tag 308 lib/libsa/bootp.c if (tag == TAG_DOMAIN_SERVER)
tag 310 lib/libsa/bootp.c if (tag == TAG_ROOTPATH) {
tag 314 lib/libsa/bootp.c if (tag == TAG_HOSTNAME) {
tag 318 lib/libsa/bootp.c if (tag == TAG_DOMAINNAME) {
tag 86 net/if_pppoe.c u_int16_t tag;
tag 403 net/if_pppoe.c u_int16_t tag, len;
tag 461 net/if_pppoe.c tag = 0;
tag 472 net/if_pppoe.c tag = ntohs(pt->tag);
tag 476 net/if_pppoe.c devname, tag, len);
tag 479 net/if_pppoe.c switch (tag) {
tag 84 net/if_vlan.c #define TAG_HASH(tag) (tag & vlan_tagmask)
tag 278 net/if_vlan.c u_int tag;
tag 287 net/if_vlan.c tag = EVL_VLANOFTAG(ntohs(*mtod(m, u_int16_t *)));
tag 289 net/if_vlan.c LIST_FOREACH(ifv, &vlan_tagh[TAG_HASH(tag)], ifv_list) {
tag 290 net/if_vlan.c if (m->m_pkthdr.rcvif == ifv->ifv_p && tag == ifv->ifv_tag)
tag 327 net/if_vlan.c vlan_config(struct ifvlan *ifv, struct ifnet *p, u_int16_t tag)
tag 335 net/if_vlan.c if (ifv->ifv_p == p && ifv->ifv_tag == tag) /* noop */
tag 402 net/if_vlan.c ifv->ifv_tag = tag;
tag 404 net/if_vlan.c LIST_INSERT_HEAD(&vlan_tagh[TAG_HASH(tag)], ifv, ifv_list);
tag 79 net/if_vlan_var.h #define EVL_VLANOFTAG(tag) ((tag) & EVL_VLID_MASK)
tag 80 net/if_vlan_var.h #define EVL_PRIOFTAG(tag) (((tag) >> 13) & 7)
tag 997 net/pf.c TH_RST|TH_ACK, 0, 0, 0, 1, cur->tag, NULL, NULL);
tag 1034 net/pf.c if (cur->tag)
tag 1035 net/pf.c pf_tag_unref(cur->tag);
tag 1560 net/pf.c u_int8_t flags, u_int16_t win, u_int16_t mss, u_int8_t ttl, int tag,
tag 1596 net/pf.c if (tag)
tag 1598 net/pf.c m->m_pkthdr.pf.tag = rtag;
tag 1845 net/pf.c pf_match_tag(struct mbuf *m, struct pf_rule *r, int *tag)
tag 1847 net/pf.c if (*tag == -1)
tag 1848 net/pf.c *tag = m->m_pkthdr.pf.tag;
tag 1850 net/pf.c return ((!r->match_tag_not && r->match_tag == *tag) ||
tag 1851 net/pf.c (r->match_tag_not && r->match_tag != *tag));
tag 1855 net/pf.c pf_tag_packet(struct mbuf *m, int tag, int rtableid)
tag 1857 net/pf.c if (tag <= 0 && rtableid < 0)
tag 1860 net/pf.c if (tag > 0)
tag 1861 net/pf.c m->m_pkthdr.pf.tag = tag;
tag 2335 net/pf.c int tag = -1;
tag 2380 net/pf.c else if (r->match_tag && !pf_match_tag(m, r, &tag))
tag 2387 net/pf.c if (r->tag)
tag 2388 net/pf.c tag = r->tag;
tag 2401 net/pf.c if (pf_tag_packet(m, tag, rtableid))
tag 2855 net/pf.c int tag = -1, rtableid = -1;
tag 3082 net/pf.c else if (r->match_tag && !pf_match_tag(m, r, &tag))
tag 3090 net/pf.c if (r->tag)
tag 3091 net/pf.c tag = r->tag;
tag 3232 net/pf.c if (pf_tag_packet(m, tag, rtableid)) {
tag 3454 net/pf.c if (tag > 0) {
tag 3455 net/pf.c pf_tag_ref(tag);
tag 3456 net/pf.c s->tag = tag;
tag 3505 net/pf.c int tag = -1;
tag 3534 net/pf.c else if (r->match_tag && !pf_match_tag(m, r, &tag))
tag 3566 net/pf.c if (pf_tag_packet(m, tag, -1)) {
tag 3664 net/pf.c (*state)->src.mss, 0, 0, (*state)->tag, NULL, NULL);
tag 3679 net/pf.c (*state)->tag, NULL, NULL);
tag 5533 net/pf.c if ((s && s->tag) || r->rtableid)
tag 5534 net/pf.c pf_tag_packet(m, s ? s->tag : 0, r->rtableid);
tag 5914 net/pf.c if ((s && s->tag) || r->rtableid)
tag 5915 net/pf.c pf_tag_packet(m, s ? s->tag : 0, r->rtableid);
tag 331 net/pf_ioctl.c pf_tag_unref(rule->tag);
tag 357 net/pf_ioctl.c struct pf_tagname *tag, *p = NULL;
tag 360 net/pf_ioctl.c TAILQ_FOREACH(tag, head, entries)
tag 361 net/pf_ioctl.c if (strcmp(tagname, tag->name) == 0) {
tag 362 net/pf_ioctl.c tag->ref++;
tag 363 net/pf_ioctl.c return (tag->tag);
tag 375 net/pf_ioctl.c p->tag == new_tagid; p = TAILQ_NEXT(p, entries))
tag 376 net/pf_ioctl.c new_tagid = p->tag + 1;
tag 382 net/pf_ioctl.c tag = (struct pf_tagname *)malloc(sizeof(struct pf_tagname),
tag 384 net/pf_ioctl.c if (tag == NULL)
tag 386 net/pf_ioctl.c bzero(tag, sizeof(struct pf_tagname));
tag 387 net/pf_ioctl.c strlcpy(tag->name, tagname, sizeof(tag->name));
tag 388 net/pf_ioctl.c tag->tag = new_tagid;
tag 389 net/pf_ioctl.c tag->ref++;
tag 392 net/pf_ioctl.c TAILQ_INSERT_BEFORE(p, tag, entries);
tag 394 net/pf_ioctl.c TAILQ_INSERT_TAIL(head, tag, entries);
tag 396 net/pf_ioctl.c return (tag->tag);
tag 402 net/pf_ioctl.c struct pf_tagname *tag;
tag 404 net/pf_ioctl.c TAILQ_FOREACH(tag, head, entries)
tag 405 net/pf_ioctl.c if (tag->tag == tagid) {
tag 406 net/pf_ioctl.c strlcpy(p, tag->name, PF_TAG_NAME_SIZE);
tag 412 net/pf_ioctl.c tag_unref(struct pf_tags *head, u_int16_t tag)
tag 416 net/pf_ioctl.c if (tag == 0)
tag 421 net/pf_ioctl.c if (tag == p->tag) {
tag 444 net/pf_ioctl.c pf_tag_ref(u_int16_t tag)
tag 449 net/pf_ioctl.c if (t->tag == tag)
tag 456 net/pf_ioctl.c pf_tag_unref(u_int16_t tag)
tag 458 net/pf_ioctl.c tag_unref(&pf_tags, tag);
tag 1201 net/pf_ioctl.c if ((rule->tag = pf_tagname2tag(rule->tagname)) == 0)
tag 1444 net/pf_ioctl.c if ((newrule->tag =
tag 559 net/pfvar.h u_int16_t tag;
tag 748 net/pfvar.h u_int16_t tag;
tag 1276 net/pfvar.h u_int16_t tag; /* tag id */
tag 1282 net/pfvar.h u_int16_t tag;
tag 700 net80211/ieee80211_input.c ieee80211_ssid_mismatch(struct ieee80211com *ic, const char *tag,
tag 704 net80211/ieee80211_input.c ether_sprintf((u_int8_t *)mac), tag);
tag 672 netinet/icmp6.h #define icmp6_ifstat_inc(ifp, tag) \
tag 675 netinet/icmp6.h ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->icmp6_ifstat->tag++; \
tag 452 netinet6/in6_var.h #define in6_ifstat_inc(ifp, tag) \
tag 455 netinet6/in6_var.h ((struct in6_ifextra *)((ifp)->if_afdata[AF_INET6]))->in6_ifstat->tag++; \
tag 83 sys/mbuf.h u_int16_t tag; /* tag id */
tag 87 uvm/uvm_aobj.c ((ELT)->tag << UAO_SWHASH_CLUSTER_SHIFT)
tag 121 uvm/uvm_aobj.c voff_t tag; /* our 'tag' */
tag 243 uvm/uvm_aobj.c if (elt->tag == page_tag)
tag 257 uvm/uvm_aobj.c elt->tag = page_tag;
tag 1299 uvm/uvm_page.c uvm_page_own(pg, tag)
tag 1301 uvm/uvm_page.c char *tag;
tag 1304 uvm/uvm_page.c if (tag) {
tag 1312 uvm/uvm_page.c pg->owner_tag = tag;