Home
last modified time | relevance | path

Searched refs:bufbytes (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/sys/dev/audio/
H A Daudiobell.c114 u_int bufbytes; in audiobell() local
175 bufbytes = ptrack->usrbuf_blksize * NBLKHW; in audiobell()
176 if (bufbytes < MINBUFSIZE) in audiobell()
177 bufbytes = MINBUFSIZE; in audiobell()
178 else if (bufbytes > MAXBUFSIZE) in audiobell()
179 bufbytes = MAXBUFSIZE; in audiobell()
181 bufbytes = roundup(bufbytes, wave1bytes); in audiobell()
182 bufbytes = uimin(bufbytes, remainbytes); in audiobell()
183 KASSERT(bufbytes != 0); in audiobell()
184 buf = malloc(bufbytes, M_TEMP, M_WAITOK); in audiobell()
[all …]
/netbsd-src/sys/arch/arm/apple/
H A Dapple_iic.c116 uint8_t * const bufbytes = buf; in apple_iic_exec() local
155 bufbytes[i] = reg & I2C_MRXFIFO_DATA_MASK; in apple_iic_exec()
161 IIC_WRITE(sc, I2C_MTXFIFO, bufbytes[i]); in apple_iic_exec()
162 IIC_WRITE(sc, I2C_MTXFIFO, bufbytes[buflen - 1] | in apple_iic_exec()
/netbsd-src/sys/dev/pcmcia/
H A Dif_cnw.c743 int totbytes, buffer, bufbytes, bufptr, mbytes, n; in cnw_read() local
753 bufbytes = 0; in cnw_read()
793 if (bufbytes == 0) { in cnw_read()
795 bufbytes = read16(sc, buffer + 2); in cnw_read()
801 device_xname(sc->sc_dev), bufbytes, in cnw_read()
806 n = mbytes <= bufbytes ? mbytes : bufbytes; in cnw_read()
809 bufbytes -= n; in cnw_read()