Home
last modified time | relevance | path

Searched refs:pt (Results 1 – 5 of 5) sorted by relevance

/sound/i2c/other/
Dpt2258.c46 int snd_pt2258_reset(struct snd_pt2258 *pt) in snd_pt2258_reset() argument
53 snd_i2c_lock(pt->i2c_bus); in snd_pt2258_reset()
54 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) in snd_pt2258_reset()
56 snd_i2c_unlock(pt->i2c_bus); in snd_pt2258_reset()
59 pt->mute = 1; in snd_pt2258_reset()
61 snd_i2c_lock(pt->i2c_bus); in snd_pt2258_reset()
62 if (snd_i2c_sendbytes(pt->i2c_dev, bytes, 1) != 1) in snd_pt2258_reset()
64 snd_i2c_unlock(pt->i2c_bus); in snd_pt2258_reset()
68 pt->volume[i] = 0; in snd_pt2258_reset()
71 snd_i2c_lock(pt->i2c_bus); in snd_pt2258_reset()
[all …]
/sound/pci/ice1712/
Drevo.c159 struct snd_pt2258 *pt) in revo51_i2c_init() argument
182 pt->card = ice->card; in revo51_i2c_init()
183 pt->i2c_bus = ice->i2c; in revo51_i2c_init()
184 pt->i2c_dev = spec->dev; in revo51_i2c_init()
185 spec->pt2258 = pt; in revo51_i2c_init()
187 snd_pt2258_reset(pt); in revo51_i2c_init()
/sound/usb/
Dpcm.c883 struct snd_interval *pt = hw_param_interval(params, SNDRV_PCM_HW_PARAM_PERIOD_TIME); in hw_check_valid_format() local
913 if (ptime > pt->max || (ptime == pt->max && pt->openmax)) { in hw_check_valid_format()
914 hwc_debug(" > check: ptime %u > max %u\n", ptime, pt->max); in hw_check_valid_format()
1145 unsigned int pt, ptmin; in setup_hw_info() local
1173 pt = 125 * (1 << fp->datainterval); in setup_hw_info()
1174 ptmin = min(ptmin, pt); in setup_hw_info()
/sound/isa/sb/
Demu8000_pcm.c338 int pt = calc_pitch_target(rec->pitch); in start_voice() local
352 temp = (temp << 8) | (pt << 16) | aux; in start_voice()
354 EMU8000_CPF_WRITE(hw, ch, pt << 16); in start_voice()
/sound/pci/riptide/
Driptide.c1491 unsigned int i, j, size, pages, f, pt, period; in snd_riptide_prepare() local
1505 pt = 0; in snd_riptide_prepare()
1517 addr = snd_pcm_sgbuf_get_addr(substream, ofs) + pt; in snd_riptide_prepare()
1519 pt = (pt + f) % PAGE_SIZE; in snd_riptide_prepare()
1520 if (pt == 0) in snd_riptide_prepare()