Home
last modified time | relevance | path

Searched refs:read_reg (Results 1 – 9 of 9) sorted by relevance

/linux-2.4.37.9/drivers/i2c/
Di2c-keywest.c89 write_reg(reg_control, read_reg(reg_control) | KW_I2C_CTL_STOP); in do_stop()
102 isr, read_reg(reg_status), iface->state); in handle_interrupt()
117 ack = read_reg(reg_status); in handle_interrupt()
129 write_reg(reg_control, read_reg(reg_control) in handle_interrupt()
144 *(iface->data++) = read_reg(reg_data); in handle_interrupt()
158 ack = read_reg(reg_status); in handle_interrupt()
198 if (handle_interrupt(iface, read_reg(reg_isr))) { in keywest_irq()
212 if (handle_interrupt(iface, read_reg(reg_isr))) { in keywest_timeout()
292 write_reg(reg_isr, read_reg(reg_isr)); in keywest_smbus_xfer()
309 write_reg(reg_control, read_reg(reg_control) | KW_I2C_CTL_XADDR); in keywest_smbus_xfer()
[all …]
Di2c-keywest.h107 #define read_reg(reg) __read_reg(iface, reg) macro
/linux-2.4.37.9/drivers/ide/pci/
Dopti621.c196 static u8 read_reg(ide_hwif_t *hwif, int reg) in read_reg() function
298 read_reg(hwif, CNTRL_REG); in opti621_tune_drive()
300 read_reg(hwif, STRAP_REG); in opti621_tune_drive()
/linux-2.4.37.9/drivers/char/pcmcia/
Dsynclink_cs.c350 #define read_reg(info, reg) inb((info)->io_base + (reg)) macro
357 (unsigned char) (read_reg(info, (reg)) | (mask)))
360 (unsigned char) (read_reg(info, (reg)) & ~(mask)))
924 while ((status = read_reg(info, (unsigned char)(channel+STAR)) & BIT2)) { in wait_command_complete()
1090 if (!(fifo_count = (unsigned char)(read_reg(info, CHA+RBCL) & 0x1f))) in rx_ready_hdlc()
1098 data[0] = read_reg(info, CHA + RXFIFO); in rx_ready_hdlc()
1138 fifo_count = (unsigned char)(read_reg(info, CHA+RBCL) & 0x1f); in rx_ready_async()
1143 if (!fifo_count && (read_reg(info,CHA+STAR) & BIT5)) in rx_ready_async()
1150 data = read_reg(info, CHA + RXFIFO); in rx_ready_async()
1151 status = read_reg(info, CHA + RXFIFO); in rx_ready_async()
[all …]
/linux-2.4.37.9/drivers/char/
Dsynclinkmp.c671 static unsigned char read_reg(SLMP_INFO *info, unsigned char addr);
1690 RegValue = read_reg(info, CTL); in set_break()
2053 unsigned char status = read_reg(info, SR1) & info->ie1_value & (FLGD + IDLD + CDCD + BRKD); in isr_rxint()
2054 unsigned char status2 = read_reg(info, SR2) & info->ie2_value & OVRN; in isr_rxint()
2119 while((status = read_reg(info,CST0)) & BIT0) in isr_rxrdy()
2121 DataByte = read_reg(info,TRB); in isr_rxrdy()
2254 unsigned char status = read_reg(info, SR1) & info->ie1_value & (UDRN + IDLE + CCTS); in isr_txint()
2316 unsigned char status = read_reg(info,RXDMA + DSR) & 0xc0; in isr_rxdmaok()
2333 unsigned char status = read_reg(info,RXDMA + DSR) & 0x30; in isr_rxdmaerror()
2348 unsigned char status_reg1 = read_reg(info, SR1); in isr_txdmaok()
[all …]
/linux-2.4.37.9/drivers/sound/
Dac97.h129 int (*read_reg) (struct ac97_hwint *dev, u8 reg); member
Dac97.c86 reg0 = dev->read_reg (dev, AC97_RESET); in ac97_init()
148 dev->last_written_mixer_values[reg / 2] = dev->read_reg (dev, reg); in ac97_get_register()
Dswarm_cs4297a.c315 volatile u16 read_reg; member
791 printk(KERN_INFO "cs4297a: rdr reg %x -> %x\n", s->read_reg, s->read_value)); in cs4297a_read_ac97()
974 s->read_reg = (data >> 40) & 0x7f; in cs4297a_update_ptr()
1047 s->read_reg = (data >> 40) & 0x7f; in cs4297a_update_ptr()
Dnm256_audio.c958 card->mdev.read_reg = nm256_readAC97Reg; in nm256_install_mixer()