Home
last modified time | relevance | path

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

/linux/drivers/staging/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(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,
[all …]
/linux/drivers/staging/gpib/hp_82335/
H A Dhp82335.c32 return tms9914_read(board, &priv->tms9914_priv, buffer, length, end, bytes_read); in hp82335_read()
40 return tms9914_write(board, &priv->tms9914_priv, buffer, length, send_eoi, bytes_written); in hp82335_write()
47 return tms9914_command(board, &priv->tms9914_priv, buffer, length, bytes_written); in hp82335_command()
54 return tms9914_take_control(board, &priv->tms9914_priv, synchronous); in hp82335_take_control()
61 return tms9914_go_to_standby(board, &priv->tms9914_priv); in hp82335_go_to_standby()
68 tms9914_request_system_control(board, &priv->tms9914_priv, request_control); in hp82335_request_system_control()
75 tms9914_interface_clear(board, &priv->tms9914_priv, assert); in hp82335_interface_clear()
82 tms9914_remote_enable(board, &priv->tms9914_priv, enable); in hp82335_remote_enable()
89 return tms9914_enable_eos(board, &priv->tms9914_priv, eos_byte, compare_8_bits); in hp82335_enable_eos()
96 tms9914_disable_eos(board, &priv->tms9914_priv); in hp82335_disable_eos()
[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()
162 void tms9914_set_holdoff_mode(struct tms9914_priv *priv, enum tms9914_holdoff_mode mode) in tms9914_set_holdoff_mode()
[all …]
/linux/drivers/staging/gpib/hp_82341/
H A Dhp_82341.c24 struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv; in hp_82341_accel_read()
143 struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv; in restart_write_fifo()
170 struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv; in hp_82341_accel_write()
256 return tms9914_read(board, &priv->tms9914_priv, buffer, length, end, bytes_read); in hp_82341_read()
264 return tms9914_write(board, &priv->tms9914_priv, buffer, length, send_eoi, bytes_written); in hp_82341_write()
271 return tms9914_command(board, &priv->tms9914_priv, buffer, length, bytes_written); in hp_82341_command()
278 return tms9914_take_control(board, &priv->tms9914_priv, synchronous); in hp_82341_take_control()
285 return tms9914_go_to_standby(board, &priv->tms9914_priv); in hp_82341_go_to_standby()
297 tms9914_request_system_control(board, &priv->tms9914_priv, request_control); in hp_82341_request_system_control()
304 tms9914_interface_clear(board, &priv->tms9914_priv, assert); in hp_82341_interface_clear()
[all …]
/linux/drivers/staging/gpib/agilent_82350b/
H A Dagilent_82350b.c28 struct tms9914_priv *tms_priv = &a_priv->tms9914_priv; in agilent_82350b_accel_read()
140 struct tms9914_priv *tms_priv = &a_priv->tms9914_priv; in translate_wait_return_value()
162 struct tms9914_priv *tms_priv = &a_priv->tms9914_priv; in agilent_82350b_accel_write()
287 tms9914_status1 = read_byte(&a_priv->tms9914_priv, ISR0); in agilent_82350b_interrupt()
288 tms9914_status2 = read_byte(&a_priv->tms9914_priv, ISR1); in agilent_82350b_interrupt()
289 tms9914_interrupt_have_status(board, &a_priv->tms9914_priv, tms9914_status1, in agilent_82350b_interrupt()
338 return tms9914_read(board, &priv->tms9914_priv, buffer, length, end, bytes_read); in agilent_82350b_read()
347 return tms9914_write(board, &priv->tms9914_priv, buffer, length, send_eoi, bytes_written); in agilent_82350b_write()
356 return tms9914_command(board, &priv->tms9914_priv, buffer, length, bytes_written); in agilent_82350b_command()
364 return tms9914_take_control_workaround(board, &priv->tms9914_priv, synchronous); in agilent_82350b_take_control()
[all …]