Lines Matching +full:wait +full:- +full:state
1 /* SPDX-License-Identifier: GPL-2.0+ */
79 * AP queue state machine states
93 * AP queue state machine events
102 * AP queue state wait behaviour
106 AP_SM_WAIT_HIGH_TIMEOUT, /* poll high freq, wait for timeout */
107 AP_SM_WAIT_LOW_TIMEOUT, /* poll low freq, wait for timeout */
108 AP_SM_WAIT_INTERRUPT, /* wait for thin interrupt (if available) */
109 AP_SM_WAIT_NONE, /* no wait */
120 AP_DEV_STATE_ERROR, /* device is in error state */
178 bool config; /* configured state */
179 bool chkstop; /* checkstop state */
193 enum ap_dev_state dev_state; /* queue device state */
194 bool config; /* configured state */
195 bool chkstop; /* checkstop state */
197 unsigned int se_bstate; /* SE bind state (BS) */
208 enum ap_sm_state sm_state; /* ap queue state machine state */
210 int last_err_rc; /* last error state response code */
255 void ap_wait(enum ap_sm_wait wait);
291 * with a call to put_device(&aq->ap_dev.device).
319 * ap_parse_mask_str() - helper function to parse a bitmap string
323 * like "+1-16,-32,-0x40,+128" where only single bits or ranges of
325 * first character which may be '+' or '-' for the relative string
335 * ap_hex2bitmap() - Convert a string containing a hexadecimal number (str)
339 * str - Input hex string of format "0x1234abcd". The leading "0x" is optional.
343 * bitmap - Pointer to a bitmap. Upon successful completion of this function,
348 * bits - Length, in bits, of the bitmap represented by str. Must be a multiple
352 * -EINVAL If str format is invalid or bits is not a multiple of 8.
357 * Interface to wait for the AP bus to have done one initial ap bus
363 * -ETIME is returned. On failures negative return values are