HomeSort by: relevance | last modified time | path
    Searched refs:tag (Results 1 - 25 of 798) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/tests/usr.bin/xlint/lint1/
msg_013.c 8 enum tag;
12 void function(enum tag);
14 enum tag { enum
msg_044.c 8 /* expect+1: warning: struct 'tag' never defined [233] */
9 struct tag;
11 void declaration(struct tag *);
14 /* expect+2: warning: declaration of 'struct tag' introduces new type in C90 or later [44] */
15 /* expect+1: warning: struct 'tag' never defined [233] */
16 struct tag;
decl_struct_c90.c 11 enum { A, B, C } tag; member in struct:unnamed_member
  /src/sys/dev/
dev_verbose.h 37 #define DEV_VERBOSE_COMMON_DEFINE(tag) \
39 tag ## _findvendor_real(char *buf, size_t len, uint32_t vendor) \
41 return dev_findvendor(buf, len, tag ## _words, \
42 __arraycount(tag ## _words), tag ## _vendors, \
43 __arraycount(tag ## _vendors), vendor, tag ## _id1_format); \
47 tag ## _findproduct_real(char *buf, size_t len, uint32_t vendor, \
50 return dev_findproduct(buf, len, tag ## _words, \
51 __arraycount(tag ## _words), tag ## _products,
    [all...]
  /src/sys/dev/sdmmc/
sdmmcchip.h 71 #define sdmmc_chip_host_reset(tag, handle) \
72 ((tag)->host_reset((handle)))
74 #define sdmmc_chip_host_ocr(tag, handle) \
75 ((tag)->host_ocr((handle)))
76 #define sdmmc_chip_host_maxblklen(tag, handle) \
77 ((tag)->host_maxblklen((handle)))
79 #define sdmmc_chip_card_detect(tag, handle) \
80 ((tag)->card_detect((handle)))
82 #define sdmmc_chip_write_protect(tag, handle) \
83 ((tag)->write_protect((handle))
    [all...]
  /src/sys/dev/pcmcia/
pcmciachip.h 98 #define pcmcia_chip_mem_alloc(tag, handle, size, pcmhp) \
99 ((*(tag)->mem_alloc)((handle), (size), (pcmhp)))
101 #define pcmcia_chip_mem_free(tag, handle, pcmhp) \
102 ((*(tag)->mem_free)((handle), (pcmhp)))
104 #define pcmcia_chip_mem_map(tag, handle, kind, card_addr, size, pcmhp, \
106 ((*(tag)->mem_map)((handle), (kind), (card_addr), (size), (pcmhp), \
109 #define pcmcia_chip_mem_unmap(tag, handle, window) \
110 ((*(tag)->mem_unmap)((handle), (window)))
113 #define pcmcia_chip_io_alloc(tag, handle, start, size, align, pcihp) \
114 ((*(tag)->io_alloc)((handle), (start), (size), (align), (pcihp))
    [all...]
  /src/sys/arch/netwinder/pci/
pci_machdep.c 19 pcitag_t tag; local in function:netwinder_pci_attach_hook
24 tag = pci_make_tag(pba->pba_pc, pba->pba_bus, 9, 0);
25 pci_conf_write(pba->pba_pc, tag,
30 intreg = pci_conf_read(pba->pba_pc, tag, PCI_INTERRUPT_REG);
36 pci_conf_write(pba->pba_pc, tag, PCI_INTERRUPT_REG, intreg);
37 pci_conf_write(pba->pba_pc, tag, 0x10, 0x400 | PCI_MAPREG_TYPE_IO);
38 pci_conf_write(pba->pba_pc, tag, 0x14, 0x00800000);
43 tag = pci_make_tag(pba->pba_pc, pba->pba_bus, 12, 0);
44 pci_conf_write(pba->pba_pc, tag,
48 intreg = pci_conf_read(pba->pba_pc, tag, PCI_INTERRUPT_REG)
    [all...]
  /src/sys/arch/arm/gemini/
gemini_lpcvar.h 50 lpc_pnp_read(lpctag_t tag, int ldn, uint off)
52 gemini_lpc_softc_t *sc = tag;
53 return (*sc->sc_bus_ops->lpc_pnp_read)(tag, ldn, off);
57 lpc_pnp_write(lpctag_t tag, int ldn, uint off, uint8_t val)
59 gemini_lpc_softc_t *sc = tag;
60 return (*sc->sc_bus_ops->lpc_pnp_write)(tag, ldn, off, val);
64 lpc_pnp_enter(lpctag_t tag)
66 gemini_lpc_softc_t *sc = tag;
67 return (*sc->sc_bus_ops->lpc_pnp_enter)(tag);
71 lpc_pnp_exit(lpctag_t tag)
    [all...]
  /src/sys/dev/ic/
i128.c 45 i128_init(bus_space_tag_t tag, bus_space_handle_t regh, int stride, int depth)
50 bus_space_write_4(tag, regh, BUF_CTRL, BC_PSIZ_8B);
53 bus_space_write_4(tag, regh, BUF_CTRL, BC_PSIZ_16B);
56 bus_space_write_4(tag, regh, BUF_CTRL, BC_PSIZ_32B);
64 bus_space_write_4(tag, regh, DE_PGE, 0);
65 bus_space_write_4(tag, regh, DE_SORG, 0);
66 bus_space_write_4(tag, regh, DE_DORG, 0);
67 bus_space_write_4(tag, regh, DE_MSRC, 0);
68 bus_space_write_4(tag, regh, DE_WKEY, 0);
69 bus_space_write_4(tag, regh, DE_SPTCH, stride)
    [all...]
  /src/sys/arch/evbarm/stand/boot2440/
dm9k.h 32 int dm9k_match(unsigned int tag, void *macaddr);
33 void *dm9k_init(unsigned int tag, void *macaddr);
s3csdi.h 34 int s3csd_match(unsigned int tag);
35 void *s3csd_init(unsigned int tag, uint32_t *caps);
  /src/sys/arch/sparc/dev/
sbusvar.h 92 #define sbus_promaddr_to_handle(tag, promaddr, hp) sparc_promaddr_to_handle(tag, promaddr, hp)
95 sparc_promaddr_to_handle(bus_space_tag_t tag, u_int promaddr, bus_space_handle_t *hp)
  /src/usr.sbin/btconfig/
btconfig.c 64 static void tag(const char *);
254 tag(NULL);
363 tag(const char *f) function in typeref:typename:void
629 tag(btr.btr_name);
693 if (val & HCI_INQUIRY_SCAN_ENABLE) tag("iscan");
694 else if (level > 0) tag("-iscan");
696 if (val & HCI_PAGE_SCAN_ENABLE) tag("pscan");
697 else if (level > 0) tag("-pscan");
700 if (val) tag("auth");
701 else if (level > 0) tag("-auth")
    [all...]
  /src/sys/arch/evbppc/wii/dev/
avenc.c 67 avenc_read_1(i2c_tag_t tag, i2c_addr_t addr, uint8_t reg)
71 if (iic_smbus_read_byte(tag, addr, reg, &val, 0) != 0) {
79 avenc_read_2(i2c_tag_t tag, i2c_addr_t addr, uint8_t reg)
83 if (iic_exec(tag, I2C_OP_READ_WITH_STOP, addr, &reg, 1,
92 avenc_write_1(i2c_tag_t tag, i2c_addr_t addr, uint8_t reg, uint8_t val)
94 iic_smbus_write_byte(tag, addr, reg, val, 0);
98 avenc_write_2(i2c_tag_t tag, i2c_addr_t addr, uint8_t reg, uint16_t val)
105 iic_exec(tag, I2C_OP_WRITE_WITH_STOP, addr, &reg, 1,
110 avenc_write_4(i2c_tag_t tag, i2c_addr_t addr, uint8_t reg, uint32_t val)
119 iic_exec(tag, I2C_OP_WRITE_WITH_STOP, addr, &reg, 1
240 i2c_tag_t tag = ia->ia_tag; local in function:avenc_attach
    [all...]
  /src/sys/dev/i2c/
i2c_exec.c 68 * Perform some basic initialization of the i2c controller tag.
71 iic_tag_init(i2c_tag_t tag)
74 memset(tag, 0, sizeof(*tag));
75 mutex_init(&tag->ic_bus_lock, MUTEX_DEFAULT, IPL_NONE);
76 tag->ic_channel = I2C_CHANNEL_DEFAULT;
82 * Teardown of the i2c controller tag.
85 iic_tag_fini(i2c_tag_t tag)
88 mutex_destroy(&tag->ic_bus_lock);
153 iic_acquire_bus(i2c_tag_t tag, int flags
    [all...]
  /src/sys/arch/evbppc/explora/
consinit.c 70 bus_space_tag_t tag; local in function:consinit
79 tag = elb_get_bus_space_tag(BASE_COM);
80 comcnattach(tag, _BUS_SPACE_UNSTRIDE(tag, BASE_COM), COM_CONSOLE_SPEED,
84 tag = elb_get_bus_space_tag(BASE_FB);
85 fb_cnattach(tag, BASE_FB2, (void *)BASE_FB);
89 tag = elb_get_bus_space_tag(BASE_PCKBC);
90 pckbc_cnattach(tag, _BUS_SPACE_UNSTRIDE(tag, BASE_PCKBC),
91 _BUS_SPACE_UNSTRIDE(tag, BASE_PCKBC2-BASE_PCKBC), PCKBC_KBD_SLOT
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
tsan_external.cc 30 static TagData *GetTagData(uptr tag) {
31 // Invalid/corrupted tag? Better return NULL and let the caller deal with it.
32 if (tag >= atomic_load(&used_tags, memory_order_relaxed)) return nullptr;
33 return &registered_tags[tag];
36 const char *GetObjectTypeFromTag(uptr tag) {
37 TagData *tag_data = GetTagData(tag);
41 const char *GetReportHeaderFromTag(uptr tag) {
42 TagData *tag_data = GetTagData(tag);
46 void InsertShadowStackFrameForTag(ThreadState *thr, uptr tag) {
47 FuncEntry(thr, (uptr)&registered_tags[tag]);
    [all...]
  /src/lib/libc/posix1e/
acl_from_text.c 52 static acl_tag_t acl_string_to_tag(char *tag, char *qualifier);
55 acl_string_to_tag(char *tag, char *qualifier)
59 if ((!strcmp(tag, "user")) || (!strcmp(tag, "u"))) {
62 if ((!strcmp(tag, "group")) || (!strcmp(tag, "g"))) {
65 if ((!strcmp(tag, "mask")) || (!strcmp(tag, "m"))) {
68 if ((!strcmp(tag, "other")) || (!strcmp(tag, "o")))
88 char *tag, *qualifier, *permission; local in function:_posix1e_acl_entry_from_text
    [all...]
  /src/sys/arch/powerpc/pci/
pciconf_ofmethod.c 83 genppc_pci_ofmethod_decompose_tag(void *v, pcitag_t tag, int *bp, int *dp,
88 *bp = OFW_PCI_PHYS_HI_BUS(tag);
90 *dp = OFW_PCI_PHYS_HI_DEVICE(tag);
92 *fp = OFW_PCI_PHYS_HI_FUNCTION(tag);
97 genppc_pci_ofmethod_conf_read(void *v, pcitag_t tag, int reg)
105 tag &= OFW_PCI_PHYS_HI_BUSMASK | OFW_PCI_PHYS_HI_DEVICEMASK |
107 tag |= reg & OFW_PCI_PHYS_HI_REGISTERMASK;
108 if (OF_call_method("config-l@", pc->pc_ihandle, 1, 1, tag, &data) < 0)
115 genppc_pci_ofmethod_conf_write(void *v, pcitag_t tag, int reg, pcireg_t data)
122 tag &= OFW_PCI_PHYS_HI_BUSMASK | OFW_PCI_PHYS_HI_DEVICEMASK
    [all...]
pciconf_indirect.c 75 pcitag_t tag; local in function:genppc_pci_indirect_make_tag
80 tag = PCI_MODE1_ENABLE |
82 return tag;
86 genppc_pci_indirect_decompose_tag(void *v, pcitag_t tag, int *bp, int *dp,
91 *bp = (tag >> 16) & 0xff;
93 *dp = (tag >> 11) & 0x1f;
95 *fp = (tag >> 8) & 0x7;
100 genppc_pci_indirect_conf_read(void *v, pcitag_t tag, int reg)
110 out32rb(pc->pc_addr, tag | reg);
119 genppc_pci_indirect_conf_write(void *v, pcitag_t tag, int reg, pcireg_t data
    [all...]
  /src/sys/arch/arc/include/
bus_funcs.h 117 * Compose a bus_space handle from tag/handle/addr/size/flags.
135 * int bus_space_paddr(bus_space_tag_t tag,
233 #define bus_space_read_stream_2(tag, bsh, offset) \
234 bus_space_read_2(tag, bsh, offset)
235 #define bus_space_read_stream_4(tag, bsh, offset) \
236 bus_space_read_4(tag, bsh, offset)
237 #define bus_space_read_stream_8(tag, bsh, offset) \
238 bus_space_read_8(tag, bsh, offset)
239 #define bus_space_read_multi_stream_2(tag, bsh, offset, datap, count) \
240 bus_space_read_multi_2(tag, bsh, offset, datap, count
    [all...]
  /src/sys/arch/x86/x86/
convert_xmm_s87.c 42 unsigned int tag, ab_tag, st; local in function:process_xmm_to_s87
54 * It really isn't worth setting the 'tag' bits to 01 (zero) or
64 * r7 downwards - so the high bits of the tag register indicate
78 /* tag word handled below */
89 /* Tag word and registers. */
99 tag = 0;
101 tag <<= 2;
109 tag |= 1; /* Zero */
111 tag |= 2; /* Denormal */
113 tag |= 2; /* Infinity or NaN *
124 unsigned int tag, ab_tag; local in function:process_s87_to_xmm
    [all...]
  /src/sys/arch/alpha/pci/
mcpcia_pci.c 75 pcitag_t tag; local in function:mcpcia_make_tag
76 tag = (b << 21) | (d << 16) | (f << 13);
77 return (tag);
81 mcpcia_decompose_tag(void *cpv, pcitag_t tag, int *bp, int *dp, int *fp)
84 *bp = (tag >> 21) & 0xff;
86 *dp = (tag >> 16) & 0x1f;
88 *fp = (tag >> 13) & 0x7;
92 mcpcia_conf_read(void *cpv, pcitag_t tag, int offset)
104 if ((tag >> 21) == 0 && ((uint32_t) tag & 0x1f0000) == 0
    [all...]
  /src/sys/arch/ia64/pci/
pci_machdep.c 65 pci_decompose_tag(pci_chipset_tag_t pc, pcitag_t tag, int *bp, int *dp, int *fp)
69 *bp = (tag >> 16) & 0xff;
71 *dp = (tag >> 11) & 0x1f;
73 *fp = (tag >> 8) & 0x07;
77 pci_conf_read(pci_chipset_tag_t pc, pcitag_t tag, int reg)
85 tag | reg, sizeof(pcireg_t), 0, 0, 0, 0, 0);
93 pci_conf_write(pci_chipset_tag_t pc, pcitag_t tag, int reg, pcireg_t val)
101 tag | reg, sizeof(pcireg_t), val, 0, 0, 0, 0);
  /src/sys/arch/x86/pci/
pci_bus_fixup.c 64 pcitag_t tag; local in function:pci_bus_fixup
78 tag = pci_make_tag(pc, bus, device, 0);
79 reg = pci_conf_read(pc, tag, PCI_ID_REG);
90 reg = pci_conf_read(pc, tag, PCI_BHLC_REG);
99 tag = pci_make_tag(pc, bus, device, function);
100 reg = pci_conf_read(pc, tag, PCI_ID_REG);
112 reg = pci_conf_read(pc, tag, PCI_CLASS_REG);
122 reg = pci_conf_read(pc, tag,
126 pci_conf_write(pc, tag, PCI_BRIDGE_BUS_REG,
135 pci_conf_write(pc, tag, PCI_BRIDGE_BUS_REG
    [all...]

Completed in 22 milliseconds

1 2 3 4 5 6 7 8 91011>>