Home
last modified time | relevance | path

Searched full:subtype (Results 1 – 25 of 246) sorted by relevance

12345678910

/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/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/include/keys/
H A Dasymmetric-subtype.h2 /* Asymmetric public-key cryptography key subtype
21 * Keys of this type declare a subtype that indicates the handlers and
29 /* Describe a key of this subtype for /proc/keys */
32 /* Destroy a key of this subtype */
42 /* Verify the signature on a key of this subtype (optional) */
48 * asymmetric_key_subtype - Get the subtype from an asymmetric key
51 * Retrieves and returns the subtype pointer of the asymmetric key from the
/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
250 * bDescriptorSubtype - VS_FORMAT_MPEG2TS descriptor subtype.
266 u8 subtype; member
280 u8 subtype; member
290 u8 subtype; member
328 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/crypto/asymmetric_keys/
H A Dasymmetric_type.c9 #include <keys/asymmetric-subtype.h>
361 const struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_describe() local
369 if (subtype) { in asymmetric_key_describe()
371 subtype->describe(key, m); in asymmetric_key_describe()
446 struct asymmetric_key_subtype *subtype = prep->payload.data[asym_subtype]; in asymmetric_key_free_preparse() local
451 if (subtype) { in asymmetric_key_free_preparse()
452 subtype->destroy(prep->payload.data[asym_crypto], in asymmetric_key_free_preparse()
454 module_put(subtype->owner); in asymmetric_key_free_preparse()
465 struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_destroy() local
475 if (subtype) { in asymmetric_key_destroy()
[all …]
/linux/net/batman-adv/
H A Ddistributed-arp-table.h81 * @subtype: the 4addr subtype of the packet to be counted
83 * Updates the ethtool statistics for the received packet if it is a DAT subtype
86 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/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
416 * FW will validate 'subtype' if there is one in efx_reflash_flash_firmware()
[all …]
/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()
807 "could not read subtype\n"); 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()
822 dev_err(&pdev->dev, "invalid type 0x%02x or subtype 0x%02x\n", in qpnp_tm_probe()
823 type, subtype); in qpnp_tm_probe()
827 chip->subtype = subtype; in qpnp_tm_probe()
[all …]
/linux/Documentation/admin-guide/media/
H A Dimx7.rst114 type V4L2 subdev subtype Unknown flags 0
124 type Node subtype V4L flags 0
130 type V4L2 subdev subtype Unknown flags 0
142 type V4L2 subdev subtype Unknown flags 0
152 type V4L2 subdev subtype Sensor flags 0
196 type V4L2 subdev subtype Unknown flags 0
206 type Node subtype V4L flags 0
212 type V4L2 subdev subtype Sensor flags 0
/linux/drivers/net/wireless/ath/wil6210/
H A Dtrace.h156 __field(u8, subtype)
167 __entry->subtype = wil_rxdesc_subtype(d);
172 " type 0x%1x subtype 0x%1x", __entry->index, __entry->len,
174 __entry->seq, __entry->type, __entry->subtype)
188 __field(u8, subtype)
200 __entry->subtype = wil_rx_status_get_fc1(wil, msg);
205 … "compressed %d buff_id %d len %d mid %d cid %d tid %d mcs %d seq 0x%03x type 0x%1x subtype 0x%1x",
208 __entry->seq, __entry->type, __entry->subtype)
/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/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/include/uapi/linux/
H A Dwatch_queue.h31 __u32 subtype:8; /* Type-specific subtype (filterable) */ member
72 * subtype -> WATCH_META_REMOVAL_NOTIFICATION
96 * - watch.subtype = enum key_notification_type
/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/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/drivers/hwtracing/coresight/
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/samples/watch_queue/
H A Dwatch_test.c64 k->key_id, n->subtype, key_subtypes[n->subtype], k->aux); in saw_key_change()
113 p - buffer, n.n.type, n.n.subtype, n.n.info); in consumer()
123 switch (n.n.subtype) { in consumer()
/linux/Documentation/core-api/
H A Dwatch_queue.rst58 __u32 subtype:8;
62 "type" indicates the source of the notification record and "subtype" indicates
86 subtype.
91 at the discretion is defined by the type and subtype.
284 interest. Bit 0 of subtype_filter[0] corresponds to subtype 0, bit 1 to
285 subtype 1, and so on.
/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()
595 break; /* (right bridge/subtype) */ 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()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Deq.c155 eqe->subtype == MLX4_PORT_CHANGE_SUBTYPE_DOWN && in mlx4_gen_slave_eqe()
170 eqe->subtype == MLX4_DEV_PMC_SUBTYPE_PORT_INFO) { in mlx4_gen_slave_eqe()
266 eqe.subtype = MLX4_DEV_PMC_SUBTYPE_PKEY_TABLE; in mlx4_gen_pkey_eqe()
283 eqe.subtype = MLX4_DEV_PMC_SUBTYPE_GUID_INFO; in mlx4_gen_guid_change_eqe()
302 eqe.subtype = port_subtype_change; in mlx4_gen_port_state_change_eqe()
439 eqe.subtype = MLX4_DEV_PMC_SUBTYPE_PORT_INFO; in mlx4_gen_slaves_port_mgt_ev()
542 eqe->type, eqe->subtype, in mlx4_eq_int()
572 eqe->type, eqe->subtype, in mlx4_eq_int()
581 eqe->type, eqe->subtype); in mlx4_eq_int()
588 eqe->subtype, slave); in mlx4_eq_int()
[all …]
/linux/arch/alpha/include/asm/
H A Dgct.h10 u8 subtype; member
36 u8 subtype; member
/linux/net/sctp/
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/drivers/net/ethernet/intel/ice/
H A Dice_dcb.c213 /* First Octet post subtype in ice_parse_ieee_etscfg_tlv()
330 * Get the TLV subtype and send it to parsing function
331 * based on the subtype value
337 u8 subtype; in ice_parse_ieee_tlv() local
340 subtype = FIELD_GET(ICE_LLDP_TLV_SUBTYPE_M, ouisubtype); in ice_parse_ieee_tlv()
341 switch (subtype) { in ice_parse_ieee_tlv()
499 * Get the TLV subtype and send it to parsing function
500 * based on the subtype value
506 u8 subtype, feat_tlv_count = 0; in ice_parse_cee_tlv() local
511 subtype = FIELD_GET(ICE_LLDP_TLV_SUBTYPE_M, ouisubtype); in ice_parse_cee_tlv()
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dp2p.c81 #define P2P_PAF_SUBTYPE_INVALID 255 /* Invalid Subtype */
150 * @subtype: OUI subtype - P2P_TYPE_*
159 u8 subtype; member
170 * @subtype: OUI Subtype - P2P_AF_*
178 u8 subtype; member
321 switch (pact_frm->subtype) { in brcmf_p2p_print_actframe()
365 switch (act_frm->subtype) { in brcmf_p2p_print_actframe()
1423 action = act_frm->subtype; in brcmf_p2p_notify_action_frame_rx()
1618 switch (act_frm->subtype) { in brcmf_p2p_pub_af_tx()
1624 p2p->next_af_subtype = act_frm->subtype + 1; in brcmf_p2p_pub_af_tx()
[all …]

12345678910