Home
last modified time | relevance | path

Searched full:request (Results 1 – 25 of 3607) sorted by relevance

12345678910>>...145

/Linux-v5.10/drivers/s390/char/
Dtape_std.c38 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()
57 struct tape_request *request; in tape_std_assign() local
59 request = tape_alloc_request(2, 11); in tape_std_assign()
60 if (IS_ERR(request)) in tape_std_assign()
61 return PTR_ERR(request); in tape_std_assign()
63 request->op = TO_ASSIGN; in tape_std_assign()
64 tape_ccw_cc(request->cpaddr, ASSIGN, 11, request->cpdata); in tape_std_assign()
65 tape_ccw_end(request->cpaddr + 1, NOP, 0, NULL); in tape_std_assign()
[all …]
Dtape_34xx.c56 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 …]
Dtape_core.c292 __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()
434 * request. We refuse to suspend if the device is loaded or in use for the
483 * request. We may prevent this by returning an error.
641 struct tape_request * request; in __tape_discard_requests() local
645 request = list_entry(l, struct tape_request, list); in __tape_discard_requests()
646 if (request->status == TAPE_REQUEST_IN_IO) in __tape_discard_requests()
[all …]
Dtape_3590.c204 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 …]
/Linux-v5.10/include/media/
Dmedia-request.h3 * Media device request objects
23 * enum media_request_state - media request state
26 * @MEDIA_REQUEST_STATE_VALIDATING: Validating the request, no state changes
29 * @MEDIA_REQUEST_STATE_COMPLETE: Completed, the request is done
30 * @MEDIA_REQUEST_STATE_CLEANING: Cleaning, the request is being re-inited
31 * @MEDIA_REQUEST_STATE_UPDATING: The request is being updated, i.e.
32 * request objects are being added,
34 * @NR_OF_MEDIA_REQUEST_STATE: The number of media request states, used
50 * struct media_request - Media device request
51 * @mdev: Media device this request belongs to
[all …]
/Linux-v5.10/drivers/greybus/
Dsvc.c175 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 …]
/Linux-v5.10/fs/nfsd/
Dxdr4.h89 u32 ac_req_access; /* request */
95 u32 cl_seqid; /* request */
96 stateid_t cl_stateid; /* request+response */
100 u64 co_offset; /* request */
101 u32 co_count; /* request */
106 u32 cr_namelen; /* request */
107 char * cr_name; /* request */
108 u32 cr_type; /* request */
109 union { /* request */
120 u32 cr_bmval[3]; /* request */
[all …]
/Linux-v5.10/Documentation/userspace-api/media/mediactl/
Drequest-api.rst4 .. _media-request-api:
6 Request API
9 The Request API has been designed to allow V4L2 to deal with requirements of
19 Supporting these features without the Request API is not always possible and if
26 The Request API allows a specific configuration of the pipeline (media
31 of request completion are also available for reading.
36 The Request API extends the Media Controller API and cooperates with
37 subsystem-specific APIs to support request usage. At the Media Controller
39 node. Their life cycle is then managed through the request file descriptors in
42 request support, such as V4L2 APIs that take an explicit ``request_fd``
[all …]
Dmedia-request-ioc-queue.rst13 MEDIA_REQUEST_IOC_QUEUE - Queue a request
31 If the media device supports :ref:`requests <media-request-api>`, then
32 this request ioctl can be used to queue a previously allocated request.
34 If the request was successfully queued, then the file descriptor can be
35 :ref:`polled <request-func-poll>` to wait for the request to complete.
37 If the request was already queued before, then ``EBUSY`` is returned.
38 Other errors can be returned if the contents of the request contained
40 common error codes. On error both the request and driver state are unchanged.
42 Once a request is queued, then the driver is required to gracefully handle
43 errors that occur when the request is applied to the hardware. The
[all …]
/Linux-v5.10/sound/soc/intel/catpt/
Dmessages.c17 struct catpt_ipc_msg request = {{0}}, reply; in catpt_ipc_get_fw_version() local
20 request.header = msg.val; in catpt_ipc_get_fw_version()
24 ret = catpt_dsp_send_msg(cdev, request, &reply); in catpt_ipc_get_fw_version()
58 struct catpt_ipc_msg request, reply; in catpt_ipc_alloc_stream() local
91 request.header = msg.val; in catpt_ipc_alloc_stream()
92 request.size = size; in catpt_ipc_alloc_stream()
93 request.data = payload; in catpt_ipc_alloc_stream()
97 ret = catpt_dsp_send_msg(cdev, request, &reply); in catpt_ipc_alloc_stream()
109 struct catpt_ipc_msg request; in catpt_ipc_free_stream() local
112 request.header = msg.val; in catpt_ipc_free_stream()
[all …]
/Linux-v5.10/include/linux/
Delevator.h36 bool (*allow_merge)(struct request_queue *, struct request *, struct bio *);
38 int (*request_merge)(struct request_queue *q, struct request **, struct bio *);
39 void (*request_merged)(struct request_queue *, struct request *, enum elv_merge);
40 void (*requests_merged)(struct request_queue *, struct request *, struct request *);
42 void (*prepare_request)(struct request *);
43 void (*finish_request)(struct request *);
45 struct request *(*dispatch_request)(struct blk_mq_hw_ctx *);
47 void (*completed_request)(struct request *, u64);
48 void (*requeue_request)(struct request *);
49 struct request *(*former_request)(struct request_queue *, struct request *);
[all …]
Dblk-mq.h56 * @sched_data: Pointer owned by the IO scheduler attached to a request
61 * @queue: Pointer to the request queue that owns this hardware context.
75 * pending request in that software queue.
114 * assigned when a request is dispatched from a hardware queue.
119 * scheduler associated with a request queue, a tag is assigned when
120 * that request is allocated. Else, this member is not used.
139 * shared across request queues.
147 /** @cpuhp_online: List to store request if CPU is going to die */
149 /** @cpuhp_dead: List to store request if some CPU die. */
217 * struct blk_mq_tag_set - tag set that can be shared between request queues
[all …]
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_request.h62 * I915_FENCE_FLAG_ACTIVE - this request is currently submitted to HW.
65 * by __i915_request_unsubmit() if we preempt this request.
67 * Finally cleared for consistency on retiring the request, when
68 * we know the HW is no longer running this request.
75 * I915_FENCE_FLAG_PQUEUE - this request is ready for execution
77 * Using the scheduler, when a request is ready for execution it is put
87 * I915_FENCE_FLAG_HOLD - this request is currently on hold
89 * This request has been suspended, pending an ongoing investigation.
94 * I915_FENCE_FLAG_INITIAL_BREADCRUMB - this request has the initial
101 * I915_FENCE_FLAG_SIGNAL - this request is currently on signal_list
[all …]
/Linux-v5.10/block/
Dblk-crypto-internal.h26 bool bio_crypt_rq_ctx_compatible(struct request *rq, struct bio *bio);
31 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
38 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
45 static inline bool bio_crypt_ctx_merge_rq(struct request *req, in bio_crypt_ctx_merge_rq()
46 struct request *next) in bio_crypt_ctx_merge_rq()
52 static inline void blk_crypto_rq_set_defaults(struct request *rq) in blk_crypto_rq_set_defaults()
58 static inline bool blk_crypto_rq_is_encrypted(struct request *rq) in blk_crypto_rq_is_encrypted()
65 static inline bool bio_crypt_rq_ctx_compatible(struct request *rq, in bio_crypt_rq_ctx_compatible()
71 static inline bool bio_crypt_ctx_front_mergeable(struct request *req, in bio_crypt_ctx_front_mergeable()
77 static inline bool bio_crypt_ctx_back_mergeable(struct request *req, in bio_crypt_ctx_back_mergeable()
[all …]
Dblk-exec.c16 * blk_end_sync_rq - executes a completion event on a request
17 * @rq: request to complete
18 * @error: end I/O status of the request
20 static void blk_end_sync_rq(struct request *rq, blk_status_t error) in blk_end_sync_rq()
27 * complete last, if this is a stack request the process (and thus in blk_end_sync_rq()
34 * blk_execute_rq_nowait - insert a request into queue for execution
35 * @q: queue to insert the request in
37 * @rq: request to insert
38 * @at_head: insert request at head or tail of queue
42 * Insert a fully prepared request at the back of the I/O scheduler queue
[all …]
/Linux-v5.10/drivers/usb/musb/
Dmusb_gadget.c32 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()
43 /* Check if DMA engine can handle this request. in map_dma_buffer()
44 * DMA code must reject the USB request explicitly. in map_dma_buffer()
45 * Default behaviour is to map the request. 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()
[all …]
/Linux-v5.10/tools/testing/kunit/
Dkunit.py54 request: KunitConfigRequest) -> KunitResult:
58 success = linux.build_reconfig(request.build_dir, request.make_options)
69 request: KunitBuildRequest) -> KunitResult:
73 success = linux.build_um_kernel(request.alltests,
74 request.jobs,
75 request.build_dir,
76 request.make_options)
91 request: KunitExecRequest) -> KunitResult:
95 timeout=None if request.alltests else request.timeout,
96 build_dir=request.build_dir)
[all …]
/Linux-v5.10/tools/perf/pmu-events/arch/x86/westmereep-dp/
Dmemory.json18 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = ANY_DRAM AND REMOTE_FWD",
29 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = ANY_LLC_MISS",
40 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = OTHER_LOCAL_DRAM",
51 "BriefDescription": "REQUEST = ANY_DATA read and RESPONSE = REMOTE_DRAM",
62 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = ANY_DRAM AND REMOTE_FWD",
73 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = ANY_LLC_MISS",
84 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = OTHER_LOCAL_DRAM",
95 "BriefDescription": "REQUEST = ANY IFETCH and RESPONSE = REMOTE_DRAM",
106 "BriefDescription": "REQUEST = ANY_REQUEST and RESPONSE = ANY_DRAM AND REMOTE_FWD",
117 "BriefDescription": "REQUEST = ANY_REQUEST and RESPONSE = ANY_LLC_MISS",
[all …]
/Linux-v5.10/drivers/media/usb/as102/
Das10x_cmd.h26 /* context request types */
83 /* request */
85 /* request identifier */
98 /* request */
100 /* request identifier */
113 /* request */
115 /* request identifier */
130 /* request */
132 /* request identifier */
147 /* request */
[all …]
/Linux-v5.10/drivers/staging/greybus/
Dgpio.c62 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 …]
Dpwm.c44 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 …]
Dfw-management.c142 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()
167 dev_err(fw_mgmt->parent, "failed to allocate request id (%d)\n", 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()
184 "load and validate firmware request failed (%d)\n", in fw_mgmt_load_and_validate_operation()
196 struct gb_fw_mgmt_loaded_fw_request *request; in fw_mgmt_interface_fw_loaded_operation() local
[all …]
/Linux-v5.10/drivers/scsi/fnic/
Dfcpio.h41 * Initiator request types
50 * Target request types
64 * Misc request types
84 FCPIO_SUCCESS = 0, /* request was successful */
87 * If a request to the firmware is rejected, the original request
91 FCPIO_OUT_OF_RESOURCE, /* out of resources to complete request */
92 FCPIO_INVALID_PARAM, /* some parameter in request is invalid */
93 FCPIO_REQ_NOT_SUPPORTED, /* request type is not supported */
97 * Once a request is processed, the firmware will usually return
101 FCPIO_ABORTED = 0x41, /* request was aborted */
[all …]
/Linux-v5.10/drivers/platform/chrome/wilco_ec/
Dkeyboard_leds.c54 /* Send a request, get a response, and check that the response is good. */
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()
[all …]
/Linux-v5.10/drivers/s390/net/
Dism_drv.c64 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 …]

12345678910>>...145