Home
last modified time | relevance | path

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

12

/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 …]
/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 …]
/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()
168 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()
Dtelemetry.c284 msg.request_size = sizeof(sess_data->request); in telem_write()
/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.c371 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()
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()
/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()
/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.c539 ret = tb_ctl_tx(ctl, req->request, req->request_size, in tb_cfg_request()
830 req->request_size = sizeof(request); in tb_cfg_reset()
887 req->request_size = sizeof(request); in tb_cfg_read_raw()
960 req->request_size = 12 + 4 * length; in tb_cfg_write_raw()
Dctl.h80 size_t request_size; member
Dxdomain.c146 req->request_size = size; in __tb_xdomain_response()
172 size_t request_size, enum tb_cfg_pkg_type request_type, void *response, in __tb_xdomain_request() argument
186 req->request_size = request_size; in __tb_xdomain_request()
217 size_t request_size, enum tb_cfg_pkg_type request_type, in tb_xdomain_request() argument
221 return __tb_xdomain_request(xd->tb->ctl, request, request_size, in tb_xdomain_request()
Dicm.c298 static int icm_request(struct tb *tb, const void *request, size_t request_size, in icm_request() argument
315 req->request_size = request_size; in icm_request()
2236 req->request_size = sizeof(auth->request); in icm_usb4_switch_nvm_authenticate()
/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()
/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()
/drivers/gpu/drm/
Ddrm_ioc32.c584 int request_size; /**< Desired size for buffers */ member
613 if (put_user(d.request_size, &argp->request_size) in compat_drm_dma()
/drivers/scsi/
Dhptiop.h183 __le32 request_size; member
Dhptiop.c462 config->request_size = info->request_size; in iop_get_config_mvfrey()
1367 hba->max_request_size = le32_to_cpu(iop_config.request_size); in hptiop_probe()
/drivers/scsi/mpt3sas/
Dmpt3sas_ctl.c2327 unsigned long request_size, copy_size; in _ctl_diag_read_buffer() local
2367 request_size = ioc->diag_buffer_sz[buffer_type]; in _ctl_diag_read_buffer()
2375 if (karg.starting_offset > request_size) in _ctl_diag_read_buffer()
2386 (diag_data + karg.bytes_to_read > request_data + request_size)) in _ctl_diag_read_buffer()
2387 copy_size = request_size - karg.starting_offset; in _ctl_diag_read_buffer()
/drivers/gpu/drm/bridge/
Dite-it6505.c1077 int i, ret_size, ret = 0, request_size; in it6505_aux_do_transfer() local
1081 request_size = min((int)size - i, 4); in it6505_aux_do_transfer()
1083 buffer + i, request_size, in it6505_aux_do_transfer()

12