/linux/sound/firewire/dice/ |
A D | dice-stream.c | 48 if (!(dice->clock_caps & BIT(i))) in snd_dice_stream_get_rate_mode() 287 release_resources(dice); in snd_dice_stream_reserve_duplex() 320 release_resources(dice); in snd_dice_stream_reserve_duplex() 482 release_resources(dice); in snd_dice_stream_stop_duplex() 597 dice->global_enabled = false; in snd_dice_stream_update_duplex() 673 wake_up(&dice->hwdep_wait); in dice_lock_changed() 680 spin_lock_irq(&dice->lock); in snd_dice_stream_lock_try() 688 dice_lock_changed(dice); in snd_dice_stream_lock_try() 691 spin_unlock_irq(&dice->lock); in snd_dice_stream_lock_try() 697 spin_lock_irq(&dice->lock); in snd_dice_stream_lock_release() [all …]
|
A D | dice-transaction.c | 16 offset += dice->tx_offset; in get_subaddr() 19 offset += dice->rx_offset; in get_subaddr() 22 offset += dice->sync_offset; in get_subaddr() 25 offset += dice->rsrv_offset; in get_subaddr() 29 offset += dice->global_offset; in get_subaddr() 101 if (dice->global_enabled) in snd_dice_transaction_set_enable() 113 dice->global_enabled = true; in snd_dice_transaction_set_enable() 160 wake_up(&dice->hwdep_wait); in dice_notification() 185 get_subaddr(dice, in register_notification_address() 325 dice->clock_caps = 1; in get_subaddrs() [all …]
|
A D | dice.h | 125 int snd_dice_transaction_write(struct snd_dice *dice, 129 int snd_dice_transaction_read(struct snd_dice *dice, 137 return snd_dice_transaction_write(dice, in snd_dice_transaction_write_global() 145 return snd_dice_transaction_read(dice, in snd_dice_transaction_read_global() 197 int snd_dice_transaction_init(struct snd_dice *dice); 198 int snd_dice_transaction_reinit(struct snd_dice *dice); 216 int snd_dice_stream_lock_try(struct snd_dice *dice); 219 int snd_dice_create_pcm(struct snd_dice *dice); 221 int snd_dice_create_hwdep(struct snd_dice *dice); 223 void snd_dice_create_proc(struct snd_dice *dice); [all …]
|
A D | dice-hwdep.c | 18 spin_lock_irq(&dice->lock); in hwdep_read() 20 while (!dice->dev_lock_changed && dice->notification_bits == 0) { in hwdep_read() 22 spin_unlock_irq(&dice->lock); in hwdep_read() 27 spin_lock_irq(&dice->lock); in hwdep_read() 31 if (dice->dev_lock_changed) { in hwdep_read() 62 spin_lock_irq(&dice->lock); in hwdep_poll() 63 if (dice->dev_lock_changed || dice->notification_bits != 0) in hwdep_poll() 95 spin_lock_irq(&dice->lock); in hwdep_lock() 116 dice->dev_lock_count = 0; in hwdep_unlock() 133 dice->dev_lock_count = 0; in hwdep_release() [all …]
|
A D | dice-pcm.c | 199 mutex_lock(&dice->mutex); in pcm_open() 244 mutex_unlock(&dice->mutex); in pcm_open() 274 mutex_lock(&dice->mutex); in pcm_hw_params() 284 mutex_unlock(&dice->mutex); in pcm_hw_params() 294 mutex_lock(&dice->mutex); in pcm_hw_free() 301 mutex_unlock(&dice->mutex); in pcm_hw_free() 312 mutex_lock(&dice->mutex); in capture_prepare() 314 mutex_unlock(&dice->mutex); in capture_prepare() 326 mutex_lock(&dice->mutex); in playback_prepare() 328 mutex_unlock(&dice->mutex); in playback_prepare() [all …]
|
A D | dice-midi.c | 14 err = snd_dice_stream_lock_try(dice); in midi_open() 18 mutex_lock(&dice->mutex); in midi_open() 22 ++dice->substreams_counter; in midi_open() 25 --dice->substreams_counter; in midi_open() 28 mutex_unlock(&dice->mutex); in midi_open() 40 mutex_lock(&dice->mutex); in midi_close() 42 --dice->substreams_counter; in midi_close() 43 snd_dice_stream_stop_duplex(dice); in midi_close() 45 mutex_unlock(&dice->mutex); in midi_close() 125 err = snd_rawmidi_new(dice->card, dice->card->driver, 0, in snd_dice_create_midi() [all …]
|
A D | dice.c | 79 if (dice->clock_caps > 0) { in check_clock_caps() 140 fw_unit_put(dice->unit); in dice_card_free() 146 struct snd_dice *dice; in dice_probe() local 161 dice = card->private_data; in dice_probe() 164 dice->card = card; in dice_probe() 180 mutex_init(&dice->mutex); in dice_probe() 192 dice_card_strings(dice); in dice_probe() 194 err = detect_formats(dice); in dice_probe() 202 snd_dice_create_proc(dice); in dice_probe() 231 snd_card_free(dice->card); in dice_remove() [all …]
|
A D | dice-alesis.c | 36 memcpy(dice->tx_pcm_chs, alesis_io14_tx_pcm_chs, in snd_dice_detect_alesis_formats() 40 memcpy(dice->tx_pcm_chs, alesis_io26_tx_pcm_chs, in snd_dice_detect_alesis_formats() 46 dice->rx_pcm_chs[0][i] = 8; in snd_dice_detect_alesis_formats() 48 dice->tx_midi_ports[0] = 1; in snd_dice_detect_alesis_formats() 49 dice->rx_midi_ports[0] = 1; in snd_dice_detect_alesis_formats() 58 dice->tx_pcm_chs[0][SND_DICE_RATE_MODE_LOW] = 16; in snd_dice_detect_alesis_mastercontrol_formats() 59 dice->tx_pcm_chs[1][SND_DICE_RATE_MODE_LOW] = 12; in snd_dice_detect_alesis_mastercontrol_formats() 66 dice->rx_pcm_chs[0][i] = 6; in snd_dice_detect_alesis_mastercontrol_formats() 67 dice->rx_pcm_chs[1][i] = 0; in snd_dice_detect_alesis_mastercontrol_formats() 71 dice->tx_midi_ports[i] = 2; in snd_dice_detect_alesis_mastercontrol_formats() [all …]
|
A D | Makefile | 2 snd-dice-objs := dice-transaction.o dice-stream.o dice-proc.o dice-midi.o \ 3 dice-pcm.o dice-hwdep.o dice.o dice-tcelectronic.o \ 4 dice-alesis.o dice-extension.o dice-mytek.o dice-presonus.o \ 5 dice-harman.o 6 obj-$(CONFIG_SND_DICE) += snd-dice.o
|
A D | dice-extension.c | 53 return snd_fw_transaction(dice->unit, in read_transaction() 72 err = read_transaction(dice, section_addr, in read_stream_entries() 107 if (!(cap & dice->clock_caps)) in detect_stream_formats() 112 err = read_transaction(dice, section_addr, in detect_stream_formats() 120 err = read_stream_entries(dice, section_addr, base_offset, in detect_stream_formats() 122 dice->tx_pcm_chs, in detect_stream_formats() 123 dice->tx_midi_ports); in detect_stream_formats() 129 err = read_stream_entries(dice, section_addr, base_offset, in detect_stream_formats() 131 mode, dice->rx_pcm_chs, in detect_stream_formats() 132 dice->rx_midi_ports); in detect_stream_formats() [all …]
|
A D | dice-proc.c | 11 static int dice_proc_read_mem(struct snd_dice *dice, void *buffer, in dice_proc_read_mem() argument 17 err = snd_fw_transaction(dice->unit, TCODE_READ_BLOCK_REQUEST, in dice_proc_read_mem() 70 struct snd_dice *dice = entry->private_data; in dice_proc_read() local 224 if (dice_proc_read_mem(dice, &buf.ext_sync, in dice_proc_read() 253 struct snd_dice *dice = entry->private_data; in dice_proc_read_formation() local 263 snd_iprintf(buffer, "\t%u", dice->tx_pcm_chs[i][j]); in dice_proc_read_formation() 274 snd_iprintf(buffer, "\t%u", dice->rx_pcm_chs[i][j]); in dice_proc_read_formation() 288 snd_info_set_text_ops(entry, dice, op); in add_node() 291 void snd_dice_create_proc(struct snd_dice *dice) in snd_dice_create_proc() argument 300 dice->card->proc_root); in snd_dice_create_proc() [all …]
|
A D | dice-harman.c | 10 int snd_dice_detect_harman_formats(struct snd_dice *dice) in snd_dice_detect_harman_formats() argument 19 dice->tx_pcm_chs[0][i] = 12; in snd_dice_detect_harman_formats() 20 dice->tx_midi_ports[0] = 1; in snd_dice_detect_harman_formats() 21 dice->rx_pcm_chs[0][i] = 10; in snd_dice_detect_harman_formats() 22 dice->rx_midi_ports[0] = 1; in snd_dice_detect_harman_formats()
|
A D | dice-presonus.c | 22 int snd_dice_detect_presonus_formats(struct snd_dice *dice) in snd_dice_detect_presonus_formats() argument 35 fw_csr_iterator_init(&it, dice->unit->directory); in snd_dice_detect_presonus_formats() 51 memcpy(dice->tx_pcm_chs, entry->spec->tx_pcm_chs, in snd_dice_detect_presonus_formats() 53 memcpy(dice->rx_pcm_chs, entry->spec->rx_pcm_chs, in snd_dice_detect_presonus_formats() 57 dice->tx_midi_ports[0] = 1; in snd_dice_detect_presonus_formats() 58 dice->rx_midi_ports[0] = 1; in snd_dice_detect_presonus_formats()
|
A D | dice-mytek.c | 28 int snd_dice_detect_mytek_formats(struct snd_dice *dice) in snd_dice_detect_mytek_formats() argument 35 memcpy(dice->tx_pcm_chs, dev->tx_pcm_chs, in snd_dice_detect_mytek_formats() 37 memcpy(dice->rx_pcm_chs, dev->rx_pcm_chs, in snd_dice_detect_mytek_formats() 41 dice->tx_midi_ports[i] = 0; in snd_dice_detect_mytek_formats() 42 dice->rx_midi_ports[i] = 0; in snd_dice_detect_mytek_formats()
|
A D | dice-tcelectronic.c | 58 int snd_dice_detect_tcelectronic_formats(struct snd_dice *dice) in snd_dice_detect_tcelectronic_formats() argument 77 fw_csr_iterator_init(&it, dice->unit->directory); in snd_dice_detect_tcelectronic_formats() 93 memcpy(dice->tx_pcm_chs, entry->spec->tx_pcm_chs, in snd_dice_detect_tcelectronic_formats() 95 memcpy(dice->rx_pcm_chs, entry->spec->rx_pcm_chs, in snd_dice_detect_tcelectronic_formats() 99 dice->tx_midi_ports[0] = 1; in snd_dice_detect_tcelectronic_formats() 100 dice->rx_midi_ports[0] = 1; in snd_dice_detect_tcelectronic_formats()
|
/linux/sound/firewire/ |
A D | Makefile | 10 obj-$(CONFIG_SND_DICE) += dice/
|
A D | Kconfig | 42 will be called snd-dice.
|
/linux/Documentation/translations/it_IT/process/ |
A D | management-style.rst | 50 se qualcuno vi chiede di "Decidere" tra (a) o (b), e vi dice che ha 95 - avere qualcuno che ti dice che ciò su cui hai lavorato nell'ultimo anno
|
A D | maintainer-pgp-guide.rst | 692 "Autore" dice che sei stato tu, mentre tu sei abbastanza sicuro di
|
A D | submitting-patches.rst | 428 poi dovete solo aggiungere una riga che dice::
|
/linux/Documentation/accounting/ |
A D | psi.rst | 15 roll the dice and frequently suffer the disruptions resulting from
|
/linux/Documentation/translations/it_IT/kernel-hacking/ |
A D | hacking.rst | 236 - Avete abilitato le interruzioni (in realtà, Andy Kleen dice che
|
A D | locking.rst | 894 leggendo solamente il codice. E come dice Alan Cox: “Lock data, not code”.
|