Searched refs:unit (Results 51 - 75 of 744) sorted by relevance

1234567891011>>

/freebsd-11-stable/tests/sys/geom/class/
H A Dgeom_subr.sh27 local test_md unit
30 unit=${test_md#md}
31 mdconfig -d -u $unit || exit
/freebsd-11-stable/contrib/bmake/unit-tests/
H A Ddoterror.exp7 make: stopped in unit-tests
/freebsd-11-stable/sys/mips/atheros/
H A Dar71xx_cpudef.h103 static inline void ar71xx_device_set_pll_ge(int unit, int speed, uint32_t pll) argument
105 ar71xx_cpu_ops->ar71xx_chip_set_pll_ge(unit, speed, pll);
108 static inline void ar71xx_device_set_mii_speed(int unit, int speed) argument
110 ar71xx_cpu_ops->ar71xx_chip_set_mii_speed(unit, speed);
113 static inline void ar71xx_device_set_mii_if(int unit, ar71xx_mii_mode mii_cfg) argument
115 ar71xx_cpu_ops->ar71xx_chip_set_mii_if(unit, mii_cfg);
123 static inline uint32_t ar71xx_device_get_eth_pll(unsigned int unit, int speed) argument
125 return (ar71xx_cpu_ops->ar71xx_chip_get_eth_pll(unit, speed));
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDWARFTypeUnit.h25 static bool classof(const DWARFUnit *unit) { return unit->IsTypeUnit(); } argument
H A DDWARFCompileUnit.h21 static bool classof(const DWARFUnit *unit) { return !unit->IsTypeUnit(); } argument
H A DDWARFFormValue.h42 DWARFFormValue(const DWARFUnit *unit) : m_unit(unit) {} argument
43 DWARFFormValue(const DWARFUnit *unit, dw_form_t form) argument
44 : m_unit(unit), m_form(form) {}
45 void SetUnit(const DWARFUnit *unit) { m_unit = unit; } argument
74 lldb::offset_t *offset_ptr, const DWARFUnit *unit);
82 // Compile unit where m_value was located.
83 // It may be different from compile unit where m_value refers to.
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())
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_shm.c66 static int shm_start (int unit, struct peer *peer);
67 static void shm_shutdown (int unit, struct peer *peer);
68 static void shm_poll (int unit, struct peer *peer);
69 static void shm_timer (int unit, struct peer *peer);
70 static void shm_clockstats (int unit, struct peer *peer);
71 static void shm_control (int unit, const struct refclockstat * in_st,
128 int unit,
142 shmid=shmget(0x4e545030 + unit, sizeof (struct shmTime),
145 msyslog(LOG_ERR, "SHM shmget (unit %d): %m", unit);
127 getShmTime( int unit, int forall ) argument
216 shm_start( int unit, struct peer *peer ) argument
264 shm_control( int unit, const struct refclockstat * in_st, struct refclockstat * out_st, struct peer * peer ) argument
292 shm_shutdown( int unit, struct peer *peer ) argument
321 shm_poll( int unit, struct peer *peer ) argument
517 shm_timer( int unit, struct peer *peer ) argument
644 shm_clockstats( int unit, struct peer *peer ) argument
[all...]
H A Drefclock_hopfpci.c84 * hopfclock unit control structure.
87 short unit; /* NTP refclock unit number */ member in struct:hopfclock_unit
97 static void hopfpci_poll (int unit, struct peer *);
117 int unit,
125 * Allocate and initialize unit structure
135 msyslog(LOG_ERR, "Start: %s unit: %d failed!", DEVICE, unit);
157 up->unit = (short) unit;
116 hopfpci_start( int unit, struct peer *peer ) argument
166 hopfpci_shutdown( int unit, struct peer *peer ) argument
186 hopfpci_poll( int unit, struct peer *peer ) argument
[all...]
H A Drefclock_neoclock4x.c111 short unit; /* NTP refclock unit number */ member in struct:neoclock4x_unit
161 neoclock4x_start(int unit, argument
176 (void) snprintf(dev, sizeof(dev)-1, "/dev/neoclock4x-%d", unit);
192 msyslog(LOG_CRIT, "NeoClock4X(%d): (tcgetattr) can't query serial port settings: %m", unit);
206 msyslog(LOG_CRIT, "NeoClock4X(%d): (tcsetattr) can't set serial port 2400 8N2: %m", unit);
214 msyslog(LOG_CRIT, "NeoClock4X(%d): (tcgetattr) can't query serial port settings: %m", unit);
227 msyslog(LOG_CRIT, "NeoClock4X(%d): (tcsetattr) can't set serial port 2400 8N2: %m", unit);
236 msyslog(LOG_CRIT, "NeoClock4X(%d): (TCGETA) can't query serial port settings: %m", unit);
249 msyslog(LOG_CRIT, "NeoClock4X(%d): (TSGETA) can't set serial port 2400 8N2: %m", unit);
391 neoclock4x_shutdown(int unit, struct peer *peer) argument
659 neoclock4x_poll(int unit, struct peer *peer) argument
673 neoclock4x_control(int unit, const struct refclockstat *in, struct refclockstat *out, struct peer *peer) argument
898 neol_query_firmware(int fd, int unit, char *firmware, size_t maxlen) argument
1032 neol_check_firmware(int unit, const char *firmware, char *firmwaretag) argument
[all...]
/freebsd-11-stable/sys/arm/xilinx/
H A Dzy7_slcr.h150 #define ZY7_SLCR_FPGA_CLK_CTRL(unit) (0x0170 + 0x10*(unit))
158 #define ZY7_SLCR_FPGA_THR_CTRL(unit) (0x0174 + 0x10*(unit))
161 #define ZY7_SLCR_FPGA_THR_CNT(unit) (0x0178 + 0x10*(unit))
162 #define ZY7_SLCR_FPGA_THR_STA(unit) (0x017c + 0x10*(unit))
298 extern int cgem_set_ref_clk(int unit, int frequency);
306 int zy7_pl_fclk_set_source(int unit, in
[all...]
/freebsd-11-stable/sys/dev/bktr/
H A Dbktr_core.h75 void common_bktr_attach( bktr_ptr_t bktr, int unit,
83 int video_read( bktr_ptr_t bktr, int unit, struct cdev *dev, struct uio *uio );
84 int video_ioctl( bktr_ptr_t bktr, int unit,
90 int tuner_ioctl( bktr_ptr_t bktr, int unit,
/freebsd-11-stable/sys/arm/at91/
H A Dat91rm9200var.h51 void at91rm9200_config_uart(unsigned devid, unsigned unit, unsigned pinmask);
/freebsd-11-stable/tools/tools/net80211/scripts/
H A Dsetup.dfs25 unit=`echo $WLAN | sed 's/wlan//'`
26 sleep 5; sysctl net.wlan.$unit.radar=1
/freebsd-11-stable/stand/i386/common/
H A Ddrv.h35 unsigned int unit; member in struct:dsk
/freebsd-11-stable/usr.sbin/bhyve/
H A Duart_emul.h43 int uart_legacy_alloc(int unit, int *ioaddr, int *irq);
H A Dpci_lpc.c89 int unit, error; local
101 for (unit = 0; unit < LPC_UART_NUM; unit++) {
102 if (strcasecmp(lpcdev, lpc_uart_names[unit]) == 0) {
103 lpc_uart_softc[unit].opts = str;
181 int unit, error; local
190 for (unit = 0; unit < LPC_UART_NUM; unit
323 int unit; local
[all...]
/freebsd-11-stable/sys/net/
H A Dif_clone.c67 int ifc_maxunit; /* (c) maximum unit number */
410 u_int unit; local
423 for (unit = 0; unit < minifs; unit++) {
427 snprintf(name, IFNAMSIZ, "%s%d", ifc->ifc_name, unit);
571 * A utility function to extract unit numbers from interface names of
577 ifc_name2unit(const char *name, int *unit) argument
585 *unit = -1;
590 for (*unit
606 ifc_alloc_unit_specific(struct if_clone *ifc, int *unit) argument
628 ifc_alloc_unit_next(struct if_clone *ifc, int *unit) argument
649 ifc_alloc_unit(struct if_clone *ifc, int *unit) argument
658 ifc_free_unit(struct if_clone *ifc, int unit) argument
691 int unit; local
731 int unit; local
[all...]
/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-promise.c393 if (ATA_INL(ctlr->r_res1, 0x1c) & (ch->unit ? 0x00004000 : 0x00000400)) {
407 ATA_INB(ctlr->r_res1, 0x11) | (ch->unit ? 0x08 : 0x02));
408 ATA_OUTL(ctlr->r_res1, ch->unit ? 0x24 : 0x20,
431 ATA_INB(ctlr->r_res1, 0x11) & ~(ch->unit ? 0x08 : 0x02));
432 ATA_OUTL(ctlr->r_res1, ch->unit ? 0x24 : 0x20, 0);
459 int devno = (ch->unit << 1) + target;
485 (ch->unit ? 1 << 11 : 1 << 10))) {
504 (ch->unit << 7)) & 0x01000000)) {
554 ch->r_io[i].offset = offset + 0x0200 + (i << 2) + (ch->unit << 7);
557 ch->r_io[ATA_CONTROL].offset = offset + 0x0238 + (ch->unit <<
602 int unit; local
1064 int unit; local
[all...]
/freebsd-11-stable/sys/kern/
H A Dsubr_hints.c123 const char *name, int *unit, const char *resname, const char *value,
247 if (unit && *unit != r_unit)
281 s = strchr(s, '.') + 1; /* start of unit */
305 const char *name, int *unit, const char *resname, const char *value,
316 /* Search for exact unit matches first */
317 i = res_find(&hintp, line, startln, name, unit, resname, value,
322 if (unit == NULL)
335 resource_int_value(const char *name, int unit, const char *resname, int *result) argument
344 error = resource_find(&line, NULL, name, &unit, resnam
122 res_find(char **hintp_cookie, int *line, int *startln, const char *name, int *unit, const char *resname, const char *value, const char **ret_name, int *ret_namelen, int *ret_unit, const char **ret_resname, int *ret_resnamelen, const char **ret_value) argument
304 resource_find(int *line, int *startln, const char *name, int *unit, const char *resname, const char *value, const char **ret_name, int *ret_namelen, int *ret_unit, const char **ret_resname, int *ret_resnamelen, const char **ret_value) argument
358 resource_long_value(const char *name, int unit, const char *resname, long *result) argument
382 resource_string_value(const char *name, int unit, const char *resname, const char **result) argument
430 resource_find_match(int *anchor, const char **name, int *unit, const char *resname, const char *value) argument
459 resource_find_dev(int *anchor, const char *name, int *unit, const char *resname, const char *value) argument
480 resource_disabled(const char *name, int unit) argument
496 resource_unset_value(const char *name, int unit, const char *resname) argument
[all...]
/freebsd-11-stable/stand/pc98/libpc98/
H A Dbiosdisk.c71 * List of BIOS devices, translation from disk unit number to
72 * BIOS unit number.
76 int bd_unit; /* BIOS unit number */
92 int bd_da_unit; /* kernel unit number for da */
129 * Translate between BIOS device numbers and our private unit numbers.
138 DEBUG("bd unit %d is BIOS device 0x%x", i, bdinfo[i].bd_unit);
146 bd_unit2bios(int unit) argument
149 if ((unit >= 0) && (unit < nbdinfo))
150 return (bdinfo[unit]
160 int base, unit; local
291 char unit; local
724 int unit = 0x80; /* IDE HDD */ local
768 int unitofs = 0, i, unit; local
[all...]
H A Dbioscd.c81 * List of BIOS devices, translation from disk unit number to
82 * BIOS unit number.
85 int bc_unit; /* BIOS unit number */
94 static int bc_read(int unit, daddr_t dblk, int blks, caddr_t dest);
117 * Translate between BIOS device numbers and our private unit numbers.
126 DEBUG("bc unit %d is BIOS device 0x%x", i, bcinfo[i].bc_unit);
134 bc_unit2bios(int unit) argument
136 if ((unit >= 0) && (unit < nbcinfo))
137 return(bcinfo[unit]
255 int unit; local
301 bc_read(int unit, daddr_t dblk, int blks, caddr_t dest) argument
396 int biosdev, unit, device; local
[all...]
/freebsd-11-stable/sys/dev/ata/
H A Data-cbus.c105 int rid, unit; local
157 for (unit = 0; unit < ctlr->channels; unit++) {
158 child = device_add_child(dev, "ata", unit);
162 device_set_ivars(child, (void *)(intptr_t)unit);
195 int unit = ((struct ata_channel *)device_get_softc(child))->unit; local
201 controller->interrupt[unit].function = intr;
202 controller->interrupt[unit]
225 int unit; local
[all...]
/freebsd-11-stable/sys/dev/pbio/
H A Dpbio.c133 #define pbio_addr(unit) \
134 ((struct pbio_softc *) devclass_get_softc(pbio_devclass, unit))
215 * we can also trust the unit number.
220 int unit; local
226 unit = device_get_unit(dev);
241 sc->pd[i].port = make_dev(&pbio_cdevsw, (unit << 2) + i, 0, 0,
242 0600, "pbio%d%s", unit, PBIO_PNAME(i));
251 int port, unit; local
253 unit = UNIT(dev);
255 scp = pbio_addr(unit);
287 int ocfg, port, unit; local
321 int unit; local
376 int err, i, port, ret, toread, unit; local
405 int i, port, ret, towrite, unit; local
453 int unit; local
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/
H A DChrono.cpp18 const char llvm::detail::unit<std::ratio<3600>>::value[] = "h";
19 const char llvm::detail::unit<std::ratio<60>>::value[] = "m";
20 const char llvm::detail::unit<std::ratio<1>>::value[] = "s";
21 const char llvm::detail::unit<std::milli>::value[] = "ms";
22 const char llvm::detail::unit<std::micro>::value[] = "us";
23 const char llvm::detail::unit<std::nano>::value[] = "ns";

Completed in 154 milliseconds

1234567891011>>