Lines Matching refs:state
43 dev->state = SNDRV_DEV_BUILD;
61 if (dev->state == SNDRV_DEV_REGISTERED) {
65 dev->state = SNDRV_DEV_DISCONNECTED;
98 * Turns the device into the disconnection state, invoking
127 * callbacks, dev_disconnect and dev_free, corresponding to the state.
147 if (dev->state == SNDRV_DEV_BUILD) {
153 dev->state = SNDRV_DEV_REGISTERED;
242 * snd_device_get_state - Get the current state of the given device
246 * Returns the current state of the given device object. For the valid
251 * Return: the current state, or -1 if not found
259 return dev->state;