toneport           36 sound/usb/line6/toneport.c 	struct usb_line6_toneport *toneport;
toneport          212 sound/usb/line6/toneport.c 	struct usb_line6_toneport *toneport = line6_to_toneport(line6pcm->line6);
toneport          214 sound/usb/line6/toneport.c 	ucontrol->value.enumerated.item[0] = toneport->source;
toneport          223 sound/usb/line6/toneport.c 	struct usb_line6_toneport *toneport = line6_to_toneport(line6pcm->line6);
toneport          229 sound/usb/line6/toneport.c 	if (source == toneport->source)
toneport          232 sound/usb/line6/toneport.c 	toneport->source = source;
toneport          233 sound/usb/line6/toneport.c 	toneport_send_cmd(toneport->line6.usbdev,
toneport          272 sound/usb/line6/toneport.c static bool toneport_has_led(struct usb_line6_toneport *toneport)
toneport          274 sound/usb/line6/toneport.c 	switch (toneport->type) {
toneport          288 sound/usb/line6/toneport.c static void toneport_update_led(struct usb_line6_toneport *toneport)
toneport          290 sound/usb/line6/toneport.c 	toneport_send_cmd(toneport->line6.usbdev,
toneport          291 sound/usb/line6/toneport.c 			  (toneport->leds[0].dev.brightness << 8) | 0x0002,
toneport          292 sound/usb/line6/toneport.c 			  toneport->leds[1].dev.brightness);
toneport          300 sound/usb/line6/toneport.c 	toneport_update_led(leds->toneport);
toneport          303 sound/usb/line6/toneport.c static int toneport_init_leds(struct usb_line6_toneport *toneport)
toneport          305 sound/usb/line6/toneport.c 	struct device *dev = &toneport->line6.usbdev->dev;
toneport          309 sound/usb/line6/toneport.c 		struct toneport_led *led = &toneport->leds[i];
toneport          312 sound/usb/line6/toneport.c 		led->toneport = toneport;
toneport          328 sound/usb/line6/toneport.c static void toneport_remove_leds(struct usb_line6_toneport *toneport)
toneport          334 sound/usb/line6/toneport.c 		led = &toneport->leds[i];
toneport          342 sound/usb/line6/toneport.c static bool toneport_has_source_select(struct usb_line6_toneport *toneport)
toneport          344 sound/usb/line6/toneport.c 	switch (toneport->type) {
toneport          359 sound/usb/line6/toneport.c static int toneport_setup(struct usb_line6_toneport *toneport)
toneport          362 sound/usb/line6/toneport.c 	struct usb_line6 *line6 = &toneport->line6;
toneport          379 sound/usb/line6/toneport.c 	if (toneport_has_source_select(toneport))
toneport          381 sound/usb/line6/toneport.c 				  toneport_source_info[toneport->source].code,
toneport          384 sound/usb/line6/toneport.c 	if (toneport_has_led(toneport))
toneport          385 sound/usb/line6/toneport.c 		toneport_update_led(toneport);
toneport          387 sound/usb/line6/toneport.c 	schedule_delayed_work(&toneport->line6.startup_work,
toneport          397 sound/usb/line6/toneport.c 	struct usb_line6_toneport *toneport = line6_to_toneport(line6);
toneport          399 sound/usb/line6/toneport.c 	if (toneport_has_led(toneport))
toneport          400 sound/usb/line6/toneport.c 		toneport_remove_leds(toneport);
toneport          411 sound/usb/line6/toneport.c 	struct usb_line6_toneport *toneport = line6_to_toneport(line6);
toneport          413 sound/usb/line6/toneport.c 	toneport->type = id->driver_info;
toneport          431 sound/usb/line6/toneport.c 	if (toneport_has_source_select(toneport)) {
toneport          440 sound/usb/line6/toneport.c 	line6_read_serial_number(line6, &toneport->serial_number);
toneport          441 sound/usb/line6/toneport.c 	line6_read_data(line6, 0x80c2, &toneport->firmware_version, 1);
toneport          443 sound/usb/line6/toneport.c 	if (toneport_has_led(toneport)) {
toneport          444 sound/usb/line6/toneport.c 		err = toneport_init_leds(toneport);
toneport          449 sound/usb/line6/toneport.c 	err = toneport_setup(toneport);