Home
last modified time | relevance | path

Searched refs:contender (Results 1 – 2 of 2) sorted by relevance

/drivers/mtd/lpddr/
A Dlpddr_cmds.c225 struct flchip *contender; in get_chip() local
227 contender = shared->writing; in get_chip()
228 if (contender && contender != chip) { in get_chip()
238 ret = mutex_trylock(&contender->mutex); in get_chip()
243 ret = chip_ready(map, contender, mode); in get_chip()
247 mutex_unlock(&contender->mutex); in get_chip()
251 mutex_unlock(&contender->mutex); in get_chip()
259 put_chip(map, contender); in get_chip()
260 mutex_unlock(&contender->mutex); in get_chip()
263 mutex_unlock(&contender->mutex); in get_chip()
/drivers/mtd/chips/
A Dcfi_cmdset_0001.c972 struct flchip *contender; in get_chip() local
974 contender = shared->writing; in get_chip()
975 if (contender && contender != chip) { in get_chip()
985 ret = mutex_trylock(&contender->mutex); in get_chip()
990 ret = chip_ready(map, contender, contender->start, mode); in get_chip()
994 mutex_unlock(&contender->mutex); in get_chip()
998 mutex_unlock(&contender->mutex); in get_chip()
1006 put_chip(map, contender, contender->start); in get_chip()
1007 mutex_unlock(&contender->mutex); in get_chip()
1010 mutex_unlock(&contender->mutex); in get_chip()

Completed in 9 milliseconds