Home
last modified time | relevance | path

Searched full:subtype (Results 1 – 25 of 250) 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/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/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/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/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/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/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.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/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/arch/alpha/include/asm/
H A Dgct.h10 u8 subtype; member
36 u8 subtype; member
/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/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 …]
H A Dendpointola.c337 union sctp_subtype subtype; in sctp_endpoint_bh_rcv()
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()
391 if (sctp_auth_recv_cid(subtype.chunk, asoc) && !chunk->auth) in sctp_endpoint_bh_rcv()
408 error = sctp_do_sm(net, SCTP_EVENT_T_CHUNK, subtype, state, in sctp_endpoint_bh_rcv()
336 union sctp_subtype subtype; sctp_endpoint_bh_rcv() local
/linux/include/net/
H A Dbond_3ad.h84 AD_MARKER_INFORMATION_SUBTYPE = 1, /* marker imformation subtype */
85 AD_MARKER_RESPONSE_SUBTYPE /* marker response subtype */
101 u8 subtype; /* = LACP(= 0x01) */
137 u8 subtype; /* = 0x02 (marker PDU) */
100 u8 subtype; /* = LACP(= 0x01) */ global() member
136 u8 subtype; /* = 0x02 (marker PDU) */ global() member
/linux/drivers/tty/
H A Dpty.c49 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_close()
69 if (tty->driver->subtype == PTY_TYPE_MASTER) { in pty_close()
229 if (tty->driver->subtype == PTY_TYPE_SLAVE && tty->link->count != 1) in pty_open()
368 if (driver->subtype != PTY_TYPE_MASTER) in pty_common_install()
555 pty_driver->subtype = PTY_TYPE_MASTER; in legacy_pty_init()
571 pty_slave_driver->subtype = PTY_TYPE_SLAVE; in legacy_pty_init()
729 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_unix98_remove()
897 ptm_driver->subtype = PTY_TYPE_MASTER; in unix98_pty_init()
913 pts_driver->subtype = PTY_TYPE_SLAVE; in unix98_pty_init()

12345678910