Searched refs:unit (Results 176 - 200 of 1266) sorted by relevance

1234567891011>>

/netbsd-current/etc/etc.x68k/
H A DMAKEDEV.conf37 unit=${i#grf}
38 mkdev grf$unit c 10 $unit 600
/netbsd-current/external/apache2/llvm/dist/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";
/netbsd-current/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/
H A Dnouveau_nvkm_engine_fifo_gm107.c77 gm107_fifo_intr_fault(struct nvkm_fifo *fifo, int unit) argument
80 u32 inst = nvkm_rd32(device, 0x002800 + (unit * 0x10));
81 u32 valo = nvkm_rd32(device, 0x002804 + (unit * 0x10));
82 u32 vahi = nvkm_rd32(device, 0x002808 + (unit * 0x10));
83 u32 type = nvkm_rd32(device, 0x00280c + (unit * 0x10));
89 info.engine = unit;
H A Dnouveau_nvkm_engine_fifo_gp100.c61 gp100_fifo_intr_fault(struct nvkm_fifo *fifo, int unit) argument
64 u32 inst = nvkm_rd32(device, 0x002800 + (unit * 0x10));
65 u32 valo = nvkm_rd32(device, 0x002804 + (unit * 0x10));
66 u32 vahi = nvkm_rd32(device, 0x002808 + (unit * 0x10));
67 u32 type = nvkm_rd32(device, 0x00280c + (unit * 0x10));
73 info.engine = unit;
/netbsd-current/sys/arch/prep/stand/boot/
H A Ddevopen.c59 * dev(ctlr, unit, part)file
62 devparse(const char *fname, int *dev, int *adapt, int *ctlr, int *unit, argument
102 *unit = atoi(args[1]);
123 int dev = 0, ctlr = 0, unit = 0, part = 0; local
128 error = devparse(fname, &dev, &adapt, &ctlr, &unit, &part, file);
143 if ((error = (*dp->dv_open)(f, ctlr, unit, part)) == 0)
150 ctlr, unit, part, strerror(error));
/netbsd-current/sys/arch/bebox/stand/boot/
H A Dfd.c138 int unit; member in struct:fd_unit
139 u_int un_flags; /* unit status flag */
223 fdopen(struct open_file *f, int ctlr, int unit) argument
230 if (unit >= UNIT_MAX)
232 un = &fd_unit[ctlr][unit];
240 motor_on(ctlr, unit);
242 fdRecalibrate(ctlr, unit);
245 printf("fdc%d: unit:%d recalibrate failed. status:0x%x cyl:%d\n",
246 ctlr, unit, stat[0], stat[1]);
247 motor_off(ctlr, unit);
298 int unit = un->unit; local
354 int unit = un->unit; local
456 motor_on(int ctlr, int unit) argument
465 motor_off(int ctlr, int unit) argument
484 fdRecalibrate(int ctlr, int unit) argument
504 fdDriveStatus(int ctlr, register int unit, register int head, register int *stat) argument
516 fdSeek(int ctlr, int unit, int cyl) argument
552 int unit = un->unit; local
[all...]
H A Ddevopen.c49 devparse(const char *fname, int *dev, int *ctlr, int *unit, int *lunit, argument
69 *unit = 1;
84 *unit = 0;
87 *unit = 1;
117 *unit = *(p - 6) - '0';
139 int dev = 0, ctlr = 0, unit = 0, lunit = 0, part = 0; local
144 error = devparse(fname, &dev, &ctlr, &unit, &lunit, &part, file);
158 if ((error = (*dp->dv_open)(f, ctlr, unit, lunit, part)) == 0)
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Drefclock_neoclock4x.c113 short unit; /* NTP refclock unit number */ member in struct:neoclock4x_unit
163 neoclock4x_start(int unit, argument
178 (void) snprintf(dev, sizeof(dev)-1, "/dev/neoclock4x-%d", unit);
194 msyslog(LOG_CRIT, "NeoClock4X(%d): (tcgetattr) can't query serial port settings: %m", unit);
208 msyslog(LOG_CRIT, "NeoClock4X(%d): (tcsetattr) can't set serial port 2400 8N2: %m", unit);
216 msyslog(LOG_CRIT, "NeoClock4X(%d): (tcgetattr) can't query serial port settings: %m", unit);
229 msyslog(LOG_CRIT, "NeoClock4X(%d): (tcsetattr) can't set serial port 2400 8N2: %m", unit);
238 msyslog(LOG_CRIT, "NeoClock4X(%d): (TCGETA) can't query serial port settings: %m", unit);
251 msyslog(LOG_CRIT, "NeoClock4X(%d): (TSGETA) can't set serial port 2400 8N2: %m", unit);
393 neoclock4x_shutdown(int unit, struct peer *peer) argument
661 neoclock4x_poll(int unit, struct peer *peer) argument
675 neoclock4x_control(int unit, const struct refclockstat *in, struct refclockstat *out, struct peer *peer) argument
902 neol_query_firmware(int fd, int unit, char *firmware, size_t maxlen) argument
1036 neol_check_firmware(int unit, const char *firmware, char *firmwaretag) argument
[all...]
H A Drefclock_msfees.c77 bug->values[14] = inherent_delay[unit].l_uf;
78 bug->values[15] = offset_fudge[unit].l_uf;
86 bug->times[6] = inherent_delay[unit];
87 bug->times[8] = os_delay[unit];
88 bug->times[7] = fudgefactor[unit];
89 bug->times[9] = offset_fudge[unit];
242 struct eesunit { /* EES unit control structure. */
258 u_char unit; /* unit number for this guy */ member in struct:eesunit
307 /* Data space for the unit structure
431 msfees_start( int unit, struct peer *peer ) argument
605 msfees_shutdown( int unit, struct peer *peer ) argument
1427 msfees_poll( int unit, struct peer *peer ) argument
[all...]
/netbsd-current/sys/netbt/
H A Dhci_link.c61 * hci_acl_open(unit, bdaddr)
68 hci_acl_open(struct hci_unit *unit, bdaddr_t *bdaddr) argument
75 KASSERT(unit != NULL);
78 link = hci_link_lookup_bdaddr(unit, bdaddr, HCI_LINK_ACL);
80 link = hci_link_alloc(unit, bdaddr, HCI_LINK_ACL);
92 cp.pkt_type = htole16(unit->hci_packet_type);
94 memo = hci_memo_find(unit, bdaddr);
101 if (unit->hci_link_policy & HCI_LINK_POLICY_ENABLE_ROLE_SWITCH)
104 err = hci_send_cmd(unit, HCI_CMD_CREATE_CON, &cp, sizeof(cp));
172 hci_acl_newconn(struct hci_unit *unit, bdaddr_ argument
425 hci_acl_recv(struct mbuf *m, struct hci_unit *unit) argument
625 struct hci_unit *unit; local
769 hci_sco_newconn(struct hci_unit *unit, bdaddr_t *bdaddr) argument
833 hci_sco_recv(struct mbuf *m, struct hci_unit *unit) argument
895 hci_link_alloc(struct hci_unit *unit, bdaddr_t *bdaddr, uint8_t type) argument
1029 hci_link_lookup_bdaddr(struct hci_unit *unit, bdaddr_t *bdaddr, uint8_t type) argument
1051 hci_link_lookup_handle(struct hci_unit *unit, uint16_t handle) argument
[all...]
/netbsd-current/external/gpl3/binutils.old/dist/gas/config/
H A Dtc-metag.c375 if (regs[i]->unit != UNIT_FX)
386 if ((reg1->unit == UNIT_A0 &&
387 (reg2->unit == UNIT_A1)) ||
388 (reg1->unit == UNIT_A1 &&
389 (reg2->unit == UNIT_A0)) ||
390 (reg1->unit == UNIT_D0 &&
391 (reg2->unit == UNIT_D1)) ||
392 (reg1->unit == UNIT_D1 &&
393 (reg2->unit == UNIT_D0)))
403 if (reg1->unit
967 is_short_unit(enum metag_unit unit) argument
4161 is_addr_unit(enum metag_unit unit) argument
4478 int unit = 0; local
[all...]
/netbsd-current/external/gpl3/binutils/dist/gas/config/
H A Dtc-metag.c375 if (regs[i]->unit != UNIT_FX)
386 if ((reg1->unit == UNIT_A0 &&
387 (reg2->unit == UNIT_A1)) ||
388 (reg1->unit == UNIT_A1 &&
389 (reg2->unit == UNIT_A0)) ||
390 (reg1->unit == UNIT_D0 &&
391 (reg2->unit == UNIT_D1)) ||
392 (reg1->unit == UNIT_D1 &&
393 (reg2->unit == UNIT_D0)))
403 if (reg1->unit
967 is_short_unit(enum metag_unit unit) argument
4159 is_addr_unit(enum metag_unit unit) argument
4476 int unit = 0; local
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gas/config/
H A Dtc-metag.c375 if (regs[i]->unit != UNIT_FX)
386 if ((reg1->unit == UNIT_A0 &&
387 (reg2->unit == UNIT_A1)) ||
388 (reg1->unit == UNIT_A1 &&
389 (reg2->unit == UNIT_A0)) ||
390 (reg1->unit == UNIT_D0 &&
391 (reg2->unit == UNIT_D1)) ||
392 (reg1->unit == UNIT_D1 &&
393 (reg2->unit == UNIT_D0)))
403 if (reg1->unit
967 is_short_unit(enum metag_unit unit) argument
4161 is_addr_unit(enum metag_unit unit) argument
4478 int unit = 0; local
[all...]
/netbsd-current/sys/arch/hpcmips/include/
H A Ddisklabel.h52 #define DISKMINOR(unit, part) \
53 (((unit) * OLDMAXPARTITIONS) + ((part) % OLDMAXPARTITIONS) + \
/netbsd-current/sys/arch/i386/include/
H A Ddisklabel.h52 #define DISKMINOR(unit, part) \
53 (((unit) * OLDMAXPARTITIONS) + ((part) % OLDMAXPARTITIONS) + \
/netbsd-current/sys/arch/ia64/include/
H A Ddisklabel.h52 #define DISKMINOR(unit, part) \
53 (((unit) * OLDMAXPARTITIONS) + ((part) % OLDMAXPARTITIONS) + \
/netbsd-current/sys/arch/zaurus/stand/zboot/
H A Dunixdev.c76 u_int unit, partition; local
81 unit = va_arg(ap, u_int);
87 printf("%s: devname=%s, unit=%d, partition=%d, fname=%s\n",
88 __func__, devname, unit, partition, fname);
96 dip = dkdevice(devname, unit);
139 u_int unit, partition; local
143 unit = va_arg(ap, u_int);
149 printf("%s: devname=%s, unit=%d, partition=%d, fname=%s\n",
150 __func__, devname, unit, partition, fname);
152 __USE(devname); __USE(partition); __USE(unit);
[all...]
/netbsd-current/sys/arch/landisk/stand/boot/
H A Dboot.h19 uint *unit, uint *partition, const char **file);
20 int bios2dev(int biosdev, char **devname, u_int *unit, u_int sector,
/netbsd-current/external/gpl3/gdb.old/dist/sim/ppc/
H A Dhw_phb.c164 The unit-decode method is not inserting a bus number into any
339 /* Extract/set various fields from a PCI unit address.
516 /* Convert PCI textual bus address into a device unit */
520 const char *unit,
524 const char *chp = unit;
531 if (unit == NULL)
561 device_error(me, "Problem parsing PCI address %s", unit);
566 device_error(me, "Invalid alias bit in PCI address %s", unit);
575 unit);
584 device_error(me, "Missing device number in PCI address %s", unit);
519 hw_phb_unit_decode(device *me, const char *unit, device_unit *address) argument
[all...]
/netbsd-current/external/bsd/mdocml/dist/
H A Dout.h42 enum roffscale unit; member in struct:roffsu
51 tbl_sulen sulen; /* calculate scaling unit length */
59 do { (p)->unit = SCALE_EN; \
/netbsd-current/sys/arch/ia64/stand/efi/libefi/
H A Defiboot.h48 int unit; member in struct:efi_devdesc::__anon3::__anon4
53 int unit; /* XXX net layer lives over these? */ member in struct:efi_devdesc::__anon3::__anon5
/netbsd-current/usr.bin/make/unit-tests/
H A Dsuff-transform-expand.exp7 make: stopped in unit-tests
H A Duse-inference.exp6 make: stopped in unit-tests
H A Dvarname-make_print_var_on_error-jobs.exp5 make: stopped in unit-tests
H A Ddeptgt-error.exp5 make: stopped in unit-tests

Completed in 437 milliseconds

1234567891011>>