Home
last modified time | relevance | path

Searched refs:dv (Results 1 – 25 of 54) sorted by relevance

123

/mirbsd/src/sys/arch/i386/i386/
Ddkcsum.c60 struct device *dv; in dkcsumattach() local
88 TAILQ_FOREACH(dv, &alldevs, dv_list) { in dkcsumattach()
89 if (dv->dv_class != DV_DISK) in dkcsumattach()
91 bp->b_dev = dev = dev_rawpart(dv); in dkcsumattach()
105 dv->dv_xname, error); in dkcsumattach()
120 dv->dv_xname, error); in dkcsumattach()
126 dv->dv_xname, error); in dkcsumattach()
135 dv->dv_xname, error); in dkcsumattach()
142 printf("dkcsum: %s checksum is %#x\n", dv->dv_xname, csum); in dkcsumattach()
160 dv->dv_xname, bdi->bios_number, in dkcsumattach()
[all …]
Dautoconf.c67 int findblkmajor(struct device *dv);
213 findblkmajor(dv) in findblkmajor() argument
214 struct device *dv; in findblkmajor()
216 char *name = dv->dv_xname;
Dconf.c458 int findblkmajor(struct device *dv);
462 dev_rawpart(dv) in dev_rawpart() argument
463 struct device *dv; in dev_rawpart()
467 majdev = findblkmajor(dv);
473 return (MAKEDISKDEV(majdev, dv->dv_unit, RAW_PART));
/mirbsd/src/lib/libssl/src/crypto/bn/
Dbn_div.c67 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, const BIGNUM *d,
86 if (dv != NULL) BN_zero(dv);
92 if (dv == NULL) dv = BN_CTX_get(ctx);
94 if (D == NULL || dv == NULL || rem == NULL)
104 BN_zero(dv);
105 if(bn_wexpand(dv,1) == NULL) goto end;
106 dv->top=1;
111 if (!BN_lshift1(dv,dv)) goto end;
114 dv->d[0]|=1;
121 dv->neg=m->neg^d->neg;
[all …]
Dbn_recp.c129 int BN_div_recp(BIGNUM *dv, BIGNUM *rem, const BIGNUM *m, in BN_div_recp() argument
138 if (dv != NULL) in BN_div_recp()
139 d=dv; in BN_div_recp()
/mirbsd/src/sys/dev/pci/
Dises.c293 char *dv = sc->sc_dv.dv_xname; in ises_initstate() local
301 DPRINTF(("%s: initstate %d, IDP state is %d \"%s\"\n", dv, in ises_initstate()
337 printf ("%s: initializing...\n", dv); in ises_initstate()
419 "IDP state is \"%s\"\n", dv, ises_idp_state[p]); in ises_initstate()
462 printf("%s: firmware v%d.%d loaded (%d bytes)", dv, in ises_initstate()
468 printf(" diagnostic, %s disabled\n", dv); in ises_initstate()
474 printf(" unknown, %s disabled\n", dv); in ises_initstate()
516 printf("%s: entered unknown initstate %d\n", dv, in ises_initstate()
527 printf("%s: firmware failure\n", dv); in ises_initstate()
592 char *dv = sc->sc_dv.dv_xname; in ises_process_oqueue() local
[all …]
Dmaestro.c115 u_int32_t dv; member
720 ch->dv = 0x10000;
724 ch->dv = (((ch->speed % 48000) << 16U) + 24000) / 48000
727 ch->speed = (ch->dv >> 16U) * 48000 +
728 (((ch->dv & 0xffff)*48000)>>16U);
954 | ((ch->dv & 0xff) << APU_FREQ_LOBYTE_SHIFT));
955 wp_apu_write(sc, n, APUREG_FREQ_HIWORD, ch->dv >> 8);
971 | ((ch->dv & 0xff) << APU_FREQ_LOBYTE_SHIFT));
972 wp_apu_write(sc, n+1, APUREG_FREQ_HIWORD, ch->dv >> 8);
987 | ((ch->dv & 0xff) << APU_FREQ_LOBYTE_SHIFT));
[all …]
/mirbsd/src/sys/kern/
Dsubr_autoconf.c804 struct device *dv = NULL; local
807 dv = (struct device *)(cd->cd_devs[unit]);
809 if (!dv)
812 if (!(dv->dv_flags & DVF_ACTIVE))
813 dv = NULL;
815 if (dv != NULL)
816 device_ref(dv);
818 return (dv);
829 device_ref(dv) in device_ref() argument
830 struct device *dv; in device_ref()
[all …]
/mirbsd/src/sys/arch/sparc/sparc/
Dautoconf.c1815 findblkmajor(dv) in findblkmajor() argument
1816 struct device *dv; in findblkmajor()
1818 char *name = dv->dv_xname;
1845 register struct device *dv; local
1847 if ((dv = parsedisk(str, len, defpart, devp)) == NULL) {
1852 for (dv = alldevs.tqh_first; dv != NULL;
1853 dv = dv->dv_list.tqe_next) {
1854 if (dv->dv_class == DV_DISK)
1855 printf(" %s[a-p]", dv->dv_xname);
1857 if (dv->dv_class == DV_IFNET)
[all …]
/mirbsd/src/etc/
Dremote15 # dv device to use for the tty
68 :dv=/dev/tty00:tc=direct:tc=unixhost:
71 :dv=/dev/ttya:tc=direct:tc=unixhost:
76 :dv=/dev/cua00:tc=dialup:tc=unixhost:
78 :dv=/dev/cuaa:tc=dialup:tc=unixhost:
/mirbsd/src/sbin/isakmpd/
Dipsec.c1092 u_int16_t dv = decode_16(value); in ipsec_is_attribute_incompatible() local
1097 return !crypto_get(from_ike_crypto(dv)); in ipsec_is_attribute_incompatible()
1099 return !hash_get(from_ike_hash(dv)); in ipsec_is_attribute_incompatible()
1101 return !ike_auth_get(dv); in ipsec_is_attribute_incompatible()
1103 return (dv < IKE_GROUP_DESC_MODP_768 || in ipsec_is_attribute_incompatible()
1104 dv > IKE_GROUP_DESC_MODP_1536) && in ipsec_is_attribute_incompatible()
1105 (dv < IKE_GROUP_DESC_MODP_2048 || in ipsec_is_attribute_incompatible()
1106 dv > IKE_GROUP_DESC_MODP_8192); in ipsec_is_attribute_incompatible()
1120 return dv < IKE_DURATION_SECONDS || in ipsec_is_attribute_incompatible()
1121 dv > IKE_DURATION_KILOBYTES; in ipsec_is_attribute_incompatible()
[all …]
/mirbsd/src/sys/dev/i2o/
Dioprbs.c582 ioprbs_intr(struct device *dv, struct iop_msg *im, void *reply) in ioprbs_intr() argument
587 struct ioprbs_softc *sc = (struct ioprbs_softc *)dv; in ioprbs_intr()
588 struct iop_softc *iop = (struct iop_softc *)dv->dv_parent; in ioprbs_intr()
594 DPRINTF(("ioprbs_intr(%p, %p, %p) ", dv, im, reply)); in ioprbs_intr()
607 printf("%s: error 0x%04x: %s\n", dv->dv_xname, detail, errstr); in ioprbs_intr()
609 printf("%s: error 0x%04x\n", dv->dv_xname, detail); in ioprbs_intr()
628 ioprbs_intr_event(struct device *dv, struct iop_msg *im, void *reply) in ioprbs_intr_event() argument
640 sc = (struct ioprbs_softc *)dv; in ioprbs_intr_event()
650 printf("%s: event 0x%08x received\n", dv->dv_xname, event); in ioprbs_intr_event()
654 ioprbs_adjqparam(struct device *dv, int mpi) in ioprbs_adjqparam() argument
[all …]
Diopsp.c235 iopsp_reconfig(struct device *dv) in iopsp_reconfig() argument
237 struct iopsp_softc *sc = (struct iopsp_softc *)dv; in iopsp_reconfig()
562 iopsp_intr(struct device *dv, struct iop_msg *im, void *reply) in iopsp_intr() argument
570 sc = (struct iopsp_softc *)dv; in iopsp_intr()
572 iop = (struct iop_softc *)dv->dv_parent; in iopsp_intr()
642 iopsp_adjqparam(struct device *dv, int mpi) in iopsp_adjqparam() argument
644 struct iopsp_softc *sc = (struct iopsp_softc *)dv; in iopsp_adjqparam()
/mirbsd/src/sys/dev/usb/
Dusbdi_util.c511 usb_detach_wait(device_ptr_t dv) in usb_detach_wait() argument
513 DPRINTF(("usb_detach_wait: waiting for %s\n", USBDEVPTRNAME(dv))); in usb_detach_wait()
514 if (tsleep(dv, PZERO, "usbdet", hz * 60)) in usb_detach_wait()
516 USBDEVPTRNAME(dv)); in usb_detach_wait()
517 DPRINTF(("usb_detach_wait: %s done\n", USBDEVPTRNAME(dv))); in usb_detach_wait()
521 usb_detach_wakeup(device_ptr_t dv) in usb_detach_wakeup() argument
523 DPRINTF(("usb_detach_wakeup: for %s\n", USBDEVPTRNAME(dv))); in usb_detach_wakeup()
524 wakeup(dv); in usb_detach_wakeup()
Dusb_subr.c842 device_ptr_t dv; in usbd_probe_and_attach() local
873 dv = USB_DO_ATTACH(dev, bdev, parent, &uaa, usbd_print, usbd_submatch); in usbd_probe_and_attach()
874 if (dv) { in usbd_probe_and_attach()
875 dev->subdevs = malloc(2 * sizeof dv, M_USB, M_NOWAIT); in usbd_probe_and_attach()
878 dev->subdevs[0] = dv; in usbd_probe_and_attach()
913 dev->subdevs = malloc((nifaces+1) * sizeof dv, M_USB,M_NOWAIT); in usbd_probe_and_attach()
927 dv = USB_DO_ATTACH(dev, bdev, parent, &uaa, usbd_print, in usbd_probe_and_attach()
930 if (dv != NULL) { in usbd_probe_and_attach()
931 dev->subdevs[found++] = dv; in usbd_probe_and_attach()
969 dv = USB_DO_ATTACH(dev, bdev, parent, &uaa, usbd_print, usbd_submatch); in usbd_probe_and_attach()
[all …]
/mirbsd/src/sys/dev/isa/
Dfdc.c281 fdcstatus(dv, n, s) in fdcstatus() argument
282 struct device *dv; in fdcstatus()
286 struct fdc_softc *fdc = (void *)dv->dv_parent;
294 printf("%s: %s", dv->dv_xname, s);
/mirbsd/src/bin/mksh/
Dmisc.c1961 const char *dv = go->optarg; in chvt() local
1965 switch (*dv) { in chvt()
1967 dv = "/dev/null"; in chvt()
1970 ++dv; in chvt()
1975 if (stat(dv, &sb)) { in chvt()
1976 cp = shf_smprintf("/dev/ttyC%s", dv); in chvt()
1977 dv = cp; in chvt()
1978 if (stat(dv, &sb)) { in chvt()
1980 dv = cp + 1; in chvt()
1981 if (stat(dv, &sb)) { in chvt()
[all …]
/mirbsd/src/sbin/iopctl/
Diopctl.c118 const char *dv; in main() local
121 dv = "/dev/iop0"; in main()
126 dv = optarg; in main()
137 if ((fd = open(dv, O_RDWR)) < 0) in main()
138 err(EXIT_FAILURE, "%s", dv); in main()
/mirbsd/src/usr.bin/oldroff/tbl/
Dt8.c301 int c, pl, lwid, dv, lf, ct; in funnies() local
350 for(c=dv=0; c<ncol; c++) in funnies()
354 if (dv++ == 0) in funnies()
357 dv++; in funnies()
361 if (dv) in funnies()
/mirbsd/src/lib/libssl/src/doc/crypto/
DBN_add.pod21 int BN_div(BIGNUM *dv, BIGNUM *rem, const BIGNUM *a, const BIGNUM *d,
61 BN_div() divides I<a> by I<d> and places the result in I<dv> and the
62 remainder in I<rem> (C<dv=a/d, rem=a%d>). Either of I<dv> and I<rem> may
68 BN_mod() corresponds to BN_div() with I<dv> set to B<NULL>.
/mirbsd/src/gnu/usr.bin/binutils/gdb/config/djgpp/
Dfnchange.lst323 @V@/sim/m68hc11/dv-m68hc11eepr.c @V@/sim/m68hc11/dv-eepr.c
324 @V@/sim/m68hc11/dv-m68hc11sio.c @V@/sim/m68hc11/dv-sio.c
325 @V@/sim/m68hc11/dv-m68hc11spi.c @V@/sim/m68hc11/dv-spi.c
326 @V@/sim/m68hc11/dv-m68hc11tim.c @V@/sim/m68hc11/dv-tim.c
327 @V@/sim/mips/dv-tx3904irc.c @V@/sim/mips/dv-tx3irc.c
328 @V@/sim/mips/dv-tx3904sio.c @V@/sim/mips/dv-tx3sio.c
329 @V@/sim/mips/dv-tx3904tmr.c @V@/sim/mips/dv-tx3tmr.c
330 @V@/sim/mn10300/dv-mn103int.c @V@/sim/mn10300/dv-mn1int.c
331 @V@/sim/mn10300/dv-mn103iop.c @V@/sim/mn10300/dv-mn1iop.c
332 @V@/sim/mn10300/dv-mn103ser.c @V@/sim/mn10300/dv-mn1ser.c
[all …]
/mirbsd/src/sys/dev/wscons/
Dwsmux.c365 wsmux_do_ioctl(struct device *dv, u_long cmd, caddr_t data, int flag, in wsmux_do_ioctl() argument
368 struct wsmux_softc *sc = (struct wsmux_softc *)dv; in wsmux_do_ioctl()
713 wsmux_do_displayioctl(struct device *dv, u_long cmd, caddr_t data, int flag, in wsmux_do_displayioctl() argument
716 struct wsmux_softc *sc = (struct wsmux_softc *)dv; in wsmux_do_displayioctl()
763 wsmux_evsrc_set_display(struct device *dv, struct device *displaydv) in wsmux_evsrc_set_display() argument
765 struct wsmux_softc *sc = (struct wsmux_softc *)dv; in wsmux_evsrc_set_display()
/mirbsd/src/gnu/usr.bin/binutils/gas/config/
Datof-ieee.c678 double dv; local
688 memcpy (&dv, &arr[0], sizeof (double));
689 sprintf (sbuf, "%x %x %x %x %.14G ", arr[0], arr[1], arr[2], arr[3], dv);
/mirbsd/src/sys/dev/sbus/
Dapio.c183 apio_intr_enable(struct device *dv, u_int8_t en) in apio_intr_enable() argument
185 struct apio_softc *sc = (struct apio_softc *)dv; in apio_intr_enable()
Dasio.c186 asio_intr_enable(struct device *dv, u_int8_t en) in asio_intr_enable() argument
188 struct asio_softc *sc = (struct asio_softc *)dv; in asio_intr_enable()

123