/drivers/comedi/drivers/ |
D | ni_usb6501.c | 173 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/ |
D | operation.c | 520 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/ |
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()
|
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()
|
D | debugfs.c | 122 msg.request_size = ret - 2; in raw_write() 190 msg.request_size = sizeof(rq); in send_ec_cmd()
|
D | properties.c | 44 ec_msg.request_size = sizeof(*rq); in send_property_msg()
|
D | keyboard_leds.c | 65 msg.request_size = sizeof(*request); in send_kbbl_msg()
|
D | telemetry.c | 284 msg.request_size = sizeof(sess_data->request); in telem_write()
|
/drivers/staging/greybus/ |
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()
|
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()
|
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()
|
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()
|
/drivers/rtc/ |
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()
|
/drivers/thunderbolt/ |
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()
|
D | ctl.c | 539 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()
|
D | ctl.h | 80 size_t request_size; member
|
D | xdomain.c | 146 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()
|
D | icm.c | 298 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/ |
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()
|
/drivers/video/fbdev/ |
D | hyperv_fb.c | 939 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/ |
D | drm_ioc32.c | 584 int request_size; /**< Desired size for buffers */ member 613 if (put_user(d.request_size, &argp->request_size) in compat_drm_dma()
|
/drivers/scsi/ |
D | hptiop.h | 183 __le32 request_size; member
|
D | hptiop.c | 462 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/ |
D | mpt3sas_ctl.c | 2327 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/ |
D | ite-it6505.c | 1077 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()
|