Home
last modified time | relevance | path

Searched refs:write_reg (Results 1 – 10 of 10) 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()
129 write_reg(reg_control, read_reg(reg_control) in handle_interrupt()
134 write_reg(reg_data, *(iface->data++)); in handle_interrupt()
150 write_reg(reg_control, 0); in handle_interrupt()
166 write_reg(reg_data, *(iface->data++)); in handle_interrupt()
178 write_reg(reg_control, 0x00); in handle_interrupt()
179 write_reg(reg_ier, 0x00); in handle_interrupt()
185 write_reg(reg_isr, isr); in handle_interrupt()
291 write_reg(reg_mode, iface->cur_mode | (chan->chan_no << 4)); in keywest_smbus_xfer()
292 write_reg(reg_isr, read_reg(reg_isr)); in keywest_smbus_xfer()
[all …]
Di2c-keywest.h106 #define write_reg(reg, val) __write_reg(iface, reg, val) macro
/linux-2.4.37.9/drivers/char/
Dsynclinkmp.c672 static void write_reg(SLMP_INFO *info, unsigned char addr, unsigned char val);
1695 write_reg(info, CTL, RegValue); in set_break()
2028 write_reg(info, IER2, 0); in isr_timer()
2040 write_reg(info, (unsigned char)(timer + TMCS), 0); in isr_timer()
2058 write_reg(info, SR1, status); in isr_rxint()
2061 write_reg(info, SR2, status2); in isr_rxint()
2198 write_reg(info, TXDMA + DIR, 0x00); /* disable Tx DMA IRQs */ in isr_txeom()
2199 write_reg(info, TXDMA + DSR, 0xc0); /* clear IRQs and disable DMA */ in isr_txeom()
2200 write_reg(info, TXDMA + DCMD, SWABORT); /* reset/init DMA channel */ in isr_txeom()
2203 write_reg(info, CMD, TXRESET); in isr_txeom()
[all …]
/linux-2.4.37.9/drivers/ide/pci/
Dopti621.c182 static void write_reg(ide_hwif_t *hwif, u8 value, int reg) in write_reg() function
304 write_reg(hwif, 0, MISC_REG); in opti621_tune_drive()
306 write_reg(hwif, cycle1, READ_REG); in opti621_tune_drive()
308 write_reg(hwif, cycle1, WRITE_REG); in opti621_tune_drive()
312 write_reg(hwif, 1, MISC_REG); in opti621_tune_drive()
314 write_reg(hwif, cycle2, READ_REG); in opti621_tune_drive()
316 write_reg(hwif, cycle2, WRITE_REG); in opti621_tune_drive()
320 write_reg(hwif, 0x85, CNTRL_REG); in opti621_tune_drive()
324 write_reg(hwif, misc, MISC_REG); in opti621_tune_drive()
/linux-2.4.37.9/drivers/net/
Datp.c268 write_reg(ioaddr, MODSEL, 0x00); in atp_probe1()
317 write_reg(ioaddr, CMR2, CMR2_NULL); in atp_probe1()
380 write_reg(ioaddr, CMR2, CMR2_EEPROM); /* Point to the EEPROM control registers. */ in get_node_ID()
391 write_reg(ioaddr, CMR2, CMR2_NULL); in get_node_ID()
481 write_reg(ioaddr, CMR2, CMR2_IRQOUT); in hardware_init()
488 write_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK); in hardware_init()
499 write_reg(ioaddr, TxCNT1, length >> 8); in trigger_send()
500 write_reg(ioaddr, CMR1, CMR1_Xmit); in trigger_send()
574 write_reg(ioaddr, IMR, 0); in atp_send_packet()
589 write_reg(ioaddr, IMR, ISR_RxOK | ISR_TxErr | ISR_TxOK); in atp_send_packet()
[all …]
Datp.h153 write_reg(short port, unsigned char reg, unsigned char value) in write_reg() function
/linux-2.4.37.9/drivers/char/pcmcia/
Dsynclink_cs.c349 #define write_reg(info, reg, val) outb((val),(info)->io_base + (reg)) macro
356 write_reg(info, (reg), \
359 write_reg(info, (reg), \
386 { info->pim_value |= (mask); write_reg(info, PIM, info->pim_value); }
389 { info->pim_value &= ~(mask); write_reg(info, PIM, info->pim_value); }
935 write_reg(info, (unsigned char) (channel + CMDR), cmd); in issue_command()
1267 write_reg(info, CHA + TXFIFO, *(info->tx_buf + info->tx_get)); in tx_ready()
2130 write_reg(info, PVR, val); in set_interface()
3408 write_reg(info, (unsigned char) (channel + BGR), in mgslpc_set_rate()
3412 write_reg(info, (unsigned char) (channel + CCR2), val); in mgslpc_set_rate()
[all …]
/linux-2.4.37.9/drivers/sound/
Dac97.h133 int (*write_reg) (struct ac97_hwint *dev, u8 reg, u16 value); member
Dac97.c167 int res = dev->write_reg (dev, reg, value); in ac97_put_register()
Dnm256_audio.c959 card->mdev.write_reg = nm256_writeAC97Reg; in nm256_install_mixer()