Home
last modified time | relevance | path

Searched refs:gpib_board_t (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/staging/gpib/include/
H A Dgpib_types.h26 typedef struct gpib_board_struct gpib_board_t; typedef
58 int (*attach)(gpib_board_t *board, const gpib_board_config_t *config);
60 void (*detach)(gpib_board_t *board);
71 int (*read)(gpib_board_t *board, uint8_t *buffer, size_t length, int *end,
78 int (*write)(gpib_board_t *board, uint8_t *buffer, size_t length, int send_eoi,
83 int (*command)(gpib_board_t *board, uint8_t *buffer, size_t length,
91 int (*take_control)(gpib_board_t *board, int asyncronous);
94 int (*go_to_standby)(gpib_board_t *board);
96 void (*request_system_control)(gpib_board_t *board, int request_control);
100 void (*interface_clear)(gpib_board_t *board, int assert);
[all …]
H A Dnec7210.h81 int nec7210_read(gpib_board_t *board, struct nec7210_priv *priv, uint8_t *buffer,
83 int nec7210_write(gpib_board_t *board, struct nec7210_priv *priv, uint8_t *buffer,
85 int nec7210_command(gpib_board_t *board, struct nec7210_priv *priv, uint8_t *buffer,
87 int nec7210_take_control(gpib_board_t *board, struct nec7210_priv *priv, int syncronous);
88 int nec7210_go_to_standby(gpib_board_t *board, struct nec7210_priv *priv);
89 void nec7210_request_system_control(gpib_board_t *board,
91 void nec7210_interface_clear(gpib_board_t *board, struct nec7210_priv *priv, int assert);
92 void nec7210_remote_enable(gpib_board_t *board, struct nec7210_priv *priv, int enable);
93 int nec7210_enable_eos(gpib_board_t *board, struct nec7210_priv *priv, uint8_t eos_bytes,
95 void nec7210_disable_eos(gpib_board_t *board, struct nec7210_priv *priv);
[all …]
H A Dtms9914.h82 int tms9914_read(gpib_board_t *board, struct tms9914_priv *priv, uint8_t *buffer,
84 int tms9914_write(gpib_board_t *board, struct tms9914_priv *priv, uint8_t *buffer,
86 int tms9914_command(gpib_board_t *board, struct tms9914_priv *priv, uint8_t *buffer,
88 int tms9914_take_control(gpib_board_t *board, struct tms9914_priv *priv, int syncronous);
92 int tms9914_take_control_workaround(gpib_board_t *board, struct tms9914_priv *priv,
94 int tms9914_go_to_standby(gpib_board_t *board, struct tms9914_priv *priv);
95 void tms9914_request_system_control(gpib_board_t *board, struct tms9914_priv *priv,
97 void tms9914_interface_clear(gpib_board_t *board, struct tms9914_priv *priv, int assert);
98 void tms9914_remote_enable(gpib_board_t *board, struct tms9914_priv *priv, int enable);
99 int tms9914_enable_eos(gpib_board_t *board, struct tms9914_priv *priv, uint8_t eos_bytes,
[all …]
H A DgpibP.h29 int push_gpib_event(gpib_board_t *board, short event_type);
30 int pop_gpib_event(gpib_board_t *board, gpib_event_queue_t *queue, short *event_type);
31 int gpib_request_pseudo_irq(gpib_board_t *board, irqreturn_t (*handler)(int, void *));
32 void gpib_free_pseudo_irq(gpib_board_t *board);
35 extern gpib_board_t board_array[GPIB_MAX_NUM_BOARDS];
/linux/drivers/staging/gpib/ines/
H A Dines.h46 int ines_read(gpib_board_t *board, uint8_t *buffer, size_t length, int *end, size_t *bytes_read);
47 int ines_write(gpib_board_t *board, uint8_t *buffer, size_t length,
49 int ines_accel_read(gpib_board_t *board, uint8_t *buffer, size_t length,
51 int ines_accel_write(gpib_board_t *board, uint8_t *buffer, size_t length,
53 int ines_command(gpib_board_t *board, uint8_t *buffer, size_t length, size_t *bytes_written);
54 int ines_take_control(gpib_board_t *board, int synchronous);
55 int ines_go_to_standby(gpib_board_t *board);
56 void ines_request_system_control(gpib_board_t *board, int request_control);
57 void ines_interface_clear(gpib_board_t *board, int assert);
58 void ines_remote_enable(gpib_board_t *board, int enable);
[all …]
H A Dines_gpib.c24 int ines_line_status(const gpib_board_t *board) in ines_line_status()
66 unsigned int ines_t1_delay(gpib_board_t *board, unsigned int nano_sec) in ines_t1_delay()
96 static ssize_t pio_read(gpib_board_t *board, struct ines_priv *ines_priv, uint8_t *buffer, in pio_read()
137 int ines_accel_read(gpib_board_t *board, uint8_t *buffer, in ines_accel_read()
194 static int ines_write_wait(gpib_board_t *board, struct ines_priv *ines_priv, in ines_write_wait()
218 int ines_accel_write(gpib_board_t *board, uint8_t *buffer, size_t length, in ines_accel_write()
271 gpib_board_t *board = arg; in ines_pci_interrupt()
286 irqreturn_t ines_interrupt(gpib_board_t *board) in ines_interrupt()
318 static int ines_pci_attach(gpib_board_t *board, const gpib_board_config_t *config);
319 static int ines_pci_accel_attach(gpib_board_t *board, const gpib_board_config_t *config);
[all …]
/linux/drivers/staging/gpib/cb7210/
H A Dcb7210.h47 irqreturn_t cb7210_internal_interrupt(gpib_board_t *board);
50 int cb7210_read(gpib_board_t *board, uint8_t *buffer, size_t length,
52 int cb7210_accel_read(gpib_board_t *board, uint8_t *buffer, size_t length,
54 int cb7210_write(gpib_board_t *board, uint8_t *buffer, size_t length,
56 int cb7210_accel_write(gpib_board_t *board, uint8_t *buffer, size_t length,
58 int cb7210_command(gpib_board_t *board, uint8_t *buffer, size_t length, size_t *bytes_written);
59 int cb7210_take_control(gpib_board_t *board, int synchronous);
60 int cb7210_go_to_standby(gpib_board_t *board);
61 void cb7210_request_system_control(gpib_board_t *board, int request_control);
62 void cb7210_interface_clear(gpib_board_t *board, int assert);
[all …]
H A Dcb7210.c36 static inline void input_fifo_enable(gpib_board_t *board, int enable) in input_fifo_enable()
72 static int fifo_read(gpib_board_t *board, struct cb7210_priv *cb_priv, uint8_t *buffer, in fifo_read()
168 int cb7210_accel_read(gpib_board_t *board, uint8_t *buffer, in cb7210_accel_read()
228 static inline void output_fifo_enable(gpib_board_t *board, int enable) in output_fifo_enable()
263 static int fifo_write(gpib_board_t *board, uint8_t *buffer, size_t length, size_t *bytes_written) in fifo_write()
350 int cb7210_accel_write(gpib_board_t *board, uint8_t *buffer, size_t length, int send_eoi, in cb7210_accel_write()
378 int cb7210_line_status(const gpib_board_t *board) in cb7210_line_status()
410 unsigned int cb7210_t1_delay(gpib_board_t *board, unsigned int nano_sec) in cb7210_t1_delay()
427 irqreturn_t cb7210_locked_internal_interrupt(gpib_board_t *board);
436 gpib_board_t *board = arg; in cb_pci_interrupt()
[all …]
/linux/drivers/staging/gpib/hp_82335/
H A Dhp82335.c23 static int hp82335_attach(gpib_board_t *board, const gpib_board_config_t *config);
25 static void hp82335_detach(gpib_board_t *board);
28 int hp82335_read(gpib_board_t *board, uint8_t *buffer, size_t length, int *end, size_t *bytes_read) in hp82335_read()
35 int hp82335_write(gpib_board_t *board, uint8_t *buffer, size_t length, int send_eoi, in hp82335_write()
43 int hp82335_command(gpib_board_t *board, uint8_t *buffer, size_t length, size_t *bytes_written) in hp82335_command()
50 int hp82335_take_control(gpib_board_t *board, int synchronous) in hp82335_take_control()
57 int hp82335_go_to_standby(gpib_board_t *board) in hp82335_go_to_standby()
64 void hp82335_request_system_control(gpib_board_t *board, int request_control) in hp82335_request_system_control()
71 void hp82335_interface_clear(gpib_board_t *board, int assert) in hp82335_interface_clear()
78 void hp82335_remote_enable(gpib_board_t *board, int enable) in hp82335_remote_enable()
[all …]
/linux/drivers/staging/gpib/cec/
H A Dcec_gpib.c24 gpib_board_t *board = arg; in cec_interrupt()
39 static int cec_pci_attach(gpib_board_t *board, const gpib_board_config_t *config);
41 static void cec_pci_detach(gpib_board_t *board);
44 int cec_read(gpib_board_t *board, uint8_t *buffer, size_t length, int *end, size_t *bytes_read) in cec_read()
51 int cec_write(gpib_board_t *board, uint8_t *buffer, size_t length, int send_eoi, in cec_write()
59 int cec_command(gpib_board_t *board, uint8_t *buffer, size_t length, size_t *bytes_written) in cec_command()
66 int cec_take_control(gpib_board_t *board, int synchronous) in cec_take_control()
73 int cec_go_to_standby(gpib_board_t *board) in cec_go_to_standby()
80 void cec_request_system_control(gpib_board_t *board, int request_control) in cec_request_system_control()
87 void cec_interface_clear(gpib_board_t *board, int assert) in cec_interface_clear()
[all …]
/linux/drivers/staging/gpib/pc2/
H A Dpc2_gpib.c52 static int pc2_attach(gpib_board_t *board, const gpib_board_config_t *config);
53 static int pc2a_attach(gpib_board_t *board, const gpib_board_config_t *config);
54 static int pc2a_cb7210_attach(gpib_board_t *board, const gpib_board_config_t *config);
55 static int pc2_2a_attach(gpib_board_t *board, const gpib_board_config_t *config);
57 static void pc2_detach(gpib_board_t *board);
58 static void pc2a_detach(gpib_board_t *board);
59 static void pc2_2a_detach(gpib_board_t *board);
67 gpib_board_t *board = arg; in pc2_interrupt()
80 gpib_board_t *board = arg; in pc2a_interrupt()
99 static int pc2_read(gpib_board_t *board, uint8_t *buffer, size_t length, int *end, in pc2_read()
[all …]
/linux/drivers/staging/gpib/common/
H A Dgpib_os.c26 static int board_type_ioctl(gpib_file_private_t *file_priv, gpib_board_t *board, unsigned long arg);
27 static int read_ioctl(gpib_file_private_t *file_priv, gpib_board_t *board,
29 static int write_ioctl(gpib_file_private_t *file_priv, gpib_board_t *board,
31 static int command_ioctl(gpib_file_private_t *file_priv, gpib_board_t *board,
33 static int open_dev_ioctl(struct file *filep, gpib_board_t *board, unsigned long arg);
34 static int close_dev_ioctl(struct file *filep, gpib_board_t *board, unsigned long arg);
35 static int serial_poll_ioctl(gpib_board_t *board, unsigned long arg);
36 static int wait_ioctl(gpib_file_private_t *file_priv, gpib_board_t *board, unsigned long arg);
37 static int parallel_poll_ioctl(gpib_board_t *board, unsigned long arg);
38 static int online_ioctl(gpib_board_t *board, unsigned long arg);
[all …]
/linux/drivers/staging/gpib/tnt4882/
H A Dtnt4882_gpib.c51 static int tnt4882_read(gpib_board_t *board, uint8_t *buffer, size_t length,
53 static int tnt4882_accel_read(gpib_board_t *board, uint8_t *buffer, size_t length,
55 static int tnt4882_write(gpib_board_t *board, uint8_t *buffer, size_t length,
57 static int tnt4882_accel_write(gpib_board_t *board, uint8_t *buffer, size_t length,
59 static int tnt4882_command(gpib_board_t *board, uint8_t *buffer, size_t length,
61 static int tnt4882_command_unaccel(gpib_board_t *board, uint8_t *buffer,
63 static int tnt4882_take_control(gpib_board_t *board, int synchronous);
64 static int tnt4882_go_to_standby(gpib_board_t *board);
65 static void tnt4882_request_system_control(gpib_board_t *board, int request_control);
66 static void tnt4882_interface_clear(gpib_board_t *board, int assert);
[all …]
/linux/drivers/staging/gpib/eastwood/
H A Dfluke_gpib.c23 static int fluke_attach_holdoff_all(gpib_board_t *board, const gpib_board_config_t *config);
24 static int fluke_attach_holdoff_end(gpib_board_t *board, const gpib_board_config_t *config);
25 static void fluke_detach(gpib_board_t *board);
26 static int fluke_config_dma(gpib_board_t *board, int output);
27 static irqreturn_t fluke_gpib_internal_interrupt(gpib_board_t *board);
53 static int fluke_read(gpib_board_t *board, uint8_t *buffer, size_t length, int *end, in fluke_read()
61 static int fluke_write(gpib_board_t *board, uint8_t *buffer, size_t length, in fluke_write()
69 static int fluke_command(gpib_board_t *board, uint8_t *buffer, size_t length, size_t *bytes_written) in fluke_command()
76 static int fluke_take_control(gpib_board_t *board, int synchronous) in fluke_take_control()
83 static int fluke_go_to_standby(gpib_board_t *board) in fluke_go_to_standby()
[all …]
/linux/drivers/staging/gpib/fmh_gpib/
H A Dfmh_gpib.c31 static int fmh_gpib_attach_holdoff_all(gpib_board_t *board, const gpib_board_config_t *config);
32 static int fmh_gpib_attach_holdoff_end(gpib_board_t *board, const gpib_board_config_t *config);
33 static void fmh_gpib_detach(gpib_board_t *board);
34 static int fmh_gpib_pci_attach_holdoff_all(gpib_board_t *board, const gpib_board_config_t *config);
35 static int fmh_gpib_pci_attach_holdoff_end(gpib_board_t *board, const gpib_board_config_t *config);
36 static void fmh_gpib_pci_detach(gpib_board_t *board);
37 static int fmh_gpib_config_dma(gpib_board_t *board, int output);
38 static irqreturn_t fmh_gpib_internal_interrupt(gpib_board_t *board);
43 static int fmh_gpib_read(gpib_board_t *board, uint8_t *buffer, size_t length, in fmh_gpib_read()
51 static int fmh_gpib_write(gpib_board_t *board, uint8_t *buffer, size_t length, in fmh_gpib_write()
[all …]
/linux/drivers/staging/gpib/agilent_82350b/
H A Dagilent_82350b.c23 int agilent_82350b_accel_read(gpib_board_t *board, uint8_t *buffer, size_t length, int *end, in agilent_82350b_accel_read()
136 static int translate_wait_return_value(gpib_board_t *board, int retval) in translate_wait_return_value()
157 int agilent_82350b_accel_write(gpib_board_t *board, uint8_t *buffer, size_t length, int send_eoi, in agilent_82350b_accel_write()
257 unsigned short read_and_clear_event_status(gpib_board_t *board) in read_and_clear_event_status()
276 gpib_board_t *board = arg; in agilent_82350b_interrupt()
304 void agilent_82350b_detach(gpib_board_t *board);
332 int agilent_82350b_read(gpib_board_t *board, uint8_t *buffer, size_t length, int *end, in agilent_82350b_read()
341 int agilent_82350b_write(gpib_board_t *board, uint8_t *buffer, size_t length, int send_eoi, in agilent_82350b_write()
350 int agilent_82350b_command(gpib_board_t *board, uint8_t *buffer, size_t length, in agilent_82350b_command()
359 int agilent_82350b_take_control(gpib_board_t *board, int synchronous) in agilent_82350b_take_control()
[all …]
/linux/drivers/staging/gpib/hp_82341/
H A Dhp_82341.c20 int hp_82341_accel_read(gpib_board_t *board, uint8_t *buffer, size_t length, int *end, in hp_82341_accel_read()
141 static int restart_write_fifo(gpib_board_t *board, struct hp_82341_priv *hp_priv) in restart_write_fifo()
166 int hp_82341_accel_write(gpib_board_t *board, uint8_t *buffer, size_t length, in hp_82341_accel_write()
247 static int hp_82341_attach(gpib_board_t *board, const gpib_board_config_t *config);
249 static void hp_82341_detach(gpib_board_t *board);
252 int hp_82341_read(gpib_board_t *board, uint8_t *buffer, size_t length, int *end, size_t *bytes_read) in hp_82341_read()
259 int hp_82341_write(gpib_board_t *board, uint8_t *buffer, size_t length, int send_eoi, in hp_82341_write()
267 int hp_82341_command(gpib_board_t *board, uint8_t *buffer, size_t length, size_t *bytes_written) in hp_82341_command()
274 int hp_82341_take_control(gpib_board_t *board, int synchronous) in hp_82341_take_control()
281 int hp_82341_go_to_standby(gpib_board_t *board) in hp_82341_go_to_standby()
[all …]
/linux/drivers/staging/gpib/tms9914/
H A Dtms9914.c27 static unsigned int update_status_nolock(gpib_board_t *board, struct tms9914_priv *priv);
29 int tms9914_take_control(gpib_board_t *board, struct tms9914_priv *priv, int synchronous) in tms9914_take_control()
66 int tms9914_take_control_workaround(gpib_board_t *board, struct tms9914_priv *priv, int synchronous) in tms9914_take_control_workaround()
74 int tms9914_go_to_standby(gpib_board_t *board, struct tms9914_priv *priv) in tms9914_go_to_standby()
97 void tms9914_interface_clear(gpib_board_t *board, struct tms9914_priv *priv, int assert) in tms9914_interface_clear()
109 void tms9914_remote_enable(gpib_board_t *board, struct tms9914_priv *priv, int enable) in tms9914_remote_enable()
118 void tms9914_request_system_control(gpib_board_t *board, struct tms9914_priv *priv, in tms9914_request_system_control()
130 unsigned int tms9914_t1_delay(gpib_board_t *board, struct tms9914_priv *priv, in tms9914_t1_delay()
156 void tms9914_return_to_local(const gpib_board_t *board, struct tms9914_priv *priv) in tms9914_return_to_local()
194 int tms9914_enable_eos(gpib_board_t *board, struct tms9914_priv *priv, uint8_t eos_byte, in tms9914_enable_eos()
[all …]
/linux/drivers/staging/gpib/nec7210/
H A Dnec7210.c24 int nec7210_enable_eos(gpib_board_t *board, struct nec7210_priv *priv, uint8_t eos_byte, in nec7210_enable_eos()
38 void nec7210_disable_eos(gpib_board_t *board, struct nec7210_priv *priv) in nec7210_disable_eos()
45 int nec7210_parallel_poll(gpib_board_t *board, struct nec7210_priv *priv, uint8_t *result) in nec7210_parallel_poll()
65 void nec7210_parallel_poll_configure(gpib_board_t *board, in nec7210_parallel_poll_configure()
72 void nec7210_parallel_poll_response(gpib_board_t *board, struct nec7210_priv *priv, int ist) in nec7210_parallel_poll_response()
86 void nec7210_serial_poll_response(gpib_board_t *board, struct nec7210_priv *priv, uint8_t status) in nec7210_serial_poll_response()
103 uint8_t nec7210_serial_poll_status(gpib_board_t *board, struct nec7210_priv *priv) in nec7210_serial_poll_status()
109 int nec7210_primary_address(const gpib_board_t *board, struct nec7210_priv *priv, in nec7210_primary_address()
118 int nec7210_secondary_address(const gpib_board_t *board, struct nec7210_priv *priv, in nec7210_secondary_address()
167 unsigned int nec7210_update_status_nolock(gpib_board_t *board, struct nec7210_priv *priv) in nec7210_update_status_nolock()
[all …]
/linux/drivers/staging/gpib/gpio/
H A Dgpib_bitbang.c357 static int bb_read(gpib_board_t *board, uint8_t *buffer, size_t length, in bb_read()
429 gpib_board_t *board = arg; in bb_DAV_interrupt()
495 static int bb_write(gpib_board_t *board, uint8_t *buffer, size_t length, in bb_write()
585 gpib_board_t *board = arg; in bb_NRFD_interrupt()
658 gpib_board_t *board = arg; in bb_NDAC_interrupt()
719 gpib_board_t *board = arg; in bb_SRQ_interrupt()
733 static int bb_command(gpib_board_t *board, uint8_t *buffer, in bb_command()
869 static int bb_take_control(gpib_board_t *board, int synchronous) in bb_take_control()
877 static int bb_go_to_standby(gpib_board_t *board) in bb_go_to_standby()
884 static void bb_request_system_control(gpib_board_t *board, int request_control) in bb_request_system_control()
[all …]
/linux/drivers/staging/gpib/lpvo_usb_gpib/
H A Dlpvo_usb_gpib.c205 static int skel_do_open(gpib_board_t *, int);
206 static int skel_do_release(gpib_board_t *);
267 static int send_command(gpib_board_t *board, char *msg, int leng) in send_command()
315 static int set_control_line(gpib_board_t *board, int line, int value) in set_control_line()
346 static int one_char(gpib_board_t *board, struct char_buf *b) in one_char()
386 static void set_timeout(gpib_board_t *board) in set_timeout()
436 static int usb_gpib_attach(gpib_board_t *board, const gpib_board_config_t *config) in usb_gpib_attach()
558 static void usb_gpib_detach(gpib_board_t *board) in usb_gpib_detach()
586 static int usb_gpib_command(gpib_board_t *board, in usb_gpib_command()
619 static void usb_gpib_disable_eos(gpib_board_t *board) in usb_gpib_disable_eos()
[all …]