Home
last modified time | relevance | path

Searched refs:gpib_board (Results 1 – 23 of 23) sorted by relevance

/linux/drivers/gpib/include/
H A Dgpib_proto.h11 void os_start_timer(struct gpib_board *board, unsigned int usec_timeout);
12 void os_remove_timer(struct gpib_board *board);
13 void init_gpib_board(struct gpib_board *board);
21 int serial_poll_all(struct gpib_board *board, unsigned int usec_timeout);
23 int dvrsp(struct gpib_board *board, unsigned int pad, int sad,
25 int ibcac(struct gpib_board *board, int sync, int fallback_to_async);
26 int ibcmd(struct gpib_board *board, u8 *buf, size_t length, size_t *bytes_written);
27 int ibgts(struct gpib_board *board);
28 int ibonline(struct gpib_board *board);
29 int iboffline(struct gpib_board *board);
[all …]
H A Dgpib_types.h20 struct gpib_board;
60 int (*attach)(struct gpib_board *board, const struct gpib_board_config *config);
62 void (*detach)(struct gpib_board *board);
74 int (*read)(struct gpib_board *board, u8 *buffer, size_t length, int *end,
82 int (*write)(struct gpib_board *board, u8 *buffer, size_t length, int send_eoi,
88 int (*command)(struct gpib_board *board, u8 *buffer, size_t length,
97 int (*take_control)(struct gpib_board *board, int asyncronous);
101 int (*go_to_standby)(struct gpib_board *board);
103 int (*request_system_control)(struct gpib_board *board, int request_control);
108 void (*interface_clear)(struct gpib_board *board, int assert);
[all …]
H A Dnec7210.h81 int nec7210_read(struct gpib_board *board, struct nec7210_priv *priv, u8 *buffer,
83 int nec7210_write(struct gpib_board *board, struct nec7210_priv *priv, u8 *buffer,
85 int nec7210_command(struct gpib_board *board, struct nec7210_priv *priv, u8 *buffer,
87 int nec7210_take_control(struct gpib_board *board, struct nec7210_priv *priv, int syncronous);
88 int nec7210_go_to_standby(struct gpib_board *board, struct nec7210_priv *priv);
89 int nec7210_request_system_control(struct gpib_board *board,
91 void nec7210_interface_clear(struct gpib_board *board, struct nec7210_priv *priv, int assert);
92 void nec7210_remote_enable(struct gpib_board *board, struct nec7210_priv *priv, int enable);
93 int nec7210_enable_eos(struct gpib_board *board, struct nec7210_priv *priv, u8 eos_bytes,
95 void nec7210_disable_eos(struct gpib_board *board, struct nec7210_priv *priv);
[all …]
H A Dtms9914.h82 int tms9914_read(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
84 int tms9914_write(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
86 int tms9914_command(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
88 int tms9914_take_control(struct gpib_board *board, struct tms9914_priv *priv, int syncronous);
93 int tms9914_take_control_workaround(struct gpib_board *board, struct tms9914_priv *priv,
95 int tms9914_go_to_standby(struct gpib_board *board, struct tms9914_priv *priv);
96 int tms9914_request_system_control(struct gpib_board *board, struct tms9914_priv *priv,
98 void tms9914_interface_clear(struct gpib_board *board, struct tms9914_priv *priv, int assert);
99 void tms9914_remote_enable(struct gpib_board *board, struct tms9914_priv *priv, int enable);
100 int tms9914_enable_eos(struct gpib_board *board, struct tms9914_priv *priv, u8 eos_bytes,
[all …]
H A DgpibP.h30 int push_gpib_event(struct gpib_board *board, short event_type);
31 int pop_gpib_event(struct gpib_board *board, struct gpib_event_queue *queue, short *event_type);
32 int gpib_request_pseudo_irq(struct gpib_board *board, irqreturn_t (*handler)(int, void *));
33 void gpib_free_pseudo_irq(struct gpib_board *board);
36 extern struct gpib_board board_array[GPIB_MAX_NUM_BOARDS];
/linux/drivers/gpib/cec/
H A Dcec_gpib.c28 struct gpib_board *board = arg; in cec_interrupt()
43 static int cec_pci_attach(struct gpib_board *board, const struct gpib_board_config *config);
45 static void cec_pci_detach(struct gpib_board *board);
48 static int cec_read(struct gpib_board *board, u8 *buffer, size_t length, int *end, in cec_read()
56 static int cec_write(struct gpib_board *board, u8 *buffer, size_t length, int send_eoi, in cec_write()
64 static int cec_command(struct gpib_board *board, u8 *buffer, in cec_command()
72 static int cec_take_control(struct gpib_board *board, int synchronous) in cec_take_control()
79 static int cec_go_to_standby(struct gpib_board *board) in cec_go_to_standby()
86 static int cec_request_system_control(struct gpib_board *board, int request_control) in cec_request_system_control()
93 static void cec_interface_clear(struct gpib_board *board, int assert) in cec_interface_clear()
[all …]
/linux/drivers/gpib/hp_82335/
H A Dhp82335.c28 static int hp82335_attach(struct gpib_board *board, const struct gpib_board_config *config);
29 static void hp82335_detach(struct gpib_board *board);
33 static int hp82335_read(struct gpib_board *board, u8 *buffer, size_t length, in hp82335_read()
41 static int hp82335_write(struct gpib_board *board, u8 *buffer, size_t length, int send_eoi, in hp82335_write()
49 static int hp82335_command(struct gpib_board *board, u8 *buffer, size_t length, in hp82335_command()
57 static int hp82335_take_control(struct gpib_board *board, int synchronous) in hp82335_take_control()
64 static int hp82335_go_to_standby(struct gpib_board *board) in hp82335_go_to_standby()
71 static int hp82335_request_system_control(struct gpib_board *board, int request_control) in hp82335_request_system_control()
78 static void hp82335_interface_clear(struct gpib_board *board, int assert) in hp82335_interface_clear()
85 static void hp82335_remote_enable(struct gpib_board *board, int enable) in hp82335_remote_enable()
[all …]
/linux/drivers/gpib/pc2/
H A Dpc2_gpib.c61 struct gpib_board *board = arg; in pc2_interrupt()
74 struct gpib_board *board = arg; in pc2a_interrupt()
93 static int pc2_read(struct gpib_board *board, u8 *buffer, size_t length, int *end, in pc2_read()
101 static int pc2_write(struct gpib_board *board, u8 *buffer, size_t length, int send_eoi, in pc2_write()
109 static int pc2_command(struct gpib_board *board, u8 *buffer, in pc2_command()
117 static int pc2_take_control(struct gpib_board *board, int synchronous) in pc2_take_control()
124 static int pc2_go_to_standby(struct gpib_board *board) in pc2_go_to_standby()
131 static int pc2_request_system_control(struct gpib_board *board, int request_control) in pc2_request_system_control()
138 static void pc2_interface_clear(struct gpib_board *board, int assert) in pc2_interface_clear()
145 static void pc2_remote_enable(struct gpib_board *board, int enable) in pc2_remote_enable()
[all …]
/linux/drivers/gpib/common/
H A Dgpib_os.c30 struct gpib_board *board, unsigned long arg);
31 static int read_ioctl(struct gpib_file_private *file_priv, struct gpib_board *board,
33 static int write_ioctl(struct gpib_file_private *file_priv, struct gpib_board *board,
35 static int command_ioctl(struct gpib_file_private *file_priv, struct gpib_board *board,
37 static int open_dev_ioctl(struct file *filep, struct gpib_board *board, unsigned long arg);
38 static int close_dev_ioctl(struct file *filep, struct gpib_board *board, unsigned long arg);
39 static int serial_poll_ioctl(struct gpib_board *board, unsigned long arg);
41 struct gpib_board *board, unsigned long arg);
42 static int parallel_poll_ioctl(struct gpib_board *board, unsigned long arg);
43 static int online_ioctl(struct gpib_board *board, unsigned long arg);
[all …]
H A Dibsys.h22 int gpib_allocate_board(struct gpib_board *board);
23 void gpib_deallocate_board(struct gpib_board *board);
26 int push_status_byte(struct gpib_board *board, struct gpib_status_queue *device,
28 int pop_status_byte(struct gpib_board *board, struct gpib_status_queue *device,
30 struct gpib_status_queue *get_gpib_status_queue(struct gpib_board *board,
32 int get_serial_poll_byte(struct gpib_board *board, unsigned int pad, int sad,
34 int autopoll_all_devices(struct gpib_board *board);
/linux/drivers/gpib/eastwood/
H A Dfluke_gpib.c27 static int fluke_attach_holdoff_all(struct gpib_board *board,
29 static int fluke_attach_holdoff_end(struct gpib_board *board,
31 static void fluke_detach(struct gpib_board *board);
32 static int fluke_config_dma(struct gpib_board *board, int output);
33 static irqreturn_t fluke_gpib_internal_interrupt(struct gpib_board *board);
59 static int fluke_read(struct gpib_board *board, u8 *buffer, size_t length, int *end, in fluke_read()
67 static int fluke_write(struct gpib_board *board, u8 *buffer, size_t length, in fluke_write()
75 static int fluke_command(struct gpib_board *board, u8 *buffer, in fluke_command()
83 static int fluke_take_control(struct gpib_board *board, int synchronous) in fluke_take_control()
90 static int fluke_go_to_standby(struct gpib_board *board) in fluke_go_to_standby()
[all …]
/linux/drivers/gpib/ines/
H A Dines_gpib.c28 static irqreturn_t ines_interrupt(struct gpib_board *board);
30 static int ines_line_status(const struct gpib_board *board) in ines_line_status()
70 static int ines_t1_delay(struct gpib_board *board, unsigned int nano_sec) in ines_t1_delay()
100 static ssize_t pio_read(struct gpib_board *board, struct ines_priv *ines_priv, u8 *buffer, in pio_read()
138 static int ines_accel_read(struct gpib_board *board, u8 *buffer, in ines_accel_read()
195 static int ines_write_wait(struct gpib_board *board, struct ines_priv *ines_priv, in ines_write_wait()
218 static int ines_accel_write(struct gpib_board *board, u8 *buffer, size_t length, in ines_accel_write()
271 struct gpib_board *board = arg; in ines_pci_interrupt()
286 static irqreturn_t ines_interrupt(struct gpib_board *board) in ines_interrupt()
318 static int ines_pci_attach(struct gpib_board *board, const struct gpib_board_config *config);
[all …]
/linux/drivers/gpib/agilent_82350b/
H A Dagilent_82350b.c28 static unsigned short read_and_clear_event_status(struct gpib_board *board);
30 static int agilent_82350b_write(struct gpib_board *board, u8 *buffer,
33 static int agilent_82350b_accel_read(struct gpib_board *board, u8 *buffer, in agilent_82350b_accel_read()
135 static int translate_wait_return_value(struct gpib_board *board, int retval) in translate_wait_return_value()
150 static int agilent_82350b_accel_write(struct gpib_board *board, u8 *buffer, in agilent_82350b_accel_write()
235 static unsigned short read_and_clear_event_status(struct gpib_board *board) in read_and_clear_event_status()
253 struct gpib_board *board = arg; in agilent_82350b_interrupt()
280 static void agilent_82350b_detach(struct gpib_board *board);
304 static int agilent_82350b_read(struct gpib_board *board, u8 *buffer, in agilent_82350b_read()
312 static int agilent_82350b_write(struct gpib_board *board, u8 *buffer, in agilent_82350b_write()
[all …]
/linux/drivers/gpib/hp_82341/
H A Dhp_82341.c25 static unsigned short read_and_clear_event_status(struct gpib_board *board);
28 static int hp_82341_write(struct gpib_board *board, u8 *buffer, size_t length, int send_eoi,
32 static int hp_82341_accel_read(struct gpib_board *board, u8 *buffer, size_t length, int *end, in hp_82341_accel_read()
148 static int restart_write_fifo(struct gpib_board *board, struct hp_82341_priv *hp_priv) in restart_write_fifo()
173 static int hp_82341_accel_write(struct gpib_board *board, u8 *buffer, size_t length, in hp_82341_accel_write()
248 static int hp_82341_attach(struct gpib_board *board, const struct gpib_board_config *config);
250 static void hp_82341_detach(struct gpib_board *board);
253 static int hp_82341_read(struct gpib_board *board, u8 *buffer, size_t length, int *end, in hp_82341_read()
261 static int hp_82341_write(struct gpib_board *board, u8 *buffer, size_t length, int send_eoi, in hp_82341_write()
269 static int hp_82341_command(struct gpib_board *board, u8 *buffer, size_t length, in hp_82341_command()
[all …]
/linux/drivers/gpib/fmh_gpib/
H A Dfmh_gpib.c35 static int fmh_gpib_attach_holdoff_all(struct gpib_board *board,
37 static int fmh_gpib_attach_holdoff_end(struct gpib_board *board,
39 static void fmh_gpib_detach(struct gpib_board *board);
40 static int fmh_gpib_pci_attach_holdoff_all(struct gpib_board *board,
42 static int fmh_gpib_pci_attach_holdoff_end(struct gpib_board *board,
44 static void fmh_gpib_pci_detach(struct gpib_board *board);
45 static int fmh_gpib_config_dma(struct gpib_board *board, int output);
46 static irqreturn_t fmh_gpib_internal_interrupt(struct gpib_board *board);
51 static int fmh_gpib_read(struct gpib_board *board, u8 *buffer, size_t length, in fmh_gpib_read()
59 static int fmh_gpib_write(struct gpib_board *board, u8 *buffer, size_t length, in fmh_gpib_write()
[all …]
/linux/drivers/gpib/tms9914/
H A Dtms9914.c30 static unsigned int update_status_nolock(struct gpib_board *board, struct tms9914_priv *priv);
32 int tms9914_take_control(struct gpib_board *board, struct tms9914_priv *priv, int synchronous) in tms9914_take_control()
70 int tms9914_take_control_workaround(struct gpib_board *board, in tms9914_take_control_workaround()
79 int tms9914_go_to_standby(struct gpib_board *board, struct tms9914_priv *priv) in tms9914_go_to_standby()
100 void tms9914_interface_clear(struct gpib_board *board, struct tms9914_priv *priv, int assert) in tms9914_interface_clear()
112 void tms9914_remote_enable(struct gpib_board *board, struct tms9914_priv *priv, int enable) in tms9914_remote_enable()
121 int tms9914_request_system_control(struct gpib_board *board, struct tms9914_priv *priv, in tms9914_request_system_control()
134 unsigned int tms9914_t1_delay(struct gpib_board *board, struct tms9914_priv *priv, in tms9914_t1_delay()
160 void tms9914_return_to_local(const struct gpib_board *board, struct tms9914_priv *priv) in tms9914_return_to_local()
198 int tms9914_enable_eos(struct gpib_board *board, struct tms9914_priv *priv, u8 eos_byte, in tms9914_enable_eos()
[all …]
/linux/drivers/gpib/cb7210/
H A Dcb7210.c30 static int cb7210_read(struct gpib_board *board, u8 *buffer, size_t length,
43 static inline void input_fifo_enable(struct gpib_board *board, int enable) in input_fifo_enable()
79 static int fifo_read(struct gpib_board *board, struct cb7210_priv *cb_priv, u8 *buffer, in fifo_read()
173 static int cb7210_accel_read(struct gpib_board *board, u8 *buffer, in cb7210_accel_read()
232 static inline void output_fifo_enable(struct gpib_board *board, int enable) in output_fifo_enable()
267 static int fifo_write(struct gpib_board *board, u8 *buffer, size_t length, in fifo_write()
353 static int cb7210_accel_write(struct gpib_board *board, u8 *buffer, in cb7210_accel_write()
381 static int cb7210_line_status(const struct gpib_board *board) in cb7210_line_status()
411 static int cb7210_t1_delay(struct gpib_board *board, unsigned int nano_sec) in cb7210_t1_delay()
428 static irqreturn_t cb7210_locked_internal_interrupt(struct gpib_board *board);
[all …]
/linux/drivers/gpib/nec7210/
H A Dnec7210.c26 int nec7210_enable_eos(struct gpib_board *board, struct nec7210_priv *priv, u8 eos_byte, in nec7210_enable_eos()
40 void nec7210_disable_eos(struct gpib_board *board, struct nec7210_priv *priv) in nec7210_disable_eos()
47 int nec7210_parallel_poll(struct gpib_board *board, struct nec7210_priv *priv, u8 *result) in nec7210_parallel_poll()
67 void nec7210_parallel_poll_configure(struct gpib_board *board, in nec7210_parallel_poll_configure()
74 void nec7210_parallel_poll_response(struct gpib_board *board, struct nec7210_priv *priv, int ist) in nec7210_parallel_poll_response()
89 void nec7210_serial_poll_response(struct gpib_board *board, in nec7210_serial_poll_response()
107 u8 nec7210_serial_poll_status(struct gpib_board *board, struct nec7210_priv *priv) in nec7210_serial_poll_status()
113 int nec7210_primary_address(const struct gpib_board *board, struct nec7210_priv *priv, in nec7210_primary_address()
122 int nec7210_secondary_address(const struct gpib_board *board, struct nec7210_priv *priv, in nec7210_secondary_address()
171 unsigned int nec7210_update_status_nolock(struct gpib_board *board, struct nec7210_priv *priv) in nec7210_update_status_nolock()
[all …]
/linux/drivers/gpib/gpio/
H A Dgpib_bitbang.c315 static void bb_buffer_print(struct gpib_board *board, unsigned char *buffer, size_t length,
322 static void set_atn(struct gpib_board *board, int atn_asserted);
350 static int bb_read(struct gpib_board *board, u8 *buffer, size_t length, in bb_read()
422 struct gpib_board *board = arg; in bb_DAV_interrupt()
488 static int bb_write(struct gpib_board *board, u8 *buffer, size_t length, in bb_write()
577 struct gpib_board *board = arg; in bb_NRFD_interrupt()
651 struct gpib_board *board = arg; in bb_NDAC_interrupt()
712 struct gpib_board *board = arg; in bb_SRQ_interrupt()
726 static int bb_command(struct gpib_board *board, u8 *buffer, in bb_command()
807 static void bb_buffer_print(struct gpib_board *board, unsigned char *buffer, size_t length, in bb_buffer_print()
[all …]
/linux/drivers/gpib/tnt4882/
H A Dtnt4882_gpib.c54 static irqreturn_t tnt4882_internal_interrupt(struct gpib_board *board);
151 static int tnt4882_line_status(const struct gpib_board *board) in tnt4882_line_status()
181 static int tnt4882_t1_delay(struct gpib_board *board, unsigned int nano_sec) in tnt4882_t1_delay()
254 static void tnt4882_release_holdoff(struct gpib_board *board, struct tnt4882_priv *tnt_priv) in tnt4882_release_holdoff()
278 static int tnt4882_accel_read(struct gpib_board *board, u8 *buffer, size_t length, int *end, in tnt4882_accel_read()
431 static int write_wait(struct gpib_board *board, struct tnt4882_priv *tnt_priv, in write_wait()
453 static int generic_write(struct gpib_board *board, u8 *buffer, size_t length, in generic_write()
545 static int tnt4882_accel_write(struct gpib_board *board, u8 *buffer, in tnt4882_accel_write()
551 static int tnt4882_command(struct gpib_board *board, u8 *buffer, size_t length, in tnt4882_command()
557 static irqreturn_t tnt4882_internal_interrupt(struct gpib_board *board) in tnt4882_internal_interrupt()
[all …]
/linux/drivers/gpib/lpvo_usb_gpib/
H A Dlpvo_usb_gpib.c154 static void show_status(struct gpib_board *board) in show_status()
188 static int lpvo_do_open(struct gpib_board *, int);
189 static int lpvo_do_release(struct gpib_board *);
230 static int send_command(struct gpib_board *board, char *msg, int leng) in send_command()
269 static int set_control_line(struct gpib_board *board, int line, int value) in set_control_line()
300 static int one_char(struct gpib_board *board, struct char_buf *b) in one_char()
334 static void set_timeout(struct gpib_board *board) in set_timeout()
382 static int usb_gpib_attach(struct gpib_board *board, const struct gpib_board_config *config) in usb_gpib_attach()
503 static void usb_gpib_detach(struct gpib_board *board) in usb_gpib_detach()
530 static int usb_gpib_command(struct gpib_board *board, in usb_gpib_command()
[all …]
/linux/drivers/gpib/agilent_82357a/
H A Dagilent_82357a.c28 static unsigned int agilent_82357a_update_status(struct gpib_board *board,
31 static int agilent_82357a_take_control_internal(struct gpib_board *board, int synchronous);
424 int agilent_82357a_command(struct gpib_board *board, u8 *buffer, size_t length,
427 static int agilent_82357a_read(struct gpib_board *board, u8 *buffer, size_t length, int *end, in agilent_82357a_read()
539 static ssize_t agilent_82357a_generic_write(struct gpib_board *board, in agilent_82357a_generic_write()
680 static int agilent_82357a_write(struct gpib_board *board, u8 *buffer, in agilent_82357a_write()
686 int agilent_82357a_command(struct gpib_board *board, u8 *buffer, size_t length, in agilent_82357a_command()
692 int agilent_82357a_take_control_internal(struct gpib_board *board, int synchronous) in agilent_82357a_take_control_internal()
711 static int agilent_82357a_take_control(struct gpib_board *board, int synchronous) in agilent_82357a_take_control()
741 static int agilent_82357a_go_to_standby(struct gpib_board *board) in agilent_82357a_go_to_standby()
[all …]
/linux/drivers/gpib/ni_usb/
H A Dni_usb_gpib.c27 static int ni_usb_set_interrupt_monitor(struct gpib_board *board, unsigned int monitored_bits);
317 static void ni_usb_soft_update_status(struct gpib_board *board, unsigned int ni_usb_ibsta, in ni_usb_soft_update_status()
596 static int ni_usb_read(struct gpib_board *board, u8 *buffer, size_t length, in ni_usb_read()
731 static int ni_usb_write(struct gpib_board *board, u8 *buffer, size_t length, in ni_usb_write()
835 static int ni_usb_command_chunk(struct gpib_board *board, u8 *buffer, size_t length, in ni_usb_command_chunk()
929 static int ni_usb_command(struct gpib_board *board, u8 *buffer, size_t length, in ni_usb_command()
946 static int ni_usb_take_control(struct gpib_board *board, int synchronous) in ni_usb_take_control()
1007 static int ni_usb_go_to_standby(struct gpib_board *board) in ni_usb_go_to_standby()
1066 static int ni_usb_request_system_control(struct gpib_board *board, int request_control) in ni_usb_request_system_control()
1117 static void ni_usb_interface_clear(struct gpib_board *board, int assert) in ni_usb_interface_clear()
[all …]