Home
last modified time | relevance | path

Searched refs:rtype (Results 1 – 25 of 65) sorted by relevance

123

/linux/include/linux/surface_aggregator/
H A Dcontroller.h436 #define SSAM_DEFINE_SYNC_REQUEST_R(name, rtype, spec...) \ argument
437 static int name(struct ssam_controller *ctrl, rtype *ret) \
452 rsp.capacity = sizeof(rtype); \
460 if (rsp.length != sizeof(rtype)) { \
464 sizeof(rtype), rsp.length, rqst.target_category,\
497 #define SSAM_DEFINE_SYNC_REQUEST_WR(name, atype, rtype, spec...) \ argument
498 static int name(struct ssam_controller *ctrl, const atype *arg, rtype *ret) \
513 rsp.capacity = sizeof(rtype); \
521 if (rsp.length != sizeof(rtype)) { \
525 sizeof(rtype), rsp.length, rqst.target_category,\
[all …]
H A Ddevice.h522 #define SSAM_DEFINE_SYNC_REQUEST_CL_R(name, rtype, spec...) \ argument
523 SSAM_DEFINE_SYNC_REQUEST_MD_R(__raw_##name, rtype, spec) \
524 static int name(struct ssam_device *sdev, rtype *ret) \
558 #define SSAM_DEFINE_SYNC_REQUEST_CL_WR(name, atype, rtype, spec...) \ argument
559 SSAM_DEFINE_SYNC_REQUEST_MD_WR(__raw_##name, atype, rtype, spec) \
560 static int name(struct ssam_device *sdev, const atype *arg, rtype *ret) \
/linux/drivers/nvme/target/
H A Dpr.c220 reg->rtype = new_rtype; in nvmet_pr_set_new_holder()
270 original_rtype = holder->rtype; in nvmet_pr_unregister_one()
276 first_reg->rtype = original_rtype; in nvmet_pr_unregister_one()
339 new->rtype = holder->rtype; in nvmet_pr_update_reg_attr()
418 u8 rtype) in nvmet_pr_acquire() argument
427 if (holder->rtype == rtype) in nvmet_pr_acquire()
432 nvmet_pr_set_new_holder(pr, rtype, reg); in nvmet_pr_acquire()
527 reg->rtype = new_rtype; in nvmet_pr_update_holder_rtype()
532 u8 rtype, in nvmet_pr_preempt() argument
548 original_rtype = holder->rtype; in nvmet_pr_preempt()
[all …]
H A Dtrace.c228 u8 rtype = cdw10[1]; in nvmet_trace_resv_acq() local
235 if (rtype < ARRAY_SIZE(rtype_strs) && rtype_strs[rtype]) in nvmet_trace_resv_acq()
236 rtype_str = rtype_strs[rtype]; in nvmet_trace_resv_acq()
239 racqa, racqa_str, iekey, rtype, rtype_str); in nvmet_trace_resv_acq()
254 u8 rtype = cdw10[1]; in nvmet_trace_resv_rel() local
261 if (rtype < ARRAY_SIZE(rtype_strs) && rtype_strs[rtype]) in nvmet_trace_resv_rel()
262 rtype_str = rtype_strs[rtype]; in nvmet_trace_resv_rel()
265 rrela, rrela_str, iekey, rtype, rtype_str); in nvmet_trace_resv_rel()
/linux/arch/riscv/kvm/
H A Dvcpu_fp.c80 unsigned long rtype) in kvm_riscv_vcpu_get_reg_fp() argument
87 rtype); in kvm_riscv_vcpu_get_reg_fp()
90 if ((rtype == KVM_REG_RISCV_FP_F) && in kvm_riscv_vcpu_get_reg_fp()
103 } else if ((rtype == KVM_REG_RISCV_FP_D) && in kvm_riscv_vcpu_get_reg_fp()
129 unsigned long rtype) in kvm_riscv_vcpu_set_reg_fp() argument
136 rtype); in kvm_riscv_vcpu_set_reg_fp()
139 if ((rtype == KVM_REG_RISCV_FP_F) && in kvm_riscv_vcpu_set_reg_fp()
152 } else if ((rtype == KVM_REG_RISCV_FP_D) && in kvm_riscv_vcpu_set_reg_fp()
/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.c23 static u32 nfp_abm_portid(enum nfp_repr_type rtype, unsigned int id) in nfp_abm_portid() argument
25 return FIELD_PREP(NFP_ABM_PORTID_TYPE, rtype) | in nfp_abm_portid()
59 enum nfp_repr_type rtype; in nfp_abm_repr_get() local
63 rtype = FIELD_GET(NFP_ABM_PORTID_TYPE, port_id); in nfp_abm_repr_get()
66 reprs = rcu_dereference(app->reprs[rtype]); in nfp_abm_repr_get()
81 enum nfp_repr_type rtype; in nfp_abm_spawn_repr() local
89 rtype = NFP_REPR_TYPE_PHYS_PORT; in nfp_abm_spawn_repr()
92 rtype = NFP_REPR_TYPE_PF; in nfp_abm_spawn_repr()
123 err = nfp_repr_init(app, netdev, nfp_abm_portid(rtype, alink->id), in nfp_abm_spawn_repr()
128 reprs = nfp_reprs_get_locked(app, rtype); in nfp_abm_spawn_repr()
[all …]
/linux/drivers/nvme/host/
H A Dtrace.c274 u8 rtype = cdw10[1]; in nvme_trace_resv_acq() local
281 if (rtype < ARRAY_SIZE(rtype_strs) && rtype_strs[rtype]) in nvme_trace_resv_acq()
282 rtype_str = rtype_strs[rtype]; in nvme_trace_resv_acq()
285 racqa, racqa_str, iekey, rtype, rtype_str); in nvme_trace_resv_acq()
300 u8 rtype = cdw10[1]; in nvme_trace_resv_rel() local
307 if (rtype < ARRAY_SIZE(rtype_strs) && rtype_strs[rtype]) in nvme_trace_resv_rel()
308 rtype_str = rtype_strs[rtype]; in nvme_trace_resv_rel()
311 rrela, rrela_str, iekey, rtype, rtype_str); in nvme_trace_resv_rel()
/linux/drivers/bluetooth/
H A Dbtqca.c25 u8 rtype = EDL_APP_VER_RES_EVT; in qca_read_soc_version() local
36 rtype = EDL_PATCH_VER_REQ_CMD; in qca_read_soc_version()
58 edl->rtype != rtype) { in qca_read_soc_version()
60 edl->rtype); in qca_read_soc_version()
119 edl->rtype != EDL_GET_BUILD_INFO_CMD) { in qca_read_fw_build_info()
121 edl->rtype); in qca_read_fw_build_info()
177 if (edl->cresp != EDL_PATCH_CONFIG_RES_EVT || edl->rtype != EDL_PATCH_CONFIG_CMD) { in qca_send_patch_config_cmd()
179 edl->rtype); in qca_send_patch_config_cmd()
234 edl->rtype != EDL_GET_BID_REQ_CMD) { in qca_read_fw_board_id()
235 bt_dev_err(hdev, "QCA Wrong packet: %d %d", edl->cresp, edl->rtype); in qca_read_fw_board_id()
[all …]
/linux/include/uapi/linux/
H A Duhid.h84 __u8 rtype; member
90 __u8 rtype; member
103 __u8 rtype; member
160 __u8 rtype; member
/linux/include/linux/
H A Dhid_bpf.h69 size_t len, enum hid_report_type rtype,
159 enum hid_report_type rtype, enum hid_class_request reqtype,
206 u32 size, enum hid_report_type rtype,
222 u32 size, enum hid_report_type rtype, in dispatch_hid_bpf_raw_requests() argument
/linux/drivers/hid/
H A Duhid.c233 u8 *buf, size_t count, u8 rtype) in uhid_hid_get_report() argument
249 ev->u.get_report.rtype = rtype; in uhid_hid_get_report()
276 const u8 *buf, size_t count, u8 rtype) in uhid_hid_set_report() argument
291 ev->u.set_report.rtype = rtype; in uhid_hid_set_report()
317 __u8 *buf, size_t len, unsigned char rtype, in uhid_hid_raw_request() argument
322 switch (rtype) { in uhid_hid_raw_request()
350 __u8 rtype; in uhid_hid_output_raw() local
356 rtype = UHID_FEATURE_REPORT; in uhid_hid_output_raw()
359 rtype = UHID_OUTPUT_REPORT; in uhid_hid_output_raw()
374 ev->u.output.rtype = rtype; in uhid_hid_output_raw()
/linux/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c83 u32 size, enum hid_report_type rtype, in dispatch_hid_bpf_raw_requests() argument
102 if (rtype >= HID_REPORT_TYPES) in dispatch_hid_bpf_raw_requests()
111 ret = e->hid_hw_request(&ctx_kern.ctx, reportnum, rtype, reqtype, source); in dispatch_hid_bpf_raw_requests()
357 enum hid_report_type rtype) in __hid_bpf_hw_check_params() argument
367 switch (rtype) { in __hid_bpf_hw_check_params()
379 report_enum = ctx->hid->report_enum + rtype; in __hid_bpf_hw_check_params()
405 enum hid_report_type rtype, enum hid_class_request reqtype) in hid_bpf_hw_request() argument
418 ret = __hid_bpf_hw_check_params(ctx, buf, &size, rtype); in hid_bpf_hw_request()
442 rtype, in hid_bpf_hw_request()
/linux/tools/testing/selftests/hid/progs/
H A Dhid.c312 enum hid_report_type rtype, enum hid_class_request reqtype, __u64 source) in BPF_PROG() argument
333 enum hid_report_type rtype, enum hid_class_request reqtype, __u64 source) in BPF_PROG() argument
345 ret = hid_bpf_hw_request(hctx, data, 2, rtype, reqtype); in BPF_PROG()
364 enum hid_report_type rtype, enum hid_class_request reqtype, __u64 source) in BPF_PROG() argument
377 ret = hid_bpf_hw_request(hctx, data, 2, rtype, reqtype); in BPF_PROG()
391 enum hid_report_type rtype, enum hid_class_request reqtype, __u64 source) in BPF_PROG() argument
/linux/drivers/hid/intel-thc-hid/intel-quickspi/
H A Dquickspi-hid.c53 unsigned char rtype, int reqtype) in quickspi_hid_raw_request() argument
64 ret = quickspi_get_report(qsdev, rtype, reportnum, buf); in quickspi_hid_raw_request()
67 ret = quickspi_set_report(qsdev, rtype, reportnum, buf, len); in quickspi_hid_raw_request()
/linux/security/tomoyo/
H A Dmount.c90 struct tomoyo_path_info rtype; in tomoyo_mount_acl()
102 rtype.name = requested_type; in tomoyo_mount_acl()
103 tomoyo_fill_path_info(&rtype); in tomoyo_mount_acl()
164 r->param.mount.type = &rtype; in tomoyo_mount_acl()
88 struct tomoyo_path_info rtype; tomoyo_mount_acl() local
/linux/drivers/hid/intel-thc-hid/intel-quicki2c/
H A Dquicki2c-hid.c54 unsigned char rtype, int reqtype) in quicki2c_hid_raw_request() argument
65 ret = quicki2c_get_report(qcdev, rtype, reportnum, buf, len); in quicki2c_hid_raw_request()
68 ret = quicki2c_set_report(qcdev, rtype, reportnum, buf, len); in quicki2c_hid_raw_request()
/linux/net/sunrpc/xprtrdma/
H A Drpc_rdma.c336 enum rpcrdma_chunktype rtype) in rpcrdma_encode_read_list() argument
344 if (rtype == rpcrdma_noch_pullup || rtype == rpcrdma_noch_mapped) in rpcrdma_encode_read_list()
348 if (rtype == rpcrdma_areadch) in rpcrdma_encode_read_list()
352 rtype, seg); in rpcrdma_encode_read_list()
793 enum rpcrdma_chunktype rtype) in rpcrdma_prepare_send_sges() argument
812 switch (rtype) { in rpcrdma_prepare_send_sges()
864 enum rpcrdma_chunktype rtype, wtype; in rpcrdma_marshal_req() local
929 rtype = buf->len < rdmab_length(req->rl_sendbuf) ? in rpcrdma_marshal_req()
933 rtype = rpcrdma_readch; in rpcrdma_marshal_req()
937 rtype = rpcrdma_areadch; in rpcrdma_marshal_req()
[all …]
/linux/arch/riscv/include/asm/
H A Dkvm_vcpu_fp.h54 unsigned long rtype);
57 unsigned long rtype);
/linux/drivers/hid/surface-hid/
H A Dsurface_hid_core.c158 size_t len, unsigned char rtype, int reqtype) in surface_hid_raw_request() argument
165 if (rtype == HID_OUTPUT_REPORT && reqtype == HID_REQ_SET_REPORT) in surface_hid_raw_request()
168 else if (rtype == HID_FEATURE_REPORT && reqtype == HID_REQ_GET_REPORT) in surface_hid_raw_request()
171 else if (rtype == HID_FEATURE_REPORT && reqtype == HID_REQ_SET_REPORT) in surface_hid_raw_request()
/linux/drivers/hid/intel-ish-hid/
H A Dishtp-hid.c55 __u8 *buf, size_t len, unsigned char rtype, in ishtp_raw_request() argument
63 if (rtype == HID_OUTPUT_REPORT) in ishtp_raw_request()
73 hid_ishtp_get_report(hid, reportnum, rtype); in ishtp_raw_request()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-sli-defs.h110 __BITFIELD_FIELD(uint64_t rtype:2,
122 __BITFIELD_FIELD(uint64_t rtype:2,
/linux/tools/testing/selftests/hid/tests/
H A Dtest_mouse.py417 def set_report(self, req, rnum, rtype, data): argument
418 if rtype != self.UHID_FEATURE_REPORT:
434 def set_report(self, req, rnum, rtype, data): argument
435 super().set_report(req, rnum, rtype, data)
490 def set_report(self, req, rnum, rtype, data): argument
491 if rtype != self.UHID_FEATURE_REPORT:
592 def set_report(self, req, rnum, rtype, data): argument
593 super().set_report(req, rnum, rtype, data)
/linux/drivers/rapidio/devices/
H A Dtsi721_dma.c344 (desc->rtype << 19) | desc->destid); in tsi721_desc_fill_init()
833 enum dma_rtype rtype; in tsi721_prep_rio_sg() local
846 rtype = NREAD; in tsi721_prep_rio_sg()
850 rtype = ALL_NWRITE; in tsi721_prep_rio_sg()
853 rtype = ALL_NWRITE_R; in tsi721_prep_rio_sg()
857 rtype = LAST_NWRITE_R; in tsi721_prep_rio_sg()
876 desc->rtype = rtype; in tsi721_prep_rio_sg()
/linux/drivers/media/i2c/
H A Ds5k5baf.c1376 enum selection_rect rtype; in s5k5baf_get_selection() local
1379 rtype = s5k5baf_get_sel_rect(sel->pad, sel->target); in s5k5baf_get_selection()
1381 switch (rtype) { in s5k5baf_get_selection()
1392 if (rtype == R_COMPOSE) in s5k5baf_get_selection()
1402 switch (rtype) { in s5k5baf_get_selection()
1469 static enum selection_rect rtype; in s5k5baf_set_selection() local
1474 rtype = s5k5baf_get_sel_rect(sel->pad, sel->target); in s5k5baf_set_selection()
1475 if (rtype == R_INVALID || s5k5baf_is_bound_target(sel->target)) in s5k5baf_set_selection()
1479 if (rtype == R_COMPOSE) { in s5k5baf_set_selection()
1491 s5k5baf_set_rect_and_adjust(rects, rtype, &sel->r); in s5k5baf_set_selection()
[all …]
/linux/drivers/s390/crypto/
H A Dzcrypt_msgtype50.c378 unsigned char rtype = ((unsigned char *)reply->msg)[1]; in convert_response() local
380 switch (rtype) { in convert_response()
392 (int)rtype); in convert_response()
396 AP_QID_QUEUE(zq->queue->qid), (int)rtype); in convert_response()

123