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

1 2

  /src/sys/dev/pci/
rdcide_reg.h 40 #define RDCIDE_PATR_DMAEN(chan, drv) ((0x0008 << (drv * 4)) << ((chan) * 16))
41 #define RDCIDE_PATR_ATA(chan, drv) ((0x0004 << (drv * 4)) << ((chan) * 16))
42 #define RDCIDE_PATR_IORDY(chan, drv) ((0x0002 << (drv * 4)) << ((chan) * 16))
43 #define RDCIDE_PATR_FTIM(chan, drv) ((0x0001 << (drv * 4)) << ((chan) * 16))
57 #define RDCIDE_UDCCR_EN(chan, drv) ((1 << (drv)) << (chan * 2)
    [all...]
pciide_acer_reg.h 59 #define ACER_FCS_TIMREG(chan,drv) ((0x8) >> ((drv) + (chan) * 2))
68 #define ACER_FTH_VAL(chan, drv, val) \
69 (((val) & 0x3) << ((drv) * 4 + (chan) * 8))
70 #define ACER_FTH_OPL(chan, drv, val) \
71 (((val) & 0x3) << (2 + (drv) * 4 + (chan) * 8))
72 #define ACER_UDMA_EN(chan, drv) \
73 (0x8 << (16 + (drv) * 4 + (chan) * 8))
74 #define ACER_UDMA_TIM(chan, drv, val) \
75 (((val) & 0x7) << (16 + (drv) * 4 + (chan) * 8)
    [all...]
pciide_geode_reg.h 28 #define CS5530_PIO_REG(chan, drv) (0x20 + (chan) * 0x10 + (drv) * 0x8)
29 #define CS5530_DMA_REG(chan, drv) (0x24 + (chan) * 0x10 + (drv) * 0x8)
47 #define SC1100_PIO_REG(chan, drv) (0x40 + (chan) * 0x10 + (drv) * 0x8)
48 #define SC1100_DMA_REG(chan, drv) (0x44 + (chan) * 0x10 + (drv) * 0x8)
pciide_sis_reg.h 62 #define SIS_CTRL1_POSTW_EN(chan, drv) (0x10 << ((drv) + 2 * (chan)))
63 #define SIS_CTRL1_PREFETCH_EN(chan, drv) (0x01 << ((drv) + 2 * (chan)))
  /src/sys/lib/libsa/
netif.c 60 struct netif_driver *drv; local
68 drv = netif_drivers[d];
69 for (i = 0; i < drv->netif_nifs; i++)
70 drv->netif_ifs[i].dif_used = 0;
79 struct netif_driver *drv = nif->nif_driver; local
83 printf("%s%d: %s (%d)\n", drv->netif_bname,
86 return drv->netif_match(nif, machdep_hint);
93 struct netif_driver *drv; local
109 drv = cur_if.nif_driver;
111 for (u = 0; u < drv->netif_nifs; u++)
166 struct netif_driver *drv = nif->nif_driver; local
178 struct netif_driver *drv = nif->nif_driver; local
198 struct netif_driver *drv = nif->nif_driver; local
216 struct netif_driver *drv = nif->nif_driver; local
241 struct netif_driver *drv = nif->nif_driver; local
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/virtio/
virtgpu_fence.c 56 if (atomic64_read(&fence->drv->last_seq) >= fence->f.seqno)
70 snprintf(str, size, "%llu", (u64)atomic64_read(&fence->drv->last_seq));
83 struct virtio_gpu_fence_driver *drv = &vgdev->fence_drv; local
89 fence->drv = drv;
95 dma_fence_init(&fence->f, &virtio_fence_ops, &drv->lock, drv->context, 0);
104 struct virtio_gpu_fence_driver *drv = &vgdev->fence_drv; local
107 spin_lock_irqsave(&drv->lock, irq_flags);
108 fence->f.seqno = ++drv->sync_seq
122 struct virtio_gpu_fence_driver *drv = &vgdev->fence_drv; local
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvif/
nouveau_nvif_driver.c 45 nvif_driver_init(const char *drv, const char *cfg, const char *dbg,
51 if (!drv || !strcmp(client->driver->name, drv)) {
  /src/sys/external/bsd/gnu-efi/dist/apps/
drv0_use.c 22 GNU_EFI_APPS_DRV0_PROTOCOL *drv = NULL; local
28 (void**)&drv,
37 Status = uefi_call_wrapper(drv->SayHello, 2, L"Sample UEFI Driver");
42 Status = uefi_call_wrapper(drv->GetNumberOfHello, 2, &NumberOfHello);
  /src/usr.sbin/mlxctl/
config.c 177 struct mlx_sys_drv *drv; local
180 drv = &conf->cc_cfg.cc_sys_drives[drvno];
184 switch(drv->sd_raidlevel & 0xf) {
209 drv->sd_raidlevel & MLX_SYS_DRV_WRITEBACK ? "back" : "through");
211 for (i = 0; i < drv->sd_valid_spans; i++) {
213 print_span(&drv->sd_span[i], drv->sd_valid_arms);
  /src/sbin/amrctl/
amrctl.c 489 int drv, pdrv = -1; local
515 for (drv = 0;
516 drv < ae3->ae_numldrives;
517 drv++)
518 describe_one_volume(drv,
520 ae3->ae_drivesize[drv],
521 ae3->ae_drivestate[drv],
522 ae3->ae_driveprop[drv]);
539 for (drv = 0;
540 drv < AMR_40LD_MAXPHYSDRIVES
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/
drm_mipi_dsi.c 54 static int mipi_dsi_device_match(struct device *dev, struct device_driver *drv)
59 if (of_driver_match_device(dev, drv))
63 if (!strcmp(dsi->name, drv->name))
1153 struct mipi_dsi_driver *drv = to_mipi_dsi_driver(dev->driver); local
1156 return drv->probe(dsi);
1161 struct mipi_dsi_driver *drv = to_mipi_dsi_driver(dev->driver); local
1164 return drv->remove(dsi);
1169 struct mipi_dsi_driver *drv = to_mipi_dsi_driver(dev->driver); local
1172 drv->shutdown(dsi);
1177 * @drv: DSI driver structur
    [all...]
  /src/sys/arch/vax/boot/boot/
netio.c 103 net_devinit(struct open_file *f, struct netif_driver *drv, u_char *eaddr) {
114 best_if.nif_driver = drv;
vaxstand.h 48 int net_devinit(struct open_file *f, struct netif_driver *drv, u_char *eaddr);
  /src/usr.sbin/sysinst/arch/luna68k/
msg.md.en 59 To boot NetBSD, you need to set boot NVRAM variables 'drv'
63 On LUNA-I, drv 0 is SCSI ID 6 disk, and drv 1 is SCSI ID 5 disk.
  /src/sys/arch/arm/rockchip/
rk3288_iomux.c 195 struct rk3288_iomux_reg *reg, int drv)
200 switch (drv) {
250 int bias, drv; local
253 drv = fdtbus_pinctrl_parse_drive_strength(phandle);
256 printf(" -> %s mux %#x/%d, pull %#x/%d, drv %#x/%d, flags %#x\n",
262 printf(" bias %d drv %d mux %u\n", bias, drv, mux);
270 if (drv != -1) {
271 rk3288_iomux_set_drive_strength(sc, reg, drv);
rk3328_iomux.c 172 rk3328_iomux_set_drive_strength(struct rk3328_iomux_softc *sc, u_int bank, u_int idx, u_int drv)
176 __SHIFTIN(drv, GRF_GPIO_E_CTL(idx)));
207 const int drv = fdtbus_pinctrl_parse_drive_strength(phandle); local
208 switch (drv) {
224 aprint_error_dev(sc->sc_dev, "unsupported drive-strength %u\n", drv);
rk3399_iomux.c 277 const int drv = rk3399_iomux_map_drive_strength(sc, banks[bank].iomux[idx / 8].drv_type, val); local
278 if (drv == -1)
390 const int drv = fdtbus_pinctrl_parse_drive_strength(phandle); local
391 if (drv != -1 &&
392 rk3399_iomux_set_drive_strength(sc, bank, idx, drv) != 0)
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_fence.c 108 struct amdgpu_fence_driver *drv = &ring->fence_drv; local
110 if (drv->cpu_addr)
111 *drv->cpu_addr = cpu_to_le32(seq);
124 struct amdgpu_fence_driver *drv = &ring->fence_drv; local
127 if (drv->cpu_addr)
128 seq = le32_to_cpu(*drv->cpu_addr);
130 seq = atomic_read(&drv->last_seq);
244 struct amdgpu_fence_driver *drv = &ring->fence_drv; local
253 } while (atomic_cmpxchg(&drv->last_seq, last_seq, seq) != last_seq);
262 last_seq &= drv->num_fences_mask
    [all...]
amdgpu_debugfs.c 1059 struct amdgpu_fence_driver *drv = &ring->fence_drv; local
1065 last_seq &= drv->num_fences_mask;
1066 sync_seq &= drv->num_fences_mask;
1072 last_seq &= drv->num_fences_mask;
1073 ptr = &drv->fences[last_seq];
1120 struct amdgpu_fence_driver *drv = &ring->fence_drv; local
1126 preempt_seq = le32_to_cpu(*(drv->cpu_addr + 2));
1127 if (preempt_seq <= atomic_read(&drv->last_seq))
1130 preempt_seq &= drv->num_fences_mask;
1131 ptr = &drv->fences[preempt_seq]
    [all...]
  /src/sys/arch/sandpoint/stand/altboot/
nif.c 83 pci->drv = NULL;
86 pci->drv = dv->priv = (*dv->init)(tag, enaddr);
dsk.c 104 pci->drv = (*dv->init)(tag, NULL);
105 if (pci->drv == NULL)
107 disk_scan(pci->drv);
112 disk_scan(void *drv)
114 struct dkdev_ata *l = drv;
  /src/sys/external/bsd/drm2/dist/drm/nouveau/include/nvif/
driver.h 38 int nvif_driver_init(const char *drv, const char *cfg, const char *dbg,
  /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/i2c/
nouveau_nvkm_subdev_i2c_base.c 371 const struct nvkm_i2c_drv *drv = nvkm_i2c_drv; local
387 while (drv->pad_new) {
388 if (drv->bios == dcbE.extdev)
390 drv++;
393 if (!drv->pad_new) {
394 nvkm_debug(&i2c->subdev, "dcb %02x drv %02x unknown\n",
403 ret = drv->pad_new(bus, id, drv->addr, &pad);
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_fence.c 77 struct radeon_fence_driver *drv = &rdev->fence_drv[ring]; local
78 if (likely(rdev->wb.enabled || !drv->scratch_reg)) {
79 if (drv->cpu_addr) {
80 *drv->cpu_addr = cpu_to_le32(seq);
83 WREG32(drv->scratch_reg, seq);
98 struct radeon_fence_driver *drv = &rdev->fence_drv[ring]; local
101 if (likely(rdev->wb.enabled || !drv->scratch_reg)) {
102 if (drv->cpu_addr) {
103 seq = le32_to_cpu(*drv->cpu_addr);
105 seq = lower_32_bits(atomic64_read(&drv->last_seq))
    [all...]
  /src/sys/arch/arm/samsung/
exynos_pinctrl.c 141 gc->drv_valid = of_getprop_uint32(phandle, "samsung,pin-drv", &gc->drv) == 0;

Completed in 47 milliseconds

1 2