Searched refs:control_reg (Results 1 – 7 of 7) sorted by relevance
/drivers/scsi/pcmcia/ |
D | nsp_message.c | 15 unsigned char data_reg, control_reg; in nsp_message_in() local 33 control_reg = nsp_index_read(base, SCSIBUSCTRL); in nsp_message_in() 34 control_reg |= SCSI_ACK; in nsp_message_in() 35 nsp_index_write(base, SCSIBUSCTRL, control_reg); in nsp_message_in() 41 control_reg = nsp_index_read(base, SCSIBUSCTRL); in nsp_message_in() 42 control_reg &= ~SCSI_ACK; in nsp_message_in() 43 nsp_index_write(base, SCSIBUSCTRL, control_reg); in nsp_message_in()
|
/drivers/regulator/ |
D | anatop-regulator.c | 35 u32 control_reg; member 65 if (!anatop_reg->control_reg) in anatop_set_voltage() 75 anatop_reg->control_reg, in anatop_set_voltage() 88 if (!anatop_reg->control_reg) in anatop_get_voltage_sel() 92 anatop_reg->control_reg, in anatop_get_voltage_sel() 142 &sreg->control_reg); in anatop_regulator_probe()
|
/drivers/tty/serial/ |
D | pmac_zilog.h | 54 volatile u8 __iomem *control_reg; member 87 writeb(reg, port->control_reg); in read_zsreg() 88 return readb(port->control_reg); in read_zsreg() 94 writeb(reg, port->control_reg); in write_zsreg() 95 writeb(value, port->control_reg); in write_zsreg() 110 (void)readb(port->control_reg); in zssync()
|
D | pmac_zilog.c | 1424 uap->control_reg = uap->port.membase; in pmz_init_port() 1425 uap->data_reg = uap->control_reg + 0x10; in pmz_init_port() 1543 iounmap(uap->control_reg); in pmz_dispose_port() 1732 uap->control_reg = uap->port.membase; in pmz_init_port() 1733 uap->data_reg = uap->control_reg + 4; in pmz_init_port()
|
/drivers/watchdog/ |
D | ts72xx_wdt.c | 58 void __iomem *control_reg; member 166 __raw_writeb((u8)wdt->regval, wdt->control_reg); in ts72xx_wdt_start() 178 __raw_writeb(0, wdt->control_reg); in ts72xx_wdt_stop() 420 wdt->control_reg = ioremap(r1->start, resource_size(r1)); in ts72xx_wdt_probe() 421 if (!wdt->control_reg) { in ts72xx_wdt_probe() 472 iounmap(wdt->control_reg); in ts72xx_wdt_probe() 493 iounmap(wdt->control_reg); in ts72xx_wdt_remove()
|
/drivers/power/ |
D | ds2781_battery.c | 372 u8 *control_reg) in ds2781_get_control_register() argument 374 return ds2781_read8(dev_info, control_reg, DS2781_CONTROL); in ds2781_get_control_register() 378 u8 control_reg) in ds2781_set_control_register() argument 382 ret = ds2781_write(dev_info, &control_reg, in ds2781_set_control_register() 463 u8 control_reg; in ds2781_get_pmod_enabled() local 468 ret = ds2781_get_control_register(dev_info, &control_reg); in ds2781_get_pmod_enabled() 473 !!(control_reg & DS2781_CONTROL_PMOD)); in ds2781_get_pmod_enabled() 482 u8 control_reg, new_setting; in ds2781_set_pmod_enabled() local 487 ret = ds2781_get_control_register(dev_info, &control_reg); in ds2781_set_pmod_enabled() 501 control_reg |= DS2781_CONTROL_PMOD; in ds2781_set_pmod_enabled() [all …]
|
D | ds2780_battery.c | 369 u8 *control_reg) in ds2780_get_control_register() argument 371 return ds2780_read8(dev_info, control_reg, DS2780_CONTROL_REG); in ds2780_get_control_register() 375 u8 control_reg) in ds2780_set_control_register() argument 379 ret = ds2780_write(dev_info, &control_reg, in ds2780_set_control_register() 460 u8 control_reg; in ds2780_get_pmod_enabled() local 465 ret = ds2780_get_control_register(dev_info, &control_reg); in ds2780_get_pmod_enabled() 470 !!(control_reg & DS2780_CONTROL_REG_PMOD)); in ds2780_get_pmod_enabled() 479 u8 control_reg, new_setting; in ds2780_set_pmod_enabled() local 484 ret = ds2780_get_control_register(dev_info, &control_reg); in ds2780_set_pmod_enabled() 498 control_reg |= DS2780_CONTROL_REG_PMOD; in ds2780_set_pmod_enabled() [all …]
|