Home
last modified time | relevance | path

Searched refs:device (Results 1 – 25 of 2839) sorted by relevance

12345678910>>...114

/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/gr/
H A Dnouveau_nvkm_engine_gr_nv40.c41 return nvkm_rd32(gr->engine.subdev.device, 0x1540); in nv40_gr_units()
52 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 20, align, in nv40_gr_object_bind()
84 int ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size, in nv40_gr_chan_bind()
89 nv40_grctx_fill(gr->base.engine.subdev.device, *pgpuobj); in nv40_gr_chan_bind()
102 struct nvkm_device *device = subdev->device; in nv40_gr_chan_fini() local
106 nvkm_mask(device, 0x400720, 0x00000001, 0x00000000); in nv40_gr_chan_fini()
108 if (nvkm_rd32(device, 0x40032c) == inst) { in nv40_gr_chan_fini()
110 nvkm_wr32(device, 0x400720, 0x00000000); in nv40_gr_chan_fini()
111 nvkm_wr32(device, 0x400784, inst); in nv40_gr_chan_fini()
112 nvkm_mask(device, 0x400310, 0x00000020, 0x00000020); in nv40_gr_chan_fini()
[all …]
H A Dnouveau_nvkm_engine_gr_nv50.c40 return nvkm_rd32(gr->engine.subdev.device, 0x1540); in nv50_gr_units()
51 int ret = nvkm_gpuobj_new(object->engine->subdev.device, 16, in nv50_gr_object_bind()
78 int ret = nvkm_gpuobj_new(gr->base.engine.subdev.device, gr->size, in nv50_gr_chan_bind()
82 nv50_grctx_fill(gr->base.engine.subdev.device, *pgpuobj); in nv50_gr_chan_bind()
248 struct nvkm_device *device = subdev->device; in nv50_gr_prop_trap() local
249 u32 e0c = nvkm_rd32(device, ustatus_addr + 0x04); in nv50_gr_prop_trap()
250 u32 e10 = nvkm_rd32(device, ustatus_addr + 0x08); in nv50_gr_prop_trap()
251 u32 e14 = nvkm_rd32(device, ustatus_addr + 0x0c); in nv50_gr_prop_trap()
252 u32 e18 = nvkm_rd32(device, ustatus_addr + 0x10); in nv50_gr_prop_trap()
253 u32 e1c = nvkm_rd32(device, ustatus_addr + 0x14); in nv50_gr_prop_trap()
[all …]
H A Dnouveau_nvkm_engine_gr_nv20.c39 struct nvkm_device *device = gr->base.engine.subdev.device; in nv20_gr_chan_fini() local
43 nvkm_mask(device, 0x400720, 0x00000001, 0x00000000); in nv20_gr_chan_fini()
44 if (nvkm_rd32(device, 0x400144) & 0x00010000) in nv20_gr_chan_fini()
45 chid = (nvkm_rd32(device, 0x400148) & 0x1f000000) >> 24; in nv20_gr_chan_fini()
47 nvkm_wr32(device, 0x400784, inst >> 4); in nv20_gr_chan_fini()
48 nvkm_wr32(device, 0x400788, 0x00000002); in nv20_gr_chan_fini()
49 nvkm_msec(device, 2000, in nv20_gr_chan_fini()
50 if (!nvkm_rd32(device, 0x400700)) in nv20_gr_chan_fini()
53 nvkm_wr32(device, 0x400144, 0x10000000); in nv20_gr_chan_fini()
54 nvkm_mask(device, 0x400148, 0xff000000, 0x1f000000); in nv20_gr_chan_fini()
[all …]
/netbsd-src/sys/arch/arm/conf/
H A Dmajors.arm326 device-major mem char 0
7 device-major swap char 1 block 1 vmswap
8 device-major cons char 2
9 device-major ctty char 3
10 device-major physcon char 4 vt
11 device-major log char 5
12 device-major ptc char 6 pty
13 device-major pts char 7 pty
14 device-major lpt char 8 lpt
15 device-major qms char 9 qms
[all …]
/netbsd-src/sys/arch/ia64/conf/
H A Dmajors.ia646 device-major cons char 0
7 device-major ctty char 1
8 device-major mem char 2
9 device-major wd char 3 block 0 wd
10 device-major swap char 4 block 1 vmswap
11 device-major pts char 5 pty
12 device-major ptc char 6 pty
13 device-major log char 7
14 device-major com char 8 com
15 device-major fd char 9 block 2 fdc
[all …]
/netbsd-src/sys/arch/i386/conf/
H A Dmajors.i3866 device-major cons char 0
7 device-major ctty char 1
8 device-major mem char 2
9 device-major wd char 3 block 0 wd vector=8:8
10 device-major swap char 4 block 1 vmswap
11 device-major pts char 5 pty
12 device-major ptc char 6 pty
13 device-major log char 7
14 device-major com char 8 com
15 device-major fd char 9 block 2 fdc
[all …]
/netbsd-src/sys/arch/hpcarm/conf/
H A Dmajors.hpcarm6 device-major mem char 0
7 device-major swap char 1 block 1 vmswap
8 device-major cons char 2
9 device-major ctty char 3
10 device-major physcon char 4 vt
11 device-major log char 5
12 device-major ptc char 6 pty
13 device-major pts char 7 pty
14 device-major lpt char 8 lpt
15 device-major qms char 9 qms
[all …]
/netbsd-src/sys/arch/zaurus/conf/
H A Dmajors.zaurus6 device-major mem char 0
7 device-major swap char 1 block 1 vmswap
8 device-major cons char 2
9 device-major ctty char 3
10 device-major physcon char 4 vt
11 device-major log char 5
12 device-major ptc char 6 pty
13 device-major pts char 7 pty
14 device-major lpt char 8 lpt
15 device-major qms char 9 qms
[all …]
/netbsd-src/sys/arch/epoc32/conf/
H A Dmajors.epoc326 device-major mem char 0
7 device-major swap char 1 block 1 vmswap
8 device-major cons char 2
9 device-major ctty char 3
10 device-major physcon char 4 vt
11 device-major log char 5
12 device-major ptc char 6 pty
13 device-major pts char 7 pty
14 device-major lpt char 8 lpt
15 device-major qms char 9 qms
[all …]
/netbsd-src/sys/arch/aarch64/conf/
H A Dmajors.aarch646 device-major mem char 0
7 device-major swap char 1 block 1 vmswap
8 device-major cons char 2
9 device-major ctty char 3
10 device-major physcon char 4 vt
11 device-major log char 5
12 device-major ptc char 6 pty
13 device-major pts char 7 pty
14 device-major lpt char 8 lpt
15 device-major qms char 9 qms
[all …]
/netbsd-src/sys/arch/sparc/conf/
H A Dmajors.sparc8 device-major cons char 0
9 device-major kd char 1
10 device-major ctty char 2
11 device-major mem char 3
12 device-major ses char 4 ses
14 device-major swap char 7 block 4 vmswap
16 device-major xy char 9 block 3 xy
18 device-major zstty char 12 zstty
19 device-major ms char 13 ms | sunms
21 device-major log char 16
[all …]
/netbsd-src/sys/arch/sparc64/conf/
H A Dmajors.sparc648 device-major cons char 0
9 device-major kd char 1 kbd | sunkbd
10 device-major ctty char 2
11 device-major mem char 3
12 device-major ses char 4 ses
14 device-major swap char 7 block 4 vmswap
15 # sparc: device-major xy char 9 block 3 xy
17 device-major zstty char 12 zstty
18 device-major ms char 13 ms | sunms
20 device-major log char 16
[all …]
/netbsd-src/sys/arch/powerpc/conf/
H A Dmajors.powerpc6 device-major cons char 0
7 device-major ctty char 1
8 device-major mem char 2
9 device-major pts char 3 pty
10 device-major ptc char 4 pty
11 device-major log char 5
12 device-major swap char 6 block 1 vmswap
13 device-major fd char 9 block 7 fdc
15 device-major bpf char 10 bpfilter
16 device-major tun char 11 tun
[all …]
/netbsd-src/sys/arch/amd64/conf/
H A Dmajors.amd646 device-major cons char 0
7 device-major ctty char 1
8 device-major mem char 2
9 device-major wd char 3 block 0 wd
10 device-major swap char 4 block 1 vmswap
11 device-major pts char 5 pty
12 device-major ptc char 6 pty
13 device-major log char 7
14 device-major com char 8 com
15 device-major fd char 9 block 2 fdc
[all …]
/netbsd-src/sys/arch/alpha/conf/
H A Dmajors.alpha6 device-major cons char 0
7 device-major ctty char 1
8 device-major mem char 2
9 device-major swap char 3 block 1 vmswap
10 device-major pts char 4 pty
11 device-major ptc char 5 pty
12 device-major log char 6
13 device-major tun char 7 tun
14 device-major sd char 8 block 8 sd
15 device-major vnd char 9 block 9 vnd
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/fifo/
H A Dnouveau_nvkm_engine_fifo_nv04.c57 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_pause() local
63 nvkm_wr32(device, NV03_PFIFO_CACHES, 0x00000000); in nv04_fifo_pause()
64 nvkm_mask(device, NV04_PFIFO_CACHE1_PULL0, 0x00000001, 0x00000000); in nv04_fifo_pause()
75 nvkm_msec(device, 2000, in nv04_fifo_pause()
76 u32 tmp = nvkm_rd32(device, NV04_PFIFO_CACHE1_PULL0); in nv04_fifo_pause()
81 if (nvkm_rd32(device, NV04_PFIFO_CACHE1_PULL0) & in nv04_fifo_pause()
83 nvkm_wr32(device, NV03_PFIFO_INTR_0, NV_PFIFO_INTR_CACHE_ERROR); in nv04_fifo_pause()
85 nvkm_wr32(device, NV04_PFIFO_CACHE1_HASH, 0x00000000); in nv04_fifo_pause()
93 struct nvkm_device *device = fifo->base.engine.subdev.device; in nv04_fifo_start() local
96 nvkm_mask(device, NV04_PFIFO_CACHE1_PULL0, 0x00000001, 0x00000001); in nv04_fifo_start()
[all …]
/netbsd-src/sys/arch/evbmips/conf/
H A Dmajors.evbmips6 device-major cons char 0
7 device-major ctty char 1
8 device-major mem char 2
9 device-major swap char 3 block 1 vmswap
10 device-major pts char 4 pty
11 device-major ptc char 5 pty
12 device-major log char 6
13 device-major tun char 7 tun
14 device-major sd char 8 block 8 sd
15 device-major vnd char 9 block 9 vnd
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/
H A Dnouveau_nvkm_engine_disp_vga.c32 nvkm_rdport(struct nvkm_device *device, int head, u16 port) in nvkm_rdport() argument
34 if (device->card_type >= NV_50) in nvkm_rdport()
35 return nvkm_rd08(device, 0x601000 + port); in nvkm_rdport()
40 return nvkm_rd08(device, 0x601000 + (head * 0x2000) + port); in nvkm_rdport()
45 if (device->card_type < NV_40) in nvkm_rdport()
47 return nvkm_rd08(device, 0x0c0000 + (head * 0x2000) + port); in nvkm_rdport()
54 nvkm_wrport(struct nvkm_device *device, int head, u16 port, u8 data) in nvkm_wrport() argument
56 if (device->card_type >= NV_50) in nvkm_wrport()
57 nvkm_wr08(device, 0x601000 + port, data); in nvkm_wrport()
62 nvkm_wr08(device, 0x601000 + (head * 0x2000) + port, data); in nvkm_wrport()
[all …]
/netbsd-src/sys/arch/vax/conf/
H A Dmajors.vax6 device-major cons char 0
7 device-major dz char 1 dz
8 device-major ctty char 2
9 device-major mem char 3
10 device-major hp char 4 block 0 hp
12 device-major vp char 6 vp
13 device-major swap char 7 block 4 vmswap
14 device-major cfl char 8 vax780 | vaxany
15 device-major ra char 9 block 9 ra
16 device-major va char 10 va
[all …]
/netbsd-src/sys/arch/evbppc/conf/
H A Dmajors.evbppc7 device-major cons char 0
8 device-major ctty char 1
9 device-major mem char 2
10 device-major pts char 3 pty
11 device-major ptc char 4 pty
12 device-major log char 5
13 device-major swap char 6 block 1 vmswap
15 device-major bpf char 10 bpfilter
16 device-major tun char 11 tun
17 device-major gtmpsc char 12 gtmpsc
[all …]
/netbsd-src/sys/arch/sgimips/conf/
H A Dmajors.sgimips6 device-major cons char 0
7 device-major swap char 1 block 1 vmswap
8 device-major md char 2 block 2 md
9 device-major ccd char 3 block 3 ccd
10 device-major vnd char 4 block 4 vnd
11 device-major raid char 5 block 5 raid
12 device-major cgd char 6 block 6 cgd
14 device-major scn char 8 scn
16 device-major sd char 10 block 10 sd
17 device-major st char 11 block 11 st
[all …]
/netbsd-src/sys/arch/or1k/conf/
H A Dmajors.or1k6 device-major mem char 0
7 device-major swap char 1 block 1 vmswap
8 device-major cons char 2
9 device-major ctty char 3
10 device-major physcon char 4 vt
11 device-major log char 5
12 device-major ptc char 6 pty
13 device-major pts char 7 pty
14 device-major clockctl char 8 clockctl
15 device-major rnd char 9 rnd
[all …]
/netbsd-src/sys/arch/algor/conf/
H A Dmajors.algor6 device-major cons char 0
7 device-major ctty char 1
8 device-major mem char 2
9 device-major swap char 3 block 1 vmswap
10 device-major pts char 4 pty
11 device-major ptc char 5 pty
12 device-major log char 6
13 device-major tun char 7 tun
14 device-major sd char 8 block 8 sd
15 device-major vnd char 9 block 9 vnd
[all …]
/netbsd-src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/pmu/
H A Dnouveau_nvkm_subdev_pmu_gt215.c39 struct nvkm_device *device = subdev->device; in gt215_pmu_send() local
44 addr = nvkm_rd32(device, 0x10a4a0); in gt215_pmu_send()
45 if (nvkm_msec(device, 2000, in gt215_pmu_send()
46 u32 tmp = nvkm_rd32(device, 0x10a4b0); in gt215_pmu_send()
65 nvkm_wr32(device, 0x10a580, 0x00000001); in gt215_pmu_send()
66 } while (nvkm_rd32(device, 0x10a580) != 0x00000001); in gt215_pmu_send()
69 nvkm_wr32(device, 0x10a1c0, 0x01000000 | (((addr & 0x07) << 4) + in gt215_pmu_send()
71 nvkm_wr32(device, 0x10a1c4, process); in gt215_pmu_send()
72 nvkm_wr32(device, 0x10a1c4, message); in gt215_pmu_send()
73 nvkm_wr32(device, 0x10a1c4, data0); in gt215_pmu_send()
[all …]
/netbsd-src/sys/arch/cobalt/conf/
H A Dmajors.cobalt6 device-major cons char 0
7 device-major swap char 1 block 1 vmswap
8 device-major md char 2 block 2 md
9 device-major vnd char 3 block 3 vnd
10 device-major ccd char 4 block 4 ccd
11 device-major raid char 5 block 5 raid
12 device-major wd char 6 block 6 wd
13 device-major sd char 7 block 7 sd
14 device-major cd char 8 block 8 cd
15 device-major st char 9 block 9 st
[all …]

12345678910>>...114