Home
last modified time | relevance | path

Searched refs:subtype (Results 1 – 25 of 254) sorted by relevance

1234567891011

/linux/drivers/platform/cznic/
H A Dturris-signing-key.c33 const struct turris_signing_key_subtype *subtype = dereference_key_rcu(key); in turris_signing_key_describe() local
35 if (!subtype) in turris_signing_key_describe()
38 seq_printf(m, "%s: %*phN", key->description, subtype->public_key_size, in turris_signing_key_describe()
39 subtype->get_public_key(key)); in turris_signing_key_describe()
44 const struct turris_signing_key_subtype *subtype = dereference_key_rcu(key); in turris_signing_key_read() local
46 if (!subtype) in turris_signing_key_read()
50 if (buflen > subtype->public_key_size) in turris_signing_key_read()
51 buflen = subtype->public_key_size; in turris_signing_key_read()
53 memcpy(buffer, subtype->get_public_key(key), subtype->public_key_size); in turris_signing_key_read()
56 return subtype->public_key_size; in turris_signing_key_read()
[all …]
/linux/crypto/asymmetric_keys/
H A Dsignature.c45 const struct asymmetric_key_subtype *subtype; in query_asymmetric_key() local
53 subtype = asymmetric_key_subtype(key); in query_asymmetric_key()
54 if (!subtype || in query_asymmetric_key()
57 if (!subtype->query) in query_asymmetric_key()
60 ret = subtype->query(params, info); in query_asymmetric_key()
77 const struct asymmetric_key_subtype *subtype; in verify_signature() local
84 subtype = asymmetric_key_subtype(key); in verify_signature()
85 if (!subtype || in verify_signature()
88 if (!subtype->verify_signature) in verify_signature()
91 ret = subtype->verify_signature(key, sig); in verify_signature()
H A Dasymmetric_type.c355 const struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_describe() local
363 if (subtype) { in asymmetric_key_describe()
365 subtype->describe(key, m); in asymmetric_key_describe()
440 struct asymmetric_key_subtype *subtype = prep->payload.data[asym_subtype]; in asymmetric_key_free_preparse() local
445 if (subtype) { in asymmetric_key_free_preparse()
446 subtype->destroy(prep->payload.data[asym_crypto], in asymmetric_key_free_preparse()
448 module_put(subtype->owner); in asymmetric_key_free_preparse()
459 struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_destroy() local
469 if (subtype) { in asymmetric_key_destroy()
470 subtype->destroy(data, auth); in asymmetric_key_destroy()
[all …]
/linux/drivers/media/pci/saa7164/
H A Dsaa7164-types.h119 u8 subtype; member
126 u8 subtype; member
143 u8 subtype; member
161 u8 subtype; member
172 u8 subtype; member
266 u8 subtype; member
280 u8 subtype; member
290 u8 subtype; member
328 u8 subtype; member
347 u8 subtype; member
[all …]
/linux/Documentation/virt/coco/
H A Dtdx-guest.rst33 the TDREPORT0 (a.k.a. TDREPORT subtype 0) from the TDX module using
36 A subtype index is added at the end of this IOCTL CMD to uniquely identify the
37 subtype-specific TDREPORT request. Although the subtype option is mentioned in
40 implementation simple, the subtype option was not included as part of the input
41 ABI. However, in the future, if the TDX Module supports more than one subtype,
43 consistent, a subtype index is added as part of the IOCTL CMD.
/linux/fs/proc/
H A Dproc_tty.c40 if (p->subtype == SYSTEM_TYPE_TTY) in show_tty_range()
42 else if (p->subtype == SYSTEM_TYPE_SYSCONS) in show_tty_range()
44 else if (p->subtype == SYSTEM_TYPE_CONSOLE) in show_tty_range()
54 if (p->subtype == PTY_TYPE_MASTER) in show_tty_range()
56 else if (p->subtype == PTY_TYPE_SLAVE) in show_tty_range()
62 seq_printf(m, "type:%d.%d", p->type, p->subtype); in show_tty_range()
/linux/arch/powerpc/kernel/
H A Dmce.c376 const char *level, *sevstr, *subtype, *err_type, *initiator; in machine_check_print_event_info() local
487 subtype = evt->u.ue_error.ue_error_type < in machine_check_print_event_info()
498 subtype = evt->u.slb_error.slb_error_type < in machine_check_print_event_info()
507 subtype = evt->u.erat_error.erat_error_type < in machine_check_print_event_info()
516 subtype = evt->u.tlb_error.tlb_error_type < in machine_check_print_event_info()
525 subtype = evt->u.user_error.user_error_type < in machine_check_print_event_info()
534 subtype = evt->u.ra_error.ra_error_type < in machine_check_print_event_info()
543 subtype = evt->u.link_error.link_error_type < in machine_check_print_event_info()
552 subtype = "Unknown"; in machine_check_print_event_info()
556 subtype = "Unknown"; in machine_check_print_event_info()
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-sysfs.c147 u32 type, subtype; in coresight_validate_source_sysfs() local
150 subtype = csdev->subtype.source_subtype; in coresight_validate_source_sysfs()
157 if (subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_PROC && in coresight_validate_source_sysfs()
158 subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_SOFTWARE && in coresight_validate_source_sysfs()
159 subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_TPDM && in coresight_validate_source_sysfs()
160 subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_OTHERS) { in coresight_validate_source_sysfs()
173 enum coresight_dev_subtype_source subtype; in coresight_enable_sysfs() local
176 subtype = csdev->subtype.source_subtype; in coresight_enable_sysfs()
196 if (subtype == CORESIGHT_DEV_SUBTYPE_SOURCE_SOFTWARE) in coresight_enable_sysfs()
226 switch (subtype) { in coresight_enable_sysfs()
[all …]
H A Dcoresight-kunit-tests.c39 src->subtype.source_subtype = CORESIGHT_DEV_SUBTYPE_SOURCE_BUS; in test_default_sink()
41 etf->subtype.sink_subtype = CORESIGHT_DEV_SUBTYPE_SINK_BUFFER; in test_default_sink()
43 etr->subtype.sink_subtype = CORESIGHT_DEV_SUBTYPE_SINK_SYSMEM; in test_default_sink()
/linux/drivers/net/ethernet/sfc/
H A Defx_reflash.c22 u32 *subtype, const u8 **data, in efx_reflash_parse_reflash_header() argument
66 *subtype = get_unaligned_le32(header + EFX_REFLASH_HEADER_FIRMWARE_SUBTYPE_OFST); in efx_reflash_parse_reflash_header()
83 static int efx_reflash_partition_type(u32 type, u32 subtype, in efx_reflash_partition_type() argument
92 *partition_subtype = subtype; in efx_reflash_partition_type()
96 *partition_subtype = subtype; in efx_reflash_partition_type()
218 u32 type, subtype; in efx_reflash_parse_firmware_data() local
249 &subtype, data, data_size)) in efx_reflash_parse_firmware_data()
250 return efx_reflash_partition_type(type, subtype, in efx_reflash_parse_firmware_data()
400 u32 type, data_subtype, subtype; in efx_reflash_flash_firmware() local
430 rc = efx_mcdi_nvram_metadata(efx, type, &subtype, NULL, NULL, 0); in efx_reflash_flash_firmware()
[all …]
/linux/drivers/mfd/
H A Dqcom-spmi-pmic.c176 ret = regmap_read(map, PMIC_SUBTYPE, &pmic->subtype); in pmic_spmi_load_revid()
194 if (pmic->subtype == PMI8998_SUBTYPE || pmic->subtype == PM660_SUBTYPE) { in pmic_spmi_load_revid()
206 if ((pmic->subtype == PM8941_SUBTYPE || pmic->subtype == PM8226_SUBTYPE) && in pmic_spmi_load_revid()
210 if (pmic->subtype == PM8110_SUBTYPE) in pmic_spmi_load_revid()
214 pmic->subtype, pmic->name, pmic->major, pmic->minor); in pmic_spmi_load_revid()
/linux/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.c138 unsigned int subtype; member
762 u8 type, subtype, dig_major, dig_minor; in qpnp_tm_probe() local
804 ret = qpnp_tm_read(chip, QPNP_TM_REG_SUBTYPE, &subtype); in qpnp_tm_probe()
819 if (type != QPNP_TM_TYPE || (subtype != QPNP_TM_SUBTYPE_GEN1 in qpnp_tm_probe()
820 && subtype != QPNP_TM_SUBTYPE_GEN2 in qpnp_tm_probe()
821 && subtype != QPNP_TM_SUBTYPE_LITE)) { in qpnp_tm_probe()
823 type, subtype); in qpnp_tm_probe()
827 chip->subtype = subtype; in qpnp_tm_probe()
828 if (subtype == QPNP_TM_SUBTYPE_GEN1) in qpnp_tm_probe()
830 else if (subtype == QPNP_TM_SUBTYPE_GEN2 && dig_major == 0) in qpnp_tm_probe()
[all …]
/linux/arch/alpha/kernel/
H A Dgct.c27 wanted && (wanted->type | wanted->subtype); in gct6_find_nodes()
31 if (node->subtype != wanted->subtype) in gct6_find_nodes()
/linux/net/sctp/
H A Dprimitive.c41 enum sctp_event_type event_type; union sctp_subtype subtype; \
46 subtype = SCTP_ST_PRIMITIVE(SCTP_PRIMITIVE_ ## name); \
50 error = sctp_do_sm(net, event_type, subtype, state, ep, asoc, \
H A Dsm_sideeffect.c41 union sctp_subtype subtype,
50 union sctp_subtype subtype,
657 union sctp_subtype subtype, in sctp_cmd_assoc_failed() argument
667 if (event_type == SCTP_EVENT_T_CHUNK && subtype.chunk == SCTP_CID_ABORT) in sctp_cmd_assoc_failed()
1131 ep, sctp_evttype_tbl[event_type], (*debug_fn)(subtype), \
1150 union sctp_subtype subtype, enum sctp_state state, in sctp_do_sm() argument
1167 state_fn = sctp_sm_lookup_event(net, event_type, state, subtype); in sctp_do_sm()
1172 status = state_fn->fn(net, ep, asoc, subtype, event_arg, &commands); in sctp_do_sm()
1175 error = sctp_side_effects(event_type, subtype, state, in sctp_do_sm()
1187 union sctp_subtype subtype, in sctp_side_effects() argument
[all …]
/linux/samples/watch_queue/
H A Dwatch_test.c58 k->key_id, n->subtype, key_subtypes[n->subtype], k->aux); in saw_key_change()
107 p - buffer, n.n.type, n.n.subtype, n.n.info); in consumer()
117 switch (n.n.subtype) { in consumer()
/linux/drivers/media/usb/gspca/
H A Dsunplus.c34 u8 subtype; member
482 if (sd->subtype == AiptekMiniPenCam13) { in spca504B_SetSizeType()
586 sd->subtype = id->driver_info; in sd_config()
588 if (sd->subtype == AiptekMiniPenCam13) { in sd_config()
598 sd->subtype = 0; in sd_config()
615 if (sd->subtype == MegaImageVI) /* 320x240 only */ in sd_config()
660 if (sd->subtype == LogitechClickSmart420) in sd_init()
672 if (sd->subtype == AiptekMiniPenCam13) { in sd_init()
728 switch (sd->subtype) { in sd_start()
745 if (sd->subtype == AiptekMiniPenCam13) { in sd_start()
[all …]
H A Dspca505.c22 u8 subtype; member
595 sd->subtype = id->driver_info; in sd_config()
596 if (sd->subtype != IntelPCCameraPro) in sd_config()
610 sd->subtype == Nxultra in sd_init()
636 if (sd->subtype == Nxultra) in sd_start()
/linux/Documentation/crypto/
H A Dasymmetric-keys.rst25 The asymmetric key is given a subtype that defines what sort of data is
30 A completely in-kernel key retention and operation subtype can be defined, but
39 subtype of the key and define the operations that can be done on that key.
70 2) If the criterion string is of the form "<subtype>:<hexdigits>" then the
72 only keys of the specified subtype (e.g. tpm) will be matched. For
78 displayed, along with the subtype::
164 Asymmetric keys have a subtype that defines the set of operations that can be
166 payload. The payload format is entirely at the whim of the subtype.
168 The subtype is selected by the key data parser and the parser must initialise
170 subtype module.
[all …]
/linux/drivers/s390/crypto/
H A Dpkey_ep11.c282 u32 keytype, u32 subtype, in ep11_gen_key() argument
304 switch (subtype) { in ep11_gen_key()
310 __func__, subtype); in ep11_gen_key()
325 rc = ep11_apqns4type(subtype, NULL, NULL, 0, in ep11_gen_key()
335 keybuf, keybuflen, subtype, xflags); in ep11_gen_key()
353 u32 keytype, u32 subtype, in ep11_clr2key() argument
381 switch (subtype) { in ep11_clr2key()
387 __func__, subtype); in ep11_clr2key()
402 rc = ep11_apqns4type(subtype, NULL, NULL, 0, in ep11_clr2key()
412 keybuf, keybuflen, subtype, xflags); in ep11_clr2key()
H A Dpkey_cca.c307 u32 keytype, u32 subtype, in cca_gen_key() argument
329 switch (subtype) { in cca_gen_key()
335 __func__, subtype); in cca_gen_key()
350 rc = cca_apqns4type(subtype, NULL, NULL, 0, in cca_gen_key()
358 if (subtype == PKEY_TYPE_CCA_CIPHER) { in cca_gen_key()
385 u32 keytype, u32 subtype, in cca_clr2key() argument
413 switch (subtype) { in cca_clr2key()
419 __func__, subtype); in cca_clr2key()
434 rc = cca_apqns4type(subtype, NULL, NULL, 0, in cca_clr2key()
442 if (subtype == PKEY_TYPE_CCA_CIPHER) { in cca_clr2key()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfweh.h216 __be16 subtype; member
370 u16 subtype, usr_stype; in brcmf_fweh_process_skb() local
383 subtype = get_unaligned_be16(&event_packet->hdr.subtype); in brcmf_fweh_process_skb()
384 if (subtype != stype) in brcmf_fweh_process_skb()
/linux/net/batman-adv/
H A Ddistributed-arp-table.h86 u8 subtype) in batadv_dat_inc_counter() argument
88 switch (subtype) { in batadv_dat_inc_counter()
180 u8 subtype) in batadv_dat_inc_counter() argument
/linux/drivers/gpu/drm/xe/instructions/
H A Dxe_mfx_commands.h16 #define XE_MFX_INSTR(subtype, op, sub_op) \ argument
18 REG_FIELD_PREP(MFX_CMD_SUBTYPE, subtype) | \
/linux/drivers/net/wireless/ath/wil6210/
H A Dtrace.h156 __field(u8, subtype)
167 __entry->subtype = wil_rxdesc_subtype(d);
174 __entry->seq, __entry->type, __entry->subtype)
188 __field(u8, subtype)
200 __entry->subtype = wil_rx_status_get_fc1(wil, msg);
208 __entry->seq, __entry->type, __entry->subtype)

1234567891011