Searched refs:sendbuf (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/input/joystick/ |
H A D | psxpad-spi.c | 71 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/mtd/maps/ |
H A D | vmu-flash.c | 118 __be32 sendbuf; in maple_vmu_read_block() local 145 sendbuf = cpu_to_be32(partition << 24 | x << 16 | num); in maple_vmu_read_block() 170 MAPLE_COMMAND_BREAD, 2, &sendbuf); in maple_vmu_read_block() 192 kfree(mdev->mq->sendbuf); in maple_vmu_read_block() 193 mdev->mq->sendbuf = NULL; in maple_vmu_read_block() 233 __be32 *sendbuf; in maple_vmu_write_block() local 242 sendbuf = kmalloc(phaselen + 4, GFP_KERNEL); in maple_vmu_write_block() 243 if (!sendbuf) { in maple_vmu_write_block() 248 sendbuf[0] = cpu_to_be32(partition << 24 | x << 16 | num); in maple_vmu_write_block() 249 memcpy(&sendbuf[1], buf + phaselen * x, phaselen); in maple_vmu_write_block() [all …]
|
/linux/drivers/sh/maple/ |
H A D | maple.c | 161 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/drivers/gpu/drm/udl/ |
H A D | udl_main.c | 104 void *sendbuf; in udl_select_std_channel() local 108 sendbuf = kmemdup(set_def_chn, sizeof(set_def_chn), GFP_KERNEL); in udl_select_std_channel() 109 if (!sendbuf) in udl_select_std_channel() 115 sendbuf, sizeof(set_def_chn), in udl_select_std_channel() 117 kfree(sendbuf); in udl_select_std_channel()
|
/linux/include/linux/ |
H A D | maple.h | 51 void *sendbuf, *recvbuf_p2; member
|
/linux/tools/virtio/ |
H A D | vhost_net_test.c | 122 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/fs/nfsd/ |
H A D | nfs3proc.c | 598 unsigned int sendbuf = min_t(unsigned int, rqstp->rq_res.buflen, in nfsd3_init_dirlist_pages() local 604 buf->buflen = clamp(count, (u32)(XDR_UNIT * 2), sendbuf); in nfsd3_init_dirlist_pages()
|
/linux/tools/testing/selftests/net/ |
H A D | tls.c | 1305 int sendbuf = 100; in TEST_F() 1317 &sendbuf, sizeof(sendbuf)), 0); in TEST_F() 1286 int sendbuf = 100; TEST_F() local
|
/linux/Documentation/networking/ |
H A D | rds.rst | 138 is less than the sendbuf size).
|