source: drsdaq/VME/struck/sis1100/V2.02/doc/driver.txt@ 23

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