Lines Matching refs:variax
71 static void variax_activate_async(struct usb_line6_variax *variax, int a) in variax_activate_async() argument
73 variax->buffer_activate[VARIAX_OFFSET_ACTIVATE] = a; in variax_activate_async()
74 line6_send_raw_message_async(&variax->line6, variax->buffer_activate, in variax_activate_async()
87 struct usb_line6_variax *variax = line6_to_variax(line6); in variax_startup() local
89 switch (variax->startup_progress) { in variax_startup()
99 variax_activate_async(variax, 1); in variax_startup()
100 variax->startup_progress = VARIAX_STARTUP_SETUP; in variax_startup()
106 snd_card_register(variax->line6.card); in variax_startup()
116 struct usb_line6_variax *variax = line6_to_variax(line6); in line6_variax_process_message() local
117 const unsigned char *buf = variax->line6.buffer_message; in line6_variax_process_message()
121 dev_info(variax->line6.ifcdev, "VARIAX reset\n"); in line6_variax_process_message()
127 if (variax->startup_progress >= VARIAX_STARTUP_ACTIVATE) in line6_variax_process_message()
129 variax->startup_progress = VARIAX_STARTUP_ACTIVATE; in line6_variax_process_message()
136 if (variax->startup_progress >= VARIAX_STARTUP_SETUP) in line6_variax_process_message()
150 struct usb_line6_variax *variax = line6_to_variax(line6); in line6_variax_disconnect() local
152 kfree(variax->buffer_activate); in line6_variax_disconnect()
161 struct usb_line6_variax *variax = line6_to_variax(line6); in variax_init() local
168 variax->buffer_activate = kmemdup(variax_activate, in variax_init()
171 if (variax->buffer_activate == NULL) in variax_init()