/src/sys/netbt/ |
hci_unit.c | 79 * bluetooth unit functions 86 struct hci_unit *unit; local in function:hci_attach_pcb 96 unit = malloc(sizeof(struct hci_unit), M_BLUETOOTH, M_ZERO | M_WAITOK); 97 KASSERT(unit != NULL); 99 unit->hci_dev = dev; 100 unit->hci_if = hci_if; 101 unit->hci_flags = flags; 103 mutex_init(&unit->hci_devlock, MUTEX_DRIVER, hci_if->ipl); 104 cv_init(&unit->hci_init, "hci_init"); 106 MBUFQ_INIT(&unit->hci_eventq) 271 struct hci_unit *unit; local in function:hci_unit_lookup 352 struct hci_unit *unit = arg; local in function:hci_intr [all...] |
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_event.c | 68 static void hci_cmd_create_con(struct hci_unit *unit, uint8_t status); 164 hci_event(struct mbuf *m, struct hci_unit *unit) 181 device_xname(unit->hci_dev), hci_eventstr(hdr.event)); 185 hci_event_command_status(unit, m); 189 hci_event_command_compl(unit, m); 193 hci_event_num_compl_pkts(unit, m); 197 hci_event_inquiry_result(unit, m); 201 hci_event_rssi_result(unit, m); 205 hci_event_extended_result(unit, m); 209 hci_event_con_compl(unit, m) [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/dev/pci/bktr/ |
bktr_mem.c | 107 bktr_has_stored_addresses(int unit) { 109 if ((unit < 0) || (unit >= BKTR_MEM_MAX_DEVICES)) { 110 printf("bktr_mem: Unit number %d invalid\n",unit); 114 return memory_list[unit].addresses_stored; 120 bktr_store_address(int unit, int type, vm_offset_t addr) { 122 if ((unit < 0) || (unit >= BKTR_MEM_MAX_DEVICES)) { 123 printf("bktr_mem: Unit number %d invalid for memory type %d, address 0x%x\n [all...] |
bktr_mem.h | 63 int bktr_has_stored_addresses(int unit); 64 void bktr_store_address(int unit, int type, vm_offset_t addr); 65 vm_offset_t bktr_retrieve_address(int unit, int type);
|
/src/etc/ |
MAKEDEV.tmpl | 107 # ttyCZ? Cyclades-Z multiport serial boards. Each "unit" 109 # ttyCY? Cyclom-Y multiport serial boards. Each "unit" makes 874 unit=${i#emcfan} 875 mkdev emcfan$unit c %emcfan_chr% $unit 660 986 unit=${i#usb} 987 usb=usb$unit 988 mkdev usb$unit c %usb_chr% $unit 992 unit=${i#uhid [all...] |
/src/etc/etc.evbcf/ |
MAKEDEV.conf | 12 unit=${i#ttyF} 13 mkdev ttyF$unit c 14 $(($unit + $dialin )) "" "" $u_uucp 14 mkdev dtyF$unit c 14 $(($unit + $dialout)) "" "" $u_uucp
|
/src/sys/arch/hp300/stand/common/ |
hpib.c | 77 hpibalive(int unit) 79 if (unit >= NHPIB || hpib_softc[unit].sc_alive == 0) 85 hpibid(int unit, int slave) 90 if (hpib_softc[unit].sc_type == HPIBC) 91 rv = fhpibrecv(unit, 31, slave, (uint8_t *)&id, 2); 93 rv = nhpibrecv(unit, 31, slave, (uint8_t *)&id, 2); 100 hpibsend(int unit, int slave, int sec, uint8_t *buf, int cnt) 103 if (hpib_softc[unit].sc_type == HPIBC) 104 return (fhpibsend(unit, slave, sec, buf, cnt)) [all...] |
/src/sys/arch/ews4800mips/stand/common/ |
boot_device.c | 37 * Get boot device and unit number. IPL sets it. 63 boot_device(int *type, int *unit, int *fd_format) 70 return tab[i](type, unit); 72 return __nvsram_type_e(type, unit); 76 __nvsram_type_a(int *type, int *unit) 80 *unit = 0; 84 __nvsram_type_b(int *type, int *unit) 88 *unit = *(uint8_t *)0xba021808; 92 __nvsram_type_c(int *type, int *unit) 96 *unit = *(uint8_t *)0xbb012088 [all...] |
/src/sys/arch/amiga/amiga/ |
device.h | 51 #define getsoftc(cdnam, unit) device_lookup_private(&(cdnam), (unit))
|
/src/usr.bin/make/unit-tests/ |
directive-error.exp | 3 make: stopped in unit-tests
|
jobs-error-nested-make.exp | 5 make: stopped making "nested" in unit-tests 8 make: stopped making "nested" in unit-tests 10 make: stopped making "all" in unit-tests
|
jobs-error-indirect.exp | 4 make: stopped making "all" in unit-tests 7 make: stopped making "all" in unit-tests
|
/src/etc/etc.vax/ |
MAKEDEV.conf | 39 ht*) name=ht; unit=${i#ht}; blk=1; chr=5 ;; 40 mt*) name=mt; unit=${i#mt}; blk=15; chr=38;; 41 tm*) name=tm; unit=${i#tm}; blk=5; chr=14;; 42 ts*) name=ts; unit=${i#ts}; blk=6; chr=16;; 43 ut*) name=ut; unit=${i#ut}; blk=10; chr=17;; 45 case $unit in 47 four=$(($unit + 4)) ; eight=$(($unit + 8)) 48 twelve=$(($unit + 12)) ; twenty=$(($unit + 20) [all...] |
/src/sys/arch/x68k/stand/libsa/ |
chdsk.c | 47 /* unlock current unit */ 48 IOCS_B_DRVCHK(drive[sc->unit], 3); 50 IOCS_B_DRVCHK(drive[sc->unit], 1); 58 sc->unit = 0; 62 sc->unit = 1; 70 /* lock new unit */ 71 IOCS_B_DRVCHK(drive[sc->unit], 2);
|
fdvar.h | 40 int unit; member in struct:fd_softc
|
/src/usr.sbin/sysinst/ |
sizemultname.c | 52 set_sizemult(daddr_t unit, uint bps) 54 if (unit == 0 || bps == 0) 57 sizemult = unit/bps; 61 else if (unit == MEG) 63 else if (unit == GIG) 73 set_default_sizemult(const char *disk, daddr_t unit, uint bps) 81 set_sizemult(unit, bps);
|
/src/etc/etc.mvme68k/ |
MAKEDEV.conf | 14 unit=${i#ttyC} 15 mkdev ttyC$unit c 13 $(($unit + $dialin )) "" "" $u_uucp 16 mkdev dtyC$unit c 13 $(($unit + $dialout)) "" "" $u_uucp
|
/src/sys/arch/luna68k/stand/boot/ |
sio.c | 95 int unit; local in function:_siointr 97 for (unit = 0; unit < NSIO; unit++) 98 siointr(unit); 102 siointr(int unit) 105 struct siodevice *sio = sio_addr[unit]; 107 int rr0 = sioreg(REG(unit, RR0), 0); 108 int rr1 = sioreg(REG(unit, RR1), 0); 116 sioreg(REG(unit, WR0), WR0_ERRRST) 158 int unit = cp->cn_dev; local in function:siocninit 167 int c, unit = dev; local in function:siocngetc 180 int unit = dev; local in function:siocnputc [all...] |
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/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...] |
/src/etc/etc.emips/ |
MAKEDEV.conf | 18 name=dz; unit=${i#dz}; chr=16 19 case $unit in 27 warn "bad unit for $name in: $i"
|
/src/sys/dev/marvell/ |
gtdevbusvar.h | 31 gt_devbus_addr(device_t gt, int unit, uint32_t *ldp, uint32_t *hdp) 45 if (unit >= __arraycount(obio_info)) 49 obio_info[unit].low_decode); 51 obio_info[unit].high_decode);
|
/src/etc/etc.amiga/ |
MAKEDEV.conf | 36 tty0*) name=tty0; mname=ttym; unit=${i#tty0}; chr=12; mult=1; add=128;; 37 ttyA*) name=ttyA; mname=ttyAm; unit=${i#ttyA}; chr=17; mult=1; add=128;; 38 ttyB*) name=ttyB; mname=ttyBm; unit=${i#ttyB}; chr=31; mult=2; add=1;; 40 mkdev $name$unit c $chr $(($unit * $mult)) "" "" $u_uucp 41 mkdev $mname$unit c $chr $(($unit * $mult + $add)) "" "" $u_uucp 45 unit=${i#grf}; chr=10 46 case $unit in 48 mkdev grf$unit c $chr $unit 66 [all...] |