/freebsd-11-stable/sys/dev/mvs/ |
H A D | mvs_soc.c | 105 int error, unit, i; local 170 for (unit = 0; unit < ctlr->channels; unit++) { 175 device_set_ivars(child, (void *)(intptr_t)unit); 239 int unit = ((struct mvs_channel *)device_get_softc(child))->unit; local 240 int bit = IC_DONE_IRQ << (unit * 2); 342 int unit = ((struct mvs_channel *)device_get_softc(child))->unit; local 393 int unit = (intptr_t)device_get_ivars(child); local 409 int unit = (intptr_t)device_get_ivars(child); local [all...] |
/freebsd-11-stable/sys/net/ |
H A D | if_tap.c | 186 tap_clone_create(struct if_clone *ifc, int unit, caddr_t params) argument 191 /* Find any existing device, or allocate new unit number. */ 192 i = clone_create(&tapclones, &tap_cdevsw, &unit, &dev, 0); 194 dev = make_dev(&tap_cdevsw, unit, UID_ROOT, GID_WHEEL, 0600, 195 "%s%d", tapname, unit); 204 vmnet_clone_create(struct if_clone *ifc, int unit, caddr_t params) argument 209 /* Find any existing device, or allocate new unit number. */ 210 i = clone_create(&tapclones, &tap_cdevsw, &unit, &dev, VMNET_DEV_MASK); 212 dev = make_dev(&tap_cdevsw, unit | VMNET_DEV_MASK, UID_ROOT, 213 GID_WHEEL, 0600, "%s%d", vmnetname, unit); 354 int i, unit, append_unit; local 420 int unit; local [all...] |
H A D | if_clone.h | 57 int ifc_name2unit(const char *name, int *unit);
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_heath.c | 163 #define DEVICE "/dev/heath%d" /* device name and unit */ 213 int unit, 224 snprintf(device, sizeof(device), DEVICE, unit); 255 int unit, 398 int unit, 212 heath_start( int unit, struct peer *peer ) argument 254 heath_shutdown( int unit, struct peer *peer ) argument 397 heath_poll( int unit, struct peer *peer ) argument
|
H A D | refclock_pst.c | 74 #define DEVICE "/dev/wwv%d" /* device name and unit */ 118 int unit, 130 snprintf(device, sizeof(device), DEVICE, unit); 136 * Allocate and initialize unit structure 167 int unit, 281 int unit, 117 pst_start( int unit, struct peer *peer ) argument 166 pst_shutdown( int unit, struct peer *peer ) argument 280 pst_poll( int unit, struct peer *peer ) argument
|
/freebsd-11-stable/contrib/atf/atf-c++/detail/ |
H A D | text.cpp | 139 const char unit = str[str.length() - 1]; local 141 switch (unit) { 147 if (!std::isdigit(unit)) 148 throw std::runtime_error(std::string("Unknown size unit '") + unit
|
/freebsd-11-stable/sys/dev/cardbus/ |
H A D | cardbus_device.c | 113 int unit; local 117 unit = device_get_unit(sc->sc_dev); 119 "cardbus%d.%d.cis", unit, devi->pci.cfg.func); 121 make_dev_alias(devi->sc_cisdev, "cardbus%d.cis", unit);
|
/freebsd-11-stable/sys/dev/bhnd/ |
H A D | bhndvar.h | 77 const char *name, int unit);
|
/freebsd-11-stable/sys/dev/bktr/ |
H A D | bktr_os.h | 51 vm_offset_t get_bktr_mem( int unit, unsigned size );
|
/freebsd-11-stable/sys/dev/ata/chipsets/ |
H A D | ata-marvell.c | 67 ((ch->unit & 3) * 0x0100) + (ch->unit > 3 ? 0x30000 : 0x20000) 69 ((ch->unit & 3) * 0x2000) + (ch->unit > 3 ? 0x30000 : 0x20000)
|
/freebsd-11-stable/sys/mips/atheros/ |
H A D | ar724x_chip.c | 129 ar724x_chip_set_mii_speed(uint32_t unit, uint32_t speed) argument 144 ar724x_chip_set_pll_ge(int unit, int speed, uint32_t pll) argument 147 switch (unit) { 155 printf("%s: invalid PLL set for arge unit: %d\n", 156 __func__, unit);
|
H A D | ar933x_chip.c | 165 ar933x_chip_set_mii_speed(uint32_t unit, uint32_t speed) argument 176 ar933x_chip_set_pll_ge(int unit, int speed, uint32_t pll) argument 179 switch (unit) { 187 printf("%s: invalid PLL set for arge unit: %d\n", 188 __func__, unit);
|
/freebsd-11-stable/usr.bin/number/ |
H A D | number.c | 80 static int unit(int, char *); 168 rval = len > 0 ? unit(len, line) : 0; 176 if (unit(flen, fraction)) { 191 unit(int len, char *p) function
|
/freebsd-11-stable/sys/dev/ips/ |
H A D | ips_disk.h | 60 int unit; member in struct:ipsdisk_softc
|
/freebsd-11-stable/contrib/netbsd-tests/usr.bin/make/ |
H A D | t_make.sh | 47 local testdir="$(atf_get_srcdir)/unit-tests" 77 for filename in "$(atf_get_srcdir)"/unit-tests/*.mk ; do
|
/freebsd-11-stable/sys/netpfil/ipfw/ |
H A D | ip_fw_bpf.c | 106 ipfw_clone_create(struct if_clone *ifc, int unit, caddr_t params) argument 113 if_initname(ifp, ipfwname, unit); 135 ipfwlog_clone_create(struct if_clone *ifc, int unit, caddr_t params) argument 142 if_initname(ifp, ipfwlogname, unit);
|
/freebsd-11-stable/stand/efi/libefi/ |
H A D | devicename.c | 83 * fs<unit>: 90 int i, unit, err; local 141 unit = 0; 146 unit = strtol(np, &cp, 0); 157 idev->d_unit = unit;
|
/freebsd-11-stable/usr.bin/mkimg/ |
H A D | image.c | 113 size_t unit; local 115 unit = (secsz > image_swap_pgsz) ? secsz : image_swap_pgsz; 116 assert((unit & (unit - 1)) == 0); 118 size = (size + unit - 1) & ~(unit - 1); 310 size_t unit; local 313 unit = (secsz > image_swap_pgsz) ? secsz : image_swap_pgsz; 314 assert((unit & (unit 327 size_t unit; local [all...] |
/freebsd-11-stable/usr.bin/setchannel/ |
H A D | setchannel.c | 55 " -d Select tuner unit number.\n" 93 int unit; local 110 unit = 0; 134 unit = atoi(optarg); 213 sprintf(dev_name, DEVNAME_BASE "%d", unit);
|
/freebsd-11-stable/stand/userboot/userboot/ |
H A D | devicename.c | 85 * disk<unit>[s<slice>][<partition>]: 93 int i, unit, err; local 126 unit = 0; 129 unit = strtol(np, (char **)&cp, 0); /* get unit number if present */ 142 idev->dd.d_unit = unit;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/ |
H A D | NameToDIE.h | 41 size_t FindAllEntriesForUnit(const DWARFUnit &unit,
|
/freebsd-11-stable/sys/contrib/ipfilter/netinet/ |
H A D | ip_dstlist.c | 302 /* unit(I) - device we are working with */ 310 ipf_dstlist_iter_deref(softc, arg, otype, unit, data) 313 int otype, unit; 321 if (unit < -1 || unit > IPL_LOGMAX) { 779 int unit, i, err = 0; local 787 unit = op->iplo_unit; 788 if (unit == IPL_LOGALL) { 791 } else if (unit >= 0 && unit < 835 int unit, err; local [all...] |
/freebsd-11-stable/contrib/ipfilter/ |
H A D | ip_dstlist.c | 302 /* unit(I) - device we are working with */ 310 ipf_dstlist_iter_deref(softc, arg, otype, unit, data) 313 int otype, unit; 321 if (unit < -1 || unit > IPL_LOGMAX) { 778 int unit, i, err = 0; local 786 unit = op->iplo_unit; 787 if (unit == IPL_LOGALL) { 790 } else if (unit >= 0 && unit < 834 int unit, err; local [all...] |
/freebsd-11-stable/sbin/ggate/ggatec/ |
H A D | ggatec.c | 64 static int unit = G_GATE_UNIT_AUTO; variable 83 "[-t timeout] [-u unit] <host> <path>\n", getprogname()); 85 "[-R rcvbuf] [-S sndbuf] <-u unit> <host> <path>\n", getprogname()); 86 fprintf(stderr, " %s destroy [-f] <-u unit>\n", getprogname()); 87 fprintf(stderr, " %s list [-v] [-u unit]\n", getprogname()); 103 ggio.gctl_unit = unit; 210 ggio.gctl_unit = unit; 387 g_gate_destroy(unit, 1); 421 g_gate_destroy(unit, 1); 455 ggioc.gctl_unit = unit; [all...] |
/freebsd-11-stable/sys/dev/cy/ |
H A D | cy.c | 97 /* We encode the cyclom unit number (cyu) in spare bits in the IVR's. */ 178 int unit; /* unit number */ member in struct:com_s 218 u_char car; /* CD1400 CAR shadow (if first unit in cd) */ 257 void cystatus(int unit); 263 /* table and macro for fast conversion from a unit number to its com struct */ 265 #define cy_addr(unit) (p_cy_addr[unit]) 350 int unit; local 372 unit 493 int unit; local 657 int unit; local 1132 int unit; local 1902 int unit; local 1935 int unit; local 2187 cystatus(int unit) argument [all...] |