Home
last modified time | relevance | path

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

12345678910

/Linux-v5.15/crypto/asymmetric_keys/
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()
140 const struct asymmetric_key_subtype *subtype; in verify_signature() local
147 subtype = asymmetric_key_subtype(key); in verify_signature()
148 if (!subtype || in verify_signature()
151 if (!subtype->verify_signature) in verify_signature()
154 ret = subtype->verify_signature(key, sig); in verify_signature()
Dasymmetric_type.c334 const struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_describe() local
342 if (subtype) { in asymmetric_key_describe()
344 subtype->describe(key, m); in asymmetric_key_describe()
419 struct asymmetric_key_subtype *subtype = prep->payload.data[asym_subtype]; in asymmetric_key_free_preparse() local
424 if (subtype) { in asymmetric_key_free_preparse()
425 subtype->destroy(prep->payload.data[asym_crypto], in asymmetric_key_free_preparse()
427 module_put(subtype->owner); in asymmetric_key_free_preparse()
438 struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_destroy() local
448 if (subtype) { in asymmetric_key_destroy()
449 subtype->destroy(data, auth); in asymmetric_key_destroy()
[all …]
/Linux-v5.15/drivers/mfd/
Dqcom-spmi-pmic.c69 unsigned int rev2, minor, major, type, subtype; in pmic_spmi_show_revid() local
80 ret = regmap_read(map, PMIC_SUBTYPE, &subtype); in pmic_spmi_show_revid()
85 if (subtype == (unsigned long)pmic_spmi_id_table[i].data) in pmic_spmi_show_revid()
110 if ((subtype == PM8941_SUBTYPE || subtype == PM8226_SUBTYPE) && in pmic_spmi_show_revid()
114 if (subtype == PM8110_SUBTYPE) in pmic_spmi_show_revid()
117 dev_dbg(dev, "%x: %s v%d.%d\n", subtype, name, major, minor); in pmic_spmi_show_revid()
/Linux-v5.15/drivers/media/pci/saa7164/
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-v5.15/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c74 unsigned int subtype; member
141 if (chip->subtype == QPNP_TM_SUBTYPE_GEN1) in qpnp_tm_get_temp_stage()
165 if (chip->subtype == QPNP_TM_SUBTYPE_GEN1) { in qpnp_tm_update_temp_no_adc()
348 stage = chip->subtype == QPNP_TM_SUBTYPE_GEN1 in qpnp_tm_init()
374 u8 type, subtype, dig_major; in qpnp_tm_probe() local
418 ret = qpnp_tm_read(chip, QPNP_TM_REG_SUBTYPE, &subtype); in qpnp_tm_probe()
430 if (type != QPNP_TM_TYPE || (subtype != QPNP_TM_SUBTYPE_GEN1 in qpnp_tm_probe()
431 && subtype != QPNP_TM_SUBTYPE_GEN2)) { in qpnp_tm_probe()
433 type, subtype); in qpnp_tm_probe()
437 chip->subtype = subtype; in qpnp_tm_probe()
[all …]
/Linux-v5.15/fs/proc/
Dproc_tty.c42 if (p->subtype == SYSTEM_TYPE_TTY) in show_tty_range()
44 else if (p->subtype == SYSTEM_TYPE_SYSCONS) in show_tty_range()
46 else if (p->subtype == SYSTEM_TYPE_CONSOLE) in show_tty_range()
56 if (p->subtype == PTY_TYPE_MASTER) in show_tty_range()
58 else if (p->subtype == PTY_TYPE_SLAVE) in show_tty_range()
64 seq_printf(m, "type:%d.%d", p->type, p->subtype); in show_tty_range()
/Linux-v5.15/arch/powerpc/kernel/
Dmce.c369 const char *level, *sevstr, *subtype, *err_type, *initiator; in machine_check_print_event_info() local
480 subtype = evt->u.ue_error.ue_error_type < in machine_check_print_event_info()
491 subtype = evt->u.slb_error.slb_error_type < in machine_check_print_event_info()
500 subtype = evt->u.erat_error.erat_error_type < in machine_check_print_event_info()
509 subtype = evt->u.tlb_error.tlb_error_type < in machine_check_print_event_info()
518 subtype = evt->u.user_error.user_error_type < in machine_check_print_event_info()
527 subtype = evt->u.ra_error.ra_error_type < in machine_check_print_event_info()
536 subtype = evt->u.link_error.link_error_type < in machine_check_print_event_info()
545 subtype = "Unknown"; in machine_check_print_event_info()
549 subtype = "Unknown"; in machine_check_print_event_info()
[all …]
/Linux-v5.15/arch/alpha/kernel/
Dgct.c27 wanted && (wanted->type | wanted->subtype); in gct6_find_nodes()
31 if (node->subtype != wanted->subtype) in gct6_find_nodes()
/Linux-v5.15/net/sctp/
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, \
Dsm_sideeffect.c41 union sctp_subtype subtype,
50 union sctp_subtype subtype,
647 union sctp_subtype subtype, in sctp_cmd_assoc_failed() argument
657 if (event_type == SCTP_EVENT_T_CHUNK && subtype.chunk == SCTP_CID_ABORT) in sctp_cmd_assoc_failed()
1122 ep, sctp_evttype_tbl[event_type], (*debug_fn)(subtype), \
1141 union sctp_subtype subtype, enum sctp_state state, in sctp_do_sm() argument
1158 state_fn = sctp_sm_lookup_event(net, event_type, state, subtype); in sctp_do_sm()
1163 status = state_fn->fn(net, ep, asoc, subtype, event_arg, &commands); in sctp_do_sm()
1166 error = sctp_side_effects(event_type, subtype, state, in sctp_do_sm()
1178 union sctp_subtype subtype, in sctp_side_effects() argument
[all …]
Dendpointola.c324 union sctp_subtype subtype; in sctp_endpoint_bh_rcv() local
338 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_endpoint_bh_rcv()
343 if (first_time && (subtype.chunk == SCTP_CID_AUTH)) { in sctp_endpoint_bh_rcv()
378 if (sctp_auth_recv_cid(subtype.chunk, asoc) && !chunk->auth) in sctp_endpoint_bh_rcv()
395 error = sctp_do_sm(net, SCTP_EVENT_T_CHUNK, subtype, state, in sctp_endpoint_bh_rcv()
/Linux-v5.15/samples/watch_queue/
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-v5.15/drivers/media/usb/gspca/
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 …]
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-v5.15/drivers/hwtracing/coresight/
Dcoresight-core.c373 link_subtype = csdev->subtype.link_subtype; in coresight_enable_link()
408 link_subtype = csdev->subtype.link_subtype; in coresight_disable_link()
898 (csdev->subtype.sink_subtype >= CORESIGHT_DEV_SUBTYPE_SINK_BUFFER)) in coresight_is_def_sink_type()
929 } else if (new_sink->subtype.sink_subtype > in coresight_select_best_sink()
930 sink->subtype.sink_subtype) { in coresight_select_best_sink()
933 } else if ((new_sink->subtype.sink_subtype == in coresight_select_best_sink()
934 sink->subtype.sink_subtype) && in coresight_select_best_sink()
1070 u32 type, subtype; in coresight_validate_source() local
1073 subtype = csdev->subtype.source_subtype; in coresight_validate_source()
1080 if (subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_PROC && in coresight_validate_source()
[all …]
/Linux-v5.15/Documentation/crypto/
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-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.h215 __be16 subtype; member
330 u16 subtype, usr_stype; in brcmf_fweh_process_skb() local
343 subtype = get_unaligned_be16(&event_packet->hdr.subtype); in brcmf_fweh_process_skb()
344 if (subtype != stype) in brcmf_fweh_process_skb()
/Linux-v5.15/net/batman-adv/
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-v5.15/drivers/net/wireless/ath/wil6210/
Dtrace.h159 __field(u8, subtype)
170 __entry->subtype = wil_rxdesc_subtype(d);
177 __entry->seq, __entry->type, __entry->subtype)
191 __field(u8, subtype)
203 __entry->subtype = wil_rx_status_get_fc1(wil, msg);
211 __entry->seq, __entry->type, __entry->subtype)
/Linux-v5.15/arch/nds32/kernel/
Dfpu.c251 bool do_fpu_exception(unsigned int subtype, struct pt_regs *regs) in do_fpu_exception() argument
255 if (subtype == FPU_DISABLE_EXCEPTION) { in do_fpu_exception()
261 else if (subtype == FPU_EXCEPTION) in do_fpu_exception()
/Linux-v5.15/arch/alpha/include/asm/
Dgct.h10 u8 subtype; member
36 u8 subtype; member
/Linux-v5.15/drivers/media/pci/ivtv/
Divtv-streams.c494 int captype = 0, subtype = 0; in ivtv_start_v4l2_encode_stream() local
505 subtype = 3; in ivtv_start_v4l2_encode_stream()
521 subtype = 11; /* video+audio+decoder */ in ivtv_start_v4l2_encode_stream()
525 subtype = 1; in ivtv_start_v4l2_encode_stream()
529 subtype = 2; in ivtv_start_v4l2_encode_stream()
533 subtype = 4; in ivtv_start_v4l2_encode_stream()
543 s->subtype = subtype; in ivtv_start_v4l2_encode_stream()
636 if (ivtv_vapi(itv, CX2341X_ENC_START_CAPTURE, 2, captype, subtype)) in ivtv_start_v4l2_encode_stream()
836 ivtv_vapi(itv, CX2341X_ENC_STOP_CAPTURE, 3, stopmode, cap_type, s->subtype); in ivtv_stop_v4l2_encode_stream()
/Linux-v5.15/drivers/tty/
Dpty.c49 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_close()
69 if (tty->driver->subtype == PTY_TYPE_MASTER) { in pty_close()
239 if (tty->driver->subtype == PTY_TYPE_SLAVE && tty->link->count != 1) in pty_open()
378 if (driver->subtype != PTY_TYPE_MASTER) in pty_common_install()
565 pty_driver->subtype = PTY_TYPE_MASTER; in legacy_pty_init()
581 pty_slave_driver->subtype = PTY_TYPE_SLAVE; in legacy_pty_init()
739 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_unix98_remove()
907 ptm_driver->subtype = PTY_TYPE_MASTER; in unix98_pty_init()
923 pts_driver->subtype = PTY_TYPE_SLAVE; in unix98_pty_init()
/Linux-v5.15/Documentation/admin-guide/media/
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
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx4/
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 …]

12345678910