tms9914_priv
struct tms9914_priv *tms_priv = &a_priv->tms9914_priv;
struct tms9914_priv *tms_priv = &a_priv->tms9914_priv;
tms9914_status1 = read_byte(&a_priv->tms9914_priv, ISR0);
tms9914_status2 = read_byte(&a_priv->tms9914_priv, ISR1);
tms9914_interrupt_have_status(board, &a_priv->tms9914_priv, tms9914_status1,
return tms9914_read(board, &priv->tms9914_priv, buffer, length, end, bytes_read);
return tms9914_write(board, &priv->tms9914_priv, buffer, length, send_eoi, bytes_written);
return tms9914_command(board, &priv->tms9914_priv, buffer, length, bytes_written);
return tms9914_take_control_workaround(board, &priv->tms9914_priv, synchronous);
return tms9914_go_to_standby(board, &priv->tms9914_priv);
return tms9914_request_system_control(board, &a_priv->tms9914_priv, request_control);
tms9914_interface_clear(board, &priv->tms9914_priv, assert);
tms9914_remote_enable(board, &priv->tms9914_priv, enable);
struct tms9914_priv *tms_priv = &a_priv->tms9914_priv;
return tms9914_enable_eos(board, &priv->tms9914_priv, eos_byte, compare_8_bits);
tms9914_disable_eos(board, &priv->tms9914_priv);
return tms9914_update_status(board, &priv->tms9914_priv, clear_mask);
return tms9914_primary_address(board, &priv->tms9914_priv, address);
return tms9914_secondary_address(board, &priv->tms9914_priv, address, enable);
return tms9914_parallel_poll(board, &priv->tms9914_priv, result);
tms9914_parallel_poll_configure(board, &priv->tms9914_priv, config);
tms9914_parallel_poll_response(board, &priv->tms9914_priv, ist);
tms9914_serial_poll_response(board, &priv->tms9914_priv, status);
return tms9914_serial_poll_status(board, &priv->tms9914_priv);
return tms9914_line_status(board, &priv->tms9914_priv);
tms9914_t1_delay(board, &a_priv->tms9914_priv, nanosec);
tms9914_return_to_local(board, &priv->tms9914_priv);
struct tms9914_priv *tms_priv;
tms_priv = &a_priv->tms9914_priv;
struct tms9914_priv *tms_priv;
tms_priv = &a_priv->tms9914_priv;
struct tms9914_priv tms9914_priv;
tms9914_disable_eos(board, &priv->tms9914_priv);
return tms9914_update_status(board, &priv->tms9914_priv, clear_mask);
return tms9914_primary_address(board, &priv->tms9914_priv, address);
return tms9914_secondary_address(board, &priv->tms9914_priv, address, enable);
return tms9914_parallel_poll(board, &priv->tms9914_priv, result);
tms9914_parallel_poll_configure(board, &priv->tms9914_priv, config);
tms9914_parallel_poll_response(board, &priv->tms9914_priv, ist);
tms9914_serial_poll_response(board, &priv->tms9914_priv, status);
return tms9914_serial_poll_status(board, &priv->tms9914_priv);
return tms9914_line_status(board, &priv->tms9914_priv);
return tms9914_t1_delay(board, &priv->tms9914_priv, nano_sec);
tms9914_return_to_local(board, &priv->tms9914_priv);
static u8 hp82335_read_byte(struct tms9914_priv *priv, unsigned int register_num)
static void hp82335_write_byte(struct tms9914_priv *priv, u8 data, unsigned int register_num)
struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv;
struct tms9914_priv *tms_priv;
tms_priv = &hp_priv->tms9914_priv;
struct tms9914_priv *tms_priv;
tms_priv = &hp_priv->tms9914_priv;
status1 = read_byte(&priv->tms9914_priv, ISR0);
status2 = read_byte(&priv->tms9914_priv, ISR1);
retval = tms9914_interrupt_have_status(board, &priv->tms9914_priv, status1, status2);
return tms9914_read(board, &priv->tms9914_priv, buffer, length, end, bytes_read);
return tms9914_write(board, &priv->tms9914_priv, buffer, length, send_eoi, bytes_written);
return tms9914_command(board, &priv->tms9914_priv, buffer, length, bytes_written);
return tms9914_take_control(board, &priv->tms9914_priv, synchronous);
return tms9914_go_to_standby(board, &priv->tms9914_priv);
return tms9914_request_system_control(board, &priv->tms9914_priv, request_control);
tms9914_interface_clear(board, &priv->tms9914_priv, assert);
tms9914_remote_enable(board, &priv->tms9914_priv, enable);
return tms9914_enable_eos(board, &priv->tms9914_priv, eos_byte, compare_8_bits);
struct tms9914_priv tms9914_priv;
struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv;
struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv;
return tms9914_read(board, &priv->tms9914_priv, buffer, length, end, bytes_read);
return tms9914_write(board, &priv->tms9914_priv, buffer, length, send_eoi, bytes_written);
return tms9914_command(board, &priv->tms9914_priv, buffer, length, bytes_written);
return tms9914_take_control(board, &priv->tms9914_priv, synchronous);
return tms9914_go_to_standby(board, &priv->tms9914_priv);
return tms9914_request_system_control(board, &priv->tms9914_priv, request_control);
tms9914_interface_clear(board, &priv->tms9914_priv, assert);
tms9914_remote_enable(board, &priv->tms9914_priv, enable);
return tms9914_enable_eos(board, &priv->tms9914_priv, eos_byte, compare_8_bits);
tms9914_disable_eos(board, &priv->tms9914_priv);
return tms9914_update_status(board, &priv->tms9914_priv, clear_mask);
return tms9914_primary_address(board, &priv->tms9914_priv, address);
return tms9914_secondary_address(board, &priv->tms9914_priv, address, enable);
return tms9914_parallel_poll(board, &priv->tms9914_priv, result);
struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv;
tms9914_parallel_poll_configure(board, &priv->tms9914_priv, config);
tms9914_parallel_poll_response(board, &priv->tms9914_priv, ist);
tms9914_serial_poll_response(board, &priv->tms9914_priv, status);
return tms9914_serial_poll_status(board, &priv->tms9914_priv);
return tms9914_line_status(board, &priv->tms9914_priv);
return tms9914_t1_delay(board, &priv->tms9914_priv, nano_sec);
tms9914_return_to_local(board, &priv->tms9914_priv);
static u8 hp_82341_read_byte(struct tms9914_priv *priv, unsigned int register_num)
static void hp_82341_write_byte(struct tms9914_priv *priv, u8 data, unsigned int register_num)
struct tms9914_priv *tms_priv;
tms_priv = &hp_priv->tms9914_priv;
struct tms9914_priv *tms_priv;
tms_priv = &hp_priv->tms9914_priv;
struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv;
struct tms9914_priv tms9914_priv;
int tms9914_enable_eos(struct gpib_board *board, struct tms9914_priv *priv, u8 eos_bytes,
void tms9914_disable_eos(struct gpib_board *board, struct tms9914_priv *priv);
unsigned int tms9914_update_status(struct gpib_board *board, struct tms9914_priv *priv,
struct tms9914_priv *priv, unsigned int address);
int tms9914_secondary_address(struct gpib_board *board, struct tms9914_priv *priv,
int tms9914_parallel_poll(struct gpib_board *board, struct tms9914_priv *priv, u8 *result);
struct tms9914_priv *priv, u8 config);
struct tms9914_priv *priv, int ist);
struct tms9914_priv *priv, u8 status);
u8 tms9914_serial_poll_status(struct gpib_board *board, struct tms9914_priv *priv);
int tms9914_line_status(const struct gpib_board *board, struct tms9914_priv *priv);
unsigned int tms9914_t1_delay(struct gpib_board *board, struct tms9914_priv *priv,
void tms9914_return_to_local(const struct gpib_board *board, struct tms9914_priv *priv);
void tms9914_board_reset(struct tms9914_priv *priv);
void tms9914_online(struct gpib_board *board, struct tms9914_priv *priv);
void tms9914_release_holdoff(struct tms9914_priv *priv);
void tms9914_set_holdoff_mode(struct tms9914_priv *priv, enum tms9914_holdoff_mode mode);
u8 tms9914_ioport_read_byte(struct tms9914_priv *priv, unsigned int register_num);
void tms9914_ioport_write_byte(struct tms9914_priv *priv, u8 data, unsigned int register_num);
u8 tms9914_iomem_read_byte(struct tms9914_priv *priv, unsigned int register_num);
void tms9914_iomem_write_byte(struct tms9914_priv *priv, u8 data, unsigned int register_num);
irqreturn_t tms9914_interrupt(struct gpib_board *board, struct tms9914_priv *priv);
irqreturn_t tms9914_interrupt_have_status(struct gpib_board *board, struct tms9914_priv *priv,
u8 (*read_byte)(struct tms9914_priv *priv, unsigned int register_number);
void (*write_byte)(struct tms9914_priv *priv, u8 byte, unsigned int
static inline u8 read_byte(struct tms9914_priv *priv, unsigned int register_number)
static inline void write_byte(struct tms9914_priv *priv, u8 byte, unsigned int register_number)
int tms9914_read(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
int tms9914_write(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
int tms9914_command(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
int tms9914_take_control(struct gpib_board *board, struct tms9914_priv *priv, int syncronous);
int tms9914_take_control_workaround(struct gpib_board *board, struct tms9914_priv *priv,
int tms9914_go_to_standby(struct gpib_board *board, struct tms9914_priv *priv);
int tms9914_request_system_control(struct gpib_board *board, struct tms9914_priv *priv,
void tms9914_interface_clear(struct gpib_board *board, struct tms9914_priv *priv, int assert);
void tms9914_remote_enable(struct gpib_board *board, struct tms9914_priv *priv, int enable);
void tms9914_interface_clear(struct gpib_board *board, struct tms9914_priv *priv, int assert)
void tms9914_remote_enable(struct gpib_board *board, struct tms9914_priv *priv, int enable)
int tms9914_request_system_control(struct gpib_board *board, struct tms9914_priv *priv,
unsigned int tms9914_t1_delay(struct gpib_board *board, struct tms9914_priv *priv,
void tms9914_return_to_local(const struct gpib_board *board, struct tms9914_priv *priv)
void tms9914_set_holdoff_mode(struct tms9914_priv *priv, enum tms9914_holdoff_mode mode)
void tms9914_release_holdoff(struct tms9914_priv *priv)
int tms9914_enable_eos(struct gpib_board *board, struct tms9914_priv *priv, u8 eos_byte,
void tms9914_disable_eos(struct gpib_board *board, struct tms9914_priv *priv)
int tms9914_parallel_poll(struct gpib_board *board, struct tms9914_priv *priv, u8 *result)
static void set_ppoll_reg(struct tms9914_priv *priv, int enable,
struct tms9914_priv *priv, u8 config)
struct tms9914_priv *priv, int ist)
struct tms9914_priv *priv, u8 status)
u8 tms9914_serial_poll_status(struct gpib_board *board, struct tms9914_priv *priv)
struct tms9914_priv *priv, unsigned int address)
int tms9914_secondary_address(struct gpib_board *board, struct tms9914_priv *priv,
static unsigned int update_status_nolock(struct gpib_board *board, struct tms9914_priv *priv);
unsigned int tms9914_update_status(struct gpib_board *board, struct tms9914_priv *priv,
int tms9914_take_control(struct gpib_board *board, struct tms9914_priv *priv, int synchronous)
static void update_talker_state(struct tms9914_priv *priv, unsigned int address_status_bits)
static void update_listener_state(struct tms9914_priv *priv, unsigned int address_status_bits)
static unsigned int update_status_nolock(struct gpib_board *board, struct tms9914_priv *priv)
int tms9914_line_status(const struct gpib_board *board, struct tms9914_priv *priv)
static int check_for_eos(struct tms9914_priv *priv, u8 byte)
static int wait_for_read_byte(struct gpib_board *board, struct tms9914_priv *priv)
struct tms9914_priv *priv, int *end)
static int pio_read(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
int tms9914_read(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
static int pio_write_wait(struct gpib_board *board, struct tms9914_priv *priv)
static int pio_write(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
int tms9914_write(struct gpib_board *board, struct tms9914_priv *priv,
struct tms9914_priv *priv, int cmd_byte)
int tms9914_command(struct gpib_board *board, struct tms9914_priv *priv, u8 *buffer,
irqreturn_t tms9914_interrupt(struct gpib_board *board, struct tms9914_priv *priv)
struct tms9914_priv *priv, int synchronous)
irqreturn_t tms9914_interrupt_have_status(struct gpib_board *board, struct tms9914_priv *priv,
int tms9914_go_to_standby(struct gpib_board *board, struct tms9914_priv *priv)
void tms9914_board_reset(struct tms9914_priv *priv)
void tms9914_online(struct gpib_board *board, struct tms9914_priv *priv)
u8 tms9914_ioport_read_byte(struct tms9914_priv *priv, unsigned int register_num)
void tms9914_ioport_write_byte(struct tms9914_priv *priv, u8 data, unsigned int register_num)
u8 tms9914_iomem_read_byte(struct tms9914_priv *priv, unsigned int register_num)
void tms9914_iomem_write_byte(struct tms9914_priv *priv, u8 data, unsigned int register_num)