| /drivers/char/tpm/ |
| A D | tpm-interface.c | 92 static ssize_t tpm_try_transmit(struct tpm_chip *chip, void *buf, size_t bufsiz) in tpm_try_transmit() argument 100 if (bufsiz < TPM_HEADER_SIZE) in tpm_try_transmit() 103 if (bufsiz > TPM_BUFSIZE) in tpm_try_transmit() 104 bufsiz = TPM_BUFSIZE; in tpm_try_transmit() 110 if (count > bufsiz) { in tpm_try_transmit() 112 "invalid count value %x %zx\n", count, bufsiz); in tpm_try_transmit() 116 rc = chip->ops->send(chip, buf, bufsiz, count); in tpm_try_transmit() 174 len = chip->ops->recv(chip, buf, bufsiz); in tpm_try_transmit() 204 ssize_t tpm_transmit(struct tpm_chip *chip, u8 *buf, size_t bufsiz) in tpm_transmit() argument 212 const size_t save_size = min(sizeof(save), bufsiz); in tpm_transmit() [all …]
|
| A D | tpm_svsm.c | 28 static int tpm_svsm_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_svsm_send() argument 49 return svsm_vtpm_cmd_response_parse(priv->buffer, buf, bufsiz); in tpm_svsm_send()
|
| A D | tpm-dev-common.c | 25 u8 *buf, size_t bufsiz) in tpm_dev_transmit() argument 33 ret = tpm2_prepare_space(chip, space, buf, bufsiz); in tpm_dev_transmit() 47 len = tpm_transmit(chip, buf, bufsiz); in tpm_dev_transmit()
|
| A D | tpm_ftpm_tee.c | 45 static int ftpm_tee_tpm_op_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in ftpm_tee_tpm_op_send() argument 132 if (resp_len > bufsiz) { in ftpm_tee_tpm_op_send() 135 __func__, resp_len, bufsiz); in ftpm_tee_tpm_op_send()
|
| A D | tpm2-space.c | 541 void *buf, size_t *bufsiz) in tpm2_commit_space() argument 549 rc = tpm2_map_response_header(chip, chip->last_cc, buf, *bufsiz); in tpm2_commit_space() 555 rc = tpm2_map_response_body(chip, chip->last_cc, buf, *bufsiz); in tpm2_commit_space() 567 *bufsiz = be32_to_cpu(header->length); in tpm2_commit_space()
|
| A D | tpm.h | 240 ssize_t tpm_transmit(struct tpm_chip *chip, u8 *buf, size_t bufsiz); 312 size_t *bufsiz);
|
| A D | tpm_i2c_atmel.c | 40 static int i2c_atmel_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in i2c_atmel_send() argument
|
| A D | tpm_atmel.c | 151 static int tpm_atml_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_atml_send() argument
|
| A D | tpm_nsc.c | 181 static int tpm_nsc_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_nsc_send() argument
|
| A D | xen-tpmfront.c | 134 static int vtpm_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in vtpm_send() argument
|
| A D | tpm_ibmvtpm.c | 201 static int tpm_ibmvtpm_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_ibmvtpm_send() argument
|
| A D | tpm_infineon.c | 315 static int tpm_inf_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_inf_send() argument
|
| A D | tpm_vtpm_proxy.c | 330 static int vtpm_proxy_tpm_op_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in vtpm_proxy_tpm_op_send() argument
|
| A D | tpm_i2c_infineon.c | 517 static int tpm_tis_i2c_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_tis_i2c_send() argument
|
| A D | tpm_i2c_nuvoton.c | 353 static int i2c_nuvoton_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in i2c_nuvoton_send() argument
|
| A D | tpm_tis_i2c_cr50.c | 556 static int tpm_cr50_i2c_tis_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_cr50_i2c_tis_send() argument
|
| A D | tpm_crb.c | 429 static int crb_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, size_t len) in crb_send() argument
|
| A D | tpm_tis_core.c | 583 static int tpm_tis_send(struct tpm_chip *chip, u8 *buf, size_t bufsiz, in tpm_tis_send() argument
|
| /drivers/input/ |
| A D | mousedev.c | 105 unsigned char ready, buffer, bufsiz; member 594 client->bufsiz = 4; in mousedev_packet() 605 client->bufsiz = 4; in mousedev_packet() 615 client->bufsiz = 3; in mousedev_packet() 637 client->bufsiz++; /* account for leading ACK */ in mousedev_generate_response() 652 client->bufsiz = 2; in mousedev_generate_response() 657 client->bufsiz = 4; in mousedev_generate_response() 664 client->bufsiz = 3; in mousedev_generate_response() 668 client->bufsiz = 1; in mousedev_generate_response() 671 client->buffer = client->bufsiz; in mousedev_generate_response() [all …]
|
| /drivers/spi/ |
| A D | spidev.c | 87 static unsigned bufsiz = 4096; variable 88 module_param(bufsiz, uint, S_IRUGO); 89 MODULE_PARM_DESC(bufsiz, "data bytes in biggest supported SPI message"); 163 if (count > bufsiz) in spidev_read() 194 if (count > bufsiz) in spidev_write() 259 if (rx_total > bufsiz) { in spidev_message() 269 if (tx_total > bufsiz) { in spidev_message() 608 spidev->tx_buffer = kmalloc(bufsiz, GFP_KERNEL); in spidev_open() 616 spidev->rx_buffer = kmalloc(bufsiz, GFP_KERNEL); in spidev_open()
|
| /drivers/char/tpm/st33zp24/ |
| A D | st33zp24.c | 303 size_t bufsiz, size_t len) in st33zp24_send() argument
|
| /drivers/scsi/qla2xxx/ |
| A D | qla_mbx.c | 4953 void *buf, uint16_t bufsiz) in qla24xx_get_port_login_templ() argument 4972 mcp->mb[8] = bufsiz/4; in qla24xx_get_port_login_templ() 4986 for (i = 0; i < (bufsiz-4)/4; i++, bp++) in qla24xx_get_port_login_templ()
|