Home
last modified time | relevance | path

Searched refs:bufsiz (Results 1 – 4 of 4) sorted by relevance

/drivers/spi/
Dspidev.c92 static unsigned bufsiz = 4096; variable
93 module_param(bufsiz, uint, S_IRUGO);
94 MODULE_PARM_DESC(bufsiz, "data bytes in biggest supported SPI message");
160 if (count > bufsiz) in spidev_read()
191 if (count > bufsiz) in spidev_write()
251 if (rx_total > bufsiz) { in spidev_message()
265 if (tx_total > bufsiz) { in spidev_message()
603 spidev->tx_buffer = kmalloc(bufsiz, GFP_KERNEL); in spidev_open()
612 spidev->rx_buffer = kmalloc(bufsiz, GFP_KERNEL); in spidev_open()
/drivers/input/
Dmousedev.c108 unsigned char ready, buffer, bufsiz; member
597 client->bufsiz = 4; in mousedev_packet()
608 client->bufsiz = 4; in mousedev_packet()
618 client->bufsiz = 3; in mousedev_packet()
640 client->bufsiz++; /* account for leading ACK */ in mousedev_generate_response()
655 client->bufsiz = 2; in mousedev_generate_response()
660 client->bufsiz = 4; in mousedev_generate_response()
667 client->bufsiz = 3; in mousedev_generate_response()
671 client->bufsiz = 1; in mousedev_generate_response()
674 client->buffer = client->bufsiz; in mousedev_generate_response()
[all …]
/drivers/char/tpm/
Dtpm-interface.c331 ssize_t tpm_transmit(struct tpm_chip *chip, const u8 *buf, size_t bufsiz, in tpm_transmit() argument
338 if (bufsiz > TPM_BUFSIZE) in tpm_transmit()
339 bufsiz = TPM_BUFSIZE; in tpm_transmit()
345 if (count > bufsiz) { in tpm_transmit()
347 "invalid count value %x %zx\n", count, bufsiz); in tpm_transmit()
390 rc = chip->ops->recv(chip, (u8 *) buf, bufsiz); in tpm_transmit()
Dtpm.h505 ssize_t tpm_transmit(struct tpm_chip *chip, const u8 *buf, size_t bufsiz,