Searched refs:amount (Results 1 – 5 of 5) sorted by relevance
/sound/pci/ctxfi/ |
D | ctresource.c | 23 get_resource(u8 *rscs, unsigned int amount, in get_resource() argument 29 for (i = 0, n = multi; i < amount; i++) { in get_resource() 40 if (i >= amount) { in get_resource() 80 err = get_resource(mgr->rscs, mgr->amount, n, ridx); in mgr_get_resource() 205 unsigned int amount, struct hw *hw) in rsc_mgr_init() argument 211 mgr->rscs = kzalloc(DIV_ROUND_UP(amount, 8), GFP_KERNEL); in rsc_mgr_init() 244 mgr->avail = mgr->amount = amount; in rsc_mgr_init() 286 mgr->avail = mgr->amount = 0; in rsc_mgr_uninit()
|
D | ctresource.h | 55 unsigned int amount; /* The total amount of a kind of resource */ member 64 unsigned int amount, struct hw *hw);
|
/sound/soc/codecs/ |
D | rt5677-spi.c | 275 static int rt5677_spi_copy(struct rt5677_dsp *rt5677_dsp, u32 amount) in rt5677_spi_copy() argument 280 if (amount == 0) in rt5677_spi_copy() 283 target = rt5677_dsp->mic_read_offset + amount; in rt5677_spi_copy()
|
/sound/synth/emux/ |
D | soundfont.c | 791 snd_sf_linear_to_log(unsigned int amount, int offset, int ratio) in snd_sf_linear_to_log() argument 796 if (amount < 2) in snd_sf_linear_to_log() 798 for (bit = 0; ! (amount & 0x80000000L); bit++) in snd_sf_linear_to_log() 799 amount <<= 1; in snd_sf_linear_to_log() 800 s = (amount >> 24) & 0x7f; in snd_sf_linear_to_log() 801 low = (amount >> 16) & 0xff; in snd_sf_linear_to_log()
|
/sound/soc/sh/ |
D | rz-ssi.c | 599 int amount; in rz_ssi_dma_transfer() local 616 amount = runtime->period_size; in rz_ssi_dma_transfer() 621 dma_size = frames_to_bytes(runtime, amount); in rz_ssi_dma_transfer() 639 strm->dma_buffer_pos += amount; in rz_ssi_dma_transfer()
|