HomeSort by: relevance | last modified time | path
    Searched defs:bd (Results 1 - 25 of 34) sorted by relevancy

1 2

  /src/sys/compat/common/
bio_30.c 61 struct bioc_disk *bd = kmem_zalloc(sizeof(*bd), KM_SLEEP); local in function:compat_30_bio
63 (void)memcpy(bd, addr, sizeof(struct obioc_disk));
64 error = (*delegate)(cookie, BIOCDISK, bd);
66 kmem_free(bd, sizeof(*bd));
70 (void)memcpy(addr, bd, sizeof(struct obioc_disk));
71 kmem_free(bd, sizeof(*bd));
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/
multc3.c 24 long double bd = b * d; local in function:__multc3
28 __real__ z = ac - bd;
50 if (!recalc && (crt_isinf(ac) || crt_isinf(bd) ||
  /src/sys/external/bsd/drm2/include/drm/
drm_sysctl.h 33 const void *bp, *ep, *bd, *ed; member in struct:drm_sysctl_def
  /src/sys/external/bsd/compiler_rt/dist/lib/builtins/ppc/
multc3.c 24 long double bd = __gcc_qmul(b,d); local in function:__multc3
28 DD real = { .ld = __gcc_qsub(ac,bd) };
61 DD bdDD = { .ld = bd };
  /src/games/hack/
hack.read.c 245 int bd = confused ? 5 : 1; local in function:doread
248 for (i = -bd; i <= bd; i++)
249 for (j = -bd; j <= bd; j++)
  /src/sys/arch/hppa/stand/common/
pdc.c 86 struct bootdata bd; variable in typeref:struct:bootdata
  /src/sys/dev/wscons/
wsemul_vt100var.h 32 struct vt100base_data bd; member in struct:wsemul_vt100_emuldata
wsdisplay_compat_usl.c 385 struct wskbd_bell_data bd; local in function:wsdisplay_usl_ioctl2
481 bd.which = WSKBD_BELL_DOPERIOD;
482 bd.period = d >> 16; /* ms */
485 bd.which = 0;
487 bd.which |= WSKBD_BELL_DOPITCH;
488 bd.pitch = PCVT_SYSBEEPF/(d & 0xffff); /* Hz */
491 bd.which = 0; /* default */
493 arg = &bd;
  /src/sys/arch/arc/arc/
autoconf.c 180 static struct bootdev_data bd; local in function:makebootdev
192 bd.dev_type = dp->dev;
193 ok = getpno(&cp, &bd.bus);
198 bd.dev_type = "sd";
199 ok = getpno(&cp, &bd.bus);
204 ok = getpno(&cp, &bd.unit);
206 bd.unit = 0;
214 if (ok && getpno(&cp, &bd.partition))
215 --bd.partition;
218 bd.partition = 0
    [all...]
  /src/sys/arch/alpha/alpha/
autoconf.c 263 static struct bootdev_data bd; local in function:parse_prom_bootdev
300 bd.protocol = boot_fields[0];
301 bd.bus = atoi(boot_fields[1]);
302 bd.slot = atoi(boot_fields[2]);
303 bd.channel = atoi(boot_fields[3]);
304 bd.remote_address = boot_fields[4];
305 bd.unit = atoi(boot_fields[5]);
306 bd.boot_dev_type = atoi(boot_fields[6]);
307 bd.ctrl_dev_type = boot_fields[7];
311 bd.protocol, bd.bus, bd.slot, bd.channel)
    [all...]
  /src/sys/arch/vax/boot/boot/
if_ni.c 328 struct ni_bbd *bd; local in function:niopen
339 bd = &bbd[idx];
340 bd->nb_pte = (int)&syspte[allocbase>>9];
342 bd->nb_len = 2048;
343 bd->nb_status = NIBD_VALID;
344 bd->nb_key = 1;
346 data->bufs[0]._len = bd->nb_len;
450 struct ni_bbd *bd; local in function:ni_get
465 bd = &bbd[idx];
470 bd->nb_pte = (int)&syspte[data->nd_cmdref>>9]
    [all...]
  /src/lib/libc/gdtoa/
strtod.c 107 Bigint *bd = NULL, *bs = NULL, *delta = NULL; /* pacify gcc */ local in function:_int_strtod_l
483 Bfree(bd);
572 /* Put digits into bd: true value = bd * 10^e */
579 bd = Balloc(bd0->k);
580 if (bd == NULL)
582 Bcopy(bd, bd0);
666 bd = pow5mult(bd, bd5);
667 if (bd == NULL
    [all...]
strtodg.c 341 Bigint *ab, *bb, *bb1, *bd, *bd0, *bs, *delta, *rvb, *rvb0; local in function:strtodg
712 /* Put digits into bd: true value = bd * 10^e */
717 bd = Balloc(bd0->k);
718 if (bd == NULL)
720 Bcopy(bd, bd0);
777 bd = pow5mult(bd, bd5);
778 if (bd == NULL)
782 bd = lshift(bd, bd2)
    [all...]
  /src/sys/dev/ic/
cac.c 619 struct bioc_disk *bd; local in function:cac_ioctl
638 bd = (struct bioc_disk *)addr;
639 if (bd->bd_volid > sc->sc_nunits) {
ciss.c 1390 struct bioc_disk *bd; local in function:ciss_ioctl
1420 bd = (struct bioc_disk *)addr;
1421 bd->bd_volid = 0;
1422 bd->bd_disknovol = true;
1425 bd = (struct bioc_disk *)addr;
1426 if (bd->bd_volid < 0 || bd->bd_volid > sc->maxunits) {
1431 if (!ldp || (pd = bd->bd_diskid) < 0 || pd > ldp->ndrives) {
1436 if ((error = ciss_ldstat(sc, bd->bd_volid, ldstat))) {
1439 bd->bd_status = -1
    [all...]
  /src/sys/dev/bi/
if_ni.c 576 struct ni_bbd *bd; local in function:niintr
594 bd = &bbd[idx];
600 bd->nb_len = (m->m_ext.ext_size - 2);
601 bd->nb_pte =
603 bd->nb_status = 2 | NIBD_VALID;
604 bd->nb_key = 1;
760 struct ni_bbd *bd = &bbd[idx]; local in function:ni_add_rxbuf
774 bd->nb_len = (m->m_ext.ext_size - 2);
775 bd->nb_pte = (long)kvtopte(m->m_ext.ext_buf);
776 bd->nb_status = 2 | NIBD_VALID
    [all...]
  /src/sbin/bioctl/
bioctl.c 345 struct bioc_disk bd; local in function:bio_show_disks
349 memset(&bd, 0, sizeof(bd));
350 bd.bd_cookie = bl.bl_cookie;
351 bd.bd_diskid = bt->diskid;
352 bd.bd_volid = bt->volid;
355 if (ioctl(bt->fd, BIOCDISK_NOVOL, &bd) == -1)
357 if (!bd.bd_disknovol)
360 if (ioctl(bt->fd, BIOCDISK, &bd) == -1)
364 switch (bd.bd_status)
693 struct bioc_disk bd; local in function:bio_volops_create
939 struct bioc_disk bd; local in function:bio_setblink
    [all...]
  /src/sys/arch/usermode/dev/
vncfb.c 636 struct wskbd_bell_data *bd; local in function:vncfb_kbd_ioctl
643 bd = data;
644 vncfb_kbd_bell(priv, bd->pitch, bd->period, bd->volume);
  /src/sys/dev/pci/
if_ipwvar.h 42 struct ipw_bd *bd; member in struct:ipw_soft_bd
ahd_pci.c 326 struct ahd_pci_busdata *bd; local in function:ahd_pci_attach
340 bd = malloc(sizeof (struct ahd_pci_busdata), M_DEVBUF, M_WAITOK|M_ZERO);
341 bd->pc = pa->pa_pc;
342 bd->tag = pa->pa_tag;
343 bd->func = pa->pa_function;
344 bd->dev = pa->pa_device;
346 ahd->bus_data = bd;
394 &bd->pcix_off, NULL)) {
577 struct ahd_pci_busdata *bd = ahd->bus_data; local in function:ahd_pci_test_register_access
589 cmd = pci_conf_read(bd->pc, bd->tag, PCI_COMMAND_STATUS_REG)
807 struct ahd_pci_busdata *bd = ahd->bus_data; local in function:ahd_configure_termination
958 struct ahd_pci_busdata *bd = ahd->bus_data; local in function:ahd_pci_intr
1019 struct ahd_pci_busdata *bd = ahd->bus_data; local in function:ahd_pci_split_intr
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_atombios_encoders.c 128 static u8 amdgpu_atombios_encoder_backlight_level(struct backlight_device *bd)
133 if (bd->props.brightness < 0)
135 else if (bd->props.brightness > AMDGPU_MAX_BL_LEVEL)
138 level = bd->props.brightness;
143 static int amdgpu_atombios_encoder_update_backlight_status(struct backlight_device *bd)
145 struct amdgpu_backlight_privdata *pdata = bl_get_data(bd);
149 amdgpu_atombios_encoder_backlight_level(bd));
155 amdgpu_atombios_encoder_get_backlight_brightness(struct backlight_device *bd)
157 struct amdgpu_backlight_privdata *pdata = bl_get_data(bd);
175 struct backlight_device *bd; local in function:amdgpu_atombios_encoder_init_backlight
238 struct backlight_device *bd = NULL; local in function:amdgpu_atombios_encoder_fini_backlight
    [all...]
  /src/sys/arch/m68k/m68k/
db_disasm.c 2329 int disp, odisp, bd, od, reg; local in function:get_modregstr_moto
2434 bd = BITFIELD(ext,5,4);
2436 if (bd == 1)
2438 else if (bd == 2) {
2459 * We set od and bd to zero, these values are
2463 * `bd' and `od'.
2466 bd = 0;
2476 bd == 2 ? SIZE_WORD :
2477 bd == 3 ? SIZE_LONG :
2480 if (bd && ISBITSET(ext,7))
2534 int disp, odisp, bd, od, reg; local in function:get_modregstr_mit
    [all...]
  /src/sys/arch/x86/pci/
pci_machdep.c 1243 bool bd; local in function:device_pci_register
1244 if (prop_dictionary_get_bool(prop, "is-virtio-bootdev", &bd) && bd)
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_atombios_encoders.c 150 static u8 radeon_atom_bl_level(struct backlight_device *bd)
155 if (bd->props.brightness < 0)
157 else if (bd->props.brightness > RADEON_MAX_BL_LEVEL)
160 level = bd->props.brightness;
165 static int radeon_atom_backlight_update_status(struct backlight_device *bd)
167 struct radeon_backlight_privdata *pdata = bl_get_data(bd);
170 atombios_set_backlight_level(radeon_encoder, radeon_atom_bl_level(bd));
175 static int radeon_atom_backlight_get_brightness(struct backlight_device *bd)
177 struct radeon_backlight_privdata *pdata = bl_get_data(bd);
195 struct backlight_device *bd; local in function:radeon_atom_backlight_init
265 struct backlight_device *bd = NULL; local in function:radeon_atom_backlight_exit
    [all...]
radeon_legacy_encoders.c 327 static uint8_t radeon_legacy_lvds_level(struct backlight_device *bd)
329 struct radeon_backlight_privdata *pdata = bl_get_data(bd);
333 if (bd->props.brightness < 0)
335 else if (bd->props.brightness > RADEON_MAX_BL_LEVEL)
338 level = bd->props.brightness;
346 static int radeon_legacy_backlight_update_status(struct backlight_device *bd)
348 struct radeon_backlight_privdata *pdata = bl_get_data(bd);
352 radeon_legacy_lvds_level(bd));
357 static int radeon_legacy_backlight_get_brightness(struct backlight_device *bd)
359 struct radeon_backlight_privdata *pdata = bl_get_data(bd);
381 struct backlight_device *bd; local in function:radeon_legacy_backlight_init
469 struct backlight_device *bd = NULL; local in function:radeon_legacy_backlight_exit
    [all...]

Completed in 33 milliseconds

1 2