| /linux/drivers/platform/cznic/ |
| H A D | turris-signing-key.c | 33 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/net/dsa/ |
| H A D | tag_netc.c | 52 u8 subtype, u8 sw_id, u8 port, u8 ipv) in netc_fill_common_tag() argument 56 FIELD_PREP(NETC_TAG_SUBTYPE, subtype); in netc_fill_common_tag() 64 u8 subtype, int tag_len) in netc_fill_common_tp_tag() argument 87 netc_fill_common_tag(tag, NETC_TAG_TO_PORT, subtype, in netc_fill_common_tp_tag() 109 static int netc_get_rx_tag_len(int type, int subtype) in netc_get_rx_tag_len() argument 115 if (subtype == NETC_TAG_TH_SUBTYPE1) in netc_get_rx_tag_len() 117 else if (subtype == NETC_TAG_TH_SUBTYPE2) in netc_get_rx_tag_len() 131 int type, subtype; in netc_rcv() local 160 subtype = FIELD_GET(NETC_TAG_SUBTYPE, tag_cmn->type); in netc_rcv() 165 if (subtype != NETC_TAG_TH_SUBTYPE0) in netc_rcv() [all …]
|
| /linux/drivers/media/pci/saa7164/ |
| H A D | saa7164-types.h | 119 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/crypto/asymmetric_keys/ |
| H A D | asymmetric_type.c | 362 const struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_describe() local 370 if (subtype) { in asymmetric_key_describe() 372 subtype->describe(key, m); in asymmetric_key_describe() 447 struct asymmetric_key_subtype *subtype = prep->payload.data[asym_subtype]; in asymmetric_key_free_preparse() local 452 if (subtype) { in asymmetric_key_free_preparse() 453 subtype->destroy(prep->payload.data[asym_crypto], in asymmetric_key_free_preparse() 455 module_put(subtype->owner); in asymmetric_key_free_preparse() 466 struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_destroy() local 476 if (subtype) { in asymmetric_key_destroy() 477 subtype->destroy(data, auth); in asymmetric_key_destroy() [all …]
|
| /linux/Documentation/virt/coco/ |
| H A D | tdx-guest.rst | 33 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 D | proc_tty.c | 40 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 D | mce.c | 376 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/net/ethernet/sfc/ |
| H A D | efx_reflash.c | 22 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 D | qcom-spmi-pmic.c | 176 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 D | gct.c | 27 wanted && (wanted->type | wanted->subtype); in gct6_find_nodes() 31 if (node->subtype != wanted->subtype) in gct6_find_nodes()
|
| /linux/net/sctp/ |
| H A D | primitive.c | 41 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 D | sm_sideeffect.c | 41 union sctp_subtype subtype, 50 union sctp_subtype subtype, 664 union sctp_subtype subtype, in sctp_cmd_assoc_failed() argument 674 if (event_type == SCTP_EVENT_T_CHUNK && subtype.chunk == SCTP_CID_ABORT) in sctp_cmd_assoc_failed() 1138 ep, sctp_evttype_tbl[event_type], (*debug_fn)(subtype), \ 1157 union sctp_subtype subtype, enum sctp_state state, in sctp_do_sm() argument 1174 state_fn = sctp_sm_lookup_event(net, event_type, state, subtype); in sctp_do_sm() 1179 status = state_fn->fn(net, ep, asoc, subtype, event_arg, &commands); in sctp_do_sm() 1182 error = sctp_side_effects(event_type, subtype, state, in sctp_do_sm() 1194 union sctp_subtype subtype, in sctp_side_effects() argument [all …]
|
| H A D | endpointola.c | 337 union sctp_subtype subtype; in sctp_endpoint_bh_rcv() local 351 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_endpoint_bh_rcv() 356 if (first_time && (subtype.chunk == SCTP_CID_AUTH)) { in sctp_endpoint_bh_rcv() 395 if (sctp_auth_recv_cid(subtype.chunk, asoc) && !chunk->auth) in sctp_endpoint_bh_rcv() 412 error = sctp_do_sm(net, SCTP_EVENT_T_CHUNK, subtype, state, in sctp_endpoint_bh_rcv()
|
| /linux/drivers/media/usb/gspca/ |
| H A D | sunplus.c | 34 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 D | spca505.c | 22 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()
|
| H A D | spca501.c | 28 char subtype; member 1817 sd->subtype = id->driver_info; in sd_config() 1827 switch (sd->subtype) { in sd_init() 1856 switch (sd->subtype) { in sd_start()
|
| /linux/Documentation/crypto/ |
| H A D | asymmetric-keys.rst | 25 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/samples/watch_queue/ |
| H A D | watch_test.c | 64 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/drivers/hwtracing/coresight/ |
| H A D | coresight-kunit-tests.c | 39 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/s390/crypto/ |
| H A D | pkey_cca.c | 304 u32 keytype, u32 subtype, in cca_gen_key() argument 326 switch (subtype) { in cca_gen_key() 332 __func__, subtype); in cca_gen_key() 347 rc = cca_apqns4type(subtype, NULL, NULL, 0, in cca_gen_key() 355 if (subtype == PKEY_TYPE_CCA_CIPHER) { in cca_gen_key() 382 u32 keytype, u32 subtype, in cca_clr2key() argument 415 switch (subtype) { in cca_clr2key() 421 __func__, subtype); in cca_clr2key() 436 rc = cca_apqns4type(subtype, NULL, NULL, 0, in cca_clr2key() 444 if (subtype == PKEY_TYPE_CCA_CIPHER) { in cca_clr2key()
|
| /linux/net/batman-adv/ |
| H A D | distributed-arp-table.h | 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/wireless/ath/wil6210/ |
| H A D | trace.h | 156 __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)
|
| /linux/Documentation/admin-guide/media/ |
| H A D | imx7.rst | 114 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/arch/alpha/include/asm/ |
| H A D | gct.h | 10 u8 subtype; member 36 u8 subtype; member
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | eq.c | 155 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 …]
|