/drivers/s390/char/ |
D | tape_std.c | 38 struct tape_request * request = from_timer(request, t, timer); in tape_std_assign_timeout() local 39 struct tape_device * device = request->device; in tape_std_assign_timeout() 46 rc = tape_cancel_io(device, request); in tape_std_assign_timeout() 56 struct tape_request *request; in tape_std_assign() local 58 request = tape_alloc_request(2, 11); in tape_std_assign() 59 if (IS_ERR(request)) in tape_std_assign() 60 return PTR_ERR(request); in tape_std_assign() 62 request->op = TO_ASSIGN; in tape_std_assign() 63 tape_ccw_cc(request->cpaddr, ASSIGN, 11, request->cpdata); in tape_std_assign() 64 tape_ccw_end(request->cpaddr + 1, NOP, 0, NULL); in tape_std_assign() [all …]
|
D | tape_34xx.c | 56 static void __tape_34xx_medium_sense(struct tape_request *request) in __tape_34xx_medium_sense() argument 58 struct tape_device *device = request->device; in __tape_34xx_medium_sense() 61 if (request->rc == 0) { in __tape_34xx_medium_sense() 62 sense = request->cpdata; in __tape_34xx_medium_sense() 81 request->rc); in __tape_34xx_medium_sense() 82 tape_free_request(request); in __tape_34xx_medium_sense() 87 struct tape_request *request; in tape_34xx_medium_sense() local 90 request = tape_alloc_request(1, 32); in tape_34xx_medium_sense() 91 if (IS_ERR(request)) { in tape_34xx_medium_sense() 93 return PTR_ERR(request); in tape_34xx_medium_sense() [all …]
|
D | tape_3590.c | 204 struct tape_request *request; in tape_3592_kekl_query() local 213 request = tape_alloc_request(2, sizeof(*order)); in tape_3592_kekl_query() 214 if (IS_ERR(request)) { in tape_3592_kekl_query() 215 rc = PTR_ERR(request); in tape_3592_kekl_query() 218 order = request->cpdata; in tape_3592_kekl_query() 222 request->op = TO_KEKL_QUERY; in tape_3592_kekl_query() 223 tape_ccw_cc(request->cpaddr, PERF_SUBSYS_FUNC, sizeof(*order), order); in tape_3592_kekl_query() 224 tape_ccw_end(request->cpaddr + 1, READ_SS_DATA, sizeof(*int_kekls), in tape_3592_kekl_query() 226 rc = tape_do_io(device, request); in tape_3592_kekl_query() 233 tape_free_request(request); in tape_3592_kekl_query() [all …]
|
D | tape_core.c | 292 __tape_cancel_io(struct tape_device *device, struct tape_request *request) in __tape_cancel_io() argument 298 if (request->callback == NULL) in __tape_cancel_io() 303 rc = ccw_device_clear(device->cdev, (long) request); in __tape_cancel_io() 307 request->status = TAPE_REQUEST_DONE; in __tape_cancel_io() 310 request->status = TAPE_REQUEST_CANCEL; in __tape_cancel_io() 592 struct tape_request * request; in __tape_discard_requests() local 596 request = list_entry(l, struct tape_request, list); in __tape_discard_requests() 597 if (request->status == TAPE_REQUEST_IN_IO) in __tape_discard_requests() 598 request->status = TAPE_REQUEST_DONE; in __tape_discard_requests() 599 list_del(&request->list); in __tape_discard_requests() [all …]
|
D | sclp_vt220.c | 96 static int __sclp_vt220_emit(struct sclp_vt220_request *request); 116 sclp_vt220_process_queue(struct sclp_vt220_request *request) in sclp_vt220_process_queue() argument 123 page = request->sclp_req.sccb; in sclp_vt220_process_queue() 126 list_del(&request->list); in sclp_vt220_process_queue() 129 request = NULL; in sclp_vt220_process_queue() 131 request = list_entry(sclp_vt220_outqueue.next, in sclp_vt220_process_queue() 133 if (!request) { in sclp_vt220_process_queue() 139 } while (__sclp_vt220_emit(request)); in sclp_vt220_process_queue() 140 if (request == NULL && sclp_vt220_flush_later) in sclp_vt220_process_queue() 152 sclp_vt220_callback(struct sclp_req *request, void *data) in sclp_vt220_callback() argument [all …]
|
D | sclp_sdias.c | 53 static void sdias_callback(struct sclp_req *request, void *data) in sdias_callback() argument 109 struct sclp_req request; in sclp_sdias_blk_count() local 115 memset(&request, 0, sizeof(request)); in sclp_sdias_blk_count() 125 request.sccb = sccb; in sclp_sdias_blk_count() 126 request.command = SCLP_CMDW_WRITE_EVENT_DATA; in sclp_sdias_blk_count() 127 request.status = SCLP_REQ_FILLED; in sclp_sdias_blk_count() 128 request.callback = sdias_callback; in sclp_sdias_blk_count() 130 rc = sdias_sclp_send(&request); in sclp_sdias_blk_count() 169 struct sclp_req request; in sclp_sdias_copy() local 175 memset(&request, 0, sizeof(request)); in sclp_sdias_copy() [all …]
|
/drivers/greybus/ |
D | svc.c | 175 struct gb_svc_pwrmon_sample_get_request request; in gb_svc_pwrmon_sample_get() local 179 request.rail_id = rail_id; in gb_svc_pwrmon_sample_get() 180 request.measurement_type = measurement_type; in gb_svc_pwrmon_sample_get() 183 &request, sizeof(request), in gb_svc_pwrmon_sample_get() 212 struct gb_svc_pwrmon_intf_sample_get_request request; in gb_svc_pwrmon_intf_sample_get() local 216 request.intf_id = intf_id; in gb_svc_pwrmon_intf_sample_get() 217 request.measurement_type = measurement_type; in gb_svc_pwrmon_intf_sample_get() 221 &request, sizeof(request), in gb_svc_pwrmon_intf_sample_get() 259 struct gb_svc_intf_device_id_request request; in gb_svc_intf_device_id() local 261 request.intf_id = intf_id; in gb_svc_intf_device_id() [all …]
|
D | control.c | 21 struct gb_control_version_request request; in gb_control_get_version() local 25 request.major = GB_CONTROL_VERSION_MAJOR; in gb_control_get_version() 26 request.minor = GB_CONTROL_VERSION_MINOR; in gb_control_get_version() 30 &request, sizeof(request), &response, in gb_control_get_version() 39 if (response.major > request.major) { in gb_control_get_version() 42 response.major, request.major); in gb_control_get_version() 59 struct gb_control_bundle_version_request request; in gb_control_get_bundle_version() local 63 request.bundle_id = bundle->id; in gb_control_get_bundle_version() 67 &request, sizeof(request), in gb_control_get_bundle_version() 133 struct gb_control_connected_request request; in gb_control_connected_operation() local [all …]
|
/drivers/usb/musb/ |
D | musb_gadget.c | 32 static inline void map_dma_buffer(struct musb_request *request, in map_dma_buffer() argument 38 request->map_state = UN_MAPPED; in map_dma_buffer() 49 musb_ep->packet_sz, request->request.buf, in map_dma_buffer() 50 request->request.length); in map_dma_buffer() 54 if (request->request.dma == DMA_ADDR_INVALID) { in map_dma_buffer() 60 request->request.buf, in map_dma_buffer() 61 request->request.length, in map_dma_buffer() 62 request->tx in map_dma_buffer() 69 request->request.dma = dma_addr; in map_dma_buffer() 70 request->map_state = MUSB_MAPPED; in map_dma_buffer() [all …]
|
/drivers/platform/chrome/wilco_ec/ |
D | keyboard_leds.c | 56 struct wilco_keyboard_leds_msg *request, in send_kbbl_msg() argument 64 msg.request_data = request; in send_kbbl_msg() 65 msg.request_size = sizeof(*request); in send_kbbl_msg() 81 struct wilco_keyboard_leds_msg request; in set_kbbl() local 85 memset(&request, 0, sizeof(request)); in set_kbbl() 86 request.command = WILCO_EC_COMMAND_KBBL; in set_kbbl() 87 request.subcmd = WILCO_KBBL_SUBCMD_SET_STATE; in set_kbbl() 88 request.mode = WILCO_KBBL_MODE_FLAG_PWM; in set_kbbl() 89 request.percent = brightness; in set_kbbl() 91 ret = send_kbbl_msg(ec, &request, &response); in set_kbbl() [all …]
|
/drivers/staging/greybus/ |
D | gpio.c | 62 struct gb_gpio_activate_request request; in gb_gpio_activate_operation() local 70 request.which = which; in gb_gpio_activate_operation() 72 &request, sizeof(request), NULL, 0); in gb_gpio_activate_operation() 88 struct gb_gpio_deactivate_request request; in gb_gpio_deactivate_operation() local 91 request.which = which; in gb_gpio_deactivate_operation() 93 &request, sizeof(request), NULL, 0); in gb_gpio_deactivate_operation() 109 struct gb_gpio_get_direction_request request; in gb_gpio_get_direction_operation() local 114 request.which = which; in gb_gpio_get_direction_operation() 116 &request, sizeof(request), in gb_gpio_get_direction_operation() 133 struct gb_gpio_direction_in_request request; in gb_gpio_direction_in_operation() local [all …]
|
D | pwm.c | 44 struct gb_pwm_activate_request request; in gb_pwm_activate_operation() local 51 request.which = which; in gb_pwm_activate_operation() 59 &request, sizeof(request), NULL, 0); in gb_pwm_activate_operation() 69 struct gb_pwm_deactivate_request request; in gb_pwm_deactivate_operation() local 76 request.which = which; in gb_pwm_deactivate_operation() 84 &request, sizeof(request), NULL, 0); in gb_pwm_deactivate_operation() 94 struct gb_pwm_config_request request; in gb_pwm_config_operation() local 101 request.which = which; in gb_pwm_config_operation() 102 request.duty = cpu_to_le32(duty); in gb_pwm_config_operation() 103 request.period = cpu_to_le32(period); in gb_pwm_config_operation() [all …]
|
D | fw-management.c | 142 struct gb_fw_mgmt_load_and_validate_fw_request request; in fw_mgmt_load_and_validate_operation() local 152 request.load_method = load_method; in fw_mgmt_load_and_validate_operation() 153 strncpy(request.firmware_tag, tag, GB_FIRMWARE_TAG_MAX_SIZE); in fw_mgmt_load_and_validate_operation() 159 if (request.firmware_tag[GB_FIRMWARE_TAG_MAX_SIZE - 1] != '\0') { in fw_mgmt_load_and_validate_operation() 174 request.request_id = ret; in fw_mgmt_load_and_validate_operation() 177 GB_FW_MGMT_TYPE_LOAD_AND_VALIDATE_FW, &request, in fw_mgmt_load_and_validate_operation() 178 sizeof(request), NULL, 0); in fw_mgmt_load_and_validate_operation() 196 struct gb_fw_mgmt_loaded_fw_request *request; in fw_mgmt_interface_fw_loaded_operation() local 205 if (op->request->payload_size != sizeof(*request)) { in fw_mgmt_interface_fw_loaded_operation() 207 op->request->payload_size, sizeof(*request)); in fw_mgmt_interface_fw_loaded_operation() [all …]
|
D | fw-download.c | 226 struct gb_fw_download_find_firmware_request *request; in fw_download_find_firmware() local 231 if (op->request->payload_size != sizeof(*request)) { in fw_download_find_firmware() 234 op->request->payload_size, sizeof(*request)); in fw_download_find_firmware() 238 request = op->request->payload; in fw_download_find_firmware() 239 tag = (const char *)request->firmware_tag; in fw_download_find_firmware() 273 struct gb_fw_download_fetch_firmware_request *request; in fw_download_fetch_firmware() local 281 if (op->request->payload_size != sizeof(*request)) { in fw_download_fetch_firmware() 284 op->request->payload_size, sizeof(*request)); in fw_download_fetch_firmware() 288 request = op->request->payload; in fw_download_fetch_firmware() 289 offset = le32_to_cpu(request->offset); in fw_download_fetch_firmware() [all …]
|
D | loopback.c | 371 void *request, int request_size, in gb_loopback_operation_sync() argument 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 486 memcpy(operation->request->payload, request, request_size); in gb_loopback_async_operation() 511 struct gb_loopback_transfer_request *request; in gb_loopback_sync_sink() local 514 request = kmalloc(len + sizeof(*request), GFP_KERNEL); in gb_loopback_sync_sink() 515 if (!request) in gb_loopback_sync_sink() 518 request->len = cpu_to_le32(len); in gb_loopback_sync_sink() 520 request, len + sizeof(*request), in gb_loopback_sync_sink() 522 kfree(request); in gb_loopback_sync_sink() [all …]
|
/drivers/usb/serial/ |
D | upd78f0730.c | 209 struct upd78f0730_set_dtr_rts request; in upd78f0730_tiocmset() local 232 request.opcode = UPD78F0730_CMD_SET_DTR_RTS; in upd78f0730_tiocmset() 233 request.params = private->line_signals; in upd78f0730_tiocmset() 235 res = upd78f0730_send_ctl(port, &request, sizeof(request)); in upd78f0730_tiocmset() 245 struct upd78f0730_set_dtr_rts request; in upd78f0730_break_ctl() local 258 request.opcode = UPD78F0730_CMD_SET_DTR_RTS; in upd78f0730_break_ctl() 259 request.params = private->line_signals; in upd78f0730_break_ctl() 261 upd78f0730_send_ctl(port, &request, sizeof(request)); in upd78f0730_break_ctl() 303 struct upd78f0730_line_control request; in upd78f0730_set_termios() local 315 request.opcode = UPD78F0730_CMD_LINE_CONTROL; in upd78f0730_set_termios() [all …]
|
/drivers/thunderbolt/ |
D | icm.c | 60 struct icm_usb4_switch_op request; member 275 const struct icm_pkg_header *req_hdr = req->request; in icm_match() 298 static int icm_request(struct tb *tb, const void *request, size_t request_size, in icm_request() argument 314 req->request = request; in icm_request() 401 struct icm_fr_pkg_get_topology request = { in icm_fr_get_route() local 412 ret = icm_request(tb, &request, sizeof(request), switches, in icm_fr_get_route() 459 struct icm_pkg_driver_ready request = { in icm_fr_driver_ready() local 465 ret = icm_request(tb, &request, sizeof(request), &reply, sizeof(reply), in icm_fr_driver_ready() 478 struct icm_fr_pkg_approve_device request; in icm_fr_approve_switch() local 482 memset(&request, 0, sizeof(request)); in icm_fr_approve_switch() [all …]
|
/drivers/s390/net/ |
D | ism_drv.c | 64 cmd.request.hdr.cmd = cmd_code; in ism_cmd_simple() 65 cmd.request.hdr.len = sizeof(cmd.request); in ism_cmd_simple() 75 cmd.request.hdr.cmd = ISM_QUERY_INFO; in query_info() 76 cmd.request.hdr.len = sizeof(cmd.request); in query_info() 99 cmd.request.hdr.cmd = ISM_REG_SBA; in register_sba() 100 cmd.request.hdr.len = sizeof(cmd.request); in register_sba() 101 cmd.request.sba = dma_handle; in register_sba() 126 cmd.request.hdr.cmd = ISM_REG_IEQ; in register_ieq() 127 cmd.request.hdr.len = sizeof(cmd.request); in register_ieq() 128 cmd.request.ieq = dma_handle; in register_ieq() [all …]
|
/drivers/soc/tegra/ |
D | powergate-bpmp.c | 34 struct mrq_pg_request request; in tegra_bpmp_powergate_set_state() local 38 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_set_state() 39 request.cmd = CMD_PG_SET_STATE; in tegra_bpmp_powergate_set_state() 40 request.id = id; in tegra_bpmp_powergate_set_state() 41 request.set_state.state = state; in tegra_bpmp_powergate_set_state() 45 msg.tx.data = &request; in tegra_bpmp_powergate_set_state() 46 msg.tx.size = sizeof(request); in tegra_bpmp_powergate_set_state() 61 struct mrq_pg_request request; in tegra_bpmp_powergate_get_state() local 65 memset(&request, 0, sizeof(request)); in tegra_bpmp_powergate_get_state() 66 request.cmd = CMD_PG_GET_STATE; in tegra_bpmp_powergate_get_state() [all …]
|
/drivers/staging/rtl8712/ |
D | usb_ops.c | 27 u8 request; in usb_read8() local 36 request = 0x05; in usb_read8() 41 status = r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, in usb_read8() 50 u8 request; in usb_read16() local 59 request = 0x05; in usb_read16() 64 status = r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, in usb_read16() 73 u8 request; in usb_read32() local 82 request = 0x05; in usb_read32() 87 status = r8712_usbctrl_vendorreq(intfpriv, request, wvalue, index, in usb_read32() 96 u8 request; in usb_write8() local [all …]
|
/drivers/firewire/ |
D | core-transaction.c | 631 struct fw_request *request; in free_response_callback() local 633 request = container_of(packet, struct fw_request, response); in free_response_callback() 634 kfree(request); in free_response_callback() 749 struct fw_request *request; in allocate_request() local 782 request = kmalloc(sizeof(*request) + length, GFP_ATOMIC); in allocate_request() 783 if (request == NULL) in allocate_request() 786 request->response.speed = p->speed; in allocate_request() 787 request->response.timestamp = in allocate_request() 789 request->response.generation = p->generation; in allocate_request() 790 request->response.ack = 0; in allocate_request() [all …]
|
/drivers/gpu/drm/i915/selftests/ |
D | mock_request.c | 33 struct i915_request *request; in mock_request() local 36 request = intel_context_create_request(ce); in mock_request() 37 if (IS_ERR(request)) in mock_request() 40 request->mock.delay = delay; in mock_request() 41 return request; in mock_request() 44 bool mock_cancel_request(struct i915_request *request) in mock_cancel_request() argument 47 container_of(request->engine, typeof(*engine), base); in mock_cancel_request() 51 was_queued = !list_empty(&request->mock.link); in mock_cancel_request() 52 list_del_init(&request->mock.link); in mock_cancel_request() 56 i915_request_unsubmit(request); in mock_cancel_request()
|
/drivers/net/hyperv/ |
D | rndis_filter.c | 85 struct rndis_request *request; in get_rndis_request() local 90 request = kzalloc(sizeof(struct rndis_request), GFP_KERNEL); in get_rndis_request() 91 if (!request) in get_rndis_request() 94 init_completion(&request->wait_event); in get_rndis_request() 96 rndis_msg = &request->request_msg; in get_rndis_request() 100 request->pkt.q_idx = 0; in get_rndis_request() 112 list_add_tail(&request->list_ent, &dev->req_list); in get_rndis_request() 115 return request; in get_rndis_request() 265 struct rndis_request *request) in rndis_set_link_state() argument 269 u32 msg_len = request->response_msg.msg_len; in rndis_set_link_state() [all …]
|
/drivers/gpu/drm/i915/gt/ |
D | mock_engine.c | 100 static void advance(struct i915_request *request) in advance() argument 102 list_del_init(&request->mock.link); in advance() 103 i915_request_mark_complete(request); in advance() 104 GEM_BUG_ON(!i915_request_completed(request)); in advance() 106 intel_engine_signal_breadcrumbs(request->engine); in advance() 112 struct i915_request *request; in hw_delay_complete() local 118 request = first_request(engine); in hw_delay_complete() 119 if (request) in hw_delay_complete() 120 advance(request); in hw_delay_complete() 126 while ((request = first_request(engine))) { in hw_delay_complete() [all …]
|
/drivers/i2c/busses/ |
D | i2c-mlxbf.c | 735 struct mlxbf_i2c_smbus_request *request) in mlxbf_i2c_smbus_start_transaction() argument 745 if (request->operation_cnt > MLXBF_I2C_SMBUS_MAX_OP_CNT) in mlxbf_i2c_smbus_start_transaction() 756 slave = request->slave & GENMASK(6, 0); in mlxbf_i2c_smbus_start_transaction() 775 for (op_idx = 0; op_idx < request->operation_cnt; op_idx++) { in mlxbf_i2c_smbus_start_transaction() 776 operation = &request->operation[op_idx]; in mlxbf_i2c_smbus_start_transaction() 866 mlxbf_i2c_smbus_quick_command(struct mlxbf_i2c_smbus_request *request, in mlxbf_i2c_smbus_quick_command() argument 869 request->operation_cnt = MLXBF_I2C_SMBUS_OP_CNT_1; in mlxbf_i2c_smbus_quick_command() 871 request->operation[0].length = 0; in mlxbf_i2c_smbus_quick_command() 872 request->operation[0].flags = MLXBF_I2C_F_WRITE; in mlxbf_i2c_smbus_quick_command() 873 request->operation[0].flags |= read ? MLXBF_I2C_F_READ : 0; in mlxbf_i2c_smbus_quick_command() [all …]
|