HomeSort by: relevance | last modified time | path
    Searched defs:unit (Results 1 - 25 of 363) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/arch/alpha/stand/netboot/
devopen.c 54 int ctlr = 0, unit = 0, part = 0; local in function:devopen
72 /* read unit number */
73 unit = c - '0';
114 unit = c - '0';
133 ctlr = unit = part = 0;
150 rc = (dp->dv_open)(f, ctlr, unit, part);
  /src/sys/arch/cobalt/cobalt/
autoconf.c 99 int unit; local in function:device_register
101 unit = adev->adev_channel * 2 +
103 if (unit == bootunit) {
  /src/sys/arch/evbmips/stand/sbmips/netboot/
devopen.c 54 int ctlr = 0, unit = 0, part = 0; local in function:devopen
72 /* read unit number */
73 unit = c - '0';
114 unit = c - '0';
133 ctlr = unit = part = 0;
150 rc = (dp->dv_open)(f, ctlr, unit, part);
  /src/sys/arch/luna68k/stand/boot/
bmc.c 119 int unit = 1; local in function:bmccngetc
121 if (RBUF_EMPTY(unit))
124 POP_RBUF(unit, c);
boot.c 125 int dev = 0, unit = 0, part = 0; local in function:bootnetbsd
129 make_device(line, &dev, &unit, &part, NULL);
131 ctlr = CTLR(unit);
132 id = TARGET(unit);
devopen.c 82 int dev, unit, part; local in function:devopen
87 if (make_device(fname, &dev, &unit, &part, file) != 0)
92 devsw[dev].dv_name, unit, part, *file);
95 error = (*dp->dv_open)(f, unit, part);
99 devsw[dev].dv_name, unit, part, *file, strerror(error));
126 int dev, unit, part; local in function:make_device
131 unit = 0;
151 unit = default_unit;
163 /* get mixed controller and unit number */
169 unit = unit * 10 + *cp - '0'
    [all...]
  /src/sys/arch/sbmips/stand/netboot/
devopen.c 54 int ctlr = 0, unit = 0, part = 0; local in function:devopen
72 /* read unit number */
73 unit = c - '0';
114 unit = c - '0';
133 ctlr = unit = part = 0;
150 rc = (dp->dv_open)(f, ctlr, unit, part);
  /src/lib/libc/gen/
