Searched refs:tms_priv (Results 1 – 3 of 3) sorted by relevance
| /linux/drivers/gpib/agilent_82350b/ |
| H A D | agilent_82350b.c | 38 struct tms9914_priv *tms_priv = &a_priv->tms9914_priv; in agilent_82350b_accel_read() local 43 if (tms_priv->eos_flags & REOS) in agilent_82350b_accel_read() 44 return tms9914_read(board, tms_priv, buffer, length, end, bytes_read); in agilent_82350b_accel_read() 46 clear_bit(DEV_CLEAR_BN, &tms_priv->state); in agilent_82350b_accel_read() 56 if (tms_priv->holdoff_active == 0 && length > 1) { in agilent_82350b_accel_read() 59 retval = tms9914_read(board, tms_priv, buffer, 1, end, &num_bytes); in agilent_82350b_accel_read() 66 tms9914_set_holdoff_mode(tms_priv, TMS9914_HOLDOFF_EOI); in agilent_82350b_accel_read() 67 tms9914_release_holdoff(tms_priv); in agilent_82350b_accel_read() 71 write_byte(tms_priv, tms_priv->imr0_bits & ~HR_BIIE, IMR0); in agilent_82350b_accel_read() 84 clear_bit(READ_READY_BN, &tms_priv->state); in agilent_82350b_accel_read() [all …]
|
| /linux/drivers/gpib/hp_82341/ |
| H A D | hp_82341.c | 36 struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv; in hp_82341_accel_read() local 42 if (tms_priv->eos_flags & REOS) in hp_82341_accel_read() 43 return tms9914_read(board, tms_priv, buffer, length, end, bytes_read); in hp_82341_accel_read() 45 clear_bit(DEV_CLEAR_BN, &tms_priv->state); in hp_82341_accel_read() 63 retval = tms9914_read(board, tms_priv, buffer, 1, end, &num_bytes); in hp_82341_accel_read() 72 tms9914_set_holdoff_mode(tms_priv, TMS9914_HOLDOFF_EOI); in hp_82341_accel_read() 73 tms9914_release_holdoff(tms_priv); in hp_82341_accel_read() 89 clear_bit(READ_READY_BN, &tms_priv->state); in hp_82341_accel_read() 96 test_bit(DEV_CLEAR_BN, &tms_priv->state) || in hp_82341_accel_read() 117 clear_bit(RECEIVED_END_BN, &tms_priv->state); in hp_82341_accel_read() [all …]
|
| /linux/drivers/gpib/hp_82335/ |
| H A D | hp82335.c | 242 struct tms9914_priv *tms_priv = &hp_priv->tms9914_priv; in hp82335_clear_interrupt() local 244 writeb(0, tms_priv->mmiobase + HPREG_INTR_CLEAR); in hp82335_clear_interrupt() 250 struct tms9914_priv *tms_priv; in hp82335_attach() local 260 tms_priv = &hp_priv->tms9914_priv; in hp82335_attach() 261 tms_priv->read_byte = hp82335_read_byte; in hp82335_attach() 262 tms_priv->write_byte = hp82335_write_byte; in hp82335_attach() 263 tms_priv->offset = 1; in hp82335_attach() 292 tms_priv->mmiobase = ioremap(upper_iomem_base, hp82335_upper_iomem_size); in hp82335_attach() 301 tms9914_board_reset(tms_priv); in hp82335_attach() 305 writeb(INTR_ENABLE, tms_priv->mmiobase + HPREG_CCR); in hp82335_attach() [all …]
|