Lines Matching +full:wait +full:- +full:queue
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 */
114 * AP queue device states
118 AP_DEV_STATE_OPERATING, /* queue dev is working normal */
193 enum ap_dev_state dev_state; /* queue device state */
196 ap_qid_t qid; /* AP queue id. */
199 int queue_count; /* # messages currently on AP queue. */
205 struct list_head pendingq; /* List of message sent to AP queue. */
208 enum ap_sm_state sm_state; /* ap queue state machine state */
215 typedef enum ap_sm_wait (ap_func_t)(struct ap_queue *queue);
236 * ap_init_message() - Initialize ap_message.
246 * ap_release_message() - Release ap_message.
252 kfree_sensitive(ap_msg->msg); in ap_release_message()
253 kfree_sensitive(ap_msg->private); in ap_release_message()
267 void ap_wait(enum ap_sm_wait wait);
303 * with a call to put_device(&aq->ap_dev.device).
314 int ap_owned_by_def_drv(int card, int queue);
331 * ap_parse_mask_str() - helper function to parse a bitmap string
335 * like "+1-16,-32,-0x40,+128" where only single bits or ranges of
337 * first character which may be '+' or '-' for the relative string
347 * ap_hex2bitmap() - Convert a string containing a hexadecimal number (str)
351 * str - Input hex string of format "0x1234abcd". The leading "0x" is optional.
355 * bitmap - Pointer to a bitmap. Upon successful completion of this function,
360 * bits - Length, in bits, of the bitmap represented by str. Must be a multiple
364 * -EINVAL If str format is invalid or bits is not a multiple of 8.
369 * Interface to wait for the AP bus to have done one initial ap bus
375 * -ETIME is returned. On failures negative return values are