Home
last modified time | relevance | path

Searched refs:board (Results 1 – 25 of 1519) sorted by relevance

12345678910>>...61

/linux/drivers/gpib/cec/
H A Dcec_gpib.c28 struct gpib_board *board = arg; in cec_interrupt() local
29 struct cec_priv *priv = board->private_data; in cec_interrupt()
33 spin_lock_irqsave(&board->spinlock, flags); in cec_interrupt()
34 retval = nec7210_interrupt(board, &priv->nec7210_priv); in cec_interrupt()
35 spin_unlock_irqrestore(&board->spinlock, flags); 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() argument
51 struct cec_priv *priv = board->private_data; in cec_read()
53 return nec7210_read(board, &priv->nec7210_priv, buffer, length, end, bytes_read); in cec_read()
[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, unsigne
88 struct gpib_board *board = timer_container_of(board, t, timer); watchdog_timeout() local
95 os_start_timer(struct gpib_board * board,unsigned int usec_timeout) os_start_timer() argument
111 os_remove_timer(struct gpib_board * board) os_remove_timer() argument
118 io_timed_out(struct gpib_board * board) io_timed_out() argument
148 gpib_request_pseudo_irq(struct gpib_board * board,irqreturn_t (* handler)(int,void *)) gpib_request_pseudo_irq() argument
167 gpib_free_pseudo_irq(struct gpib_board * board) gpib_free_pseudo_irq() argument
186 push_status_byte(struct gpib_board * board,struct gpib_status_queue * device,u8 poll_byte) push_status_byte() argument
220 pop_status_byte(struct gpib_board * board,struct gpib_status_queue * device,u8 * poll_byte) pop_status_byte() argument
251 get_gpib_status_queue(struct gpib_board * board,unsigned int pad,int sad) get_gpib_status_queue() argument
266 get_serial_poll_byte(struct gpib_board * board,unsigned int pad,int sad,unsigned int usec_timeout,u8 * poll_byte) get_serial_poll_byte() argument
278 autopoll_all_devices(struct gpib_board * board) autopoll_all_devices() argument
310 setup_serial_poll(struct gpib_board * board,unsigned int usec_timeout) setup_serial_poll() argument
342 read_serial_poll_byte(struct gpib_board * board,unsigned int pad,int sad,unsigned int usec_timeout,u8 * result) read_serial_poll_byte() argument
387 cleanup_serial_poll(struct gpib_board * board,unsigned int usec_timeout) cleanup_serial_poll() argument
413 serial_poll_single(struct gpib_board * board,unsigned int pad,int sad,unsigned int usec_timeout,u8 * result) serial_poll_single() argument
431 serial_poll_all(struct gpib_board * board,unsigned int usec_timeout) serial_poll_all() argument
478 dvrsp(struct gpib_board * board,unsigned int pad,int sad,unsigned int usec_timeout,u8 * result) dvrsp() argument
530 struct gpib_board *board; ibopen() local
568 struct gpib_board *board; ibclose() local
614 struct gpib_board *board; ibioctl() local
820 board_type_ioctl(struct gpib_file_private * file_priv,struct gpib_board * board,unsigned long arg) board_type_ioctl() argument
872 read_ioctl(struct gpib_file_private * file_priv,struct gpib_board * board,unsigned long arg) read_ioctl() argument
957 command_ioctl(struct gpib_file_private * file_priv,struct gpib_board * board,unsigned long arg) command_ioctl() argument
1050 write_ioctl(struct gpib_file_private * file_priv,struct gpib_board * board,unsigned long arg) write_ioctl() argument
1130 status_bytes_ioctl(struct gpib_board * board,unsigned long arg) status_bytes_ioctl() argument
1153 increment_open_device_count(struct gpib_board * board,struct list_head * head,unsigned int pad,int sad) increment_open_device_count() argument
1189 subtract_open_device_count(struct gpib_board * board,struct list_head * head,unsigned int pad,int sad,unsigned int count) subtract_open_device_count() argument
1218 decrement_open_device_count(struct gpib_board * board,struct list_head * head,unsigned int pad,int sad) decrement_open_device_count() argument
1224 cleanup_open_devices(struct gpib_file_private * file_priv,struct gpib_board * board) cleanup_open_devices() argument
1249 open_dev_ioctl(struct file * filep,struct gpib_board * board,unsigned long arg) open_dev_ioctl() argument
1300 close_dev_ioctl(struct file * filep,struct gpib_board * board,unsigned long arg) close_dev_ioctl() argument
1338 serial_poll_ioctl(struct gpib_board * board,unsigned long arg) serial_poll_ioctl() argument
1359 wait_ioctl(struct gpib_file_private * file_priv,struct gpib_board * board,unsigned long arg) wait_ioctl() argument
1399 parallel_poll_ioctl(struct gpib_board * board,unsigned long arg) parallel_poll_ioctl() argument
1415 online_ioctl(struct gpib_board * board,unsigned long arg) online_ioctl() argument
1459 remote_enable_ioctl(struct gpib_board * board,unsigned long arg) remote_enable_ioctl() argument
1471 take_control_ioctl(struct gpib_board * board,unsigned long arg) take_control_ioctl() argument
1483 line_status_ioctl(struct gpib_board * board,unsigned long arg) line_status_ioctl() argument
1499 pad_ioctl(struct gpib_board * board,struct gpib_file_private * file_priv,unsigned long arg) pad_ioctl() argument
1535 sad_ioctl(struct gpib_board * board,struct gpib_file_private * file_priv,unsigned long arg) sad_ioctl() argument
1570 eos_ioctl(struct gpib_board * board,unsigned long arg) eos_ioctl() argument
1582 request_service_ioctl(struct gpib_board * board,unsigned long arg) request_service_ioctl() argument
1594 request_service2_ioctl(struct gpib_board * board,unsigned long arg) request_service2_ioctl() argument
1661 autospoll_ioctl(struct gpib_board * board,struct gpib_file_private * file_priv,unsigned long arg) autospoll_ioctl() argument
1699 mutex_ioctl(struct gpib_board * board,struct gpib_file_private * file_priv,unsigned long arg) mutex_ioctl() argument
1739 timeout_ioctl(struct gpib_board * board,unsigned long arg) timeout_ioctl() argument
1754 ppc_ioctl(struct gpib_board * board,unsigned long arg) ppc_ioctl() argument
1780 set_local_ppoll_mode_ioctl(struct gpib_board * board,unsigned long arg) set_local_ppoll_mode_ioctl() argument
1797 get_local_ppoll_mode_ioctl(struct gpib_board * board,unsigned long arg) get_local_ppoll_mode_ioctl() argument
1810 query_board_rsv_ioctl(struct gpib_board * board,unsigned long arg) query_board_rsv_ioctl() argument
1824 board_info_ioctl(const struct gpib_board * board,unsigned long arg) board_info_ioctl() argument
1847 interface_clear_ioctl(struct gpib_board * board,unsigned long arg) interface_clear_ioctl() argument
1911 push_gpib_event_nolock(struct gpib_board * board,short event_type) push_gpib_event_nolock() argument
1949 push_gpib_event(struct gpib_board * board,short event_type) push_gpib_event() argument
1967 pop_gpib_event_nolock(struct gpib_board * board,struct gpib_event_queue * queue,short * event_type) pop_gpib_event_nolock() argument
2002 pop_gpib_event(struct gpib_board * board,struct gpib_event_queue * queue,short * event_type) pop_gpib_event() argument
2013 event_ioctl(struct gpib_board * board,unsigned long arg) event_ioctl() argument
2032 request_system_control_ioctl(struct gpib_board * board,unsigned long arg) request_system_control_ioctl() argument
2044 t1_delay_ioctl(struct gpib_board * board,unsigned long arg) t1_delay_ioctl() argument
2112 struct gpib_board *board = &board_array[i]; gpib_unregister_driver() local
2142 init_gpib_board(struct gpib_board * board) init_gpib_board() argument
2177 gpib_allocate_board(struct gpib_board * board) gpib_allocate_board() argument
2190 gpib_deallocate_board(struct gpib_board * board) gpib_deallocate_board() argument
[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() argument
36 struct hp82335_priv *priv = board->private_data; in hp82335_read()
38 return tms9914_read(board, &priv->tms9914_priv, buffer, length, end, bytes_read); in hp82335_read()
41 static int hp82335_write(struct gpib_board *board, u8 *buffer, size_t length, int send_eoi, in hp82335_write() argument
44 struct hp82335_priv *priv = board->private_data; in hp82335_write()
46 return tms9914_write(board, &priv->tms9914_priv, buffer, length, send_eoi, bytes_written); in hp82335_write()
49 static int hp82335_command(struct gpib_board *board, u8 *buffer, size_t length, in hp82335_command() argument
52 struct hp82335_priv *priv = board->private_data; in hp82335_command()
[all …]
/linux/drivers/gpib/pc2/
H A Dpc2_gpib.c61 struct gpib_board *board = arg; in pc2_interrupt() local
62 struct pc2_priv *priv = board->private_data; in pc2_interrupt()
66 spin_lock_irqsave(&board->spinlock, flags); in pc2_interrupt()
67 retval = nec7210_interrupt(board, &priv->nec7210_priv); in pc2_interrupt()
68 spin_unlock_irqrestore(&board->spinlock, flags); in pc2_interrupt()
74 struct gpib_board *board = arg; in pc2a_interrupt() local
75 struct pc2_priv *priv = board->private_data; in pc2a_interrupt()
80 spin_lock_irqsave(&board->spinlock, flags); in pc2a_interrupt()
87 retval = nec7210_interrupt_have_status(board, &priv->nec7210_priv, status1, status2); in pc2a_interrupt()
88 spin_unlock_irqrestore(&board->spinlock, flags); in pc2a_interrupt()
[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() argument
54 struct fmh_priv *priv = board->private_data; in fmh_gpib_read()
[all …]
/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() argument
62 struct fluke_priv *priv = board->private_data; in fluke_read()
64 return nec7210_read(board, &priv->nec7210_priv, buffer, length, end, bytes_read); in fluke_read()
67 static int fluke_write(struct gpib_board *board, u8 *buffer, size_t length, in fluke_write() argument
70 struct fluke_priv *priv = board->private_data; in fluke_write()
[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() argument
37 struct agilent_82350b_priv *a_priv = board->private_data; in agilent_82350b_accel_read()
44 return tms9914_read(board, tms_priv, buffer, length, end, bytes_read); in agilent_82350b_accel_read()
48 read_and_clear_event_status(board); in agilent_82350b_accel_read()
59 retval = tms9914_read(board, tms_priv, buffer, 1, end, &num_bytes); in agilent_82350b_accel_read()
86 retval = wait_event_interruptible(board->wait, in agilent_82350b_accel_read()
88 read_and_clear_event_status(board)) & in agilent_82350b_accel_read()
92 test_bit(TIMO_NUM, &board->status)); in agilent_82350b_accel_read()
[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() argument
35 struct hp_82341_priv *hp_priv = board->private_data; in hp_82341_accel_read()
43 return tms9914_read(board, tms_priv, buffer, length, end, bytes_read); in hp_82341_accel_read()
47 read_and_clear_event_status(board); in hp_82341_accel_read()
63 retval = tms9914_read(board, tms_priv, buffer, 1, end, &num_bytes); in hp_82341_accel_read()
66 dev_err(board->gpib_dev, "tms9914_read failed retval=%i\n", retval); in hp_82341_accel_read()
91 retval = wait_event_interruptible(board->wait, in hp_82341_accel_read()
93 read_and_clear_event_status(board)) & in hp_82341_accel_read()
[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() argument
45 struct cb7210_priv *cb_priv = board->private_data; in input_fifo_enable()
49 spin_lock_irqsave(&board->spinlock, flags); in input_fifo_enable()
76 spin_unlock_irqrestore(&board->spinlock, flags); in input_fifo_enable()
79 static int fifo_read(struct gpib_board *board, struct cb7210_priv *cb_priv, u8 *buffer, in fifo_read() argument
90 dev_err(board->gpib_dev, "fifo iobase is zero!\n"); in fifo_read()
95 dev_err(board->gpib_dev, " bug! fifo read length < fifo size\n"); in fifo_read()
99 input_fifo_enable(board, 1); in fifo_read()
104 if (wait_event_interruptible(board->wait, in fifo_read()
[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() argument
36 ines_priv = board->private_data; in ines_line_status()
60 static int ines72130_line_status(const struct gpib_board *board) in ines_set_xfer_counter()
64 struct ines_priv *ines_priv = board->private_data; in ines_set_xfer_counter()
98 static int ines_t1_delay(struct gpib_board *board, unsigned int nano_sec) in num_in_fifo_bytes()
100 struct ines_priv *ines_priv = board->private_data; in pio_read() argument
104 retval = nec7210_t1_delay(board, nec_priv, nano_sec); in pio_read()
131 static ssize_t pio_read(struct gpib_board *board, struct ines_priv *ines_priv, u8 *buffer, in pio_read()
140 if (wait_event_interruptible(board in ines_accel_read()
70 ines_t1_delay(struct gpib_board * board,unsigned int nano_sec) ines_t1_delay() argument
138 ines_accel_read(struct gpib_board * board,u8 * buffer,size_t length,int * end,size_t * bytes_read) ines_accel_read() argument
195 ines_write_wait(struct gpib_board * board,struct ines_priv * ines_priv,unsigned int fifo_threshold) ines_write_wait() argument
218 ines_accel_write(struct gpib_board * board,u8 * buffer,size_t length,int send_eoi,size_t * bytes_written) ines_accel_write() argument
271 struct gpib_board *board = arg; ines_pci_interrupt() local
286 ines_interrupt(struct gpib_board * board) ines_interrupt() argument
398 ines_read(struct gpib_board * board,u8 * buffer,size_t length,int * end,size_t * bytes_read) ines_read() argument
417 ines_write(struct gpib_board * board,u8 * buffer,size_t length,int send_eoi,size_t * bytes_written) ines_write() argument
425 ines_command(struct gpib_board * board,u8 * buffer,size_t length,size_t * bytes_written) ines_command() argument
432 ines_take_control(struct gpib_board * board,int synchronous) ines_take_control() argument
439 ines_go_to_standby(struct gpib_board * board) ines_go_to_standby() argument
446 ines_request_system_control(struct gpib_board * board,int request_control) ines_request_system_control() argument
453 ines_interface_clear(struct gpib_board * board,int assert) ines_interface_clear() argument
460 ines_remote_enable(struct gpib_board * board,int enable) ines_remote_enable() argument
467 ines_enable_eos(struct gpib_board * board,u8 eos_byte,int compare_8_bits) ines_enable_eos() argument
474 ines_disable_eos(struct gpib_board * board) ines_disable_eos() argument
481 ines_update_status(struct gpib_board * board,unsigned int clear_mask) ines_update_status() argument
488 ines_primary_address(struct gpib_board * board,unsigned int address) ines_primary_address() argument
495 ines_secondary_address(struct gpib_board * board,unsigned int address,int enable) ines_secondary_address() argument
502 ines_parallel_poll(struct gpib_board * board,u8 * result) ines_parallel_poll() argument
509 ines_parallel_poll_configure(struct gpib_board * board,u8 config) ines_parallel_poll_configure() argument
516 ines_parallel_poll_response(struct gpib_board * board,int ist) ines_parallel_poll_response() argument
523 ines_serial_poll_response(struct gpib_board * board,u8 status) ines_serial_poll_response() argument
530 ines_serial_poll_status(struct gpib_board * board) ines_serial_poll_status() argument
537 ines_return_to_local(struct gpib_board * board) ines_return_to_local() argument
656 ines_allocate_private(struct gpib_board * board) ines_allocate_private() argument
668 ines_free_private(struct gpib_board * board) ines_free_private() argument
674 ines_generic_attach(struct gpib_board * board) ines_generic_attach() argument
696 ines_online(struct ines_priv * ines_priv,const struct gpib_board * board,int use_accel) ines_online() argument
730 ines_common_pci_attach(struct gpib_board * board,const struct gpib_board_config * config) ines_common_pci_attach() argument
858 ines_pci_attach(struct gpib_board * board,const struct gpib_board_config * config) ines_pci_attach() argument
873 ines_pci_accel_attach(struct gpib_board * board,const struct gpib_board_config * config) ines_pci_accel_attach() argument
890 ines_isa_attach(struct gpib_board * board,const struct gpib_board_config * config) ines_isa_attach() argument
921 ines_pci_detach(struct gpib_board * board) ines_pci_detach() argument
955 ines_isa_detach(struct gpib_board * board) ines_isa_detach() argument
1306 struct gpib_board *board = arg; ines_pcmcia_interrupt() local
1311 ines_common_pcmcia_attach(struct gpib_board * board) ines_common_pcmcia_attach() argument
1350 ines_pcmcia_attach(struct gpib_board * board,const struct gpib_board_config * config) ines_pcmcia_attach() argument
1365 ines_pcmcia_accel_attach(struct gpib_board * board,const struct gpib_board_config * config) ines_pcmcia_accel_attach() argument
1381 ines_pcmcia_detach(struct gpib_board * board) ines_pcmcia_detach() argument
[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() argument
70 int tms9914_take_control_workaround(struct gpib_board *board, in tms9914_take_control_workaround() argument
75 return tms9914_take_control(board, priv, synchronous); in tms9914_take_control_workaround()
79 int tms9914_go_to_standby(struct gpib_board *board, struct tms9914_priv *priv) in tms9914_go_to_standby() argument
100 void tms9914_interface_clear(struct gpib_board *board, struct tms9914_priv *priv, int assert) in tms9914_interface_clear() argument
105 set_bit(CIC_NUM, &board->status); in tms9914_interface_clear()
112 void tms9914_remote_enable(struct gpib_board *board, struct tms9914_priv *priv, int enable) in tms9914_remote_enable() argument
121 int tms9914_request_system_control(struct gpib_board *board, struct tms9914_priv *priv, in tms9914_request_system_control() argument
127 clear_bit(CIC_NUM, &board->status); in tms9914_request_system_control()
[all …]
/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 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 Dgpib_types.h60 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);
113 void (*remote_enable)(struct gpib_board *board, int enable);
[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 …]
/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() argument
157 tnt_priv = board->private_data; in tnt4882_line_status()
181 static int tnt4882_t1_delay(struct gpib_board *board, unsigned int nano_sec) in tnt4882_t1_delay() argument
183 struct tnt4882_priv *tnt_priv = board->private_data; in tnt4882_t1_delay()
187 retval = nec7210_t1_delay(board, nec_priv, 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() argument
266 nec7210_set_handshake_mode(board, nec_priv, HR_HLDE); in tnt4882_release_holdoff()
269 nec7210_set_handshake_mode(board, nec_priv, HR_HLDA); in tnt4882_release_holdoff()
271 nec7210_set_handshake_mode(board, nec_priv, HR_HLDE); in tnt4882_release_holdoff()
[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() argument
40 void nec7210_disable_eos(struct gpib_board *board, struct nec7210_priv *priv) in nec7210_disable_eos() argument
47 int nec7210_parallel_poll(struct gpib_board *board, struct nec7210_priv *priv, u8 *result) in nec7210_parallel_poll() argument
56 ret = wait_event_interruptible(board->wait, test_bit(COMMAND_READY_BN, &priv->state)); in nec7210_parallel_poll()
58 dev_dbg(board->gpib_dev, "gpib: parallel poll interrupted\n"); in nec7210_parallel_poll()
67 void nec7210_parallel_poll_configure(struct gpib_board *board, in nec7210_parallel_poll_configure() argument
74 void nec7210_parallel_poll_response(struct gpib_board *board, struct nec7210_priv *priv, int ist) in nec7210_parallel_poll_response() argument
89 void nec7210_serial_poll_response(struct gpib_board *board, in nec7210_serial_poll_response() argument
94 spin_lock_irqsave(&board->spinlock, flags); in nec7210_serial_poll_response()
97 clear_bit(SPOLL_NUM, &board->status); in nec7210_serial_poll_response()
[all …]
/linux/drivers/gpib/gpio/
H A Dgpib_bitbang.c47 dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \
315 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() argument
353 struct bb_priv *priv = board->private_data; in bb_read()
361 board, mutex_is_locked(&board->user_mutex), length); in bb_read()
387 retval = wait_event_interruptible(board->wait, in bb_read()
388 (priv->end_flag || board->status & TIMO)); in bb_read()
392 if (retval == 0 && board->status & TIMO) { in bb_read()
422 struct gpib_board *board = arg; in bb_DAV_interrupt() local
[all …]
/linux/drivers/gpib/lpvo_usb_gpib/
H A Dlpvo_usb_gpib.c79 dev_dbg(board->gpib_dev, format, ## __VA_ARGS__); } \
152 #define GPIB_DEV (((struct usb_gpib_priv *)board->private_data)->dev)
154 static void show_status(struct gpib_board *board) in show_status() argument
156 DIA_LOG(2, "# - buffer_length %d\n", board->buffer_length); in show_status()
157 DIA_LOG(2, "# - status %lx\n", board->status); in show_status()
158 DIA_LOG(2, "# - use_count %d\n", board->use_count); in show_status()
159 DIA_LOG(2, "# - pad %x\n", board->pad); in show_status()
160 DIA_LOG(2, "# - sad %x\n", board->sad); in show_status()
161 DIA_LOG(2, "# - timeout %d\n", board->usec_timeout); in show_status()
162 DIA_LOG(2, "# - ppc %d\n", board->parallel_poll_configuration); in show_status()
[all …]
/linux/drivers/net/can/sja1000/
H A Dkvaser_pci.c120 struct kvaser_pci *board = priv->priv; in kvaser_pci_disable_irq() local
124 intcsr = ioread32(board->conf_addr + S5920_INTCSR); in kvaser_pci_disable_irq()
126 iowrite32(intcsr, board->conf_addr + S5920_INTCSR); in kvaser_pci_disable_irq()
132 struct kvaser_pci *board = priv->priv; in kvaser_pci_enable_irq() local
136 tmp_en_io = ioread32(board->conf_addr + S5920_INTCSR); in kvaser_pci_enable_irq()
138 iowrite32(tmp_en_io, board->conf_addr + S5920_INTCSR); in kvaser_pci_enable_irq()
163 struct kvaser_pci *board; in kvaser_pci_del_chan() local
169 board = priv->priv; in kvaser_pci_del_chan()
170 if (!board) in kvaser_pci_del_chan()
173 dev_info(&board->pci_dev->dev, "Removing device %s\n", in kvaser_pci_del_chan()
[all …]
/linux/drivers/gpib/agilent_82357a/
H A Dagilent_82357a.c26 static DEFINE_MUTEX(agilent_82357a_hotplug_lock); // protect board insertion and removal
28 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() argument
431 struct agilent_82357a_priv *a_priv = board->private_data; in agilent_82357a_read()
463 msec_timeout = (board->usec_timeout + 999) / 1000; in agilent_82357a_read()
485 if (board->usec_timeout != 0) in agilent_82357a_read()
530 * when the board is in listener active state and ATN is not asserted. in agilent_82357a_read()
531 * Set ATN here to obtain a valid board leve in agilent_82357a_read()
539 agilent_82357a_generic_write(struct gpib_board * board,u8 * buffer,size_t length,int send_commands,int send_eoi,size_t * bytes_written) agilent_82357a_generic_write() argument
680 agilent_82357a_write(struct gpib_board * board,u8 * buffer,size_t length,int send_eoi,size_t * bytes_written) agilent_82357a_write() argument
686 agilent_82357a_command(struct gpib_board * board,u8 * buffer,size_t length,size_t * bytes_written) agilent_82357a_command() argument
692 agilent_82357a_take_control_internal(struct gpib_board * board,int synchronous) agilent_82357a_take_control_internal() argument
711 agilent_82357a_take_control(struct gpib_board * board,int synchronous) agilent_82357a_take_control() argument
741 agilent_82357a_go_to_standby(struct gpib_board * board) agilent_82357a_go_to_standby() argument
760 agilent_82357a_request_system_control(struct gpib_board * board,int request_control) agilent_82357a_request_system_control() argument
790 agilent_82357a_interface_clear(struct gpib_board * board,int assert) agilent_82357a_interface_clear() argument
812 agilent_82357a_remote_enable(struct gpib_board * board,int enable) agilent_82357a_remote_enable() argument
834 agilent_82357a_enable_eos(struct gpib_board * board,u8 eos_byte,int compare_8_bits) agilent_82357a_enable_eos() argument
849 agilent_82357a_disable_eos(struct gpib_board * board) agilent_82357a_disable_eos() argument
856 agilent_82357a_update_status(struct gpib_board * board,unsigned int clear_mask) agilent_82357a_update_status() argument
919 agilent_82357a_primary_address(struct gpib_board * board,unsigned int address) agilent_82357a_primary_address() argument
940 agilent_82357a_secondary_address(struct gpib_board * board,unsigned int address,int enable) agilent_82357a_secondary_address() argument
948 agilent_82357a_parallel_poll(struct gpib_board * board,u8 * result) agilent_82357a_parallel_poll() argument
990 agilent_82357a_parallel_poll_configure(struct gpib_board * board,u8 config) agilent_82357a_parallel_poll_configure() argument
996 agilent_82357a_parallel_poll_response(struct gpib_board * board,int ist) agilent_82357a_parallel_poll_response() argument
1002 agilent_82357a_serial_poll_response(struct gpib_board * board,u8 status) agilent_82357a_serial_poll_response() argument
1008 agilent_82357a_serial_poll_status(struct gpib_board * board) agilent_82357a_serial_poll_status() argument
1014 agilent_82357a_return_to_local(struct gpib_board * board) agilent_82357a_return_to_local() argument
1020 agilent_82357a_line_status(const struct gpib_board * board) agilent_82357a_line_status() argument
1073 agilent_82357a_t1_delay(struct gpib_board * board,unsigned int nanosec) agilent_82357a_t1_delay() argument
1093 struct gpib_board *board = urb->context; agilent_82357a_interrupt_complete() local
1131 agilent_82357a_setup_urbs(struct gpib_board * board) agilent_82357a_setup_urbs() argument
1195 agilent_82357a_allocate_private(struct gpib_board * board) agilent_82357a_allocate_private() argument
1210 agilent_82357a_free_private(struct gpib_board * board) agilent_82357a_free_private() argument
1217 agilent_82357a_init(struct gpib_board * board) agilent_82357a_init() argument
1307 agilent_82357a_attach(struct gpib_board * board,const struct gpib_board_config * config) agilent_82357a_attach() argument
1383 agilent_82357a_go_idle(struct gpib_board * board) agilent_82357a_go_idle() argument
1412 agilent_82357a_detach(struct gpib_board * board) agilent_82357a_detach() argument
1518 struct gpib_board *board = usb_get_intfdata(interface); agilent_82357a_driver_disconnect() local
1553 struct gpib_board *board = usb_get_intfdata(interface); agilent_82357a_driver_suspend() local
1589 struct gpib_board *board; agilent_82357a_driver_resume() local
[all...]
/linux/drivers/nubus/
H A Dnubus.c37 * thought to be suitable for that and some board ROMs make it too expensive.
228 int nubus_get_root_dir(const struct nubus_board *board, in nubus_seq_write_rsrc_mem()
231 dir->ptr = dir->base = board->directory; in nubus_get_root_dir()
233 dir->mask = board->lanes; in nubus_get_root_dir()
243 dir->mask = fres->board->lanes; in nubus_get_func_dir()
248 int nubus_get_board_dir(const struct nubus_board *board,
253 dir->ptr = dir->base = board->directory; in nubus_get_board_dir()
255 dir->mask = board->lanes; in nubus_get_board_dir()
257 /* Now dereference it (the first directory is always the board in nubus_get_board_dir()
347 static int __init nubus_get_block_rsrc_dir(struct nubus_board *board,
230 nubus_get_root_dir(const struct nubus_board * board,struct nubus_dir * dir) nubus_get_root_dir() argument
250 nubus_get_board_dir(const struct nubus_board * board,struct nubus_dir * dir) nubus_get_board_dir() argument
349 nubus_get_block_rsrc_dir(struct nubus_board * board,struct proc_dir_entry * procdir,const struct nubus_dirent * parent) nubus_get_block_rsrc_dir() argument
369 nubus_get_display_vidmode(struct nubus_board * board,struct proc_dir_entry * procdir,const struct nubus_dirent * parent) nubus_get_display_vidmode() argument
501 nubus_get_functional_resource(struct nubus_board * board,int slot,const struct nubus_dirent * parent) nubus_get_functional_resource() argument
596 nubus_get_icon(struct nubus_board * board,struct proc_dir_entry * procdir,const struct nubus_dirent * ent) nubus_get_icon() argument
615 nubus_get_vendorinfo(struct nubus_board * board,struct proc_dir_entry * procdir,const struct nubus_dirent * parent) nubus_get_vendorinfo() argument
642 nubus_get_board_resource(struct nubus_board * board,int slot,const struct nubus_dirent * parent) nubus_get_board_resource() argument
730 struct nubus_board *board; nubus_add_board() local
[all...]
/linux/drivers/mtd/nand/raw/
H A Dorion_nand.c33 struct orion_nand_data *board = nand_get_controller_data(nc); in orion_nand_cmd_ctrl() local
40 offs = (1 << board->cle); in orion_nand_cmd_ctrl()
42 offs = (1 << board->ale); in orion_nand_cmd_ctrl()
104 struct orion_nand_data *board; in orion_nand_probe() local
127 board = devm_kzalloc(&pdev->dev, sizeof(struct orion_nand_data), in orion_nand_probe()
129 if (!board) in orion_nand_probe()
132 board->cle = (u8)val; in orion_nand_probe()
134 board->cle = 0; in orion_nand_probe()
136 board->ale = (u8)val; in orion_nand_probe()
138 board->ale = 1; in orion_nand_probe()
[all …]
/linux/arch/mips/bcm63xx/boards/
H A Dboard_bcm963xx.c34 static struct board_info board; variable
722 return board.name; in board_get_name()
784 memcpy(&board, bcm963xx_boards[i], sizeof(board)); in board_prom_init()
789 if (!board.name[0]) { in board_prom_init()
803 if (board.has_pci) { in board_prom_init()
810 if (board.has_pccard) { in board_prom_init()
815 if (board.has_enet0 && !board.enet0.use_internal_phy) { in board_prom_init()
821 if (board.has_enet1 && !board.enet1.use_internal_phy) { in board_prom_init()
836 if (!board.name[0]) in board_setup()
838 pr_info("board name: %s\n", board.name); in board_setup()
[all …]
/linux/arch/sh/boards/
H A DMakefile5 obj-$(CONFIG_SH_MAGIC_PANEL_R2) += board-magicpanelr2.o
6 obj-$(CONFIG_SH_SECUREEDGE5410) += board-secureedge5410.o
7 obj-$(CONFIG_SH_SH2007) += board-sh2007.o
8 obj-$(CONFIG_SH_SH7785LCR) += board-sh7785lcr.o
9 obj-$(CONFIG_SH_URQUELL) += board-urquell.o
10 obj-$(CONFIG_SH_SHMIN) += board-shmin.o
11 obj-$(CONFIG_SH_EDOSK7705) += board-edosk7705.o
12 obj-$(CONFIG_SH_EDOSK7760) += board-edosk7760.o
13 obj-$(CONFIG_SH_ESPT) += board-espt.o
14 obj-$(CONFIG_SH_POLARIS) += board-polaris.o
[all …]

12345678910>>...61