/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_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_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...] |
/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.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);
|
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...] |
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
|
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...] |
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...] |
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))
|
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
|
directive-error.exp | 3 make: stopped 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...] |
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);
|
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);
|
/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);
|