Home
last modified time | relevance | path

Searched refs:sendbuf (Results 1 – 7 of 7) sorted by relevance

/linux/drivers/input/joystick/
H A Dpsxpad-spi.c71 u8 sendbuf[0x20] ____cacheline_aligned; member
78 .tx_buf = pad->sendbuf, in psxpad_command()
104 memcpy(pad->sendbuf, PSX_CMD_ENTER_CFG, sizeof(PSX_CMD_ENTER_CFG)); in psxpad_control_motor()
113 memcpy(pad->sendbuf, PSX_CMD_ENABLE_MOTOR, in psxpad_control_motor()
115 pad->sendbuf[3] = pad->motor1enable ? 0x00 : 0xFF; in psxpad_control_motor()
116 pad->sendbuf[4] = pad->motor2enable ? 0x80 : 0xFF; in psxpad_control_motor()
125 memcpy(pad->sendbuf, PSX_CMD_EXIT_CFG, sizeof(PSX_CMD_EXIT_CFG)); in psxpad_control_motor()
216 memcpy(pad->sendbuf, PSX_CMD_POLL, sizeof(PSX_CMD_POLL)); in psxpad_spi_poll()
217 pad->sendbuf[3] = pad->motor1enable ? pad->motor1level : 0x00; in psxpad_spi_poll()
218 pad->sendbuf[4] = pad->motor2enable ? pad->motor2level : 0x00; in psxpad_spi_poll()
/linux/drivers/gpu/drm/udl/
H A Dudl_main.c133 void *sendbuf; in udl_select_std_channel() local
137 sendbuf = kmemdup(set_def_chn, sizeof(set_def_chn), GFP_KERNEL); in udl_select_std_channel()
138 if (!sendbuf) in udl_select_std_channel()
144 sendbuf, sizeof(set_def_chn), in udl_select_std_channel()
146 kfree(sendbuf); in udl_select_std_channel()
/linux/drivers/sh/maple/
H A Dmaple.c161 void *sendbuf = NULL; in maple_add_packet() local
164 sendbuf = kcalloc(length, 4, GFP_KERNEL); in maple_add_packet()
165 if (!sendbuf) { in maple_add_packet()
169 ((__be32 *)sendbuf)[0] = cpu_to_be32(function); in maple_add_packet()
175 memcpy(sendbuf + 4, data, (length - 1) * 4); in maple_add_packet()
176 mdev->mq->sendbuf = sendbuf; in maple_add_packet()
250 unsigned long *lsendbuf = mq->sendbuf; in maple_build_block()
648 kfree(mq->sendbuf); in maple_dma_handler()
/linux/include/linux/
H A Dmaple.h51 void *sendbuf, *recvbuf_p2; member
/linux/tools/virtio/
H A Dvhost_net_test.c122 char *sendbuf = dev->test_buf + HDR_LEN; in vdev_send_packet() local
132 ret = sendto(sockfd, sendbuf, TEST_BUF_LEN, 0, in vdev_send_packet()
/linux/tools/testing/selftests/net/
H A Dtls.c1035 char sendbuf[0x100]; in TEST_F() local
1045 memset(sendbuf, 's', sizeof(sendbuf)); in TEST_F()
1057 ASSERT_EQ(write(pipefds[1], sendbuf, sizeof(sendbuf)), sizeof(sendbuf)); in TEST_F()
1060 MAX_FRAGS + sizeof(sendbuf)); in TEST_F()
1061 EXPECT_EQ(recv(self->cfd, read_buf, sizeof(read_buf), 0), MAX_FRAGS + sizeof(sendbuf)); in TEST_F()
1476 int sendbuf = 100; in TEST_F() local
1488 &sendbuf, sizeof(sendbuf)), 0); in TEST_F()
/linux/fs/nfsd/
H A Dnfs3proc.c589 unsigned int sendbuf = min_t(unsigned int, rqstp->rq_res.buflen, in nfsd3_init_dirlist_pages() local
595 buf->buflen = clamp(count, (u32)(XDR_UNIT * 2), sendbuf); in nfsd3_init_dirlist_pages()