mts 3391 drivers/media/pci/cx88/cx88-cards.c ctl->mts = 1; mts 3395 drivers/media/pci/cx88/cx88-cards.c ctl->mts = 1; mts 7690 drivers/media/pci/saa7134/saa7134-cards.c ctl.mts = 1; mts 732 drivers/media/tuners/tuner-xc2028.c if (priv->ctrl.mts && !(type & FM)) mts 39 drivers/media/tuners/tuner-xc2028.h unsigned int mts :1; mts 3235 drivers/media/usb/em28xx/em28xx-cards.c ctl->mts = em28xx_boards[dev->model].mts_firmware; mts 64 sound/drivers/mts64.c static int snd_mts64_free(struct mts64 *mts) mts 66 sound/drivers/mts64.c kfree(mts); mts 74 sound/drivers/mts64.c struct mts64 *mts; mts 78 sound/drivers/mts64.c mts = kzalloc(sizeof(struct mts64), GFP_KERNEL); mts 79 sound/drivers/mts64.c if (mts == NULL) mts 83 sound/drivers/mts64.c spin_lock_init(&mts->lock); mts 84 sound/drivers/mts64.c mts->card = card; mts 85 sound/drivers/mts64.c mts->pardev = pardev; mts 86 sound/drivers/mts64.c mts->current_midi_output_port = -1; mts 87 sound/drivers/mts64.c mts->current_midi_input_port = -1; mts 89 sound/drivers/mts64.c *rchip = mts; mts 131 sound/drivers/mts64.c static int mts64_device_open(struct mts64 *mts); mts 132 sound/drivers/mts64.c static int mts64_device_close(struct mts64 *mts); mts 144 sound/drivers/mts64.c static void mts64_write_midi(struct mts64 *mts, u8 c, int midiport); mts 224 sound/drivers/mts64.c static int mts64_device_open(struct mts64 *mts) mts 227 sound/drivers/mts64.c struct parport *p = mts->pardev->port; mts 238 sound/drivers/mts64.c static int mts64_device_close(struct mts64 *mts) mts 241 sound/drivers/mts64.c struct parport *p = mts->pardev->port; mts 410 sound/drivers/mts64.c static void mts64_write_midi(struct mts64 *mts, u8 c, mts 413 sound/drivers/mts64.c struct parport *p = mts->pardev->port; mts 416 sound/drivers/mts64.c if (mts->current_midi_output_port != midiport) mts 433 sound/drivers/mts64.c struct mts64 *mts = snd_kcontrol_chip(kctl); mts 435 sound/drivers/mts64.c spin_lock_irq(&mts->lock); mts 436 sound/drivers/mts64.c uctl->value.integer.value[0] = mts->smpte_switch; mts 437 sound/drivers/mts64.c spin_unlock_irq(&mts->lock); mts 447 sound/drivers/mts64.c struct mts64 *mts = snd_kcontrol_chip(kctl); mts 451 sound/drivers/mts64.c spin_lock_irq(&mts->lock); mts 452 sound/drivers/mts64.c if (mts->smpte_switch == val) mts 456 sound/drivers/mts64.c mts->smpte_switch = val; mts 457 sound/drivers/mts64.c if (mts->smpte_switch) { mts 458 sound/drivers/mts64.c mts64_smpte_start(mts->pardev->port, mts 459 sound/drivers/mts64.c mts->time[0], mts->time[1], mts 460 sound/drivers/mts64.c mts->time[2], mts->time[3], mts 461 sound/drivers/mts64.c mts->fps); mts 463 sound/drivers/mts64.c mts64_smpte_stop(mts->pardev->port); mts 466 sound/drivers/mts64.c spin_unlock_irq(&mts->lock); mts 515 sound/drivers/mts64.c struct mts64 *mts = snd_kcontrol_chip(kctl); mts 518 sound/drivers/mts64.c spin_lock_irq(&mts->lock); mts 519 sound/drivers/mts64.c uctl->value.integer.value[0] = mts->time[idx]; mts 520 sound/drivers/mts64.c spin_unlock_irq(&mts->lock); mts 528 sound/drivers/mts64.c struct mts64 *mts = snd_kcontrol_chip(kctl); mts 533 sound/drivers/mts64.c spin_lock_irq(&mts->lock); mts 534 sound/drivers/mts64.c if (mts->time[idx] != time) { mts 536 sound/drivers/mts64.c mts->time[idx] = time; mts 538 sound/drivers/mts64.c spin_unlock_irq(&mts->lock); mts 601 sound/drivers/mts64.c struct mts64 *mts = snd_kcontrol_chip(kctl); mts 603 sound/drivers/mts64.c spin_lock_irq(&mts->lock); mts 604 sound/drivers/mts64.c uctl->value.enumerated.item[0] = mts->fps; mts 605 sound/drivers/mts64.c spin_unlock_irq(&mts->lock); mts 613 sound/drivers/mts64.c struct mts64 *mts = snd_kcontrol_chip(kctl); mts 618 sound/drivers/mts64.c spin_lock_irq(&mts->lock); mts 619 sound/drivers/mts64.c if (mts->fps != uctl->value.enumerated.item[0]) { mts 621 sound/drivers/mts64.c mts->fps = uctl->value.enumerated.item[0]; mts 623 sound/drivers/mts64.c spin_unlock_irq(&mts->lock); mts 641 sound/drivers/mts64.c struct mts64 *mts) mts 654 sound/drivers/mts64.c err = snd_ctl_add(card, snd_ctl_new1(control[i], mts)); mts 672 sound/drivers/mts64.c struct mts64 *mts = substream->rmidi->private_data; mts 674 sound/drivers/mts64.c if (mts->open_count == 0) { mts 678 sound/drivers/mts64.c mts64_device_open(mts); mts 682 sound/drivers/mts64.c ++(mts->open_count); mts 689 sound/drivers/mts64.c struct mts64 *mts = substream->rmidi->private_data; mts 692 sound/drivers/mts64.c --(mts->open_count); mts 693 sound/drivers/mts64.c if (mts->open_count == 0) { mts 696 sound/drivers/mts64.c spin_lock_irqsave(&mts->lock, flags); mts 697 sound/drivers/mts64.c mts64_device_close(mts); mts 698 sound/drivers/mts64.c spin_unlock_irqrestore(&mts->lock, flags); mts 702 sound/drivers/mts64.c } else if (mts->open_count < 0) mts 703 sound/drivers/mts64.c mts->open_count = 0; mts 711 sound/drivers/mts64.c struct mts64 *mts = substream->rmidi->private_data; mts 715 sound/drivers/mts64.c spin_lock_irqsave(&mts->lock, flags); mts 717 sound/drivers/mts64.c mts64_write_midi(mts, data, substream->number+1); mts 720 sound/drivers/mts64.c spin_unlock_irqrestore(&mts->lock, flags); mts 726 sound/drivers/mts64.c struct mts64 *mts = substream->rmidi->private_data; mts 729 sound/drivers/mts64.c spin_lock_irqsave(&mts->lock, flags); mts 731 sound/drivers/mts64.c mts->mode[substream->number] |= MTS64_MODE_INPUT_TRIGGERED; mts 733 sound/drivers/mts64.c mts->mode[substream->number] &= ~MTS64_MODE_INPUT_TRIGGERED; mts 735 sound/drivers/mts64.c spin_unlock_irqrestore(&mts->lock, flags); mts 753 sound/drivers/mts64.c struct mts64 *mts = card->private_data; mts 766 sound/drivers/mts64.c rmidi->private_data = mts; mts 772 sound/drivers/mts64.c mts->rmidi = rmidi; mts 792 sound/drivers/mts64.c mts->midi_input_substream[substream->number] = substream; mts 804 sound/drivers/mts64.c err = snd_mts64_ctl_create(card, mts); mts 814 sound/drivers/mts64.c struct mts64 *mts = ((struct snd_card*)private)->private_data; mts 819 sound/drivers/mts64.c spin_lock(&mts->lock); mts 820 sound/drivers/mts64.c ret = mts64_read(mts->pardev->port); mts 825 sound/drivers/mts64.c mts->current_midi_input_port = mts64_map_midi_input(data); mts 827 sound/drivers/mts64.c if (mts->current_midi_input_port == -1) mts 829 sound/drivers/mts64.c substream = mts->midi_input_substream[mts->current_midi_input_port]; mts 830 sound/drivers/mts64.c if (mts->mode[substream->number] & MTS64_MODE_INPUT_TRIGGERED) mts 834 sound/drivers/mts64.c spin_unlock(&mts->lock); mts 891 sound/drivers/mts64.c struct mts64 *mts = card->private_data; mts 892 sound/drivers/mts64.c struct pardevice *pardev = mts->pardev; mts 899 sound/drivers/mts64.c snd_mts64_free(mts); mts 908 sound/drivers/mts64.c struct mts64 *mts = NULL; mts 954 sound/drivers/mts64.c if ((err = snd_mts64_create(card, pardev, &mts)) < 0) { mts 958 sound/drivers/mts64.c card->private_data = mts;