Home
last modified time | relevance | path

Searched +full:off +full:- +full:codec (Results 1 – 19 of 19) sorted by relevance

/titanic_41/usr/src/uts/sun/io/audio/drv/audiocs/
H A Daudio_4231.c30 * This Audio Driver controls the Crystal CS4231 Codec used on many SPARC
50 * shut off by the mixer.
186 0x3f, 0x3e, 0x3d, 0x3c, 0x3b, /* [000] -> [004] */
187 0x3a, 0x39, 0x38, 0x37, 0x36, /* [005] -> [009] */
188 0x35, 0x34, 0x33, 0x32, 0x31, /* [010] -> [014] */
189 0x30, 0x2f, 0x2e, 0x2d, 0x2c, /* [015] -> [019] */
190 0x2b, 0x2a, 0x29, 0x29, 0x28, /* [020] -> [024] */
191 0x28, 0x27, 0x27, 0x26, 0x26, /* [025] -> [029] */
192 0x25, 0x25, 0x24, 0x24, 0x23, /* [030] -> [034] */
193 0x23, 0x22, 0x22, 0x21, 0x21, /* [035] -> [039] */
[all …]
H A Daudio_4231_eb2dma.c116 dev_info_t *dip = state->cs_dip; in eb2_map_regs()
118 /* now, map the codec */ in eb2_map_regs()
119 if (ddi_regs_map_setup(dip, 0, (caddr_t *)&state->cs_regs, 0, in eb2_map_regs()
122 audio_dev_warn(state->cs_adev, "failed mapping codec regs"); in eb2_map_regs()
127 if (ddi_regs_map_setup(dip, 1, (caddr_t *)&state->cs_eb2_regs.play, 0, in eb2_map_regs()
130 audio_dev_warn(state->cs_adev, "failed mapping play regs"); in eb2_map_regs()
133 state->cs_engines[CS4231_PLAY]->ce_regsh = EB2_PLAY_HNDL; in eb2_map_regs()
134 state->cs_engines[CS4231_PLAY]->ce_eb2regs = state->cs_eb2_regs.play; in eb2_map_regs()
137 if (ddi_regs_map_setup(dip, 2, (caddr_t *)&state->cs_eb2_regs.record, 0, in eb2_map_regs()
140 audio_dev_warn(state->cs_adev, "failed mapping rec regs"); in eb2_map_regs()
[all …]
H A Daudio_4231_apcdma.c111 dev_info_t *dip = state->cs_dip; in apc_map_regs()
114 if (ddi_regs_map_setup(dip, 0, (caddr_t *)&state->cs_regs, 0, in apc_map_regs()
116 audio_dev_warn(state->cs_adev, "ddi_regs_map_setup() failed"); in apc_map_regs()
130 * This routine unmaps the Codec's and DMA engine's registers.
190 * CAUTION: ?!? This routine doesn't start the Codec because the first
203 CS_state_t *state = eng->ce_state; in apc_start_engine()
210 ASSERT(mutex_owned(&state->cs_lock)); in apc_start_engine()
212 if (eng->ce_num == CS4231_PLAY) { in apc_start_engine()
227 audio_dev_warn(state->cs_adev, in apc_start_engine()
269 CS_state_t *state = eng->ce_state; in apc_stop_engine()
[all …]
H A Daudio_4231.h44 #define CS_DEV_VERSION_B "b" /* Electron - internal loopback */
46 #define CS_DEV_VERSION_D "d" /* PowerPC - Retired */
47 #define CS_DEV_VERSION_E "e" /* x86 - Retired */
80 * 4231. One handle provides access the CODEC and the DMA engine's
98 #define APC_DMACSR state->cs_regs->apc.dmacsr
99 #define APC_DMACVA state->cs_regs->apc.dmacva
100 #define APC_DMACC state->cs_regs->apc.dmacc
101 #define APC_DMACNVA state->cs_regs->apc.dmacnva
102 #define APC_DMACNC state->cs_regs->apc.dmacnc
103 #define APC_DMAPVA state->cs_regs->apc.dmapva
[all …]
/titanic_41/usr/src/uts/common/io/audio/drv/audiots/
H A Daudiots.c34 * not available because their pins have been re-assigned to expose
36 * ports. The audio core controls an AC-97 V2.1 Codec.
45 * The audio core has a bug in silicon that doesn't let it read the AC-97
46 * Codec's register. T2 has provided an algorithm that attempts to read the
47 * the Codec several times. This is probably heuristic and thus isn't
50 * the loop. Unfortunately there is also a problem with writing the AC-97
51 * Codec's registers as well. Thus we read it back to verify the write.
55 * to determine codec id and capabilities.)
69 * the mixer on and off the only thing that changes is the sample rate.
72 * must always be 16-bits. This will keep any future change in the
[all …]
/titanic_41/usr/src/uts/common/io/audio/drv/audiocmihd/
H A Daudiocmihd.c32 * Copyright (C) 4Front Technologies 1996-2011.
153 vol = (vol * ((1 << bits) - 1)) / 100; in mix_scale()
164 mutex_enter(&devc->low_mutex); in cmediahd_read_ac97()
167 val |= 0 << 24; /* codec 0 or codec 1 */ in cmediahd_read_ac97()
172 mutex_exit(&devc->low_mutex); in cmediahd_read_ac97()
182 mutex_enter(&devc->low_mutex); in cmediahd_write_ac97()
186 val |= 0 << 24; /* on board codec or frontpanel */ in cmediahd_write_ac97()
190 mutex_exit(&devc->low_mutex); in cmediahd_write_ac97()
201 mutex_enter(&devc->low_mutex);
209 mutex_exit(&devc->low_mutex);
[all …]
/titanic_41/usr/src/uts/common/io/audio/ac97/
H A Dac97.c22 * Copyright (C) 4Front Technologies 1996-2008.
51 * Audio Base Registers: 0x00 - 0x26
52 * Audio Extended Registers: 0x28 - 0x3A
53 * Modem Extended Registers: 0x3C - 0x58
54 * Vendor Reserved Registers: 0x5A - 0x5F
55 * Page Registers: 0x60 - 0x6F
56 * Vendor Reserved Registers: 0x70 - 0x7A
57 * Vendor ID Registers: 0x7C - 0x7F
60 * TBD: Handling of codec-specific registers in vendor reserved space.
65 #define SHADOW(ac, reg) ((ac)->shadow[((reg) / sizeof (uint16_t))])
[all …]
/titanic_41/usr/src/uts/common/io/audio/drv/audioixp/
H A Daudioixp.c139 nulldev, /* devo_identify - obsolete */
186 8, /* align, BDL must be aligned on a 8-byte boundary */
191 1, /* sgllen, there's no scatter-gather list */
204 4, /* align, data buffer is aligned on a 2-byte boundary */
209 1, /* sgllen, no scatter-gather */
246 * Module de-initialization, called when the driver is to be unloaded.
355 * This function is called when the system is single-threaded at high
386 audio_dev_suspend(statep->adev); in audioixp_suspend()
400 audio_dev_warn(statep->adev, "DDI_RESUME failed to init chip"); in audioixp_resume()
404 ac97_reset(statep->ac97); in audioixp_resume()
[all …]
/titanic_41/usr/src/uts/common/io/audio/drv/audiohd/
H A Daudiohd.c208 devid = pci_config_get16(statep->hda_pci_handle, PCI_CONF_VENID); in audiohd_set_chipset_info()
210 devid |= pci_config_get16(statep->hda_pci_handle, PCI_CONF_DEVID); in audiohd_set_chipset_info()
211 statep->devid = devid; in audiohd_set_chipset_info()
299 audio_dev_set_description(statep->adev, name); in audiohd_set_chipset_info()
300 audio_dev_set_version(statep->adev, vers); in audiohd_set_chipset_info()
327 mutex_init(&statep->hda_mutex, NULL, MUTEX_DRIVER, 0); in audiohd_attach()
328 mutex_enter(&statep->hda_mutex); in audiohd_attach()
338 audio_dev_warn(statep->adev, in audiohd_attach()
346 audio_dev_warn(statep->adev, in audiohd_attach()
352 audio_dev_warn(statep->adev, in audiohd_attach()
[all …]
H A Daudiohd.h51 * codec special initial flags
80 #define AUDIOHDC_NULL_NODE -1
81 #define AUDIOHD_NULL_CONN ((uint_t)(-1))
86 /* Power On/Off */
90 /* Pin speaker On/Off */
169 #define AUDIOHD_ROUNDUP(x, algn) (((x) + ((algn) - 1)) & ~((algn) - 1))
310 * HD audio verbs can be either 12-bit or 4-bit in length.
321 * 12-bit verbs
379 * 4-bit verbs
476 #define AUDIOHD_CODEC_FAILURE (uint32_t)(-1)
[all …]
/titanic_41/usr/src/lib/libsqlite/test/
H A Dpragma.test30 do_test pragma-1.1 {
38 do_test pragma-1.2 {
47 do_test pragma-1.3 {
57 do_test pragma-1.4 {
59 PRAGMA synchronous=OFF;
66 do_test pragma-1.5 {
75 do_test pragma-1.6 {
84 do_test pragma-1.7 {
94 do_test pragma-1.8 {
96 PRAGMA default_synchronous=OFF;
[all …]
/titanic_41/usr/src/uts/common/io/audio/drv/audio810/
H A Daudio810.c43 * samples. This, combined with the 16-bit sample size, gives the
46 * A workaround for the AD1980 and AD1985 codec:
47 * Most vendors connect the surr-out of the codecs to the line-out jack.
49 * all vendors swap the surr-out and the line-out outputs. So we need swap
51 * "ad198x-swap-output" property. If someday some vendors do not swap the
52 * outputs, we would set "ad198x-swap-output = 0" in the
161 nulldev, /* devo_identify - obsolete */
209 8, /* align, BDL must be aligned on a 8-byte boundary */
214 1, /* sgllen, there's no scatter-gather list */
227 4, /* align, data buffer is aligned on a 4-byte boundary */
[all …]
/titanic_41/usr/src/uts/common/io/audio/drv/audio1575/
H A Daudio1575.c43 * the number of samples. This, combined with the 16-bit sample size,
136 nulldev, /* devo_identify - obsolete */
184 0x000000000000ffffLL, /* DMA counter register - 64 bits */
185 0x0000000000000008LL, /* DMA address align must be 8-bytes */
202 0x000000000001fffeLL, /* DMA counter register - 16 bits */
203 0x0000000000000004LL, /* DMA address align 2-byte boundary */
244 * Module de-initialization, called when the driver is to be unloaded.
390 port->count = 0; in audio1575_open()
391 *nframesp = port->nframes; in audio1575_open()
392 *bufp = port->samp_kaddr; in audio1575_open()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Daudioio.h56 uint_t precision; /* bit-width of each sample */
62 uint_t gain; /* gain level: 0 - 255 */
76 uchar_t pause; /* non-zero for pause, zero to resume */
77 uchar_t error; /* non-zero if overflow/underflow */
78 uchar_t waiting; /* non-zero if a process wants access */
84 * The following values are read-only state flags
86 uchar_t open; /* non-zero if open access permitted */
87 uchar_t active; /* non-zero if I/O is active */
97 * Per-stream information
103 * Per-unit/channel information
[all …]
/titanic_41/usr/src/lib/libsqlite/src/
H A Dpager.c37 ** Macros for troubleshooting. Normally turned off
91 ** Each in-memory image of a page begins with the following header.
129 ** A macro used for invoking the codec if there is one
132 # define CODEC(P,D,N,X) if( P->xCodec ){ P->xCodec(P->pCodecArg,D,N,X); } macro
134 # define CODEC(P,D,N,X) macro
142 #define DATA_TO_PGHDR(D) (&((PgHdr*)(D))[-1])
146 ** How big to make the hash table used for locating in-memory pages
154 #define pager_hash(PN) ((PN)&(N_PG_HASH-1))
170 u32 cksumInit; /* Quasi-random value added to every checksum */
172 int nExtra; /* Add this many bytes to each in-memory page */
[all …]
/titanic_41/usr/src/uts/common/io/audio/drv/audiovia97/
H A Daudiovia97.c32 * Copyright (C) 4Front Technologies 1996-2009.
139 OUTL(devc, devc->base + AC97CODEC, addr); in via97_read_ac97()
142 /* Check AC CODEC access time out */ in via97_read_ac97()
145 if (INL(devc, devc->base + AC97CODEC) & STA_VALID) in via97_read_ac97()
154 tmp = INL(devc, devc->base + AC97CODEC); in via97_read_ac97()
155 OUTB(devc, devc->base + AC97CODEC + 3, 0x02); in via97_read_ac97()
170 OUTL(devc, devc->base + AC97CODEC, value); in via97_write_ac97()
173 /* Check AC CODEC access time out */ in via97_write_ac97()
176 if (!(INL(devc, devc->base + AC97CODEC) & IN_CMD)) in via97_write_ac97()
193 portc->count = 0; in via97_open()
[all …]
/titanic_41/usr/src/uts/common/io/audio/drv/audiols/
H A Daudiols.c30 * Copyright (C) 4Front Technologies 1996-2009.
117 * need to suppress controls that the AC'97 codec registers.
119 * Furthermore, even then the AC'97 codec offers inputs that we just
153 mutex_enter(&dev->low_mutex); in read_chan()
158 mutex_exit(&dev->low_mutex); in read_chan()
166 mutex_enter(&dev->low_mutex); in write_chan()
171 mutex_exit(&dev->low_mutex); in write_chan()
194 mutex_enter(&dev->low_mutex); in audigyls_read_ac97()
201 mutex_exit(&dev->low_mutex); in audigyls_read_ac97()
205 mutex_exit(&dev->low_mutex); in audigyls_read_ac97()
[all …]
/titanic_41/usr/src/data/hwdata/
H A Dusb.ids6 # http://www.linux-usb.org/usb-ids.html
7 # or send entries as patches (diff -u old new) in the
10 # http://www.linux-usb.org/usb.ids
13 # Date: 2018-10-23 20:34:06
20 # device device_name <-- single tab
21 # interface interface_name <-- two tabs
31 5301 GW-US54ZGL 802.11bg
44 145f NW-3100 802.11b/g 54Mbps Wireless Network Adapter [zd1211]
52 0200 TP-Link
69 03d9 Shenzhen Sinote Tech-Electron Co., Ltd
[all …]
H A Dpci.ids5 # Date: 2018-10-25 03:15:02
8 # the PCI ID Project at https://pci-ids.ucw.cz/.
14 # (version 2 or higher) or the 3-clause BSD License.
21 # device device_name <-- single tab
22 # subvendor subdevice subsystem_name <-- two tabs
26 # This is a relabelled RTL-8139
27 8139 AT-2500TX V3 Ethernet
37 7a09 PCI-to-PCI Bridge
43 7a19 PCI-to-PCI Bridge
45 7a29 PCI-to-PCI Bridge
[all …]