Home
last modified time | relevance | path

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

/drivers/mtd/lpddr/
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/
Dcfi_cmdset_0001.c971 struct flchip *contender; in get_chip() local
973 contender = shared->writing; in get_chip()
974 if (contender && contender != chip) { in get_chip()
984 ret = mutex_trylock(&contender->mutex); in get_chip()
989 ret = chip_ready(map, contender, contender->start, mode); in get_chip()
993 mutex_unlock(&contender->mutex); in get_chip()
997 mutex_unlock(&contender->mutex); in get_chip()
1005 put_chip(map, contender, contender->start); in get_chip()
1006 mutex_unlock(&contender->mutex); in get_chip()
1009 mutex_unlock(&contender->mutex); in get_chip()