Home
last modified time | relevance | path

Searched refs:lock_data (Results 1 – 5 of 5) sorted by relevance

/external/arm-trusted-firmware/lib/locks/bakery/
Dbakery_lock_coherent.c50 assert(bakery_ticket_number(bakery->lock_data[me]) == 0U); in bakery_get_ticket()
63 bakery->lock_data[me] = make_bakery_data(CHOOSING_TICKET, my_ticket); in bakery_get_ticket()
65 their_ticket = bakery_ticket_number(bakery->lock_data[they]); in bakery_get_ticket()
75 bakery->lock_data[me] = make_bakery_data(CHOSEN_TICKET, my_ticket); in bakery_get_ticket()
116 their_bakery_data = bakery->lock_data[they]; in bakery_lock_get()
135 bakery_ticket_number(bakery->lock_data[they])); in bakery_lock_get()
154 assert(bakery_ticket_number(bakery->lock_data[me]) != 0U); in bakery_lock_release()
163 bakery->lock_data[me] = 0U; in bakery_lock_release()
Dbakery_lock_normal.c98 return bakery_ticket_number(my_bakery_info->lock_data) != 0U; in is_lock_acquired()
123 my_bakery_info->lock_data = make_bakery_data(CHOOSING_TICKET, my_ticket); in bakery_get_ticket()
148 their_ticket = bakery_ticket_number(their_bakery_info->lock_data); in bakery_get_ticket()
158 my_bakery_info->lock_data = make_bakery_data(CHOSEN_TICKET, my_ticket); in bakery_get_ticket()
198 their_bakery_data = their_bakery_info->lock_data; in bakery_lock_get()
217 == bakery_ticket_number(their_bakery_info->lock_data)); in bakery_lock_get()
245 my_bakery_info->lock_data = 0U; in bakery_lock_release()
/external/autotest/client/cros/cellular/pseudomodem/
Dsim.py280 def _CheckCode(self, code, lock_data, next_lock, error_to_raise): argument
291 if code == lock_data['code']:
297 lock_data['retries'] -= 1
299 if lock_data['retries'] == 0:
339 lock_data = self._lock_data.get(self._lock_type, None)
340 if not lock_data:
345 self._CheckCode(pin, lock_data, mm1_constants.MM_MODEM_LOCK_SIM_PUK,
370 lock_data = self._lock_data.get(self._lock_type, None)
371 if not lock_data:
376 if lock_data['retries'] == 0:
[all …]
/external/arm-trusted-firmware/include/lib/
Dbakery_lock.h68 volatile uint16_t lock_data[BAKERY_LOCK_MAX_CPUS]; member
88 volatile uint16_t lock_data; member
/external/arm-trusted-firmware/docs/design/
Dfirmware-design.rst2107 * The lock_data is a bit-field of 2 members:
2112 volatile uint16_t lock_data[BAKERY_LOCK_MAX_CPUS];
2151 * The lock_data is a bit-field of 2 members:
2156 volatile uint16_t lock_data;