/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/clk/ |
D | clk-palmas.c | 35 unsigned int control_reg; member 68 cinfo->clk_desc->control_reg, in palmas_clks_prepare() 73 cinfo->clk_desc->control_reg, ret); in palmas_clks_prepare() 93 cinfo->clk_desc->control_reg, in palmas_clks_unprepare() 97 cinfo->clk_desc->control_reg, ret); in palmas_clks_unprepare() 110 cinfo->clk_desc->control_reg, &val); in palmas_clks_is_prepared() 113 cinfo->clk_desc->control_reg, ret); in palmas_clks_is_prepared() 139 .control_reg = PALMAS_CLK32KG_CTRL, 155 .control_reg = PALMAS_CLK32KGAUDIO_CTRL, 212 cinfo->clk_desc->control_reg, in palmas_clks_init_configure() [all …]
|
/drivers/clk/ti/ |
D | apll.c | 63 v = ti_clk_ll_ops->clk_readl(ad->control_reg); in dra7_apll_enable() 66 ti_clk_ll_ops->clk_writel(v, ad->control_reg); in dra7_apll_enable() 102 v = ti_clk_ll_ops->clk_readl(ad->control_reg); in dra7_apll_disable() 105 ti_clk_ll_ops->clk_writel(v, ad->control_reg); in dra7_apll_disable() 116 v = ti_clk_ll_ops->clk_readl(ad->control_reg); in dra7_apll_is_enabled() 204 ad->control_reg = ti_clk_get_reg_addr(node, 0); in of_dra7_apll_setup() 207 if (IS_ERR(ad->control_reg) || IS_ERR(ad->idlest_reg)) in of_dra7_apll_setup() 233 v = ti_clk_ll_ops->clk_readl(ad->control_reg); in omap2_apll_is_enabled() 259 v = ti_clk_ll_ops->clk_readl(ad->control_reg); in omap2_apll_enable() 262 ti_clk_ll_ops->clk_writel(v, ad->control_reg); in omap2_apll_enable() [all …]
|
D | dpll3xxx.c | 57 v = ti_clk_ll_ops->clk_readl(dd->control_reg); in _omap3_dpll_write_clken() 60 ti_clk_ll_ops->clk_writel(v, dd->control_reg); in _omap3_dpll_write_clken() 319 v = ti_clk_ll_ops->clk_readl(dd->control_reg); in omap3_noncore_dpll_program() 322 ti_clk_ll_ops->clk_writel(v, dd->control_reg); in omap3_noncore_dpll_program() 357 v = ti_clk_ll_ops->clk_readl(dd->control_reg); in omap3_noncore_dpll_program() 373 ti_clk_ll_ops->clk_writel(v, dd->control_reg); in omap3_noncore_dpll_program() 754 v = ti_clk_ll_ops->clk_readl(dd->control_reg) & dd->enable_mask; in omap3_clkoutx2_recalc()
|
D | clkt_dpll.c | 216 v = ti_clk_ll_ops->clk_readl(dd->control_reg); in omap2_init_dpll_parent() 252 v = ti_clk_ll_ops->clk_readl(dd->control_reg); in omap2_get_dpll_rate()
|
D | dpll.c | 246 dd->control_reg = _get_reg(dpll->module, dpll->control_reg); in ti_clk_register_dpll() 389 dd->control_reg = ti_clk_get_reg_addr(node, 0); in of_ti_dpll_setup() 410 if (IS_ERR(dd->control_reg) || IS_ERR(dd->mult_div1_reg)) in of_ti_dpll_setup()
|
D | dpll44xx.c | 131 v = ti_clk_ll_ops->clk_readl(dd->control_reg); in omap4_dpll_regm4xen_recalc()
|
D | clock.h | 133 u16 control_reg; member
|
D | clk-3xxx-legacy.c | 128 .control_reg = 0xd00, 299 .control_reg = 0xd00, 501 .control_reg = 0xd04, 1266 .control_reg = 0x904, 2150 .control_reg = 0x4, 2511 .control_reg = 0xd00,
|
/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 | 1431 uap->control_reg = uap->port.membase; in pmz_init_port() 1432 uap->data_reg = uap->control_reg + 0x10; in pmz_init_port() 1550 iounmap(uap->control_reg); in pmz_dispose_port() 1736 uap->control_reg = uap->port.membase; in pmz_init_port() 1737 uap->data_reg = uap->control_reg + 4; in pmz_init_port()
|
/drivers/power/ |
D | ds2781_battery.c | 368 u8 *control_reg) in ds2781_get_control_register() argument 370 return ds2781_read8(dev_info, control_reg, DS2781_CONTROL); in ds2781_get_control_register() 374 u8 control_reg) in ds2781_set_control_register() argument 378 ret = ds2781_write(dev_info, &control_reg, in ds2781_set_control_register() 459 u8 control_reg; in ds2781_get_pmod_enabled() local 464 ret = ds2781_get_control_register(dev_info, &control_reg); in ds2781_get_pmod_enabled() 469 !!(control_reg & DS2781_CONTROL_PMOD)); in ds2781_get_pmod_enabled() 478 u8 control_reg, new_setting; in ds2781_set_pmod_enabled() local 483 ret = ds2781_get_control_register(dev_info, &control_reg); in ds2781_set_pmod_enabled() 497 control_reg |= DS2781_CONTROL_PMOD; in ds2781_set_pmod_enabled() [all …]
|
D | ds2780_battery.c | 366 u8 *control_reg) in ds2780_get_control_register() argument 368 return ds2780_read8(dev_info, control_reg, DS2780_CONTROL_REG); in ds2780_get_control_register() 372 u8 control_reg) in ds2780_set_control_register() argument 376 ret = ds2780_write(dev_info, &control_reg, in ds2780_set_control_register() 457 u8 control_reg; in ds2780_get_pmod_enabled() local 462 ret = ds2780_get_control_register(dev_info, &control_reg); in ds2780_get_pmod_enabled() 467 !!(control_reg & DS2780_CONTROL_REG_PMOD)); in ds2780_get_pmod_enabled() 476 u8 control_reg, new_setting; in ds2780_set_pmod_enabled() local 481 ret = ds2780_get_control_register(dev_info, &control_reg); in ds2780_set_pmod_enabled() 495 control_reg |= DS2780_CONTROL_REG_PMOD; in ds2780_set_pmod_enabled() [all …]
|
/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() 401 wdt->control_reg = devm_ioremap_resource(&pdev->dev, r1); in ts72xx_wdt_probe() 402 if (IS_ERR(wdt->control_reg)) in ts72xx_wdt_probe() 403 return PTR_ERR(wdt->control_reg); in ts72xx_wdt_probe()
|
/drivers/regulator/ |
D | as3722-regulator.c | 69 u32 control_reg; member 100 .control_reg = AS3722_SD0_CONTROL_REG, 112 .control_reg = AS3722_SD1_CONTROL_REG, 125 .control_reg = AS3722_SD23_CONTROL_REG, 139 .control_reg = AS3722_SD23_CONTROL_REG, 153 .control_reg = AS3722_SD4_CONTROL_REG, 167 .control_reg = AS3722_SD5_CONTROL_REG, 180 .control_reg = AS3722_SD6_CONTROL_REG, 470 if (!as3722_reg_lookup[id].control_reg) in as3722_sd_get_mode() 473 ret = as3722_read(as3722, as3722_reg_lookup[id].control_reg, &val); in as3722_sd_get_mode() [all …]
|
D | ti-abb-regulator.c | 105 void __iomem *control_reg; member 270 ti_abb_rmw(regs->opp_sel_mask, info->opp_sel, abb->control_reg); in ti_abb_set_opp() 281 ti_abb_rmw(regs->opp_change_mask, 1, abb->control_reg); in ti_abb_set_opp() 735 abb->control_reg = abb->base + abb->regs->control_off; in ti_abb_probe() 740 abb->control_reg = devm_ioremap_resource(dev, res); in ti_abb_probe() 741 if (IS_ERR(abb->control_reg)) in ti_abb_probe() 742 return PTR_ERR(abb->control_reg); in ti_abb_probe()
|
D | anatop-regulator.c | 43 u32 control_reg; member 215 &sreg->control_reg); in anatop_regulator_probe() 264 rdesc->vsel_reg = sreg->control_reg; in anatop_regulator_probe() 276 if (sreg->control_reg && sreg->delay_bit_width) { in anatop_regulator_probe()
|
/drivers/i2c/busses/ |
D | i2c-mt65xx.c | 243 u16 control_reg; in mtk_i2c_init_hw() local 263 control_reg = I2C_CONTROL_ACKERR_DET_EN | in mtk_i2c_init_hw() 265 writew(control_reg, i2c->base + OFFSET_CONTROL); in mtk_i2c_init_hw() 368 u16 control_reg; in mtk_i2c_do_transfer() local 381 control_reg = readw(i2c->base + OFFSET_CONTROL) & in mtk_i2c_do_transfer() 384 control_reg |= I2C_CONTROL_RS; in mtk_i2c_do_transfer() 387 control_reg |= I2C_CONTROL_DIR_CHANGE | I2C_CONTROL_RS; in mtk_i2c_do_transfer() 389 writew(control_reg, i2c->base + OFFSET_CONTROL); in mtk_i2c_do_transfer()
|
/drivers/net/ethernet/ti/ |
D | cpsw.c | 1225 u32 control_reg; in cpsw_init_host_port() local 1235 control_reg = readl(&priv->regs->control); in cpsw_init_host_port() 1236 control_reg |= CPSW_VLAN_AWARE; in cpsw_init_host_port() 1237 writel(control_reg, &priv->regs->control); in cpsw_init_host_port()
|