Home
last modified time | relevance | path

Searched refs:control_reg (Results 1 – 8 of 8) sorted by relevance

/drivers/scsi/pcmcia/
Dnsp_message.c15 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/tty/serial/
Dpmac_zilog.h54 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()
Dpmac_zilog.c1424 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/power/
Dds2780_battery.c365 u8 *control_reg) in ds2780_get_control_register() argument
367 return ds2780_read8(dev_info, control_reg, DS2780_CONTROL_REG); in ds2780_get_control_register()
371 u8 control_reg) in ds2780_set_control_register() argument
375 ret = ds2780_write(dev_info, &control_reg, in ds2780_set_control_register()
456 u8 control_reg; in ds2780_get_pmod_enabled() local
461 ret = ds2780_get_control_register(dev_info, &control_reg); in ds2780_get_pmod_enabled()
466 !!(control_reg & DS2780_CONTROL_REG_PMOD)); in ds2780_get_pmod_enabled()
475 u8 control_reg, new_setting; in ds2780_set_pmod_enabled() local
480 ret = ds2780_get_control_register(dev_info, &control_reg); in ds2780_set_pmod_enabled()
494 control_reg |= DS2780_CONTROL_REG_PMOD; in ds2780_set_pmod_enabled()
[all …]
Dds2781_battery.c367 u8 *control_reg) in ds2781_get_control_register() argument
369 return ds2781_read8(dev_info, control_reg, DS2781_CONTROL); in ds2781_get_control_register()
373 u8 control_reg) in ds2781_set_control_register() argument
377 ret = ds2781_write(dev_info, &control_reg, in ds2781_set_control_register()
458 u8 control_reg; in ds2781_get_pmod_enabled() local
463 ret = ds2781_get_control_register(dev_info, &control_reg); in ds2781_get_pmod_enabled()
468 !!(control_reg & DS2781_CONTROL_PMOD)); in ds2781_get_pmod_enabled()
477 u8 control_reg, new_setting; in ds2781_set_pmod_enabled() local
482 ret = ds2781_get_control_register(dev_info, &control_reg); in ds2781_set_pmod_enabled()
496 control_reg |= DS2781_CONTROL_PMOD; in ds2781_set_pmod_enabled()
[all …]
/drivers/watchdog/
Dts72xx_wdt.c58 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()
419 wdt->control_reg = ioremap(r1->start, resource_size(r1)); in ts72xx_wdt_probe()
420 if (!wdt->control_reg) { in ts72xx_wdt_probe()
471 iounmap(wdt->control_reg); in ts72xx_wdt_probe()
492 iounmap(wdt->control_reg); in ts72xx_wdt_remove()
/drivers/regulator/
Danatop-regulator.c39 u32 control_reg; member
58 if (!anatop_reg->control_reg) in anatop_regmap_set_voltage_sel()
94 if (!anatop_reg->control_reg) in anatop_regmap_get_voltage_sel()
143 &sreg->control_reg); in anatop_regulator_probe()
192 rdesc->vsel_reg = sreg->control_reg; in anatop_regulator_probe()
/drivers/net/ethernet/ti/
Dcpsw.c854 u32 control_reg; in cpsw_init_host_port() local
864 control_reg = readl(&priv->regs->control); in cpsw_init_host_port()
865 control_reg |= CPSW_VLAN_AWARE; in cpsw_init_host_port()
866 writel(control_reg, &priv->regs->control); in cpsw_init_host_port()