| /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/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 | 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() 476 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/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/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/drivers/hwtracing/coresight/ |
| H A D | coresight-sysfs.c | 147 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 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()
|
| H A D | coresight-core.c | 327 link_subtype = csdev->subtype.link_subtype; in coresight_enable_link() 887 (csdev->subtype.sink_subtype >= CORESIGHT_DEV_SUBTYPE_SINK_BUFFER)) in coresight_is_def_sink_type() 918 } else if (new_sink->subtype.sink_subtype > in coresight_select_best_sink() 919 sink->subtype.sink_subtype) { in coresight_select_best_sink() 922 } else if ((new_sink->subtype.sink_subtype == in coresight_select_best_sink() 923 sink->subtype.sink_subtype) && in coresight_select_best_sink() 1339 csdev->subtype = desc->subtype; in coresight_register() 1487 union coresight_dev_subtype subtype) in coresight_find_input_type() argument 1495 coresight_compare_type(type, subtype, conn->src_dev->type, in coresight_find_input_type() 1496 conn->src_dev->subtype)) in coresight_find_input_type() [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/drivers/thermal/qcom/ |
| H A D | qcom-spmi-temp-alarm.c | 138 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 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, 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/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()
|
| /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/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/tty/ |
| H A D | pty.c | 49 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_close() 68 if (tty->driver->subtype == PTY_TYPE_MASTER) { in pty_close() 228 if (tty->driver->subtype == PTY_TYPE_SLAVE && tty->link->count != 1) in pty_open() 364 if (driver->subtype != PTY_TYPE_MASTER) in pty_common_install() 551 pty_driver->subtype = PTY_TYPE_MASTER; in legacy_pty_init() 567 pty_slave_driver->subtype = PTY_TYPE_SLAVE; in legacy_pty_init() 704 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_unix98_remove() 869 ptm_driver->subtype = PTY_TYPE_MASTER; in unix98_pty_init() 885 pts_driver->subtype = PTY_TYPE_SLAVE; in unix98_pty_init()
|
| /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 …]
|