Searched refs:rstout (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/watchdog/
H A Dorion_wdt.c69 void __iomem *rstout; member in struct:orion_watchdog
206 reg = readl(dev->rstout); armada375_start()
208 writel(reg, dev->rstout); armada375_start()
231 reg = readl(dev->rstout); armada370_start()
233 writel(reg, dev->rstout); armada370_start()
250 atomic_io_modify(dev->rstout, dev->data->rstout_enable_bit, orion_start()
269 atomic_io_modify(dev->rstout, dev->data->rstout_enable_bit, 0); orion_stop()
285 reg = readl(dev->rstout); armada375_stop()
287 writel(reg, dev->rstout); armada375_stop()
301 reg = readl(dev->rstout); armada370_stop()
303 writel(reg, dev->rstout); armada370_stop()
322 enabled = readl(dev->rstout) & dev->data->rstout_enable_bit; orion_enabled()
333 enabled = readl(dev->rstout) & dev->data->rstout_enable_bit; armada375_enabled()
389 phys_addr_t rstout; orion_wdt_ioremap_rstout() local
396 rstout = internal_regs + ORION_RSTOUT_MASK_OFFSET; orion_wdt_ioremap_rstout()
398 WARN(1, FW_BUG "falling back to harcoded RSTOUT reg %pa\n", &rstout); orion_wdt_ioremap_rstout()
399 return devm_ioremap(&pdev->dev, rstout, 0x4); orion_wdt_ioremap_rstout()
496 dev->rstout = orion_wdt_ioremap_rstout(pdev, res->start & orion_wdt_get_regs()
498 if (!dev->rstout) orion_wdt_get_regs()
506 dev->rstout = devm_ioremap_resource(&pdev->dev, res); orion_wdt_get_regs()
507 if (IS_ERR(dev->rstout)) orion_wdt_get_regs()
508 return PTR_ERR(dev->rstout); orion_wdt_get_regs()
515 dev->rstout = devm_ioremap_resource(&pdev->dev, res); orion_wdt_get_regs()
516 if (IS_ERR(dev->rstout)) orion_wdt_get_regs()
517 return PTR_ERR(dev->rstout); orion_wdt_get_regs()
/linux-4.4.14/drivers/pinctrl/mvebu/
H A Dpinctrl-armada-38x.c96 MPP_VAR_FUNCTION(2, "pcie0", "rstout", V_88F6810_PLUS),
120 MPP_VAR_FUNCTION(3, "pcie0", "rstout", V_88F6810_PLUS),
295 MPP_VAR_FUNCTION(2, "pcie0", "rstout", V_88F6810_PLUS),
300 MPP_VAR_FUNCTION(2, "pcie0", "rstout", V_88F6810_PLUS),
326 MPP_VAR_FUNCTION(1, "pcie0", "rstout", V_88F6810_PLUS),
338 MPP_VAR_FUNCTION(1, "pcie0", "rstout", V_88F6810_PLUS),
355 MPP_VAR_FUNCTION(3, "pcie0", "rstout", V_88F6810_PLUS),
388 MPP_VAR_FUNCTION(1, "pcie0", "rstout", V_88F6810_PLUS),
H A Dpinctrl-armada-39x.c94 MPP_VAR_FUNCTION(2, "pcie0", "rstout", V_88F6920_PLUS),
109 MPP_VAR_FUNCTION(3, "pcie0", "rstout", V_88F6920_PLUS),
276 MPP_VAR_FUNCTION(2, "pcie0", "rstout", V_88F6920_PLUS),
281 MPP_VAR_FUNCTION(2, "pcie0", "rstout", V_88F6920_PLUS),
310 MPP_VAR_FUNCTION(1, "pcie0", "rstout", V_88F6920_PLUS),
323 MPP_VAR_FUNCTION(1, "pcie0", "rstout", V_88F6920_PLUS),
340 MPP_VAR_FUNCTION(3, "pcie0", "rstout", V_88F6920_PLUS),
370 MPP_VAR_FUNCTION(1, "pcie0", "rstout", V_88F6920_PLUS),
H A Dpinctrl-armada-375.c124 MPP_FUNCTION(0x2, "pcie0", "rstout"),
125 MPP_FUNCTION(0x3, "pcie1", "rstout"),
204 MPP_FUNCTION(0x6, "pcie0", "rstout")),
279 MPP_FUNCTION(0x4, "pcie0", "rstout"),
329 MPP_FUNCTION(0x1, "pcie1", "rstout"),
336 MPP_FUNCTION(0x1, "pcie0", "rstout"),
394 MPP_FUNCTION(0x5, "pcie0", "rstout"),
H A Dpinctrl-orion.c79 MPP_VAR_FUNCTION(0x0, "pcie", "rstout", V_ALL),
H A Dpinctrl-armada-370.c351 MPP_FUNCTION(0x4, "pcie", "rstout"),
H A Dpinctrl-armada-xp.c269 MPP_VAR_FUNCTION(0x4, "pcie", "rstout", V_MV78230_PLUS),
H A Dpinctrl-dove.c513 MPP_FUNCTION(0x01, "watchdog", "rstout"),
/linux-4.4.14/drivers/block/
H A Dmg_disk.c130 unsigned int rstout; member in struct:mg_host
268 static unsigned int mg_wait_rstout(u32 rstout, u32 msec) mg_wait_rstout() argument
274 if (gpio_get_value(rstout) == 1) mg_wait_rstout()
909 host->rstout = rsc->start; mg_probe()
910 err = gpio_request(host->rstout, MG_RSTOUT_PIN); mg_probe()
913 gpio_direction_input(host->rstout); mg_probe()
919 err = mg_wait_rstout(host->rstout, MG_TMAX_RSTOUT); mg_probe()
1026 gpio_free(host->rstout); mg_probe()
1064 gpio_free(host->rstout); mg_remove()

Completed in 172 milliseconds