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

1 2 3

  /src/sys/arch/hppa/include/
nvm.h 67 #define NVM_BOOTCKSUM(bd) \
68 ((unsigned int) NVM_BOOTMAGIC + (bd).flags + (bd).device)
  /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/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/external/bsd/drm2/dist/drm/nouveau/
nouveau_ttm.h 8 nouveau_bdev(struct ttm_bo_device *bd)
10 return container_of(bd, struct nouveau_drm, ttm.bdev);
nouveau_backlight.c 71 nv40_get_intensity(struct backlight_device *bd)
73 struct nouveau_encoder *nv_encoder = bl_get_data(bd);
83 nv40_set_intensity(struct backlight_device *bd)
85 struct nouveau_encoder *nv_encoder = bl_get_data(bd);
88 int val = bd->props.brightness;
121 nv50_get_intensity(struct backlight_device *bd)
123 struct nouveau_encoder *nv_encoder = bl_get_data(bd);
136 nv50_set_intensity(struct backlight_device *bd)
138 struct nouveau_encoder *nv_encoder = bl_get_data(bd);
143 u32 val = (bd->props.brightness * div) / 100
    [all...]
  /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/external/bsd/drm2/include/drm/
drm_sysctl.h 33 const void *bp, *ep, *bd, *ed; member in struct:drm_sysctl_def
  /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/dev/pci/
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...]
ahc_pci.c 781 struct ahc_pci_busdata *bd; local in function:ahc_pci_attach
798 bd = malloc(sizeof (struct ahc_pci_busdata), M_DEVBUF, M_WAITOK | M_ZERO);
799 bd->pc = pa->pa_pc;
800 bd->tag = pa->pa_tag;
801 bd->func = pa->pa_function;
802 bd->dev = pa->pa_device;
803 bd->class = pa->pa_class;
805 ahc->bd = bd;
1147 devconfig = pci_conf_read(ahc->bd->pc, ahc->bd->tag, DEVCONFIG)
    [all...]
arcmsr.c 1405 arc_bio_disk_novol(struct arc_softc *sc, struct bioc_disk *bd)
1413 if (bd->bd_diskid >= sc->sc_cchans) {
1419 request[1] = bd->bd_diskid;
1430 bd->bd_disknovol = true;
1431 arc_bio_disk_filldata(sc, bd, diskinfo, bd->bd_diskid);
1439 arc_bio_disk_filldata(struct arc_softc *sc, struct bioc_disk *bd,
1452 bd->bd_status = BIOC_SDFAILED;
1455 bd->bd_status = BIOC_SDPASSTHRU;
1458 bd->bd_status = BIOC_SDONLINE
1899 struct bioc_disk bd; local in function:arc_refresh_sensors
    [all...]
  /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/dev/wscons/
wsemul_vt100var.h 32 struct vt100base_data bd; member in struct:wsemul_vt100_emuldata
wsemul_vt100.c 145 struct vt100base_data *vd = &edp->bd;
223 vd = &edp->bd;
257 vd = &edp->bd;
277 struct vt100base_data *vd = &edp->bd;
305 edp->bd.nrows = MAX(0, MIN(type->nrows, 1024));
306 edp->bd.ncols = MAX(0, MIN(type->ncols, 1024));
315 struct vt100base_data *vd = &edp->bd;
338 struct vt100base_data *vd = &edp->bd;
415 struct vt100base_data *vd = &edp->bd;
454 struct vt100base_data *vd = &edp->bd;
    [all...]
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/netbt/
hci_ioctl.c 51 #define BDADDR(bd) (bd).b[5], (bd).b[4], (bd).b[3], \
52 (bd).b[2], (bd).b[1], (bd).b[0]
  /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/sys/arch/arm/include/
db_machdep.h 114 #define next_instr_address(pc, bd) ((bd) ? (pc) : ((pc) + INSN_SIZE))
  /src/sys/arch/sparc/include/
db_machdep.h 105 #define next_instr_address(pc, bd) \
106 ((bd) ? (pc) : ddb_regp->db_tf.tf_npc)
  /src/sys/dev/ic/
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...]
mpt_netbsd.c 1919 mpt_bio_ioctl_disk_common(mpt_softc_t *mpt, struct bioc_disk *bd,
1940 snprintf(bd->bd_vendor, sizeof(bd->bd_vendor), "%s %s %s",
1942 strlcpy(bd->bd_serial, phys->InquiryData.Info, sizeof(bd->bd_serial));
1943 bd->bd_procdev[0] = '\0';
1944 bd->bd_channel = phys->PhysDiskBus;
1945 bd->bd_target = phys->PhysDiskID;
1946 bd->bd_lun = 0;
1947 bd->bd_size = (uint64_t)phys->MaxLBA * 512
    [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/sys/arch/sparc64/include/
db_machdep.h 128 #define next_instr_address(pc, bd) \
129 ((bd) ? (pc) : DDB_REGS->db_tf.tf_npc)
  /src/sys/external/bsd/drm/dist/shared-core/
savage_drv.h 406 #define BCI_BD_GET_BPP(bd) (((bd) >> 16) & 0xFF)
407 #define BCI_BD_SET_BPP(bd, bpp) ((bd) |= (((bpp) & 0xFF) << 16))
408 #define BCI_BD_GET_STRIDE(bd) ((bd) & 0xFFFF)
409 #define BCI_BD_SET_STRIDE(bd, st) ((bd) |= ((st) & 0xFFFF))
  /src/sys/external/bsd/drm2/dist/drm/savage/
savage_drv.h 411 #define BCI_BD_GET_BPP(bd) (((bd) >> 16) & 0xFF)
412 #define BCI_BD_SET_BPP(bd, bpp) ((bd) |= (((bpp) & 0xFF) << 16))
413 #define BCI_BD_GET_STRIDE(bd) ((bd) & 0xFFFF)
414 #define BCI_BD_SET_STRIDE(bd, st) ((bd) |= ((st) & 0xFFFF))

Completed in 42 milliseconds

1 2 3