Home
last modified time | relevance | path

Searched refs:rst_ctl (Results 1 – 11 of 11) sorted by relevance

/u-boot/drivers/reset/
A Dreset-hsdk.c64 static int hsdk_reset_reset(struct reset_ctl *rst_ctl) in hsdk_reset_reset() argument
66 struct udevice *dev = rst_ctl->dev; in hsdk_reset_reset()
69 if (rst_ctl->id >= HSDK_MAX_RESETS) in hsdk_reset_reset()
72 debug("%s(reset_ctl=%p) (dev=%p, id=%lu)\n", __func__, rst_ctl, in hsdk_reset_reset()
73 rst_ctl->dev, rst_ctl->id); in hsdk_reset_reset()
75 hsdk_reset_config(rst, rst_ctl->id); in hsdk_reset_reset()
79 static int hsdk_reset_noop(struct reset_ctl *rst_ctl) in hsdk_reset_noop() argument
/u-boot/drivers/phy/
A Dbcm6348-usbh-phy.c48 struct reset_ctl rst_ctl; in bcm6348_usbh_probe() local
70 ret = reset_get_by_index(dev, 0, &rst_ctl); in bcm6348_usbh_probe()
74 ret = reset_deassert(&rst_ctl); in bcm6348_usbh_probe()
78 ret = reset_free(&rst_ctl); in bcm6348_usbh_probe()
A Dbcm6358-usbh-phy.c62 struct reset_ctl rst_ctl; in bcm6358_usbh_probe() local
70 ret = reset_get_by_index(dev, 0, &rst_ctl); in bcm6358_usbh_probe()
74 ret = reset_deassert(&rst_ctl); in bcm6358_usbh_probe()
78 ret = reset_free(&rst_ctl); in bcm6358_usbh_probe()
A Dbcm6318-usbh-phy.c84 struct reset_ctl rst_ctl; in bcm6318_usbh_probe() local
119 ret = reset_get_by_index(dev, 0, &rst_ctl); in bcm6318_usbh_probe()
123 ret = reset_deassert(&rst_ctl); in bcm6318_usbh_probe()
127 ret = reset_free(&rst_ctl); in bcm6318_usbh_probe()
A Dbcm6368-usbh-phy.c121 struct reset_ctl rst_ctl; in bcm6368_usbh_probe() local
160 ret = reset_get_by_index(dev, 0, &rst_ctl); in bcm6368_usbh_probe()
164 ret = reset_deassert(&rst_ctl); in bcm6368_usbh_probe()
168 ret = reset_free(&rst_ctl); in bcm6368_usbh_probe()
/u-boot/board/freescale/common/
A Dqixis.c167 QIXIS_WRITE(rst_ctl, QIXIS_RST_CTL_RESET); in qixis_reset()
209 printf("rst_ctl = %02x\n", QIXIS_READ(rst_ctl)); in qixis_dump_regs()
253 QIXIS_WRITE(rst_ctl, 0x30); in qixis_reset_cmd()
264 QIXIS_WRITE(rst_ctl, 0x30); in qixis_reset_cmd()
279 QIXIS_WRITE(rst_ctl, 0x30); in qixis_reset_cmd()
290 QIXIS_WRITE(rst_ctl, 0x30); in qixis_reset_cmd()
303 QIXIS_WRITE(rst_ctl, 0x30); in qixis_reset_cmd()
316 QIXIS_WRITE(rst_ctl, 0x30); in qixis_reset_cmd()
329 QIXIS_WRITE(rst_ctl, 0x30); in qixis_reset_cmd()
A Dqixis.h58 u8 rst_ctl; /* Reset Control Register,0x40 */ member
/u-boot/drivers/spi/
A Dstm32_spi.c103 struct reset_ctl rst_ctl; member
517 ret = reset_get_by_index(dev, 0, &priv->rst_ctl); in stm32_spi_probe()
521 reset_assert(&priv->rst_ctl); in stm32_spi_probe()
523 reset_deassert(&priv->rst_ctl); in stm32_spi_probe()
571 reset_free(&priv->rst_ctl); in stm32_spi_probe()
588 ret = reset_assert(&priv->rst_ctl); in stm32_spi_remove()
592 reset_free(&priv->rst_ctl); in stm32_spi_remove()
A Dbcm63xx_hsspi.c339 struct reset_ctl rst_ctl; in bcm63xx_hsspi_probe() local
374 ret = reset_get_by_index(dev, 0, &rst_ctl); in bcm63xx_hsspi_probe()
376 ret = reset_deassert(&rst_ctl); in bcm63xx_hsspi_probe()
381 ret = reset_free(&rst_ctl); in bcm63xx_hsspi_probe()
A Dbcm63xx_spi.c374 struct reset_ctl rst_ctl; in bcm63xx_spi_probe() local
399 ret = reset_get_by_index(dev, 0, &rst_ctl); in bcm63xx_spi_probe()
403 ret = reset_deassert(&rst_ctl); in bcm63xx_spi_probe()
407 ret = reset_free(&rst_ctl); in bcm63xx_spi_probe()
/u-boot/board/freescale/ls2080ardb/
A Dls2080ardb.c273 QIXIS_WRITE(rst_ctl, QIXIS_RST_CTL_RESET_EN); in board_init()

Completed in 27 milliseconds