Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/udl/
Dudl_main.c106 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()
116 sendbuf, sizeof(set_def_chn), in udl_select_std_channel()
118 kfree(sendbuf); in udl_select_std_channel()
/kernel/linux/linux-5.10/drivers/sh/maple/
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()
/kernel/linux/linux-5.10/include/linux/
Dmaple.h52 void *sendbuf, *recvbuf_p2; member
/kernel/linux/linux-5.10/tools/testing/selftests/net/
Dtls.c937 int sendbuf = 100; in TEST_F() local
949 &sendbuf, sizeof(sendbuf)), 0); in TEST_F()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/networking/
Drds.rst138 is less than the sendbuf size).