Searched refs:tag (Results 1 - 25 of 802) sorted by relevance

1234567891011>>

/src/tests/usr.bin/xlint/lint1/
H A Dmsg_013.c8 enum tag;
12 void function(enum tag);
14 enum tag { enum
H A Dmsg_044.c8 /* 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;
H A Ddecl_struct_c90.c11 enum { A, B, C } tag; member in struct:unnamed_member
/src/sys/dev/
H A Ddev_verbose.h37 #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 ## _word
[all...]
/src/sys/dev/sdmmc/
H A Dsdmmcchip.h71 #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)
[all...]
/src/sys/dev/pcmcia/
H A Dpcmciachip.h98 #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)
[all...]
/src/sys/arch/netwinder/pci/
H A Dpci_machdep.c19 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_RE
[all...]
/src/sys/arch/arm/gemini/
H A Dgemini_lpcvar.h50 lpc_pnp_read(lpctag_t tag, int ldn, uint off) argument
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) argument
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) argument
66 gemini_lpc_softc_t *sc = tag;
67 return (*sc->sc_bus_ops->lpc_pnp_enter)(tag);
71 lpc_pnp_exit(lpctag_t tag) argument
78 lpc_intr_establish(lpctag_t tag,uint intr,int ipl,int ist,int (* func)(void *),void * arg) argument
91 lpc_intr_disestablish(lpctag_t tag,void * ih) argument
[all...]
/src/sys/dev/ic/
H A Di128.c45 i128_init(bus_space_tag_t tag, bus_space_handle_t regh, int stride, int depth) argument
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, reg
82 i128_bitblt(bus_space_tag_t tag,bus_space_handle_t regh,int xs,int ys,int xd,int yd,int wi,int he,int rop) argument
108 i128_rectfill(bus_space_tag_t tag,bus_space_handle_t regh,int x,int y,int wi,int he,uint32_t color) argument
[all...]
/src/sys/arch/evbarm/stand/boot2440/
H A Ddm9k.h32 int dm9k_match(unsigned int tag, void *macaddr);
33 void *dm9k_init(unsigned int tag, void *macaddr);
H A Ds3csdi.h34 int s3csd_match(unsigned int tag);
35 void *s3csd_init(unsigned int tag, uint32_t *caps);
/src/sys/arch/sparc/dev/
H A Dsbusvar.h92 #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) argument
/src/usr.sbin/btconfig/
H A Dbtconfig.c64 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("
[all...]
/src/sys/arch/evbppc/wii/dev/
H A Davenc.c67 avenc_read_1(i2c_tag_t tag, i2c_addr_t addr, uint8_t reg) argument
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) argument
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) argument
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) argument
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) argument
119 iic_exec(tag, I2C_OP_WRITE_WITH_STO
124 avenc_write_buf(i2c_tag_t tag,i2c_addr_t addr,uint8_t reg,uint8_t * buf,size_t buflen) argument
167 avenc_dump_regs(const char * pfx,i2c_tag_t tag,i2c_addr_t addr) argument
184 avenc_init(i2c_tag_t tag,i2c_addr_t addr) argument
240 i2c_tag_t tag = ia->ia_tag; local in function:avenc_attach
[all...]
/src/sys/dev/i2c/
H A Di2c_exec.c68 * Perform some basic initialization of the i2c controller tag.
71 iic_tag_init(i2c_tag_t tag) argument
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) argument
88 mutex_destroy(&tag->ic_bus_lock);
153 iic_acquire_bus(i2c_tag_t tag, in argument
183 iic_release_bus(i2c_tag_t tag,int flags) argument
209 iic_exec(i2c_tag_t tag,i2c_op_t op,i2c_addr_t addr,const void * vcmd,size_t cmdlen,void * vbuf,size_t buflen,int flags) argument
322 iic_smbus_write_byte(i2c_tag_t tag,i2c_addr_t addr,uint8_t cmd,uint8_t val,int flags) argument
336 iic_smbus_write_word(i2c_tag_t tag,i2c_addr_t addr,uint8_t cmd,uint16_t val,int flags) argument
354 iic_smbus_read_byte(i2c_tag_t tag,i2c_addr_t addr,uint8_t cmd,uint8_t * valp,int flags) argument
368 iic_smbus_read_word(i2c_tag_t tag,i2c_addr_t addr,uint8_t cmd,uint16_t * valp,int flags) argument
382 iic_smbus_receive_byte(i2c_tag_t tag,i2c_addr_t addr,uint8_t * valp,int flags) argument
396 iic_smbus_send_byte(i2c_tag_t tag,i2c_addr_t addr,uint8_t val,int flags) argument
409 iic_smbus_quick_read(i2c_tag_t tag,i2c_addr_t addr,int flags) argument
422 iic_smbus_quick_write(i2c_tag_t tag,i2c_addr_t addr,int flags) argument
435 iic_smbus_block_read(i2c_tag_t tag,i2c_addr_t addr,uint8_t cmd,uint8_t * vbuf,size_t buflen,int flags) argument
449 iic_smbus_block_write(i2c_tag_t tag,i2c_addr_t addr,uint8_t cmd,uint8_t * vbuf,size_t buflen,int flags) argument
[all...]
/src/sys/arch/evbppc/explora/
H A Dconsinit.c70 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_PCKBC
[all...]
/src/lib/libc/posix1e/
H A Dacl_from_text.c52 static acl_tag_t acl_string_to_tag(char *tag, char *qualifier);
55 acl_string_to_tag(char *tag, char *qualifier) argument
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, "
88 char *tag, *qualifier, *permission; local in function:_posix1e_acl_entry_from_text
276 _acl_name_to_id(acl_tag_t tag,char * name,uid_t * id) argument
[all...]
/src/sys/external/bsd/compiler_rt/dist/lib/tsan/rtl/
H A Dtsan_external.cc30 static TagData *GetTagData(uptr tag) { argument
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) { argument
37 TagData *tag_data = GetTagData(tag);
41 const char *GetReportHeaderFromTag(uptr tag) { argument
42 TagData *tag_data = GetTagData(tag);
46 void InsertShadowStackFrameForTag(ThreadState *thr, uptr tag) { argument
47 FuncEntry(thr, (uptr)&registered_tags[tag]);
61 ExternalAccess(void * addr,void * caller_pc,void * tag,AccessFunc access) argument
87 __tsan_external_register_header(void * tag,const char * header) argument
99 __tsan_external_assign_tag(void * addr,void * tag) argument
113 __tsan_external_read(void * addr,void * caller_pc,void * tag) argument
118 __tsan_external_write(void * addr,void * caller_pc,void * tag) argument
[all...]
/src/sys/arch/powerpc/pci/
H A Dpciconf_ofmethod.c83 genppc_pci_ofmethod_decompose_tag(void *v, pcitag_t tag, int *bp, int *dp, argument
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) argument
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) argument
122 tag
[all...]
H A Dpciconf_indirect.c75 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, argument
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) argument
110 out32rb(pc->pc_addr, tag | reg);
119 genppc_pci_indirect_conf_write(void *v, pcitag_t tag, in argument
[all...]
/src/sys/arch/x86/x86/
H A Dconvert_xmm_s87.c42 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 */
99 tag = 0;
101 tag <<= 2;
109 tag |= 1; /* Zero */
111 tag |= 2; /* Denormal */
113 tag |= 2; /* Infinity or NaN */
115 tag |
124 unsigned int tag, ab_tag; local in function:process_s87_to_xmm
[all...]
/src/sys/arch/arc/include/
H A Dbus_funcs.h117 * 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, bs
[all...]
/src/sys/arch/alpha/pci/
H A Dmcpcia_pci.c75 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) argument
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) argument
104 if ((tag >> 21) == 0 && ((uint32_t) tag
123 mcpcia_conf_write(void * cpv,pcitag_t tag,int offset,pcireg_t data) argument
[all...]
/src/sys/arch/ia64/pci/
H A Dpci_machdep.c65 pci_decompose_tag(pci_chipset_tag_t pc, pcitag_t tag, int *bp, int *dp, int *fp) argument
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) argument
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) argument
101 tag | reg, sizeof(pcireg_t), val, 0, 0, 0, 0);
/src/sys/arch/x86/pci/
H A Dpci_bus_fixup.c64 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_RE
159 pci_bridge_reset(pci_chipset_tag_t pc,pcitag_t tag,void * ctx) argument
[all...]

Completed in 16 milliseconds

1234567891011>>