Home
last modified time | relevance | path

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

123

/Linux-v6.6/include/linux/surface_aggregator/
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 …]
Ddevice.h523 #define SSAM_DEFINE_SYNC_REQUEST_CL_R(name, rtype, spec...) \ argument
524 SSAM_DEFINE_SYNC_REQUEST_MD_R(__raw_##name, rtype, spec) \
525 static int name(struct ssam_device *sdev, rtype *ret) \
559 #define SSAM_DEFINE_SYNC_REQUEST_CL_WR(name, atype, rtype, spec...) \ argument
560 SSAM_DEFINE_SYNC_REQUEST_MD_WR(__raw_##name, atype, rtype, spec) \
561 static int name(struct ssam_device *sdev, const atype *arg, rtype *ret) \
/Linux-v6.6/arch/riscv/kvm/
Dvcpu_fp.c79 unsigned long rtype) in kvm_riscv_vcpu_get_reg_fp() argument
86 rtype); in kvm_riscv_vcpu_get_reg_fp()
89 if ((rtype == KVM_REG_RISCV_FP_F) && in kvm_riscv_vcpu_get_reg_fp()
100 } else if ((rtype == KVM_REG_RISCV_FP_D) && in kvm_riscv_vcpu_get_reg_fp()
124 unsigned long rtype) in kvm_riscv_vcpu_set_reg_fp() argument
131 rtype); in kvm_riscv_vcpu_set_reg_fp()
134 if ((rtype == KVM_REG_RISCV_FP_F) && in kvm_riscv_vcpu_set_reg_fp()
145 } else if ((rtype == KVM_REG_RISCV_FP_D) && in kvm_riscv_vcpu_set_reg_fp()
/Linux-v6.6/drivers/bluetooth/
Dbtqca.c27 u8 rtype = EDL_APP_VER_RES_EVT; in qca_read_soc_version() local
38 rtype = EDL_PATCH_VER_REQ_CMD; in qca_read_soc_version()
65 edl->rtype != rtype) { in qca_read_soc_version()
67 edl->rtype); in qca_read_soc_version()
125 edl->rtype != EDL_GET_BUILD_INFO_CMD) { in qca_read_fw_build_info()
127 edl->rtype); in qca_read_fw_build_info()
175 if (edl->cresp != EDL_PATCH_CONFIG_RES_EVT || edl->rtype != EDL_PATCH_CONFIG_CMD) { in qca_send_patch_config_cmd()
177 edl->rtype); in qca_send_patch_config_cmd()
358 u8 rtype = EDL_TVL_DNLD_RES_EVT; in qca_tlv_send_segment() local
375 rtype = EDL_PATCH_TLV_REQ_CMD; in qca_tlv_send_segment()
[all …]
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/abm/
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-v6.6/include/uapi/linux/
Duhid.h84 __u8 rtype; member
90 __u8 rtype; member
103 __u8 rtype; member
160 __u8 rtype; member
/Linux-v6.6/drivers/hid/
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-v6.6/security/tomoyo/
Dmount.c88 struct tomoyo_path_info rtype; in tomoyo_mount_acl() local
100 rtype.name = requested_type; in tomoyo_mount_acl()
101 tomoyo_fill_path_info(&rtype); in tomoyo_mount_acl()
162 r->param.mount.type = &rtype; in tomoyo_mount_acl()
/Linux-v6.6/arch/riscv/include/asm/
Dkvm_vcpu_fp.h54 unsigned long rtype);
57 unsigned long rtype);
/Linux-v6.6/net/sunrpc/xprtrdma/
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-v6.6/drivers/hid/surface-hid/
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-v6.6/drivers/hid/intel-ish-hid/
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-v6.6/arch/mips/include/asm/octeon/
Dcvmx-sli-defs.h110 __BITFIELD_FIELD(uint64_t rtype:2,
122 __BITFIELD_FIELD(uint64_t rtype:2,
/Linux-v6.6/include/linux/
Dhid_bpf.h87 enum hid_report_type rtype, enum hid_class_request reqtype);
115 size_t len, enum hid_report_type rtype,
/Linux-v6.6/drivers/hid/bpf/
Dhid_bpf_dispatch.c363 enum hid_report_type rtype, enum hid_class_request reqtype) in hid_bpf_hw_request() argument
376 switch (rtype) { in hid_bpf_hw_request()
402 report_enum = hdev->report_enum + rtype; in hid_bpf_hw_request()
420 rtype, in hid_bpf_hw_request()
/Linux-v6.6/drivers/s390/crypto/
Dzcrypt_msgtype6.c1104 struct response_type *rtype = ap_msg->private; in zcrypt_msgtype6_send_cprb() local
1135 init_completion(&rtype->work); in zcrypt_msgtype6_send_cprb()
1139 rc = wait_for_completion_interruptible(&rtype->work); in zcrypt_msgtype6_send_cprb()
1204 struct response_type *rtype = ap_msg->private; in zcrypt_msgtype6_send_ep11_cprb() local
1258 init_completion(&rtype->work); in zcrypt_msgtype6_send_ep11_cprb()
1262 rc = wait_for_completion_interruptible(&rtype->work); in zcrypt_msgtype6_send_ep11_cprb()
1326 struct response_type *rtype = ap_msg->private; in zcrypt_msgtype6_rng() local
1331 init_completion(&rtype->work); in zcrypt_msgtype6_rng()
1335 rc = wait_for_completion_interruptible(&rtype->work); in zcrypt_msgtype6_rng()
Dzcrypt_msgtype50.c379 unsigned char rtype = ((unsigned char *)reply->msg)[1]; in convert_response() local
381 switch (rtype) { in convert_response()
393 (int)rtype); in convert_response()
397 AP_QID_QUEUE(zq->queue->qid), (int)rtype); in convert_response()
/Linux-v6.6/drivers/rapidio/devices/
Dtsi721_dma.c342 (desc->rtype << 19) | desc->destid); in tsi721_desc_fill_init()
832 enum dma_rtype rtype; in tsi721_prep_rio_sg() local
845 rtype = NREAD; in tsi721_prep_rio_sg()
849 rtype = ALL_NWRITE; in tsi721_prep_rio_sg()
852 rtype = ALL_NWRITE_R; in tsi721_prep_rio_sg()
856 rtype = LAST_NWRITE_R; in tsi721_prep_rio_sg()
875 desc->rtype = rtype; in tsi721_prep_rio_sg()
/Linux-v6.6/drivers/media/i2c/
Ds5k5baf.c1365 enum selection_rect rtype; in s5k5baf_get_selection() local
1368 rtype = s5k5baf_get_sel_rect(sel->pad, sel->target); in s5k5baf_get_selection()
1370 switch (rtype) { in s5k5baf_get_selection()
1381 if (rtype == R_COMPOSE) in s5k5baf_get_selection()
1391 switch (rtype) { in s5k5baf_get_selection()
1458 static enum selection_rect rtype; in s5k5baf_set_selection() local
1463 rtype = s5k5baf_get_sel_rect(sel->pad, sel->target); in s5k5baf_set_selection()
1464 if (rtype == R_INVALID || s5k5baf_is_bound_target(sel->target)) in s5k5baf_set_selection()
1468 if (rtype == R_COMPOSE) { in s5k5baf_set_selection()
1483 s5k5baf_set_rect_and_adjust(rects, rtype, &sel->r); in s5k5baf_set_selection()
[all …]
/Linux-v6.6/tools/testing/selftests/hid/tests/
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)
530 def set_report(self, req, rnum, rtype, data): argument
531 super().set_report(req, rnum, rtype, data)
Dtest_tablet.py398 def get_report(self, req, rnum, rtype): argument
399 if rtype != self.UHID_FEATURE_REPORT:
412 def set_report(self, req, rnum, rtype, data): argument
413 if rtype != self.UHID_FEATURE_REPORT:
/Linux-v6.6/drivers/net/wireless/intersil/orinoco/
Dhermes.c486 u16 rlength, rtype; in hermes_read_ltv() local
505 rtype = hermes_read_reg(hw, dreg); in hermes_read_ltv()
510 if (rtype != rid) in hermes_read_ltv()
513 hw->iobase, __func__, rid, rtype); in hermes_read_ltv()
/Linux-v6.6/drivers/staging/greybus/
Dhid.c263 __u8 *buf, size_t len, unsigned char rtype, in gb_hid_raw_request() argument
268 return __gb_hid_get_raw_report(hid, reportnum, buf, len, rtype); in gb_hid_raw_request()
272 return __gb_hid_output_raw_report(hid, buf, len, rtype); in gb_hid_raw_request()
/Linux-v6.6/arch/x86/kvm/vmx/
Dvmx.h442 #define __BUILD_VMX_MSR_BITMAP_HELPER(rtype, action, bitop, access, base) \ argument
443 static inline rtype vmx_##action##_msr_bitmap_##access(unsigned long *bitmap, \
452 return (rtype)true; \
/Linux-v6.6/drivers/scsi/elx/libefc_sli/
Dsli4.c3724 sli_cmd_common_get_resource_extent_info(struct sli4 *sli4, void *buf, u16 rtype) in sli_cmd_common_get_resource_extent_info() argument
3737 ext->resource_type = cpu_to_le16(rtype); in sli_cmd_common_get_resource_extent_info()
4841 sli_resource_alloc(struct sli4 *sli4, enum sli4_resource rtype, in sli_resource_alloc() argument
4853 switch (rtype) { in sli_resource_alloc()
4859 find_first_zero_bit(sli4->ext[rtype].use_map, in sli_resource_alloc()
4860 sli4->ext[rtype].map_size); in sli_resource_alloc()
4861 if (position >= sli4->ext[rtype].map_size) { in sli_resource_alloc()
4863 rtype, sli4->ext[rtype].n_alloc); in sli_resource_alloc()
4867 set_bit(position, sli4->ext[rtype].use_map); in sli_resource_alloc()
4870 size = sli4->ext[rtype].size; in sli_resource_alloc()
[all …]

123