Home
last modified time | relevance | path

Searched refs:request_size (Results 1 – 25 of 40) sorted by relevance

12

/Linux-v6.6/include/linux/greybus/
Doperation.h147 u8 type, size_t request_size,
153 u8 type, size_t request_size, in gb_operation_create() argument
156 return gb_operation_create_flags(connection, type, request_size, in gb_operation_create()
162 u8 type, size_t request_size,
192 void *request, int request_size,
196 int type, void *request, int request_size,
200 void *request, int request_size, in gb_operation_sync() argument
204 request, request_size, response, response_size, in gb_operation_sync()
209 int type, void *request, int request_size) in gb_operation_unidirectional() argument
212 request, request_size, GB_OPERATION_TIMEOUT_DEFAULT); in gb_operation_unidirectional()
/Linux-v6.6/drivers/comedi/drivers/
Dni_usb6501.c173 int request_size, response_size; in ni6501_port_command() local
184 request_size = sizeof(READ_PORT_REQUEST); in ni6501_port_command()
186 memcpy(tx, READ_PORT_REQUEST, request_size); in ni6501_port_command()
190 request_size = sizeof(WRITE_PORT_REQUEST); in ni6501_port_command()
192 memcpy(tx, WRITE_PORT_REQUEST, request_size); in ni6501_port_command()
197 request_size = sizeof(SET_PORT_DIR_REQUEST); in ni6501_port_command()
199 memcpy(tx, SET_PORT_DIR_REQUEST, request_size); in ni6501_port_command()
213 request_size, in ni6501_port_command()
255 int request_size, response_size; in ni6501_counter_command() local
266 request_size = sizeof(START_COUNTER_REQUEST); in ni6501_counter_command()
[all …]
/Linux-v6.6/drivers/greybus/
Doperation.c520 size_t request_size, size_t response_size, in gb_operation_create_common() argument
531 operation->request = gb_operation_message_alloc(hd, type, request_size, in gb_operation_create_common()
576 u8 type, size_t request_size, in gb_operation_create_flags() argument
591 request_size, response_size, in gb_operation_create_flags()
602 u8 type, size_t request_size, in gb_operation_create_core() argument
611 request_size, response_size, in gb_operation_create_core()
634 size_t request_size; in gb_operation_create_incoming() local
638 request_size = size - sizeof(struct gb_operation_msg_hdr); in gb_operation_create_incoming()
644 request_size, in gb_operation_create_incoming()
1139 void *request, int request_size, in gb_operation_sync_timeout() argument
[all …]
/Linux-v6.6/sound/virtio/
Dvirtio_ctl_msg.c85 struct virtio_snd_msg *virtsnd_ctl_msg_alloc(size_t request_size, in virtsnd_ctl_msg_alloc() argument
90 if (!request_size || !response_size) in virtsnd_ctl_msg_alloc()
93 msg = kzalloc(sizeof(*msg) + request_size + response_size, gfp); in virtsnd_ctl_msg_alloc()
97 sg_init_one(&msg->sg_request, (u8 *)msg + sizeof(*msg), request_size); in virtsnd_ctl_msg_alloc()
98 sg_init_one(&msg->sg_response, (u8 *)msg + sizeof(*msg) + request_size, in virtsnd_ctl_msg_alloc()
Dvirtio_pcm_msg.c394 size_t request_size = sizeof(struct virtio_snd_pcm_hdr); in virtsnd_pcm_ctl_msg_alloc() local
400 request_size = sizeof(struct virtio_snd_pcm_set_params); in virtsnd_pcm_ctl_msg_alloc()
404 msg = virtsnd_ctl_msg_alloc(request_size, response_size, gfp); in virtsnd_pcm_ctl_msg_alloc()
Dvirtio_ctl_msg.h23 struct virtio_snd_msg *virtsnd_ctl_msg_alloc(size_t request_size,
/Linux-v6.6/drivers/platform/chrome/wilco_ec/
Dmailbox.c98 rq->data_size = msg->request_size; in wilco_ec_prepare()
102 rq->checksum += wilco_ec_checksum(msg->request_data, msg->request_size); in wilco_ec_prepare()
125 cros_ec_lpc_io_bytes_mec(MEC_IO_WRITE, sizeof(*rq), msg->request_size, in wilco_ec_transfer()
202 msg->type, msg->flags, msg->response_size, msg->request_size); in wilco_ec_mailbox()
Dsysfs.c93 msg.request_size = sizeof(rq); in boot_on_ac_store()
113 .request_size = sizeof(req), in get_info()
167 msg.request_size = sizeof(*rq); in send_usb_charge()
Ddebugfs.c122 msg.request_size = ret - 2; in raw_write()
190 msg.request_size = sizeof(rq); in send_ec_cmd()
Dproperties.c44 ec_msg.request_size = sizeof(*rq); in send_property_msg()
Dkeyboard_leds.c65 msg.request_size = sizeof(*request); in send_kbbl_msg()
/Linux-v6.6/drivers/staging/greybus/
Di2c.c88 size_t request_size; in gb_i2c_operation_create() local
111 request_size = sizeof(*request); in gb_i2c_operation_create()
112 request_size += msg_count * sizeof(*op); in gb_i2c_operation_create()
113 request_size += data_out_size; in gb_i2c_operation_create()
117 request_size, data_in_size, GFP_KERNEL); in gb_i2c_operation_create()
Dspilib.c170 u32 tx_size = 0, rx_size = 0, count = 0, xfer_len = 0, request_size; in gb_spi_operation_create() local
227 request_size = sizeof(*request); in gb_spi_operation_create()
228 request_size += count * sizeof(*gb_xfer); in gb_spi_operation_create()
229 request_size += tx_size; in gb_spi_operation_create()
233 request_size, rx_size, GFP_KERNEL); in gb_spi_operation_create()
Dloopback.c370 void *request, int request_size, in gb_loopback_operation_sync() argument
378 operation = gb_operation_create(gb->connection, type, request_size, in gb_loopback_operation_sync()
383 if (request_size) in gb_loopback_operation_sync()
384 memcpy(operation->request->payload, request, request_size); in gb_loopback_operation_sync()
465 void *request, int request_size, in gb_loopback_async_operation() argument
477 operation = gb_operation_create(gb->connection, type, request_size, in gb_loopback_async_operation()
484 if (request_size) in gb_loopback_async_operation()
485 memcpy(operation->request->payload, request, request_size); in gb_loopback_async_operation()
Dcamera.c189 void *request, size_t request_size, in gb_camera_operation_sync_flags() argument
195 operation = gb_operation_create_flags(connection, type, request_size, in gb_camera_operation_sync_flags()
201 if (request_size) in gb_camera_operation_sync_flags()
202 memcpy(operation->request->payload, request, request_size); in gb_camera_operation_sync_flags()
/Linux-v6.6/sound/soc/intel/avs/
Dmessages.c308 u8 *request_data, size_t request_size, size_t off_size) in __avs_ipc_set_large_config() argument
323 request.size = request_size; in __avs_ipc_set_large_config()
334 u8 *request, size_t request_size) in avs_ipc_set_large_config() argument
340 remaining = request_size; in avs_ipc_set_large_config()
347 request_size); in avs_ipc_set_large_config()
357 offset = request_size - remaining; in avs_ipc_set_large_config()
375 u8 param_id, u8 *request_data, size_t request_size, in avs_ipc_get_large_config() argument
390 msg.ext.large_config.data_off_size = request_size; in avs_ipc_get_large_config()
398 request.size = request_size; in avs_ipc_get_large_config()
Dmessages.h319 u8 *request, size_t request_size);
321 u8 param_id, u8 *request_data, size_t request_size,
/Linux-v6.6/fs/afs/
Drxrpc.c235 size_t request_size, size_t reply_max) in afs_alloc_flat_call() argument
243 if (request_size) { in afs_alloc_flat_call()
244 call->request_size = request_size; in afs_alloc_flat_call()
245 call->request = kmalloc(request_size, GFP_NOFS); in afs_alloc_flat_call()
323 tx_total_len = call->request_size; in afs_make_call()
359 iov[0].iov_len = call->request_size; in afs_make_call()
363 iov_iter_kvec(&msg.msg_iter, ITER_SOURCE, iov, 1, call->request_size); in afs_make_call()
369 &msg, call->request_size, in afs_make_call()
/Linux-v6.6/drivers/rtc/
Drtc-wilco-ec.c99 msg.request_size = sizeof(read_rq); in wilco_ec_rtc_read()
151 msg.request_size = sizeof(rtc); in wilco_ec_rtc_write()
/Linux-v6.6/include/linux/platform_data/
Dwilco-ec.h114 size_t request_size; member
/Linux-v6.6/drivers/thunderbolt/
Ddma_port.c112 req->request_size = sizeof(request); in dma_port_read()
155 req->request_size = 12 + 4 * length; in dma_port_write()
Dctl.h80 size_t request_size; member
Dctl.c539 ret = tb_ctl_tx(ctl, req->request, req->request_size, in tb_cfg_request()
892 req->request_size = sizeof(request); in tb_cfg_reset()
949 req->request_size = sizeof(request); in tb_cfg_read_raw()
1022 req->request_size = 12 + 4 * length; in tb_cfg_write_raw()
/Linux-v6.6/drivers/usb/musb/
Dmusb_gadget.c273 size_t request_size; in txstate() local
276 request_size = min_t(size_t, request->length - request->actual, in txstate()
279 use_dma = (request->dma != DMA_ADDR_INVALID && request_size); in txstate()
284 if (request_size < musb_ep->packet_sz) in txstate()
292 request->dma + request->actual, request_size); in txstate()
361 request_size); in txstate()
374 request_size); in txstate()
/Linux-v6.6/drivers/video/fbdev/
Dhyperv_fb.c939 unsigned int request_size) in hvfb_get_phymem() argument
945 unsigned int order = get_order(request_size); in hvfb_get_phymem()
947 if (request_size == 0) in hvfb_get_phymem()
962 round_up(request_size, PAGE_SIZE), in hvfb_get_phymem()

12