/netbsd-6-1-5-RELEASE/sys/arch/prep/pci/ |
H A D | prep_pciconf_direct.c | 130 pcitag_t tag; local 135 tag = (bus << 16) | (device << 11) | (function << 8); 137 return tag; 141 prep_pci_direct_decompose_tag(void *v, pcitag_t tag, int *bp, int *dp, argument 146 *bp = (tag >> 16) & 0xff; 148 *dp = (tag >> 11) & 0x1f; 150 *fp = (tag >> 8) & 0x7; 155 prep_pci_direct_conf_read(void *v, pcitag_t tag, int reg) argument 161 prep_pci_direct_decompose_tag(v, tag, &bus, &device, &function); 169 tag 181 prep_pci_direct_conf_write(void *v, pcitag_t tag, int reg, pcireg_t data) argument [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/groff/src/include/ |
H A D | index.h | 38 struct tag { struct
|
/netbsd-6-1-5-RELEASE/sys/arch/alpha/pci/ |
H A D | cia_pci.c | 85 cia_decompose_tag(void *cpv, pcitag_t tag, int *bp, int *dp, int *fp) argument 89 *bp = (tag >> 16) & 0xff; 91 *dp = (tag >> 11) & 0x1f; 93 *fp = (tag >> 8) & 0x7; 97 cia_conf_read(void *cpv, pcitag_t tag, int offset) argument 125 pci_decompose_tag(&ccp->cc_pc, tag, &secondary, 0, 0); 142 tag | (offset & ~0x03)); 146 tag | (offset & ~0x03)); 150 tag << 5UL | /* XXX */ 184 printf("cia_conf_read: tag 192 cia_conf_write(void *cpv, pcitag_t tag, int offset, pcireg_t data) argument [all...] |
H A D | lca_pci.c | 88 lca_decompose_tag(void *cpv, pcitag_t tag, int *bp, int *dp, int *fp) argument 92 *bp = (tag >> 16) & 0xff; 94 *dp = (tag >> 11) & 0x1f; 96 *fp = (tag >> 8) & 0x7; 100 lca_conf_read(void *cpv, pcitag_t tag, int offset) argument 109 pci_decompose_tag(&lcp->lc_pc, tag, &secondary, &device, 0); 117 * on the LCA, must frob the tag used for 122 tag = (1 << (device + 11)) | (tag & 0x7ff); 126 tag << 150 lca_conf_write(void *cpv, pcitag_t tag, int offset, pcireg_t data) argument [all...] |
H A D | irongate_pci.c | 103 irongate_decompose_tag(void *ipv, pcitag_t tag, int *bp, int *dp, int *fp) argument 107 *bp = (tag >> 16) & 0xff; 109 *dp = (tag >> 11) & 0x1f; 111 *fp = (tag >> 8) & 0x7; 115 irongate_conf_read(void *ipv, pcitag_t tag, int offset) argument 126 irongate_decompose_tag(ipv, tag, NULL, &d, NULL); 130 return (irongate_conf_read0(ipv, tag, offset)); 134 irongate_conf_read0(void *ipv, pcitag_t tag, int offset) argument 140 REGVAL(PCI_CONF_ADDR) = (CONFADDR_ENABLE | tag | (offset & 0xff)); 151 irongate_conf_write(void *ipv, pcitag_t tag, in argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/sandpoint/stand/altboot/ |
H A D | pciide.c | 55 pciide_match(unsigned tag, void *data) argument 59 v = pcicfgread(tag, PCI_ID_REG); 83 pciide_init(unsigned tag, void *data) argument 93 l->tag = tag; 99 val = pcicfgread(tag, PCI_CLASS_REG); 105 l->bar[0] = pciiobase + (pcicfgread(tag, 0x10) &~ 01); 106 l->bar[1] = pciiobase + (pcicfgread(tag, 0x14) &~ 01); 107 l->bar[2] = pciiobase + (pcicfgread(tag, 0x18) &~ 01); 108 l->bar[3] = pciiobase + (pcicfgread(tag, [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/liblber/ |
H A D | encode.c | 76 /* Prepend tag to ptr, which points to the end of a tag buffer */ 78 ber_prepend_tag( unsigned char *ptr, ber_tag_t tag ) 81 *--ptr = (unsigned char) tag & 0xffU; 82 } while ( (tag >>= 8) != 0 ); 175 ber_tag_t tag ) 193 ptr = ber_prepend_tag( ptr, tag ); 202 ber_tag_t tag ) 204 if ( tag == LBER_DEFAULT ) { 205 tag [all...] |
H A D | dtest.c | 59 ber_tag_t tag; local 92 tag = ber_get_next( sb, &len, ber); 93 if( tag != LBER_ERROR ) break; 102 printf("decode: message tag 0x%lx and length %ld\n", 103 (unsigned long) tag, (long) len ); 113 tag = ber_scanf( ber, fmt, &buf[0], &len ); 115 if( tag == LBER_ERROR ) {
|
/netbsd-6-1-5-RELEASE/external/bsd/openldap/dist/libraries/libldap/ |
H A D | getattr.c | 36 ber_tag_t tag; local 62 tag = ber_scanf( ber, "{xl{" /*}}*/, &len ); 63 if( tag == LBER_ERROR ) { 85 tag = ber_scanf( ber, "{ax}", &attr ); 86 if( tag == LBER_ERROR ) { 100 ber_tag_t tag; local 115 tag = ber_scanf( ber, "{ax}", &attr ); 116 if( tag == LBER_ERROR ) { 133 ber_tag_t tag; local 151 tag [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/ibm4xx/pci/ |
H A D | pci_machdep.c | 106 pcitag_t tag; local 112 tag = 0x80000000 | (bus << 16) | (device << 11) | (function << 8); 114 return tag; 118 ibm4xx_pci_decompose_tag(void *v, pcitag_t tag, int *bp, int *dp, int *fp) argument 122 *bp = (tag >> 16) & 0xff; 124 *dp = (tag >> 11) & 0x1f; 126 *fp = (tag >> 8) & 0x07; 130 ibm4xx_pci_conf_read(void *v, pcitag_t tag, int reg) argument 135 bus_space_write_4(&pci_iot, pci_ioh, PCIC_CFGADDR, tag | reg); 143 ibm4xx_pci_conf_write(void *v, pcitag_t tag, in argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/dev/ |
H A D | sbusvar.h | 82 #define sbus_promaddr_to_handle(tag, promaddr, hp) \ 83 sparc_promaddr_to_handle(tag, promaddr, hp)
|
/netbsd-6-1-5-RELEASE/sys/arch/mips/bonito/ |
H A D | bonito_iobc.c | 105 uint32_t line, tag; local 113 tag = REGVAL(BONITO_PCICACHETAG); 114 if (tag & TAG_AVAL) { 115 tagaddr = (tag & TAG_ADDR) << IOBC_LINESHIFT; 134 uint32_t line, tag; local 142 tag = REGVAL(BONITO_PCICACHETAG); 143 if (tag & TAG_AVAL) { 144 tagaddr = (tag & TAG_ADDR) << IOBC_LINESHIFT;
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/ |
H A D | py-symbol.c | 52 enum tag {one, two, three}; enum 53 enum tag t = one;
|
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/libstdc++-v3/testsuite/ |
H A D | testsuite_allocator.cc | 42 check_construct_destroy(const char* tag, int expected_c, int expected_d) argument 49 std::cerr << tag << ": "
|
/netbsd-6-1-5-RELEASE/sys/arch/sandpoint/pci/ |
H A D | pci_machdep.c | 107 pcitag_t tag; local 110 tag = pci_make_tag(pba->pba_pc, pba->pba_bus, 11, 0); 111 dev11 = pci_conf_read(pba->pba_pc, tag, PCI_CLASS_REG); 121 tag = pci_make_tag(pba->pba_pc, pba->pba_bus, 22, 0); 122 dev22 = pci_conf_read(pba->pba_pc, tag, PCI_CLASS_REG); 128 tag = pci_make_tag(pba->pba_pc, pba->pba_bus, 11, 0); 129 dev11 = pci_conf_read(pba->pba_pc, tag, PCI_CLASS_REG); 135 tag = pci_make_tag(pba->pba_pc, pba->pba_bus, 15, 0); 136 dev15 = pci_conf_read(pba->pba_pc, tag, PCI_ID_REG); 142 tag 181 pcitag_t tag; local 192 pci_decompose_tag(pci_chipset_tag_t pc, pcitag_t tag, int *bp, int *dp, int *fp) argument 212 pci_conf_read(pci_chipset_tag_t pc, pcitag_t tag, int reg) argument 223 pci_conf_write(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t data) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | cyber.c | 47 write_siig10x_usrreg(pci_chipset_tag_t pc, pcitag_t tag, int usrregno, argument 52 newregs = curregs = pci_conf_read(pc, tag, SIIG10x_USR_BASE); 84 pci_conf_write(pc, tag, SIIG10x_USR_BASE, newregs); 88 write_siig20x_usrreg(pci_chipset_tag_t pc, pcitag_t tag, int usrregno, argument 105 newreg = curreg = pci_conf_read(pc, tag, offset); 113 pci_conf_write(pc, tag, offset, newreg);
|
H A D | if_en_pci.c | 315 pcitag_t tag = pa->pa_tag; local 320 t_data = pci_conf_read(id, tag, EN_TONGA) & 0xffffff00; 323 pci_conf_write(id, tag, EN_TONGA, data); 328 pci_conf_write(id, tag, EN_TONGA, data); 330 pci_conf_write(id, tag, EN_TONGA, data); 332 pci_conf_write(id, tag, EN_TONGA, data); 334 pci_conf_write(id, tag, EN_TONGA, data); 340 pci_conf_write(id, tag, EN_TONGA, data); 342 pci_conf_write(id, tag, EN_TONGA, data); 344 pci_conf_write(id, tag, EN_TONG [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/x86/pci/ |
H A D | pci_addr_fixup.c | 147 pciaddr_resource_reserve(pci_chipset_tag_t pc, pcitag_t tag, argument 150 pciaddr_print_devid(pc, tag); 151 pciaddr_resource_manage(pc, tag, 157 pciaddr_resource_allocate(pci_chipset_tag_t pc, pcitag_t tag, argument 160 pciaddr_print_devid(pc, tag); 161 pciaddr_resource_manage(pc, tag, 167 pciaddr_resource_manage(pci_chipset_tag_t pc, pcitag_t tag, argument 175 val = pci_conf_read(pc, tag, PCI_BHLC_REG); 198 val = pci_conf_read(pc, tag, mapreg); 199 pci_conf_write(pc, tag, mapre 259 pciaddr_do_resource_allocate(pci_chipset_tag_t pc, pcitag_t tag, int mapreg, void *ctx, int type, bus_addr_t *addr, bus_size_t size) argument 309 pciaddr_do_resource_reserve(pci_chipset_tag_t pc, pcitag_t tag, int mapreg, void *ctx, int type, bus_addr_t *addr, bus_size_t size) argument 341 pciaddr_print_devid(pci_chipset_tag_t pc, pcitag_t tag) argument 353 device_is_agp(pci_chipset_tag_t pc, pcitag_t tag) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mips/atheros/dev/ |
H A D | arpci.c | 106 arpci_decompose_tag(void *v, pcitag_t tag, int *busp, int *devp, int *funcp) argument 108 if (tag & 1) { 110 *busp = (tag >> 16) & 255; 112 *devp = (tag >> 11) & 31; 117 if (tag & ~0x7ff) { 118 *devp = ffs(tag >> 11) - 1; 125 *funcp = (tag >> 8) & 7; 129 arpci_conf_read(void *v, pcitag_t tag, int reg) argument 134 if ((tag & 0x00ff0001) == 1) { 135 KASSERT(((tag >> 1 173 arpci_conf_write(void *v, pcitag_t tag, int reg, pcireg_t data) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/external/bsd/drm/dist/bsd-core/ |
H A D | ati_pcigart.c | 76 ret = bus_dma_tag_create(NULL, PAGE_SIZE, 0, /* tag, align, boundary */ 82 &dmah->tag); 92 ret = bus_dmamem_alloc(dmah->tag, &dmah->vaddr, flags, &dmah->map); 94 bus_dma_tag_destroy(dmah->tag); 100 ret = bus_dmamap_load(dmah->tag, dmah->map, dmah->vaddr, 103 bus_dmamem_free(dmah->tag, dmah->vaddr, dmah->map); 104 bus_dma_tag_destroy(dmah->tag); 110 dmah->tag = dev->pa.pa_dmat; 116 ret = bus_dmamem_alloc(dmah->tag, gart_info->table_size, PAGE_SIZE, 121 dmah->tag [all...] |
H A D | drm_scatter.c | 83 ret = bus_dma_tag_create(NULL, PAGE_SIZE, 0, /* tag, align, boundary */ 89 &dmah->tag); 97 ret = bus_dmamem_alloc(dmah->tag, &dmah->vaddr, 100 bus_dma_tag_destroy(dmah->tag); 107 ret = bus_dmamap_load(dmah->tag, dmah->map, dmah->vaddr, 111 bus_dmamem_free(dmah->tag, dmah->vaddr, dmah->map); 112 bus_dma_tag_destroy(dmah->tag); 128 dmah->tag = dev->pa.pa_dmat; 130 if ((ret = bus_dmamem_alloc(dmah->tag, request->size, PAGE_SIZE, 0, 135 dmah->tag [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/mdocml/dist/ |
H A D | man_html.c | 154 struct tag *t, *tt; 155 struct htmlpair tag; local 157 PAIR_CLASS_INIT(&tag, "mandoc"); 166 print_otag(h, TAG_DIV, 1, &tag); 168 t = print_otag(h, TAG_DIV, 1, &tag); 203 struct tag *t; 302 struct htmlpair tag[3]; local 303 struct tag *t, *tt; 314 PAIR_SUMMARY_INIT(&tag[0], "Document Header"); 315 PAIR_CLASS_INIT(&tag[ 350 struct htmlpair tag[3]; local 385 struct htmlpair tag; local 411 struct htmlpair tag; local 498 struct htmlpair tag; local 562 struct htmlpair tag; local 592 struct htmlpair tag; local 671 struct htmlpair tag; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/stand/boot2440/ |
H A D | netif.c | 66 void netif_match(unsigned int tag, uint8_t *macaddr); 67 int netif_init(unsigned int tag, uint8_t *macaddr); 72 netif_match(unsigned int tag, uint8_t *macaddr) argument 80 if ((*dv->match)(tag, macaddr) > 0) { 83 bi_rdev.cookie = tag; 86 bi_net.cookie = tag; 96 netif_init(unsigned int tag, uint8_t *macaddr) argument 111 dv->priv = (*dv->init)(tag, enaddr); 117 bi_rdev.cookie = tag; 120 bi_net.cookie = tag; [all...] |
/netbsd-6-1-5-RELEASE/external/gpl3/gcc/dist/gcc/ |
H A D | gcov-dump.c | 44 unsigned tag; member in struct:tag_format 196 unsigned tag, length; local 202 tag = gcov_read_unsigned (); 203 if (!tag) 207 mask = GCOV_TAG_MASK (tag) >> 1; 212 printf ("%s:tag `%08x' is invalid\n", filename, tag); 218 if (format->tag == tag) 220 format = &tag_table[GCOV_TAG_IS_COUNTER (tag) [all...] |
/netbsd-6-1-5-RELEASE/gnu/dist/gcc4/gcc/ |
H A D | gcov-dump.c | 44 unsigned tag; member in struct:tag_format 196 unsigned tag, length; local 202 tag = gcov_read_unsigned (); 203 if (!tag) 207 mask = GCOV_TAG_MASK (tag) >> 1; 212 printf ("%s:tag `%08x' is invalid\n", filename, tag); 218 if (format->tag == tag) 220 format = &tag_table[GCOV_TAG_IS_COUNTER (tag) [all...] |