Home
last modified time | relevance | path

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

/drivers/mtd/lpddr/
Dlpddr_cmds.c198 struct flchip *contender; in get_chip() local
200 contender = shared->writing; in get_chip()
201 if (contender && contender != chip) { in get_chip()
211 ret = mutex_trylock(&contender->mutex); in get_chip()
216 ret = chip_ready(map, contender, mode); in get_chip()
220 mutex_unlock(&contender->mutex); in get_chip()
224 mutex_unlock(&contender->mutex); in get_chip()
232 put_chip(map, contender); in get_chip()
233 mutex_unlock(&contender->mutex); in get_chip()
236 mutex_unlock(&contender->mutex); in get_chip()
/drivers/mtd/chips/
Dcfi_cmdset_0001.c951 struct flchip *contender; in get_chip() local
953 contender = shared->writing; in get_chip()
954 if (contender && contender != chip) { in get_chip()
964 ret = mutex_trylock(&contender->mutex); in get_chip()
969 ret = chip_ready(map, contender, contender->start, mode); in get_chip()
973 mutex_unlock(&contender->mutex); in get_chip()
977 mutex_unlock(&contender->mutex); in get_chip()
985 put_chip(map, contender, contender->start); in get_chip()
986 mutex_unlock(&contender->mutex); in get_chip()
989 mutex_unlock(&contender->mutex); in get_chip()