Home
last modified time | relevance | path

Searched full:dice (Results 1 – 25 of 38) sorted by relevance

12

/linux/sound/firewire/dice/
H A Ddice.h3 * dice.h - a part of driver for Dice based devices
40 #include "dice-interface.h"
46 * In documents for ASICs called with a name of 'DICE':
47 * - ASIC for DICE II:
50 * - TCD2210/2210-E (so-called 'Dice Mini'):
53 * - TCD2220/2220-E (so-called 'Dice Jr.')
56 * - TCD3070-CH (so-called 'Dice III')
73 typedef int (*snd_dice_detect_formats_t)(struct snd_dice *dice);
125 int snd_dice_transaction_write(struct snd_dice *dice,
133 snd_dice_transaction_write_global(struct snd_dice * dice,unsigned int offset,void * buf,unsigned int len) snd_dice_transaction_write_global() argument
141 snd_dice_transaction_read_global(struct snd_dice * dice,unsigned int offset,void * buf,unsigned int len) snd_dice_transaction_read_global() argument
149 snd_dice_transaction_write_tx(struct snd_dice * dice,unsigned int offset,void * buf,unsigned int len) snd_dice_transaction_write_tx() argument
156 snd_dice_transaction_read_tx(struct snd_dice * dice,unsigned int offset,void * buf,unsigned int len) snd_dice_transaction_read_tx() argument
163 snd_dice_transaction_write_rx(struct snd_dice * dice,unsigned int offset,void * buf,unsigned int len) snd_dice_transaction_write_rx() argument
170 snd_dice_transaction_read_rx(struct snd_dice * dice,unsigned int offset,void * buf,unsigned int len) snd_dice_transaction_read_rx() argument
177 snd_dice_transaction_write_sync(struct snd_dice * dice,unsigned int offset,void * buf,unsigned int len) snd_dice_transaction_write_sync() argument
184 snd_dice_transaction_read_sync(struct snd_dice * dice,unsigned int offset,void * buf,unsigned int len) snd_dice_transaction_read_sync() argument
[all...]
H A DMakefile2 snd-dice-y := 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
[all...]
H A Ddice-alesis.c3 * dice-alesis.c - a part of driver for DICE based devices
8 #include "dice.h"
22 int snd_dice_detect_alesis_formats(struct snd_dice *dice) in snd_dice_detect_alesis_formats() argument
29 err = snd_dice_transaction_read_tx(dice, TX_NUMBER_AUDIO, &reg, in snd_dice_detect_alesis_formats()
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()
54 int snd_dice_detect_alesis_mastercontrol_formats(struct snd_dice *dice) in snd_dice_detect_alesis_mastercontrol_formats() argument
[all …]
H A Ddice-extension.c3 * dice-extension.c - a part of driver for DICE based devices
8 #include "dice.h"
50 static inline int read_transaction(struct snd_dice *dice, u64 section_addr, in read_transaction() argument
53 return snd_fw_transaction(dice->unit, in read_transaction()
59 static int read_stream_entries(struct snd_dice *dice, u64 section_addr, in read_stream_entries() argument
72 err = read_transaction(dice, section_addr, in read_stream_entries()
84 static int detect_stream_formats(struct snd_dice *dice, u64 section_addr) in detect_stream_formats() argument
107 if (!(cap & dice->clock_caps)) in detect_stream_formats()
112 err = read_transaction(dice, section_add in detect_stream_formats()
140 snd_dice_detect_extension_formats(struct snd_dice * dice) snd_dice_detect_extension_formats() argument
[all...]
H A Ddice-focusrite.c2 // dice-focusrite.c - a part of driver for DICE based devices
6 #include "dice.h"
8 int snd_dice_detect_focusrite_pro40_tcd3070_formats(struct snd_dice *dice) in snd_dice_detect_focusrite_pro40_tcd3070_formats() argument
12 dice->tx_pcm_chs[0][0] = 20; in snd_dice_detect_focusrite_pro40_tcd3070_formats()
13 dice->tx_midi_ports[0] = 1; in snd_dice_detect_focusrite_pro40_tcd3070_formats()
14 dice->rx_pcm_chs[0][0] = 20; in snd_dice_detect_focusrite_pro40_tcd3070_formats()
15 dice->rx_midi_ports[0] = 1; in snd_dice_detect_focusrite_pro40_tcd3070_formats()
17 dice->tx_pcm_chs[0][1] = 16; in snd_dice_detect_focusrite_pro40_tcd3070_formats()
18 dice->tx_midi_ports[1] = 1; in snd_dice_detect_focusrite_pro40_tcd3070_formats()
19 dice->rx_pcm_chs[0][1] = 16; in snd_dice_detect_focusrite_pro40_tcd3070_formats()
[all …]
H A Ddice-proc.c3 * dice_proc.c - a part of driver for Dice based devices
9 #include "dice.h"
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
117 if (dice_proc_read_mem(dice, sections, 0, ARRAY_SIZE(sections)) < 0) in dice_proc_read()
126 if (dice_proc_read_mem(dice, &buf.global, sections[0], quadlets) < 0) in dice_proc_read()
170 if (dice_proc_read_mem(dice, &tx_rx_header, sections[2], 2) < 0) in dice_proc_read()
174 if (dice_proc_read_mem(dice, &buf.tx, sections[2] + 2 + in dice_proc_read()
196 if (dice_proc_read_mem(dice, &tx_rx_header, sections[4], 2) < 0) in dice_proc_read()
[all …]
H A Ddice-mytek.c3 * dice-mytek.c - a part of driver for DICE based devices
8 #include "dice.h"
25 * they are missing here. An example is the Mytek 8x192 ADDA, which is DICE.
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()
H A Ddice-harman.c2 // dice-harman.c - a part of driver for DICE based devices
6 #include "dice.h"
8 int snd_dice_detect_harman_formats(struct snd_dice *dice) in snd_dice_detect_harman_formats() argument
17 dice->tx_pcm_chs[0][i] = 12; in snd_dice_detect_harman_formats()
18 dice->tx_midi_ports[0] = 1; in snd_dice_detect_harman_formats()
19 dice->rx_pcm_chs[0][i] = 10; in snd_dice_detect_harman_formats()
20 dice->rx_midi_ports[0] = 1; in snd_dice_detect_harman_formats()
H A Ddice-presonus.c2 // dice-presonus.c - a part of driver for DICE based devices
6 #include "dice.h"
20 int snd_dice_detect_presonus_formats(struct snd_dice *dice) in snd_dice_detect_presonus_formats() argument
33 fw_csr_iterator_init(&it, dice->unit->directory); in snd_dice_detect_presonus_formats()
49 memcpy(dice->tx_pcm_chs, entry->spec->tx_pcm_chs, in snd_dice_detect_presonus_formats()
51 memcpy(dice->rx_pcm_chs, entry->spec->rx_pcm_chs, in snd_dice_detect_presonus_formats()
55 dice->tx_midi_ports[0] = 1; in snd_dice_detect_presonus_formats()
56 dice->rx_midi_ports[0] = 1; in snd_dice_detect_presonus_formats()
H A Ddice-tcelectronic.c3 * dice-tc_electronic.c - a part of driver for DICE based devices
8 #include "dice.h"
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()
H A Ddice-weiss.c2 // dice-weiss.c - a part of driver for DICE based devices
6 #include "dice.h"
61 int snd_dice_detect_weiss_formats(struct snd_dice *dice) in snd_dice_detect_weiss_formats() argument
82 fw_csr_iterator_init(&it, dice->unit->directory); in snd_dice_detect_weiss_formats()
98 memcpy(dice->tx_pcm_chs, entry->spec->tx_pcm_chs, in snd_dice_detect_weiss_formats()
100 memcpy(dice->rx_pcm_chs, entry->spec->rx_pcm_chs, in snd_dice_detect_weiss_formats()
H A Ddice-interface.h6 * DICE device interface definitions
15 * All values are in big endian. The DICE firmware runs on a little-endian CPU
21 * Streaming is handled by the "DICE driver" interface. Its registers are
185 * The version of the DICE driver specification that this device conforms to;
260 * SCODE_800 is only available in Dice III.
/linux/Documentation/devicetree/bindings/reserved-memory/
H A Dgoogle,open-dice.yaml4 $id: http://devicetree.org/schemas/reserved-memory/google,open-dice.yaml#
7 title: Open Profile for DICE
11 generated by the Open Profile for DICE protocol.
13 See https://pigweed.googlesource.com/open-dice/
23 const: google,open-dice
26 description: page-aligned region of memory containing DICE data
41 dice: dice@12340000 {
42 compatible = "google,open-dice";
/linux/drivers/misc/
H A Dopen-dice.c6 * Driver for Open Profile for DICE.
9 * generated by the Open Profile for DICE measured boot protocol. The memory
29 #define DRIVER_NAME "open-dice"
176 { .compatible = "google,open-dice" },
192 /* DICE regions are optional. Succeed even with zero instances. */ in open_dice_init()
204 MODULE_DESCRIPTION("Driver for Open Profile for DICE.");
H A DKconfig517 tristate "Open Profile for DICE driver"
521 This driver exposes a DICE reserved memory region to userspace via
523 Identifiers (CDIs) generated by firmware as an output of DICE
/linux/sound/firewire/
H A DKconfig17 tristate "DICE-based DACs support"
21 Say Y here to include support for devices based on the DICE chip family
22 (DICE-II/TCD2210(Mini)/TCD2220(Jr.)) which TC Applied Technologies (TCAT) produced.
42 will be called snd-dice.
H A DMakefile10 obj-$(CONFIG_SND_DICE) += dice/
H A Damdtp-am824.c80 * event equals to one PCM frame. But Dice has a quirk at higher in amdtp_am824_set_parameters()
/linux/Documentation/translations/it_IT/process/
H A Dmanagement-style.rst50 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
/linux/Documentation/translations/sp_SP/process/
H A Dmanagement-style.rst51 particular, si alguien te dice “elige (a) o (b), realmente necesitamos
118 pone los ojos y dice “Ups, otra vez no”.
H A Dkernel-docs.rst138 :Descripción: El título lo dice todo (Noticias Semanales de Linux).
H A Dcoding-style.rst382 En cambio, si dice
1015 valor potencial de la pista que le dice a gcc que haga algo que habría
/linux/Documentation/accounting/
H A Dpsi.rst15 roll the dice and frequently suffer the disruptions resulting from
/linux/include/uapi/sound/
H A Dfirewire.h30 unsigned int notification; /* DICE-specific bits */
/linux/drivers/mtd/spi-nor/
H A Dsfdp.c1349 * additional die. Hence, length = 2 * (number of additional dice).
1353 /* Address offset for volatile registers of additional dice */

12