/linux/include/linux/greybus/ |
A D | operation.h | 147 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/drivers/comedi/drivers/ |
A D | ni_usb6501.c | 174 int request_size, response_size; in ni6501_port_command() local 185 request_size = sizeof(READ_PORT_REQUEST); in ni6501_port_command() 187 memcpy(tx, READ_PORT_REQUEST, request_size); in ni6501_port_command() 191 request_size = sizeof(WRITE_PORT_REQUEST); in ni6501_port_command() 193 memcpy(tx, WRITE_PORT_REQUEST, request_size); in ni6501_port_command() 198 request_size = sizeof(SET_PORT_DIR_REQUEST); in ni6501_port_command() 214 request_size, in ni6501_port_command() 256 int request_size, response_size; in ni6501_counter_command() local 272 request_size = sizeof(STOP_COUNTER_REQUEST); in ni6501_counter_command() 277 request_size = sizeof(READ_COUNTER_REQUEST); in ni6501_counter_command() [all …]
|
/linux/drivers/greybus/ |
A D | operation.c | 576 u8 type, size_t request_size, in gb_operation_create_flags() argument 602 u8 type, size_t request_size, in gb_operation_create_core() argument 634 size_t request_size; in gb_operation_create_incoming() local 644 request_size, in gb_operation_create_incoming() 1147 (request_size && !request)) in gb_operation_sync_timeout() 1151 request_size, response_size, in gb_operation_sync_timeout() 1156 if (request_size) in gb_operation_sync_timeout() 1193 int request_size, in gb_operation_unidirectional_timeout() argument 1199 if (request_size && !request) in gb_operation_unidirectional_timeout() 1203 request_size, 0, in gb_operation_unidirectional_timeout() [all …]
|
/linux/sound/virtio/ |
A D | virtio_ctl_msg.c | 85 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()
|
A D | virtio_pcm_msg.c | 394 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()
|
A D | virtio_ctl_msg.h | 23 struct virtio_snd_msg *virtsnd_ctl_msg_alloc(size_t request_size,
|
/linux/drivers/platform/chrome/wilco_ec/ |
A D | mailbox.c | 98 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()
|
A D | sysfs.c | 93 msg.request_size = sizeof(rq); in boot_on_ac_store() 113 .request_size = sizeof(req), in get_info() 168 msg.request_size = sizeof(*rq); in send_usb_charge()
|
A D | debugfs.c | 122 msg.request_size = ret - 2; in raw_write() 190 msg.request_size = sizeof(rq); in send_ec_cmd()
|
A D | properties.c | 44 ec_msg.request_size = sizeof(*rq); in send_property_msg()
|
A D | keyboard_leds.c | 65 msg.request_size = sizeof(*request); in send_kbbl_msg()
|
/linux/drivers/staging/greybus/ |
A D | i2c.c | 88 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()
|
A D | spilib.c | 170 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()
|
A D | loopback.c | 371 void *request, int request_size, in gb_loopback_operation_sync() argument 379 operation = gb_operation_create(gb->connection, type, request_size, in gb_loopback_operation_sync() 384 if (request_size) in gb_loopback_operation_sync() 385 memcpy(operation->request->payload, request, request_size); in gb_loopback_operation_sync() 466 void *request, int request_size, in gb_loopback_async_operation() argument 478 operation = gb_operation_create(gb->connection, type, request_size, in gb_loopback_async_operation() 485 if (request_size) in gb_loopback_async_operation() 486 memcpy(operation->request->payload, request, request_size); in gb_loopback_async_operation()
|
A D | camera.c | 189 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/fs/afs/ |
A D | rxrpc.c | 228 size_t request_size, size_t reply_max) in afs_alloc_flat_call() argument 236 if (request_size) { in afs_alloc_flat_call() 237 call->request_size = request_size; in afs_alloc_flat_call() 238 call->request = kmalloc(request_size, GFP_NOFS); in afs_alloc_flat_call() 316 tx_total_len = call->request_size; in afs_make_call() 353 iov[0].iov_len = call->request_size; in afs_make_call() 357 iov_iter_kvec(&msg.msg_iter, WRITE, iov, 1, call->request_size); in afs_make_call() 363 &msg, call->request_size, in afs_make_call()
|
/linux/drivers/rtc/ |
A D | rtc-wilco-ec.c | 99 msg.request_size = sizeof(read_rq); in wilco_ec_rtc_read() 151 msg.request_size = sizeof(rtc); in wilco_ec_rtc_write()
|
/linux/include/linux/platform_data/ |
A D | wilco-ec.h | 114 size_t request_size; member
|
/linux/drivers/thunderbolt/ |
A D | dma_port.c | 112 req->request_size = sizeof(request); in dma_port_read() 155 req->request_size = 12 + 4 * length; in dma_port_write()
|
A D | ctl.c | 540 ret = tb_ctl_tx(ctl, req->request, req->request_size, in tb_cfg_request() 831 req->request_size = sizeof(request); in tb_cfg_reset() 888 req->request_size = sizeof(request); in tb_cfg_read_raw() 961 req->request_size = 12 + 4 * length; in tb_cfg_write_raw()
|
A D | ctl.h | 80 size_t request_size; member
|
A D | xdomain.c | 121 req->request_size = size; in __tb_xdomain_response() 147 size_t request_size, enum tb_cfg_pkg_type request_type, void *response, in __tb_xdomain_request() argument 161 req->request_size = request_size; in __tb_xdomain_request() 192 size_t request_size, enum tb_cfg_pkg_type request_type, in tb_xdomain_request() argument 196 return __tb_xdomain_request(xd->tb->ctl, request, request_size, in tb_xdomain_request()
|
/linux/drivers/usb/musb/ |
A D | musb_gadget.c | 273 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/include/uapi/drm/ |
A D | i810_drm.h | 271 int request_size; member
|
/linux/drivers/video/fbdev/ |
A D | hyperv_fb.c | 963 unsigned int request_size) in hvfb_get_phymem() argument 969 unsigned int order = get_order(request_size); in hvfb_get_phymem() 971 if (request_size == 0) in hvfb_get_phymem() 986 round_up(request_size, PAGE_SIZE), in hvfb_get_phymem()
|