dehumanize_number.c 63 char *ep, unit; local in function:dehumanize_number
77 unit = str[len - 1];
78 if (isalpha((unsigned char)unit)) {
79 switch (tolower((unsigned char)unit)) {
  /src/sys/arch/evbppc/pmppc/
autoconf.c 98 int unit, part; local in function:findroot
114 unit = (bootdev >> B_UNITSHIFT) & B_UNITMASK;
116 if ((dv = device_find_by_driver_unit(name, unit)) != NULL) {
  /src/sys/arch/ews4800mips/ews4800mips/
autoconf.c 63 int unit, partition; local in function:cpu_rootconf
75 unit = 0;
94 unit = p[2] - '0';
96 if (unit >= 0 && unit <= 9 && partition >= 0 &&
  /src/sys/arch/hpcmips/hpcmips/
autoconf.c 104 int unit, part; local in function:get_device
116 unit = part = 0;
120 unit = (unit * 10) + (*cp++ - '0');
128 if ((dv = device_find_by_driver_unit(devname, unit)) != NULL) {
  /src/sys/arch/i386/stand/boot/
devopen.c 76 dev2bios(char *devname, int unit, int *biosdev)
80 *biosdev = 0x80 + unit;
82 *biosdev = 0x00 + unit;
92 bios2dev(int biosdev, daddr_t sector, char **devname, int *unit,
97 *unit = biosdev & 0x7f;
107 *unit = 0; /* override default */
128 int unit, partition; local in function:devopen
133 &unit, &partition, (const char **) file);
163 error = dev2bios(devname, unit, &biosdev);
  /src/sys/arch/mac68k/dev/
maccons.c 75 int maj, unit; local in function:maccnprobe
82 unit = 0;
86 cp->cn_dev = makedev(maj, unit);
  /src/sys/arch/mvmeppc/mvmeppc/
autoconf.c 96 int unit, part; local in function:findroot
112 unit = (bootdev >> B_UNITSHIFT) & B_UNITMASK;
114 if ((dv = device_find_by_driver_unit(name, unit)) != NULL) {
  /src/sys/netbt/
hci_ioctl.c 57 struct hci_unit *unit; local in function:hci_dump
64 SIMPLEQ_FOREACH(unit, &hci_unit_list, hci_next) {
65 uprintf("UNIT %s: flags 0x%4.4x, "
67 device_xname(unit->hci_dev), unit->hci_flags,
68 unit->hci_num_cmd_pkts,
69 unit->hci_num_acl_pkts,
70 unit->hci_num_sco_pkts);
71 TAILQ_FOREACH(link, &unit->hci_links, hl_next) {
138 struct hci_unit *unit; local in function:hci_ioctl_pcb
    [all...]
hci_misc.c 59 struct hci_unit *unit; local in function:hci_route_lookup
67 SIMPLEQ_FOREACH(unit, &hci_unit_list, hci_next) {
68 if ((unit->hci_flags & BTF_UP) == 0)
71 TAILQ_FOREACH(link, &unit->hci_links, hl_next) {
84 SIMPLEQ_FOREACH(unit, &hci_unit_list, hci_next) {
85 if ((unit->hci_flags & BTF_UP) == 0)
88 memo = hci_memo_find(unit, dest);
94 * Last ditch effort, lets use the first unit we find
97 SIMPLEQ_FOREACH(unit, &hci_unit_list, hci_next) {
98 if ((unit->hci_flags & BTF_UP) == 0
    [all...]
  /src/sys/arch/arm/s3c2xx0/
sscom_s3c2440.c 122 int unit = sa->sa_index; local in function:sscom_match
124 if (unit == SSIOCF_INDEX_DEFAULT && found == 0)
126 return (unit == 0 || unit == 1 || unit == 2);
152 int unit; local in function:sscom_attach
156 unit = (sa->sa_index == SSIOCF_INDEX_DEFAULT) ? 0 : sa->sa_index;
157 iobase = s3c2440_uart_config[unit].iobase;
161 sc->sc_unit = unit;
166 sc->sc_rx_irqno = s3c2440_uart_config[unit].rx_int
    [all...]
  /src/sys/arch/cobalt/stand/boot/
devopen.c 46 devparse(const char *fname, int *dev, uint8_t *unit, uint8_t *part,
51 *unit = 0; /* default to wd0a */
78 /* no unit number or partition suffix on netboot */
84 /* parse [disk][unit][part] (ex. wd0a) strings */
113 *unit = u;
129 uint8_t unit, part; local in function:devopen
134 if ((error = devparse(fname, &dev, &unit, &part,
144 if ((error = (*dp->dv_open)(f, unit, part)) != 0)
146 unit, 'a' + part, error, strerror(error));
  /src/sys/arch/emips/stand/common/
devopen.c 49 int ctlr = 0, unit = 0, part = 0; local in function:devopen
63 * Require the form CTRL/DEVNAME(UNIT,PART)/FILENAME
94 unit = c - '0';
113 rc = DEV_OPEN(dp)(f, ctlr, unit, part);
131 rc = (dp->dv_open)(f, ctlr, unit, part, cp);
  /src/sys/arch/evbarm/stand/boot2440/
devopen.c 101 int unit, part; local in function:devopen
102 parseunit(&name[2], &unit, &part, file);
107 if ((error = sdmmc_open(of, unit, part)) != 0)
113 bi_rdev.cookie = unit;
138 int unit, part; local in function:parseunit
140 unit = part = -1;
142 if (unit == -1 && *p >= '0' && *p <= '9')
143 unit = *p - '0';
148 *unitp = (unit == -1) ? 0 : unit;
    [all...]
  /src/sys/arch/evbmips/ingenic/
cpu.c 77 int unit; local in function:cpu_attach
79 if ((unit = device_unit(self)) > 0) {
84 startup_cpu_info = cpu_info_alloc(NULL, unit, 0, unit, 0);
  /src/sys/arch/hpcmips/stand/libsa/
devopen.c 66 parsebootfile(const char *fnamexx, char **fsmode, char **devname, unsigned int *unit, unsigned int *partition, const char **file)
69 /* unit, *partition: out */
77 *unit = 0;
87 *unit = name[0] - '0';
90 *unit = 1;
107 unsigned int unit, partition; local in function:devopen
110 if ((error = parsebootfile(fname, &fsmode, &devname, &unit,
122 return (*f->f_dev->dv_open)(f, devname, unit, partition);
  /src/sys/arch/hpcsh/hpcsh/
autoconf.c 145 int unit, part; local in function:get_device
156 unit = part = 0;
160 unit = (unit * 10) + (*cp++ - '0');
169 if ((dv = device_find_by_driver_unit(devname, unit)) != NULL) {
  /src/sys/arch/ibmnws/ibmnws/
autoconf.c 99 int unit, part; local in function:findroot
115 unit = (bootdev >> B_UNITSHIFT) & B_UNITMASK;
117 if ((dv = device_find_by_driver_unit(name, unit)) != NULL) {
  /src/sys/arch/landisk/stand/boot/
devopen.c 39 static int dev2bios(char *devname, unsigned int unit, int *biosdev);
43 dev2bios(char *devname, unsigned int unit, int *biosdev)
47 if (unit == 0 || unit == 1) {
48 *biosdev = 0x40 + (unit << 4);
56 bios2dev(int biosdev, char **devname, u_int *unit, u_int sector, u_int *ptnp)
60 *unit = (biosdev >> 4) & 1;
93 unsigned int dev, ctlr, unit, partition; local in function:devopen
102 if ((error = parsebootfile(fname, &devname, &unit, &partition,
130 if (dev2bios(devname, unit, &biosdev) == 0)
    [all...]

Completed in 23 milliseconds

1 2 3 4 5 6 7 8 91011>>