Searched refs:rem (Results 1 – 7 of 7) sorted by relevance
/sound/soc/sof/ |
D | trace.c | 74 unsigned long rem; in sof_dfsentry_trace_read() local 106 rem = copy_to_user(buffer, ((u8 *)(dfse->buf) + lpos), count); in sof_dfsentry_trace_read() 107 if (rem) in sof_dfsentry_trace_read()
|
/sound/soc/meson/ |
D | axg-spdifin.c | 122 unsigned int reg, shift, rem; in axg_spdifin_write_mode_param() local 124 rem = do_div(offset, num_per_reg); in axg_spdifin_write_mode_param() 127 shift = width * (num_per_reg - 1 - rem); in axg_spdifin_write_mode_param()
|
/sound/pci/hda/ |
D | hda_controller.c | 352 u64 rem; in azx_scale64() local 354 rem = do_div(base, den); in azx_scale64() 357 rem *= num; in azx_scale64() 359 do_div(rem, den); in azx_scale64() 361 return base + rem; in azx_scale64()
|
/sound/soc/ti/ |
D | davinci-mcasp.c | 1104 int rem = sysclk_freq % bclk_freq; in davinci_mcasp_calc_clk_div() local 1116 rem = sysclk_freq % bclk_freq; in davinci_mcasp_calc_clk_div() 1123 if (rem != 0) { in davinci_mcasp_calc_clk_div() 1128 rem = rem - bclk_freq; in davinci_mcasp_calc_clk_div() 1131 error_ppm = (div*1000000 + (int)div64_long(1000000LL*rem, in davinci_mcasp_calc_clk_div()
|
/sound/soc/fsl/ |
D | fsl_asrc.c | 125 u32 rem, i; in fsl_asrc_divider_avail() local 135 rem = do_div(n, rate); in fsl_asrc_divider_avail() 140 if (rem != 0) in fsl_asrc_divider_avail()
|
/sound/pci/ |
D | cmipci.c | 919 unsigned int reg, rem, tries; in snd_cmipci_pcm_pointer() local 926 rem = snd_cmipci_read_w(cm, reg); in snd_cmipci_pcm_pointer() 927 if (rem < rec->dma_size) in snd_cmipci_pcm_pointer() 930 dev_err(cm->card->dev, "invalid PCM pointer: %#x\n", rem); in snd_cmipci_pcm_pointer() 933 ptr = (rec->dma_size - (rem + 1)) >> rec->shift; in snd_cmipci_pcm_pointer()
|
/sound/core/ |
D | control.c | 851 u64 rem; in sanity_check_int_value() local 890 div64_u64_rem(lval, lstep, &rem); in sanity_check_int_value() 891 if (rem) { in sanity_check_int_value()
|