Last change
on this file since 23 was 22, checked in by ogrimm, 16 years ago |
First commit of drsdaq program
|
File size:
2.5 KB
|
Line | |
---|
1 | ///////////////////////////////////////////////////////////////////////////////
|
---|
2 | called from ioctl:
|
---|
3 |
|
---|
4 | plxreadlocal0
|
---|
5 | update_shadow
|
---|
6 | sis1100_remote_reg_read
|
---|
7 | sis1100_remote_reg_write
|
---|
8 | update_remote_shadow
|
---|
9 | sis1100readreg
|
---|
10 | sis1100_update_swapping
|
---|
11 | sis3100_get_timeouts
|
---|
12 | sis3100_set_timeouts
|
---|
13 | sis1100_front_io
|
---|
14 | sis1100_front_pulse
|
---|
15 | sis1100_front_latch
|
---|
16 | sis1100_read_pipe
|
---|
17 | sis1100_write_pipe
|
---|
18 | sis1100_tmp_read
|
---|
19 | sis1100_tmp_write
|
---|
20 | sis1100_read_block
|
---|
21 | sis1100_write_block
|
---|
22 | sis1100_irq_ctl
|
---|
23 | sis1100_irq_ack
|
---|
24 | sis1100_irq_wait
|
---|
25 | sis1100_dma_alloc
|
---|
26 | sis1100_dma_free
|
---|
27 | sis1100_reset
|
---|
28 | sis5100writeremreg
|
---|
29 | ioctl_setvmespace
|
---|
30 | ioctl_vme_probe
|
---|
31 | ioctl_vme_read
|
---|
32 | ioctl_vme_write
|
---|
33 | ioctl_vme_block_read
|
---|
34 | ioctl_vme_block_write
|
---|
35 | ioctl_local_ctrl_read
|
---|
36 | ioctl_local_ctrl_write
|
---|
37 | ioctl_remote_ctrl_read
|
---|
38 | ioctl_remote_ctrl_write
|
---|
39 | ioctl_pipe
|
---|
40 | ioctl_mapsize
|
---|
41 | ioctl_last_error
|
---|
42 | ioctl_ident
|
---|
43 | ioctl_fifomode
|
---|
44 | ioctl_irq_ctl
|
---|
45 | ioctl_irq_get
|
---|
46 | ioctl_irq_ack
|
---|
47 | ioctl_irq_wait
|
---|
48 | ioctl_mindmalen
|
---|
49 | ioctl_front_io
|
---|
50 | ioctl_front_pulse
|
---|
51 | ioctl_front_latch
|
---|
52 | ioctl_vme_super_block_read
|
---|
53 | ioctl_write_pipe
|
---|
54 | ioctl_dma_alloc
|
---|
55 | ioctl_dma_free
|
---|
56 | ioctl_cccz
|
---|
57 | ioctl_cccc
|
---|
58 | ioctl_ccci
|
---|
59 | ioctl_cnaf
|
---|
60 | ioctl_swap
|
---|
61 | ioctl_3100_timeouts
|
---|
62 | ioctl_reset
|
---|
63 | ioctl_remote_reset
|
---|
64 | ioctl_devtype
|
---|
65 | ioctl_driverversion
|
---|
66 |
|
---|
67 |
|
---|
68 | ///////////////////////////////////////////////////////////////////////////////
|
---|
69 |
|
---|
70 | ssize_t
|
---|
71 | _sis1100_write_dma() /* netbsd */
|
---|
72 |
|
---|
73 | called:
|
---|
74 | from
|
---|
75 | returns:
|
---|
76 | uvm_vslock
|
---|
77 | count (bytes)
|
---|
78 |
|
---|
79 | ///////////////////////////////////////////////////////////////////////////////
|
---|
80 |
|
---|
81 | sis1100_write_block
|
---|
82 |
|
---|
83 | int
|
---|
84 | sis1100_write_block()
|
---|
85 |
|
---|
86 | called:
|
---|
87 | from _sis1100_write
|
---|
88 | returns:
|
---|
89 | ok: 0
|
---|
90 | sis1100_write_dma; sis1100_write_loop
|
---|
91 |
|
---|
92 | ///////////////////////////////////////////////////////////////////////////////
|
---|
93 |
|
---|
94 | _sis1100_write
|
---|
95 |
|
---|
96 | static int
|
---|
97 | _sis1100_write()
|
---|
98 |
|
---|
99 | called:
|
---|
100 | from sis1100_write
|
---|
101 | returns:
|
---|
102 | ok: 0
|
---|
103 | ENOTTY; sis1100_write_block
|
---|
104 |
|
---|
105 | ///////////////////////////////////////////////////////////////////////////////
|
---|
106 |
|
---|
107 | sis1100_write
|
---|
108 |
|
---|
109 | #ifdef __NetBSD__
|
---|
110 | int
|
---|
111 | sis1100_write()
|
---|
112 | #elif __linux__
|
---|
113 | ssize_t
|
---|
114 | sis1100_write(struct file* file, const char* buf, size_t count, loff_t* ppos)
|
---|
115 | #endif
|
---|
116 |
|
---|
117 | called:
|
---|
118 | from kernel
|
---|
119 | returns:
|
---|
120 | NetBSD:
|
---|
121 | _sis1100_write
|
---|
122 | linux:
|
---|
123 | _sis1100_write<0?_sis1100_write:count_written
|
---|
124 |
|
---|
125 | NetBSD:
|
---|
126 | linux:
|
---|
127 | ok: count_written (bytes)
|
---|
128 | error: -errno
|
---|
129 |
|
---|
130 | ///////////////////////////////////////////////////////////////////////////////
|
---|
131 |
|
---|
132 | sis1100_write_dma
|
---|
133 |
|
---|
134 | ///////////////////////////////////////////////////////////////////////////////
|
---|
135 |
|
---|
136 | sis1100_write_loop
|
---|
137 |
|
---|
138 | ///////////////////////////////////////////////////////////////////////////////
|
---|
139 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.