/freebsd-11-stable/sys/powerpc/pseries/ |
H A D | phyp_vscsi.c | 102 cell_t unit; member in struct:vscsi_softc 293 OF_getencprop(ofw_bus_get_node(dev), "reg", &sc->unit, 294 sizeof(sc->unit)); 529 err = phyp_hcall(H_SEND_CRQ, xp->sc->unit, ((uint64_t *)(&crq))[0], 581 err = phyp_hcall(H_SEND_CRQ, xp->sc->unit, ((uint64_t *)(&crq))[0], 707 err = phyp_hcall(H_SEND_CRQ, xp->sc->unit, ((uint64_t *)(&crq))[0], 757 error = phyp_hcall(H_FREE_CRQ, sc->unit); 766 error = phyp_hcall(H_REG_CRQ, sc->unit, sc->crq_phys, 770 error = phyp_hcall(H_SEND_CRQ, sc->unit, ((uint64_t *)(&crq))[0], 812 phyp_hcall(H_SEND_CRQ, xp->sc->unit, ((uint64_ [all...] |
/freebsd-11-stable/sys/dev/atkbdc/ |
H A D | atkbdc.c | 153 *atkbdc_get_softc(int unit) argument 157 if (unit >= nitems(atkbdc_softc)) 159 sc = atkbdc_softc[unit]; 161 sc = atkbdc_softc[unit] 170 atkbdc_probe_unit(int unit, struct resource *port0, struct resource *port1) argument 180 atkbdc_attach_unit(int unit, atkbdc_softc_t *sc, struct resource *port0, argument 341 atkbdc_open(int unit) argument 343 if (unit <= 0) 344 unit = 0; 345 if (unit > [all...] |
/freebsd-11-stable/contrib/bmake/unit-tests/ |
H A D | modorder.mk | 8 # unit-tests have to produce the same results on each run
|
/freebsd-11-stable/sys/arm/mv/armada38x/ |
H A D | rtc.c | 125 int unit, ret; local 127 unit = device_get_unit(dev);
|
/freebsd-11-stable/sys/arm/ti/am335x/ |
H A D | am335x_ecap.c | 105 am335x_pwm_config_ecap(int unit, int period, int duty) argument 111 dev = devclass_get_device(am335x_ecap_devclass, unit);
|
/freebsd-11-stable/sys/dev/bhnd/bhndb/ |
H A D | bhndb_private.h | 117 bhnd_devclass_t class, int unit, 124 bhnd_devclass_t class, int unit,
|
/freebsd-11-stable/sys/net/ |
H A D | if_disc.c | 81 disc_clone_create(struct if_clone *ifc, int unit, caddr_t params) argument 94 if_initname(ifp, discname, unit);
|
H A D | if_edsc.c | 95 edsc_clone_create(struct if_clone *ifc, int unit, caddr_t params) argument 116 if_initname(ifp, edscname, unit);
|
H A D | if_stf.c | 201 int err, unit, wildcard; local 205 err = ifc_name2unit(name, &unit); 208 wildcard = (unit < 0); 211 * We can only have one unit, but since unit allocation is 215 unit = STFUNIT; 216 err = ifc_alloc_unit(ifc, &unit); 224 ifc_free_unit(ifc, unit); 237 if (snprintf(dp, len - (dp-name), "%d", unit) > 256 ifc_free_unit(ifc, unit); [all...] |
/freebsd-11-stable/tools/tools/ipw/ |
H A D | ipwstats.c | 51 int unit; member in struct:statistic 261 switch (stat->unit) {
|
/freebsd-11-stable/sys/dev/smbus/ |
H A D | smbus.c | 97 smbus_add_child(device_t dev, u_int order, const char *name, int unit) argument 102 child = device_add_child_ordered(dev, order, name, unit);
|
/freebsd-11-stable/sys/cam/ |
H A D | cam_sim.c | 66 const char *sim_name, void *softc, u_int32_t unit, 83 sim->unit_number = unit; 65 cam_sim_alloc(sim_action_func sim_action, sim_poll_func sim_poll, const char *sim_name, void *softc, u_int32_t unit, struct mtx *mtx, int max_dev_transactions, int max_tagged_dev_transactions, struct cam_devq *queue) argument
|
H A D | cam_sim.h | 58 u_int32_t unit,
|
/freebsd-11-stable/sbin/ggate/shared/ |
H A D | ggate.h | 107 void g_gate_destroy(int unit, int force); 113 void g_gate_list(int unit, int verbose);
|
/freebsd-11-stable/usr.bin/bmake/ |
H A D | Makefile | 105 SUBDIR+= unit-tests 162 # A simple unit-test driver to help catch regressions 164 cd ${.CURDIR}/unit-tests && MAKEFLAGS= ${.MAKE} -r -m / TEST_MAKE=${TEST_MAKE:U${.OBJDIR}/${PROG:T}} ${.TARGET}
|
/freebsd-11-stable/usr.sbin/bluetooth/bthidcontrol/ |
H A D | hid.c | 188 if (h->unit) 190 ", unit=0x%02x exp=%d", h->unit, h->unit_exponent);
|
/freebsd-11-stable/stand/i386/gptboot/ |
H A D | gptboot.c | 246 "disk%up%u:", gdsk.dsk.unit, curent + 1); 287 gdsk.dsk.unit = gdsk.dsk.drive & DRV_MASK; 355 gdsk.dsk.unit, gdsk.dsk.part, kname); 402 dev_nm[gdsk.dsk.type], gdsk.dsk.unit, 491 MAKEBOOTDEV(dev_maj[gdsk.dsk.type], gdsk.dsk.part + 1, gdsk.dsk.unit, 0xff), 573 gdsk.dsk.unit = *arg - '0'; 574 if (arg[1] != 'p' || gdsk.dsk.unit > 9) 585 drv = gdsk.dsk.unit;
|
/freebsd-11-stable/sys/dev/acpica/ |
H A D | acpiio.h | 170 int unit; /* Device unit or ACPI_BATTERY_ALL_UNITS. */ member in union:acpi_battery_ioctl_arg_v1 178 int unit; /* Device unit or ACPI_BATTERY_ALL_UNITS. */ member in union:acpi_battery_ioctl_arg
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_hpgps.c | 93 #define DEVICE "/dev/hpgps%d" /* device name and unit */ 152 int unit, 166 snprintf(device, sizeof(device), DEVICE, unit); 178 * Allocate and initialize unit structure 224 int unit, 598 int unit, 151 hpgps_start( int unit, struct peer *peer ) argument 223 hpgps_shutdown( int unit, struct peer *peer ) argument 597 hpgps_poll( int unit, struct peer *peer ) argument
|
/freebsd-11-stable/contrib/groff/src/include/ |
H A D | font.h | 117 static int unit_scale(double *value, char unit);
|
/freebsd-11-stable/sys/arm/at91/ |
H A D | at91.c | 97 at91_add_child(dev, i, walker->name, walker->unit, 303 at91_add_child(device_t dev, int prio, const char *name, int unit, argument 309 kid = device_add_child_ordered(dev, prio, name, unit); 311 printf("Can't add child %s%d ordered\n", name, unit);
|
/freebsd-11-stable/sys/dev/aic7xxx/ |
H A D | aic_osm_lib.c | 81 aic->unit);
|
/freebsd-11-stable/sys/dev/ata/chipsets/ |
H A D | ata-cypress.c | 105 pci_write_config(parent, ch->unit ? 0x4e : 0x4c, 0x2020, 2);
|
H A D | ata-sis.c | 207 int offset = ch->unit << ((ctlr->chip->chipid == ATA_SIS182) ? 5 : 6); 244 int devno = (ch->unit << 1) + target; 250 pci_read_config(parent, ch->unit ? 0x52 : 0x50,2) & 0x8000) { 256 pci_read_config(parent, 0x48, 1)&(ch->unit ? 0x20 : 0x10)) {
|
/freebsd-11-stable/lib/libusbhid/ |
H A D | usbhid.h | 50 int32_t unit; member in struct:hid_item
|