/openbmc/u-boot/drivers/tpm/ |
H A D | tpm_atmel_twi.c | 72 uint8_t *recvbuf, size_t *recv_len) in tpm_atmel_twi_xfer() argument 78 memset(recvbuf, 0xcc, *recv_len); in tpm_atmel_twi_xfer() 95 while ((res = i2c_read(0x29, 0, 0, recvbuf, 10))) in tpm_atmel_twi_xfer() 97 while ((res = dm_i2c_read(dev, 0, recvbuf, 10))) in tpm_atmel_twi_xfer() 109 hdr_recv_len = get_unaligned_be32(recvbuf + 2); in tpm_atmel_twi_xfer() 119 res = i2c_read(0x29, 0, 0, recvbuf, *recv_len); in tpm_atmel_twi_xfer() 121 res = dm_i2c_read(dev, 0, recvbuf, *recv_len); in tpm_atmel_twi_xfer() 129 print_buffer(0, recvbuf, 1, *recv_len, 0); in tpm_atmel_twi_xfer() 136 print_buffer(0, recvbuf, 1, *recv_len, 0); in tpm_atmel_twi_xfer()
|
H A D | tpm_tis_sandbox.c | 180 size_t send_size, uint8_t *recvbuf, in sandbox_tpm_xfer() argument 203 memset(recvbuf, '\0', *recv_len); in sandbox_tpm_xfer() 211 *recv_len = data - recvbuf - in sandbox_tpm_xfer() 231 recvbuf + in sandbox_tpm_xfer() 237 put_unaligned_be32(22, recvbuf + in sandbox_tpm_xfer() 256 memset(recvbuf, '\0', *recv_len); in sandbox_tpm_xfer() 268 memset(recvbuf, '\0', *recv_len); in sandbox_tpm_xfer() 269 put_unaligned_be32(length, recvbuf + in sandbox_tpm_xfer() 294 memset(recvbuf, '\0', *recv_len); in sandbox_tpm_xfer() 305 memset(recvbuf, '\0', *recv_len); in sandbox_tpm_xfer() [all …]
|
H A D | tpm-uclass.c | 85 uint8_t *recvbuf, size_t *recv_size) in tpm_xfer() argument 94 return ops->xfer(dev, sendbuf, send_size, recvbuf, recv_size); in tpm_xfer() 124 memcpy(recvbuf, priv->buf, ret); in tpm_xfer()
|
H A D | tpm2_tis_sandbox.c | 255 size_t send_size, u8 *recvbuf, in sandbox_tpm2_xfer() argument 261 u8 *recv = recvbuf; in sandbox_tpm2_xfer() 479 *recv_len = recv - recvbuf; in sandbox_tpm2_xfer() 480 put_unaligned_be32(*recv_len, recvbuf + sizeof(tag)); in sandbox_tpm2_xfer() 563 *recv_len = recv - recvbuf; in sandbox_tpm2_xfer() 564 put_unaligned_be32(*recv_len, recvbuf + sizeof(tag)); in sandbox_tpm2_xfer()
|
/openbmc/linux/drivers/sh/maple/ |
H A D | maple.c | 196 if (!mq->recvbuf) in maple_allocq() 198 mq->recvbuf->buf = &((mq->recvbuf->bufx)[0]); in maple_allocq() 332 char *p, *recvbuf; in maple_attach_driver() local 336 recvbuf = mdev->mq->recvbuf->buf; in maple_attach_driver() 577 char *recvbuf) in maple_response_devinfo() argument 594 submask = recvbuf[2] & 0x1F; in maple_response_devinfo() 605 mdev->fileerr_handler(mdev, recvbuf); in maple_response_fileerr() 610 ((int *)recvbuf)[1]); in maple_response_fileerr() 634 char *recvbuf; in maple_dma_handler() local 643 recvbuf = mq->recvbuf->buf; in maple_dma_handler() [all …]
|
/openbmc/linux/drivers/staging/rtl8723bs/hal/ |
H A D | sdio_ops.c | 793 struct recv_buf *recvbuf; in sd_recv_rxfifo() local 802 if (!recvbuf) { in sd_recv_rxfifo() 809 if (!recvbuf->pskb) { in sd_recv_rxfifo() 814 if (!recvbuf->pskb) in sd_recv_rxfifo() 831 recvbuf->len = size; in sd_recv_rxfifo() 832 recvbuf->phead = recvbuf->pskb->head; in sd_recv_rxfifo() 833 recvbuf->pdata = recvbuf->pskb->data; in sd_recv_rxfifo() 835 recvbuf->ptail = skb_tail_pointer(recvbuf->pskb); in sd_recv_rxfifo() 836 recvbuf->pend = skb_end_pointer(recvbuf->pskb); in sd_recv_rxfifo() 838 return recvbuf; in sd_recv_rxfifo() [all …]
|
/openbmc/u-boot/include/ |
H A D | tpm-common.h | 154 int (*recv)(struct udevice *dev, u8 *recvbuf, size_t max_size); 184 u8 *recvbuf, size_t *recv_size); 280 u8 *recvbuf, size_t *recv_size);
|
H A D | tpm-v2.h | 920 u8 *recvbuf, size_t *recv_size); 933 u8 *recvbuf, size_t *recv_size);
|
/openbmc/linux/include/linux/ |
H A D | maple.h | 51 struct maple_buffer *recvbuf; member 72 void (*fileerr_handler)(struct maple_device *mdev, void *recvbuf);
|
/openbmc/linux/drivers/staging/rtl8712/ |
H A D | usb_halinit.c | 286 struct recv_buf *recvbuf; in r8712_usb_inirp_init() local 292 recvbuf = (struct recv_buf *)recvpriv->precv_buf; in r8712_usb_inirp_init() 295 (unsigned char *)recvbuf) == false) in r8712_usb_inirp_init() 297 recvbuf++; in r8712_usb_inirp_init()
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | vmu-flash.c | 101 memcpy(card->blockread, mq->recvbuf->buf + 12, in vmu_blockread() 513 res = (unsigned short *) (mq->recvbuf->buf); in vmu_queryblocks() 730 static void vmu_file_error(struct maple_device *mdev, void *recvbuf) in vmu_file_error() argument 732 enum maple_file_errors error = ((int *)recvbuf)[1]; in vmu_file_error()
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | l1oip_core.c | 640 unsigned char *recvbuf; in l1oip_socket_thread() local 647 recvbuf = kmalloc(recvbuf_size, GFP_KERNEL); in l1oip_socket_thread() 648 if (!recvbuf) { in l1oip_socket_thread() 654 iov.iov_base = recvbuf; in l1oip_socket_thread() 712 l1oip_socket_parse(hc, &sin_rx, recvbuf, recvlen); in l1oip_socket_thread() 737 kfree(recvbuf); in l1oip_socket_thread()
|
/openbmc/u-boot/lib/ |
H A D | tpm-v2.c | 1517 u8 *recvbuf, size_t *recv_size) in tpm2_submit_command() argument 1519 return tpm_sendrecv_command(dev, sendbuf, recvbuf, recv_size); in tpm2_submit_command() 1523 u8 *recvbuf, size_t *recv_size) in tpm2_report_state() argument 1535 ret = tpm_sendrecv_command(dev, command_v2, recvbuf, recv_size); in tpm2_report_state() 1542 memcpy(recvbuf, recvbuf + 12, *recv_size); in tpm2_report_state()
|
/openbmc/linux/drivers/input/mouse/ |
H A D | maplemouse.c | 33 unsigned char *res = mq->recvbuf->buf; in dc_mouse_callback()
|
/openbmc/linux/drivers/input/joystick/ |
H A D | maplecontrol.c | 33 unsigned char *res = mq->recvbuf->buf; in dc_pad_callback()
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | maple_keyb.c | 129 unsigned long *buf = (unsigned long *)(mq->recvbuf->buf); in dc_kbd_callback()
|