Home
last modified time | relevance | path

Searched refs:tms9914_priv (Results 1 – 8 of 8) sorted by relevance

/linux/drivers/gpib/include/
H A Dtms9914.h22 struct tms9914_priv { struct
52 u8 (*read_byte)(struct tms9914_priv *priv, unsigned int register_number); argument
53 void (*write_byte)(struct tms9914_priv *priv, u8 byte, unsigned int argument
58 static inline u8 read_byte(struct tms9914_priv *priv, unsigned int register_number) in read_byte()
63 static inline void write_byte(struct tms9914_priv *priv, u8 byte, unsigned int register_number) in write_byte()
82 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,
[all …]
/linux/drivers/gpib/hp_82335/
H A Dhp82335.c38 return tms9914_read(board, &priv->tms9914_priv, buffer, length, end, bytes_read); in hp82335_read()
46 return tms9914_write(board, &priv->tms9914_priv, buffer, length, send_eoi, bytes_written); in hp82335_write()
54 return tms9914_command(board, &priv->tms9914_priv, buffer, length, bytes_written); in hp82335_command()
61 return tms9914_take_control(board, &priv->tms9914_priv, synchronous); in hp82335_take_control()
68 return tms9914_go_to_standby(board, &priv->tms9914_priv); in hp82335_go_to_standby()
75 return tms9914_request_system_control(board, &priv->tms9914_priv, request_control); in hp82335_request_system_control()
82 tms9914_interface_clear(board, &priv->tms9914_priv, assert); in hp82335_interface_clear()
89 tms9914_remote_enable(board, &priv->tms9914_priv, enable); in hp82335_remote_enable()
96 return tms9914_enable_eos(board, &priv->tms9914_priv, eos_byte, compare_8_bits); in hp82335_enable_eos()
103 tms9914_disable_eos(board, &priv->tms9914_priv); in hp82335_disable_eos()
[all …]
H A Dhp82335.h15 struct tms9914_priv tms9914_priv; member
/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()
71 struct tms9914_priv *priv, int 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()
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()
166 void tms9914_set_holdoff_mode(struct tms9914_priv *priv, enum tms9914_holdoff_mode mode) in tms9914_set_holdoff_mode()
[all …]
/linux/drivers/gpib/hp_82341/
H A Dhp_82341.c36 struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv; in hp_82341_accel_read()
150 struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv; in restart_write_fifo()
177 struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv; in hp_82341_accel_write()
258 return tms9914_read(board, &priv->tms9914_priv, buffer, length, end, bytes_read); in hp_82341_read()
266 return tms9914_write(board, &priv->tms9914_priv, buffer, length, send_eoi, bytes_written); in hp_82341_write()
274 return tms9914_command(board, &priv->tms9914_priv, buffer, length, bytes_written); in hp_82341_command()
281 return tms9914_take_control(board, &priv->tms9914_priv, synchronous); in hp_82341_take_control()
288 return tms9914_go_to_standby(board, &priv->tms9914_priv); in hp_82341_go_to_standby()
300 return tms9914_request_system_control(board, &priv->tms9914_priv, request_control); in hp_82341_request_system_control()
307 tms9914_interface_clear(board, &priv->tms9914_priv, assert); in hp_82341_interface_clear()
[all …]
H A Dhp_82341.h18 struct tms9914_priv tms9914_priv; member
/linux/drivers/gpib/agilent_82350b/
H A Dagilent_82350b.c38 struct tms9914_priv *tms_priv = &a_priv->tms9914_priv; in agilent_82350b_accel_read()
139 struct tms9914_priv *tms_priv = &a_priv->tms9914_priv; in translate_wait_return_value()
155 struct tms9914_priv *tms_priv = &a_priv->tms9914_priv; in agilent_82350b_accel_write()
264 tms9914_status1 = read_byte(&a_priv->tms9914_priv, ISR0); in agilent_82350b_interrupt()
265 tms9914_status2 = read_byte(&a_priv->tms9914_priv, ISR1); in agilent_82350b_interrupt()
266 tms9914_interrupt_have_status(board, &a_priv->tms9914_priv, tms9914_status1, in agilent_82350b_interrupt()
309 return tms9914_read(board, &priv->tms9914_priv, buffer, length, end, bytes_read); in agilent_82350b_read()
318 return tms9914_write(board, &priv->tms9914_priv, buffer, length, send_eoi, bytes_written); in agilent_82350b_write()
327 return tms9914_command(board, &priv->tms9914_priv, buffer, length, bytes_written); in agilent_82350b_command()
335 return tms9914_take_control_workaround(board, &priv->tms9914_priv, synchronous); in agilent_82350b_take_control()
[all …]
H A Dagilent_82350b.h46 struct tms9914_priv tms9914_priv; member