Searched defs:unit (Results 1 - 25 of 508) sorted by relevance

1234567891011>>

/freebsd-head/sys/mips/cavium/
H A Duart_bus_octeonusart.c89 int unit; local
91 unit = device_get_unit(dev);
110 return (uart_bus_probe(dev, sc->sc_bas.regshft, 0, 0, 0, unit, 0));
/freebsd-head/stand/i386/common/
H A Ddrv.h35 unsigned int unit; member in struct:dsk
/freebsd-head/contrib/tcp_wrappers/
H A Dtli-sequent.c174 struct t_unitdata *unit; local
184 if ((unit = (struct t_unitdata *) t_alloc(fd, T_UNITDATA, T_ALL)) == 0) {
188 (void) t_rcvudata(fd, unit, &flags);
189 t_free((void *) unit, T_UNITDATA);
/freebsd-head/contrib/ntp/ntpd/
H A Drefclock_local.c108 int unit,
144 int unit,
160 if (unit == VMS_LOCALUNIT) {
107 local_start( int unit, struct peer *peer ) argument
143 local_poll( int unit, struct peer *peer ) argument
H A Drefclock_atom.c79 #define DEVICE "/dev/pps%d" /* device name and unit */
85 * PPS unit control structure
119 int unit, /* unit number (not used) */
128 * Allocate and initialize unit structure
143 snprintf(device, sizeof(device), DEVICE, unit);
163 int unit, /* unit number (not used) */
182 int unit, /* unit pointe
118 atom_start( int unit, struct peer *peer ) argument
162 atom_shutdown( int unit, struct peer *peer ) argument
181 atom_timer( int unit, struct peer *peer ) argument
213 atom_poll( int unit, struct peer *peer ) argument
[all...]
H A Drefclock_pcf.c64 int unit,
75 snprintf(device, sizeof(device), DEVICE, unit);
78 snprintf(device, sizeof(device), OLDDEVICE, unit);
114 int unit,
131 int unit,
209 unit, pp->year, tp->tm_mon + 1, tp->tm_mday, pp->hour,
63 pcf_start( int unit, struct peer *peer ) argument
113 pcf_shutdown( int unit, struct peer *peer ) argument
130 pcf_poll( int unit, struct peer *peer ) argument
H A Drefclock_tpro.c30 #define DEVICE "/dev/tpro%d" /* device name and unit */
47 static void tpro_poll (int unit, struct peer *);
68 int unit,
80 snprintf(device, sizeof(device), DEVICE, unit);
88 * Allocate and initialize unit structure
113 int unit,
133 int unit,
67 tpro_start( int unit, struct peer *peer ) argument
112 tpro_shutdown( int unit, struct peer *peer ) argument
132 tpro_poll( int unit, struct peer *peer ) argument
/freebsd-head/sys/dev/ata/chipsets/
H A Data-fsl.c101 int unit; local
128 unit = 0;
129 child = device_add_child(dev, "ata", ((unit == 0) && ctrl->legacy) ?
130 unit : devclass_find_free_unit(ata_devclass, 2));
134 device_set_ivars(child, (void *)(intptr_t)unit);
/freebsd-head/lib/libstdbuf/
H A Dstdbuf.c55 char *unit; local
74 bufsize = strtol(bufmode, &unit, 0);
75 if (errno == EINVAL || errno == ERANGE || unit == bufmode)
78 switch (*unit) {
91 warnx("Unknown suffix '%c' for %s", *unit,
/freebsd-head/sys/dev/ips/
H A Dips_disk.h62 int unit; member in struct:ipsdisk_softc
/freebsd-head/usr.sbin/mlxcontrol/
H A Dconfig.c61 int unit = 0; /* XXX */ local
65 if (mlx_read_configuration(unit, &conf.cc_cfg)) {
66 printf("mlx%d: error submitting READ CONFIGURATION\n", unit);
H A Dutil.c45 /* return path of controller (unit) */
47 ctrlrpath(int unit) argument
51 sprintf(buf, "%s%s", _PATH_DEV, ctrlrname(unit));
55 /* return name of controller (unit) */
57 ctrlrname(int unit) argument
61 sprintf(buf, "mlx%d", unit);
65 /* return path of drive (unit) */
67 drivepath(int unit) argument
71 sprintf(buf, "%s%s", _PATH_DEV, drivename(unit));
75 /* return name of drive (unit) */
77 drivename(int unit) argument
89 int unit; local
100 int unit; local
[all...]
/freebsd-head/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DNameToDIE.cpp38 size_t NameToDIE::FindAllEntriesForUnit(const DWARFUnit &unit, argument
44 if (unit.GetSymbolFileDWARF().GetDwoNum() == die_ref.dwo_num() &&
45 unit.GetDebugSection() == die_ref.section() &&
46 unit.GetOffset() <= die_ref.die_offset() &&
47 die_ref.die_offset() < unit.GetNextUnitOffset())
H A DDWARFCompileUnit.h21 static bool classof(const DWARFUnit *unit) { return !unit->IsTypeUnit(); } argument
H A DDWARFTypeUnit.h25 static bool classof(const DWARFUnit *unit) { return unit->IsTypeUnit(); } argument
/freebsd-head/contrib/llvm-project/openmp/runtime/src/
H A Dkmp_stats_timing.cpp87 // engineering style and using a suitable unit prefix (e.g. ms, us, ns).
88 std::string formatSI(double interval, int width, char unit) { argument
105 << unit;
120 << ranges[i].prefix << std::setw(1) << unit;
127 << interval << std::setw(3) << unit;
/freebsd-head/sys/arm/arm/
H A Dsc_machdep.c48 sc_get_cons_priority(int *unit, int *flags) argument
51 *unit = 0;
63 sc_get_softc(int unit, int flags) argument
67 if (unit < 0)
69 sc = &sc_softcs[unit];
70 sc->unit = unit;
/freebsd-head/sys/mips/mips/
H A Dsc_machdep.c48 sc_get_cons_priority(int *unit, int *flags) argument
51 *unit = 0;
63 sc_get_softc(int unit, int flags) argument
67 if (unit < 0)
69 sc = &sc_softcs[unit];
70 sc->unit = unit;
/freebsd-head/sys/powerpc/powerpc/
H A Dsc_machdep.c48 sc_get_cons_priority(int *unit, int *flags) argument
51 *unit = 0;
63 sc_get_softc(int unit, int flags) argument
67 if (unit < 0)
69 sc = &sc_softcs[unit];
70 sc->unit = unit;
/freebsd-head/tools/tools/ipw/
H A Dipwstats.c51 int unit; member in struct:statistic
261 switch (stat->unit) {
/freebsd-head/sys/dev/ipmi/
H A Dipmi_isa.c103 int i, unit, val; local
107 unit = device_get_unit(dev);
108 if (resource_string_value(name, unit, "mode", &mode) != 0)
143 if (resource_int_value(name, unit, "port", &val) == 0 && val != 0) {
146 } else if (resource_int_value(name, unit, "maddr", &val) == 0 &&
153 if (resource_int_value(name, unit, "spacing", &val) == 0) {
/freebsd-head/sys/mips/atheros/
H A Dar91xx_chip.c119 ar91xx_chip_set_pll_ge(int unit, int speed, uint32_t pll) argument
122 switch (unit) {
134 printf("%s: invalid PLL set for arge unit: %d\n",
135 __func__, unit);
/freebsd-head/lib/libpmc/pmu-events/
H A Dpmu-events.h19 const char *unit; member in struct:pmu_event
/freebsd-head/stand/efi/libefi/
H A Dhandles.c37 int unit; member in struct:entry
49 int idx, unit; local
57 for (unit = 0; idx < nentries; idx++, unit++) {
58 entry[idx].handle = handles[unit];
60 entry[idx].alias = aliases[unit];
64 entry[idx].unit = unit;
70 efi_find_handle(struct devsw *dev, int unit) argument
77 if (entry[idx].unit !
85 efi_handle_lookup(EFI_HANDLE h, struct devsw **dev, int *unit, uint64_t *extra) argument
104 efi_handle_update_dev(EFI_HANDLE h, struct devsw *dev, int unit, uint64_t guid) argument
[all...]
/freebsd-head/contrib/kyua/utils/
H A Dunits.cpp76 const char unit = str[str.length() - 1]; local
77 switch (unit) {

Completed in 108 milliseconds

1234567891011>>