HomeSort by: relevance | last modified time | path
    Searched defs:unit (Results 1 - 25 of 566) 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
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
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
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
121 if (RBUF_EMPTY(unit))
124 POP_RBUF(unit, c);
  /src/sys/arch/sbmips/stand/netboot/
devopen.c 54 int ctlr = 0, unit = 0, part = 0; local
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
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
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
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
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
133 &unit, &partition, (const char **) file);
163 error = dev2bios(devname, unit, &biosdev);
  /src/sys/arch/mac68k/dev/
maccons.c 75 int maj, unit; local
82 unit = 0;
86 cp->cn_dev = makedev(maj, unit);
  /src/sys/arch/mvmeppc/mvmeppc/
autoconf.c 96 int unit, part; local
112 unit = (bootdev >> B_UNITSHIFT) & B_UNITMASK;
114 if ((dv = device_find_by_driver_unit(name, unit)) != NULL) {
  /src/sys/arch/x68k/stand/libsa/
fdvar.h 40 int unit; member in struct:fd_softc
  /src/sys/netbt/
hci_ioctl.c 57 struct hci_unit *unit; local
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
    [all...]
hci_misc.c 59 struct hci_unit *unit; local
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/external/bsd/ntp/dist/tests/libntp/
refnumtoa.c 29 * with unit id 8
31 const u_char unit = 8; local
38 addr |= unit;
43 clockname(REFCLK_LOCALCLOCK), unit);
57 const u_char unit = 4; local
64 addr |= unit;
70 UNUSED_REFCLOCK_ID, unit);
  /src/sys/arch/acorn32/acorn32/
autoconf.c 80 int unit, part; local
91 unit = part = 0;
95 unit = (unit * 10) + (*cp++ - '0');
104 if ((dv = device_find_by_driver_unit(devname, unit)) != NULL) {
  /src/sys/arch/alpha/pci/
pci_bootdev.c 119 int unit; local
125 unit = periph->periph_target * 100 + periph->periph_lun;
126 if (b->unit != unit ||
145 DPRINTF(("bootdev info: unit: %d, channel: %d\n",
146 b->unit, b->channel));
147 if (b->unit != adev->adev_drv_data->drive ||
167 if (b->unit != mlxa->mlxa_unit) {
176 if (b->unit != iopa->ia_tid) {
  /src/sys/arch/arm/s3c2xx0/
sscom_s3c2410.c 103 int unit = sa->sa_index; local
105 return unit == 0 || unit == 1;
133 int unit = sa->sa_index; local
134 bus_addr_t iobase = s3c2410_uart_config[unit].iobase;
140 sc->sc_unit = unit;
155 s3c24x0_intr_establish(s3c2410_uart_config[unit].tx_int,
157 s3c24x0_intr_establish(s3c2410_uart_config[unit].rx_int,
159 s3c24x0_intr_establish(s3c2410_uart_config[unit].err_int,
169 s3c2410_sscom_cnattach(bus_space_tag_t iot, int unit, int rate
    [all...]
sscom_s3c2440.c 122 int unit = sa->sa_index; local
124 if (unit == SSIOCF_INDEX_DEFAULT && found == 0)
126 return (unit == 0 || unit == 1 || unit == 2);
152 int unit; local
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...]
sscom_s3c2800.c 95 int unit = sa->sa_index; local
97 return unit == 0 || unit == 1;
121 int unit = sa->sa_index; local
122 bus_addr_t iobase = s3c2800_uart_config[unit].iobase;
128 sc->sc_unit = unit;
143 s3c2800_intr_establish(s3c2800_uart_config[unit].tx_int,
145 s3c2800_intr_establish(s3c2800_uart_config[unit].rx_int,
147 s3c2800_intr_establish(s3c2800_uart_config[unit].err_int,
157 s3c2800_sscom_cnattach(bus_space_tag_t iot, int unit, int rate
    [all...]
  /src/sys/arch/cats/cats/
autoconf.c 71 int unit, part; local
83 unit = part = 0;
87 unit = (unit * 10) + (*cp++ - '0');
96 if ((dv = device_find_by_driver_unit(devname, unit)) != NULL) {
  /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
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
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
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
140 unit = part = -1;
142 if (unit == -1 && *p >= '0' && *p <= '9')
143 unit = *p - '0';
148 *unitp = (unit == -1) ? 0 : unit;
    [all...]

Completed in 30 milliseconds

1 2 3 4 5 6 7 8 91011>>