Lines Matching refs:state
101 * CS_state_t *state The device's state structure
108 apc_map_regs(CS_state_t *state)
111 dev_info_t *dip = state->cs_dip;
114 if (ddi_regs_map_setup(dip, 0, (caddr_t *)&state->cs_regs, 0,
116 audio_dev_warn(state->cs_adev, "ddi_regs_map_setup() failed");
134 * CS_state_t *state The device's state structure
140 apc_unmap_regs(CS_state_t *state)
156 * CS_state_t *state The device's state structure
162 apc_reset(CS_state_t *state)
188 * NOTE: The state structure must be locked before this routine is called.
203 CS_state_t *state = eng->ce_state;
210 ASSERT(mutex_owned(&state->cs_lock));
227 audio_dev_warn(state->cs_adev,
258 * NOTE: The state structure must be locked before this routine is called.
269 CS_state_t *state = eng->ce_state;
276 ASSERT(mutex_owned(&state->cs_lock));
314 * NOTE: The state structure must be locked when this routine is called.
317 * CS_state_t *state Ptr to the device's state structure
321 apc_power(CS_state_t *state, int level)
331 * wait for state change,
345 CS_state_t *state = eng->ce_state;
375 /* now program the NC reg., which enables the state machine */
395 CS_state_t *state = eng->ce_state;