Home
last modified time | relevance | path

Searched refs:nsrc (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/sound/
Dbtaudio.c510 int nsrc, ndst, err, ret = 0; in btaudio_dsp_read() local
539 nsrc = (bta->read_count < hwcount) ? bta->read_count : hwcount; in btaudio_dsp_read()
540 if (nsrc > bta->buf_size - bta->read_offset) in btaudio_dsp_read()
541 nsrc = bta->buf_size - bta->read_offset; in btaudio_dsp_read()
542 ndst = nsrc >> bta->sampleshift; in btaudio_dsp_read()
547 if (copy_to_user(buffer + ret, bta->buf_cpu + bta->read_offset, nsrc)) { in btaudio_dsp_read()
599 hwcount -= nsrc; in btaudio_dsp_read()
600 bta->read_count -= nsrc; in btaudio_dsp_read()
601 bta->read_offset += nsrc; in btaudio_dsp_read()
/linux-2.4.37.9/drivers/video/
Dclgenfb.c3131 u_long nsrc, ndest; in clgen_BitBLT() local
3151 nsrc = (cury * line_length) + curx; in clgen_BitBLT()
3155 nsrc = cury * line_length + curx + nheight * line_length + nwidth; in clgen_BitBLT()
3194 vga_wgfx (regbase, CL_GR2C, (u_char) (nsrc & 0xff)); /* BLT src low */ in clgen_BitBLT()
3195 vga_wgfx (regbase, CL_GR2D, (u_char) (nsrc >> 8)); /* BLT src mid */ in clgen_BitBLT()
3196 vga_wgfx (regbase, CL_GR2E, (u_char) (nsrc >> 16)); /* BLT src hi */ in clgen_BitBLT()