/linux/drivers/staging/gpib/common/ |
H A D | iblib.c | 24 int ibcac(struct gpib_board *board, int sync, int fallback_to_async) in ibcac() argument 26 int status = ibstatus(board); in ibcac() 43 retval = board->interface->take_control(board, sync); in ibcac() 47 retval = board->interface->take_control(board, 0); in ibcac() 49 board->interface->update_status(board, 0); in ibcac() 66 static int check_for_command_acceptors(struct gpib_board *board) in check_for_command_acceptors() argument 70 if (board->interface->skip_check_for_command_acceptors) in check_for_command_acceptors() 72 if (!board->interface->line_status) in check_for_command_acceptors() 77 lines = board->interface->line_status(board); in check_for_command_acceptors() 101 int ibcmd(struct gpib_board *board, u8 *buf, size_t length, size_t *bytes_written) in ibcmd() argument [all …]
|
H A D | gpib_os.c | 30 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 …]
|
/linux/drivers/eisa/ |
H A D | eisa.ids | 18 ACE1010 "ACME Super Fast System Board" 21 ACE3030 "ACME Sample VS Board 1" 23 ACE5010 "ACME VDU Video Board" 25 ACE7010 "ACME Multi-Function Board" 26 ACR1201 "Acer 1200 486/25 EISA System Board" 27 ACR1211 "AcerFrame 3000SP33 486/33 EISA System Board" 28 ACR1341 "M1 486SX/20 CPU Board" 29 ACR1351 "M1 486SX/20 CPU Board" 30 ACR1361 "M1 487/20 CPU Board" 31 ACR1371 "M1 487/20 CPU Board" [all …]
|
/linux/drivers/staging/gpib/cec/ |
H A D | cec_gpib.c | 28 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/staging/gpib/hp_82335/ |
H A D | hp82335.c | 8 * should enable ATN interrupts (and update board->status on occurrence), 28 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 [all …]
|
/linux/drivers/staging/gpib/pc2/ |
H A D | pc2_gpib.c | 61 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/staging/gpib/fmh_gpib/ |
H A D | fmh_gpib.c | 35 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/staging/gpib/eastwood/ |
H A D | fluke_gpib.c | 27 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/staging/gpib/agilent_82350b/ |
H A D | agilent_82350b.c | 28 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() 55 /* handle corner case of board not in holdoff and one byte might slip in early */ 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() [all …]
|
/linux/drivers/staging/gpib/hp_82341/ |
H A D | hp_82341.c | 25 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() 55 * Handle corner case of board not in holdoff and one byte has slipped in already. in hp_82341_accel_read() 56 * Also, board sometimes has problems (spurious 1 byte reads) when read fifo is in hp_82341_accel_read() 57 * started up with board in TACS under certain data holdoff conditions. in hp_82341_accel_read() 63 retval = tms9914_read(board, tms_priv, buffer, 1, end, &num_bytes); in hp_82341_accel_read() [all …]
|
/linux/drivers/staging/gpib/ines/ |
H A D | ines_gpib.c | 28 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() 70 static int ines_t1_delay(struct gpib_board *board, unsigned int nano_sec) in ines_t1_delay() argument 72 struct ines_priv *ines_priv = board->private_data; in ines_t1_delay() 76 retval = nec7210_t1_delay(board, nec_priv, 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() argument 109 if (wait_event_interruptible(board->wait, in pio_read() 113 test_bit(TIMO_NUM, &board->status))) in pio_read() 116 if (test_bit(TIMO_NUM, &board->status)) in pio_read() [all …]
|
/linux/drivers/staging/gpib/cb7210/ |
H A D | cb7210.c | 30 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/staging/gpib/tms9914/ |
H A D | tms9914.c | 30 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/Documentation/devicetree/bindings/arm/ |
H A D | fsl.yaml | 65 - description: i.MX27 APF27 SoM Board 71 - description: i.MX27 Eukrea CPUIMX27 SoM Board 77 - description: i.MX27 Phytec pca100 Board 83 - description: i.MX27 Phytec pcm970 Board 93 - bluegiga,apx4devkit # Bluegiga APx4 SoM on dev board 102 - msr,m28cu3 # M28 SoM with custom base board 107 - description: i.MX28 Aries M28 SoM Board 113 - description: i.MX28 Aries M28EVK Board 119 - description: i.MX28 Armadeus Systems APF28Dev Board 153 - description: i.MX28 Eukrea Electromatique MBMX283LC Board [all …]
|
/linux/drivers/staging/gpib/nec7210/ |
H A D | nec7210.c | 9 #include "board.h" 26 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() [all …]
|
/linux/drivers/staging/gpib/include/ |
H A D | gpib_proto.h | 11 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 D | nec7210.h | 29 dma_addr_t dma_buffer_addr; // bus address of board->buffer for use with dma 34 // used to keep track of board's state, bit definitions given below 70 READ_READY_BN, // board has data byte available to read 71 WRITE_READY_BN, // board is ready to send a data byte 72 COMMAND_READY_BN, // board is ready to send a command byte 81 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); [all …]
|
H A D | gpib_types.h | 52 * between the board-specific details dealt with in the drivers 57 /* name of board */ 59 /* attach() initializes board and allocates resources */ 60 int (*attach)(struct gpib_board *board, const struct gpib_board_config *config); 61 /* detach() shuts down board and frees resources */ 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, 94 * until board becomes controller in charge. Returns zero no success, [all …]
|
/linux/drivers/staging/gpib/tnt4882/ |
H A D | tnt4882_gpib.c | 54 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/net/can/sja1000/ |
H A D | kvaser_pci.c | 53 * The board configuration is probably following: 120 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() [all …]
|
/linux/drivers/staging/gpib/agilent_82357a/ |
H A D | agilent_82357a.c | 26 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 level ibsta in agilent_82357a_read() [all …]
|
/linux/Documentation/arch/sh/ |
H A D | new-machine.rst | 4 Adding a new board to LinuxSH 18 of the board-specific code (with the exception of stboards) ended up 19 in arch/sh/kernel/ directly, with board-specific headers ending up in 20 include/asm-sh/. For the new kernel, things are broken out by board type, 24 Board-specific code:: 31 | | `-- board-specific files 33 | | `-- board-specific files 40 | `-- board-specific headers 42 | `-- board-specific headers 57 board-specific headers. Thus, include/asm-sh/hd64461 is home to all of the [all …]
|
/linux/drivers/staging/gpib/uapi/ |
H A D | gpib.h | 44 SPOLL = (1 << SPOLL_NUM), /* board serial polled by busmaster */ 213 IBA_PPC = 0x5, /* board only */ 215 IBA_AUTOPOLL = 0x7, /* board only */ 216 IBA_CICPROT = 0x8, /* board only */ 217 IBA_IRQ = 0x9, /* board only */ 218 IBA_SC = 0xa, /* board only */ 219 IBA_SRE = 0xb, /* board only */ 224 IBA_PP2 = 0x10, /* board only */ 225 IBA_TIMING = 0x11, /* board only */ 226 IBA_DMA = 0x12, /* board only */ [all …]
|
/linux/arch/sh/boards/ |
H A D | Kconfig | 2 menu "Board support" 42 SH7710, SH7712, SH7750, SH7750S or SH7750R evaluation board. 50 evaluation board. 58 evaluation board. 66 evaluation board. 76 evaluation board. 87 evaluation board. 96 evaluation board. 105 evaluation board. 115 SH7343 (SH-Mobile 3AS) evaluation board. [all …]
|
/linux/drivers/staging/gpib/gpio/ |
H A D | gpib_bitbang.c | 47 dev_dbg(board->gpib_dev, frm, ## __VA_ARGS__); } \ 204 .dev_id = "", // device id of board device 233 .dev_id = "", // device id of board device 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() 360 dbg_printk(2, "board: %p lock %d length: %zu\n", 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() [all …]
|