Home
last modified time | relevance | path

Searched refs:tout (Results 1 – 10 of 10) sorted by relevance

/bsp/nxp/lpc/lpc176x/drivers/
A Demac.c86 tout = 0; in write_PHY()
87 for (tout = 0; tout < MII_WR_TOUT; tout++) in write_PHY()
105 tout = 0; in read_PHY()
106 for (tout = 0; tout < MII_RD_TOUT; tout++) in read_PHY()
178 for (tout = 100; tout; tout--); in lpc17xx_emac_init()
190 for (tout = 100; tout; tout--); in lpc17xx_emac_init()
198 for (tout = 100; tout; tout--); in lpc17xx_emac_init()
203 for (tout = 1000; tout; tout--); in lpc17xx_emac_init()
206 for (tout = 0; tout < 10000; tout++) in lpc17xx_emac_init()
240 for (tout = 0; tout < 200000; tout++) in lpc17xx_emac_init()
[all …]
/bsp/nxp/lpc/lpc178x/drivers/
A Demac.c83 unsigned int tout; in write_PHY() local
89 tout = 0; in write_PHY()
90 for (tout = 0; tout < MII_WR_TOUT; tout++) in write_PHY()
102 rt_uint32_t tout; in read_PHY() local
108 tout = 0; in read_PHY()
109 for (tout = 0; tout < MII_RD_TOUT; tout++) in read_PHY()
182 rt_uint32_t regv, tout; in lpc17xx_emac_init() local
213 for (tout = 100; tout; tout--); in lpc17xx_emac_init()
225 for (tout = 100; tout; tout--); in lpc17xx_emac_init()
233 for (tout = 100; tout; tout--); in lpc17xx_emac_init()
[all …]
/bsp/nxp/lpc/lpc408x/drivers/
A Ddrv_emac.c105 unsigned int tout; in write_PHY() local
111 tout = 0; in write_PHY()
112 for (tout = 0; tout < MII_WR_TOUT; tout++) in write_PHY()
124 rt_uint32_t tout; in read_PHY() local
130 tout = 0; in read_PHY()
131 for (tout = 0; tout < MII_RD_TOUT; tout++) in read_PHY()
203 rt_uint32_t regv, tout; in lpc_emac_init() local
226 for (tout = 100; tout; tout--); in lpc_emac_init()
238 for (tout = 100; tout; tout--); in lpc_emac_init()
246 for (tout = 100; tout; tout--); in lpc_emac_init()
[all …]
/bsp/nxp/lpc/lpc43xx/drivers/
A Ddrv_emac.c105 unsigned int tout; in write_PHY() local
111 tout = 0; in write_PHY()
112 for (tout = 0; tout < MII_WR_TOUT; tout++) in write_PHY()
124 rt_uint32_t tout; in read_PHY() local
130 tout = 0; in read_PHY()
131 for (tout = 0; tout < MII_RD_TOUT; tout++) in read_PHY()
203 rt_uint32_t regv, tout; in lpc_emac_init() local
247 for (tout = 100; tout; tout--); in lpc_emac_init()
259 for (tout = 100; tout; tout--); in lpc_emac_init()
267 for (tout = 100; tout; tout--); in lpc_emac_init()
[all …]
/bsp/k230/drivers/interdrv/wdt/
A Ddrv_wdt.c73 struct k230_wdt_timeout tout, *dst; in k230_wdt_timeouts_init() local
79 tout.top_val = i; in k230_wdt_timeouts_init()
80 tout.sec = tops[i] / wdt_clk; in k230_wdt_timeouts_init()
83 tout.msec = msec - (rt_uint64_t)tout.sec * (rt_uint64_t)1000L; in k230_wdt_timeouts_init()
88 if (tout.sec > dst->sec || (tout.sec == dst->sec && in k230_wdt_timeouts_init()
89 tout.msec >= dst->msec)) in k230_wdt_timeouts_init()
92 swap(*dst, tout); in k230_wdt_timeouts_init()
95 timeouts[i] = tout; in k230_wdt_timeouts_init()
/bsp/sam7x/drivers/
A Dsam7x_emac.c154 rt_uint32_t value, tout, id1, id2; in linksetup() local
161 tout = read_phy(PHY_REG_BMCR); in linksetup()
162 tout = read_phy(PHY_REG_BMCR); in linksetup()
163 tout &= ~BMCR_ISOLATE; in linksetup()
164 write_phy(PHY_REG_BMCR, tout); in linksetup()
174 tout = DM9161_NP | DM9161_TX_FDX | DM9161_TX_HDX | in linksetup()
176 write_phy(PHY_REG_ANAR, tout); in linksetup()
235 for (tout = 0; tout < 0x100000; tout++) in linksetup()
242 for (tout = 0; tout < 0x10000; tout++) in linksetup()
/bsp/allwinner/libraries/sunxi-hal/hal/source/sound/core/
A Dsnd_pcm.c888 long wait_time, tout = 0; in wait_for_avail() local
939 if (tout < 0) { in wait_for_avail()
941 is_playback ? "Playback" : "Capture", tout); in wait_for_avail()
2209 long tout = 10; in ksnd_pcm_drain() local
2217 tout = max(t, tout); in ksnd_pcm_drain()
2220 tout = snd_schd_timeout(runtime->sleep, tout*1000); in ksnd_pcm_drain()
2223 snd_print("after snd_schd_timeout, tout=%ld\n", tout); in ksnd_pcm_drain()
2224 if (tout != 0) { in ksnd_pcm_drain()
2413 long wait_time, tout = 0; in ksnd_pcm_wait() local
2432 if (tout == 0) { in ksnd_pcm_wait()
[all …]
/bsp/nuvoton/libraries/m2354/rtt_port/
A Ddrv_sdio.c239 volatile uint32_t ctl = 0, tout = 0; in nu_sdh_sendcmd() local
272 tout = 0xFFFF; in nu_sdh_sendcmd()
298 tout = 0xFFFFFF; in nu_sdh_sendcmd()
314 sdh->TOUT = tout; in nu_sdh_sendcmd()
/bsp/nuvoton/libraries/m460/rtt_port/
A Ddrv_sdio.c239 volatile uint32_t ctl = 0, tout = 0; in nu_sdh_sendcmd() local
272 tout = 0xFFFF; in nu_sdh_sendcmd()
298 tout = 0xFFFFFF; in nu_sdh_sendcmd()
314 sdh->TOUT = tout; in nu_sdh_sendcmd()
/bsp/nuvoton/libraries/m480/rtt_port/
A Ddrv_sdio.c239 volatile uint32_t ctl = 0, tout = 0; in nu_sdh_sendcmd() local
272 tout = 0xFFFF; in nu_sdh_sendcmd()
298 tout = 0xFFFFFF; in nu_sdh_sendcmd()
314 sdh->TOUT = tout; in nu_sdh_sendcmd()

Completed in 24 milliseconds