| /netbsd-src/external/bsd/ntp/dist/include/ |
| H A D | timepps-Solaris.h | 239 pps_unit_t *punit; in time_pps_create() local 260 punit = malloc(sizeof(*punit)); in time_pps_create() 261 if (NULL == punit) { in time_pps_create() 266 memset(punit, 0, sizeof(*punit)); in time_pps_create() 267 punit->filedes = filedes; in time_pps_create() 268 punit->params.api_version = PPS_API_VERS_1; in time_pps_create() 269 punit->params.mode = PPS_CAPTUREASSERT | PPS_TSFMT_TSPEC; in time_pps_create() 271 *handle = (pps_handle_t)punit; in time_pps_create() 284 pps_unit_t *punit; in time_pps_destroy() local 294 punit = (pps_unit_t *)handle; in time_pps_destroy() [all …]
|
| /netbsd-src/sys/dev/gpib/ |
| H A D | cs80bus.c | 206 cs80bus_alloc(struct cs80bus_softc *sc, int slave, int punit) in cs80bus_alloc() argument 211 if (slave >= CS80BUS_NSLAVES || punit >= CS80BUS_NPUNITS) in cs80bus_alloc() 216 if (sc->sc_rmap[slave][punit] == 0) { in cs80bus_alloc() 217 sc->sc_rmap[slave][punit] = 1; in cs80bus_alloc() 230 cs80describe(void *v, int slave, int punit, struct cs80_description *csd) in cs80describe() argument 268 cs80reset(void *v, int slave, int punit) in cs80reset() argument 276 slave, punit)); in cs80reset() 278 clear.c_unit = CS80CMD_SUNIT(punit); in cs80reset() 280 if (cs80send(sc, slave, punit, CS80CMD_TCMD, &clear, sizeof(clear))) { in cs80reset() 289 if (cs80send(sc, slave, punit, CS80CMD_SCMD, &sr, sizeof(sr))) { in cs80reset() [all …]
|
| H A D | ct.c | 213 short punit; member 230 ctlookup(int id, int slave, int punit) in ctlookup() argument 250 ca->ca_punit = ctinfo[i].punit; in ctmatch() 502 int i, slave, punit; in ctstart() local 505 punit = sc->sc_punit; in ctstart() 519 ul.unit = CS80CMD_SUNIT(punit); in ctstart() 522 punit, CS80CMD_SCMD, &ul, sizeof(ul)); in ctstart() 531 punit, CS80CMD_SCMD, &wfm, sizeof(wfm)); in ctstart() 562 punit, CS80CMD_SCMD, &sc->sc_ioc, in ctstart() 597 (void) cs80send(device_parent(sc->sc_dev), slave, punit, in ctstart() [all …]
|
| H A D | rd.c | 286 rdlookup(int id, int slave, int punit) in rdlookup() argument 294 if (i == numrdidentinfo || punit > rdidentinfo[i].ri_maxunum) in rdlookup() 703 int slave, punit; in rdstart() local 706 punit = sc->sc_punit; in rdstart() 714 sc->sc_ioc.c_unit = CS80CMD_SUNIT(punit); in rdstart() 745 cs80reset(device_parent(sc->sc_dev), slave, punit); in rdstart()
|
| H A D | files.gpib | 17 device cs80bus { slave = -1, punit = -1 }
|
| H A D | mt.c | 205 mtlookup(int id, int slave, int punit) in mtlookup() argument
|
| /netbsd-src/sys/arch/x68k/stand/loadbsd/ |
| H A D | loadbsd.c | 52 unsigned *pif, unsigned *punit); 53 static void get_current_scsi_interface(unsigned *pif, unsigned *punit); 78 lookupif(const char *name, unsigned *pif, unsigned *punit) in lookupif() argument 106 *punit = unit; in lookupif() 115 get_current_scsi_interface(unsigned *pif, unsigned *punit) in get_current_scsi_interface() argument 130 *punit = 0; in get_current_scsi_interface() 134 *punit = 0; in get_current_scsi_interface() 138 *punit = 1; in get_current_scsi_interface()
|
| /netbsd-src/sys/arch/hp300/dev/ |
| H A D | hpib.c | 167 int id, slave, punit; in hpibbus_attach_children() local 185 for (punit = 0; punit < HPIB_NPUNITS; punit++) { in hpibbus_attach_children() 191 ha.ha_punit = punit; in hpibbus_attach_children()
|
| H A D | rd.c | 703 int ctlr, slave, punit; in rdreset() local 707 punit = sc->sc_punit; in rdreset() 708 rdreset_unit(ctlr, slave, punit); in rdreset() 715 rdreset_unit(int ctlr, int slave, int punit) in rdreset_unit() argument 722 clear.c_unit = C_SUNIT(punit); in rdreset_unit() 736 ssmc.c_unit = C_SUNIT(punit); in rdreset_unit()
|
| H A D | ct.c | 198 short punit; member 274 ha->ha_punit == ctinfo[id].punit) in ctident()
|
| /netbsd-src/sys/arch/hp300/stand/common/ |
| H A D | autoconf.c | 149 int sc, type, ctlr, slave, punit; in msustobdev() local 159 punit = ((rp->msus >> 16) & 0xFF); in msustobdev() 161 bdev = MAKEBOOTDEV(type, ctlr, slave, punit, 0); in msustobdev()
|
| H A D | ct.c | 68 short punit; member 122 ct_softc[ctlr][unit].sc_punit = ctinfo[i].punit; in ctident() 156 ctpunit(int ctlr, int slave, int *punit) in ctpunit() argument 169 *punit = rs->sc_punit; in ctpunit()
|
| H A D | conf.c | 112 punitzero(int ctlr, int slave, int *punit) in punitzero() argument 115 *punit = 0; in punitzero()
|
| /netbsd-src/sys/arch/hp300/hp300/ |
| H A D | autoconf.c | 224 int dd_punit; /* and punit... */ 350 "type = %d, ctlr = %d, slave = %d, punit = %d, part = %d\n", in cpu_rootconf() 491 int type, ctlr, slave, punit, part; in findbootdev() local 504 punit = B_UNIT(bootdev); in findbootdev() 539 slave, punit); in findbootdev() 561 slave, punit); in findbootdev() 588 findbootdev_slave(ddlist_t *ddlist, int ctlr, int slave, int punit) in findbootdev_slave() argument 606 * Now find the device with the right slave/punit in findbootdev_slave() 619 dd->dd_punit == punit) { in findbootdev_slave()
|
| /netbsd-src/sys/arch/hp300/conf/ |
| H A D | INSTALL | 257 rd* at hpibbus? slave ? punit ? # HP-IB disks 258 ct* at hpibbus? slave ? punit ? # HP-IB cartridge tapes 259 mt* at hpibbus? slave ? punit ? # HP-IB 9-track tape 260 #ppi0 at hpibbus0 slave 5 punit 0 # HP-IB plotter
|
| H A D | GENERIC | 263 rd* at hpibbus? slave ? punit ? # HP-IB disks 264 ct* at hpibbus? slave ? punit ? # HP-IB cartridge tapes 265 mt* at hpibbus? slave ? punit ? # HP-IB 9-track tape 266 ppi0 at hpibbus0 slave 5 punit 0 # HP-IB plotter
|
| H A D | files.hp300 | 182 device hpibbus { slave = -1, punit = -1 }
|
| /netbsd-src/sys/dev/dkwedge/ |
| H A D | dk.c | 269 int punit; in dkwedge_compute_pdev() local 288 for (cp = name, punit = 0; *cp >= '0' && *cp <= '9'; cp++) in dkwedge_compute_pdev() 289 punit = (punit * 10) + (*cp - '0'); in dkwedge_compute_pdev() 295 *pdevp = MAKEDISKDEV(pmaj, punit, RAW_PART); in dkwedge_compute_pdev()
|
| /netbsd-src/external/lgpl3/gmp/dist/tune/ |
| H A D | time.c | 1357 #define DIFF_SECS_ROUTINE(sec, psec, punit) \ argument 1362 return (double) sec_diff + punit * (double) psec_diff; \
|
| /netbsd-src/sys/arch/i386/conf/ |
| H A D | ALL | 707 ct* at cs80bus? slave ? punit ? 708 mt* at cs80bus? slave ? punit ? 709 rd* at cs80bus? slave ? punit ?
|