Searched refs:bufbytes (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/sys/dev/audio/ |
H A D | audiobell.c | 114 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 D | apple_iic.c | 116 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 D | if_cnw.c | 743 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()
|