Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/input/joystick/
Dpsxpad-spi.c68 u8 sendbuf[0x20] ____cacheline_aligned; member
75 .tx_buf = pad->sendbuf, in psxpad_command()
101 memcpy(pad->sendbuf, PSX_CMD_ENTER_CFG, sizeof(PSX_CMD_ENTER_CFG)); in psxpad_control_motor()
110 memcpy(pad->sendbuf, PSX_CMD_ENABLE_MOTOR, in psxpad_control_motor()
112 pad->sendbuf[3] = pad->motor1enable ? 0x00 : 0xFF; in psxpad_control_motor()
113 pad->sendbuf[4] = pad->motor2enable ? 0x80 : 0xFF; in psxpad_control_motor()
122 memcpy(pad->sendbuf, PSX_CMD_EXIT_CFG, sizeof(PSX_CMD_EXIT_CFG)); in psxpad_control_motor()
213 memcpy(pad->sendbuf, PSX_CMD_POLL, sizeof(PSX_CMD_POLL)); in psxpad_spi_poll()
214 pad->sendbuf[3] = pad->motor1enable ? pad->motor1level : 0x00; in psxpad_spi_poll()
215 pad->sendbuf[4] = pad->motor2enable ? pad->motor2level : 0x00; in psxpad_spi_poll()
/linux-6.1.9/drivers/mtd/maps/
Dvmu-flash.c118 __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-6.1.9/drivers/gpu/drm/udl/
Dudl_main.c104 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-6.1.9/drivers/sh/maple/
Dmaple.c160 void *sendbuf = NULL; in maple_add_packet() local
163 sendbuf = kcalloc(length, 4, GFP_KERNEL); in maple_add_packet()
164 if (!sendbuf) { in maple_add_packet()
168 ((__be32 *)sendbuf)[0] = cpu_to_be32(function); in maple_add_packet()
174 memcpy(sendbuf + 4, data, (length - 1) * 4); in maple_add_packet()
175 mdev->mq->sendbuf = sendbuf; in maple_add_packet()
249 unsigned long *lsendbuf = mq->sendbuf; in maple_build_block()
647 kfree(mq->sendbuf); in maple_dma_handler()
/linux-6.1.9/include/linux/
Dmaple.h52 void *sendbuf, *recvbuf_p2; member
/linux-6.1.9/fs/nfsd/
Dnfs3proc.c567 unsigned int sendbuf = min_t(unsigned int, rqstp->rq_res.buflen, in nfsd3_init_dirlist_pages() local
573 buf->buflen = clamp(count, (u32)(XDR_UNIT * 2), sendbuf); in nfsd3_init_dirlist_pages()
/linux-6.1.9/tools/testing/selftests/net/
Dtls.c1201 int sendbuf = 100; in TEST_F() local
1213 &sendbuf, sizeof(sendbuf)), 0); in TEST_F()
/linux-6.1.9/drivers/net/wireless/cisco/
Dairo.c1976 u8 *sendbuf; in mpi_send_packet() local
2009 sendbuf = ai->txfids[0].virtual_host_addr + in mpi_send_packet()
2026 memcpy (sendbuf, buffer, sizeof(etherHead)); in mpi_send_packet()
2028 sendbuf += sizeof(etherHead); in mpi_send_packet()
2029 memcpy (sendbuf, &pMic, sizeof(pMic)); in mpi_send_packet()
2030 sendbuf += sizeof(pMic); in mpi_send_packet()
2031 memcpy (sendbuf, buffer, len - sizeof(etherHead)); in mpi_send_packet()
2038 memcpy(sendbuf, buffer, len); in mpi_send_packet()
/linux-6.1.9/Documentation/networking/
Drds.rst138 is less than the sendbuf size).