Home
last modified time | relevance | path

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

123456789

/Linux-v5.4/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.c332 const struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_describe() local
340 if (subtype) { in asymmetric_key_describe()
342 subtype->describe(key, m); in asymmetric_key_describe()
417 struct asymmetric_key_subtype *subtype = prep->payload.data[asym_subtype]; in asymmetric_key_free_preparse() local
422 if (subtype) { in asymmetric_key_free_preparse()
423 subtype->destroy(prep->payload.data[asym_crypto], in asymmetric_key_free_preparse()
425 module_put(subtype->owner); in asymmetric_key_free_preparse()
436 struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_destroy() local
446 if (subtype) { in asymmetric_key_destroy()
447 subtype->destroy(data, auth); in asymmetric_key_destroy()
[all …]
/Linux-v5.4/drivers/mfd/
Dqcom-spmi-pmic.c61 unsigned int rev2, minor, major, type, subtype; in pmic_spmi_show_revid() local
72 ret = regmap_read(map, PMIC_SUBTYPE, &subtype); in pmic_spmi_show_revid()
77 if (subtype == (unsigned long)pmic_spmi_id_table[i].data) in pmic_spmi_show_revid()
102 if ((subtype == PM8941_SUBTYPE || subtype == PM8226_SUBTYPE) && in pmic_spmi_show_revid()
106 if (subtype == PM8110_SUBTYPE) in pmic_spmi_show_revid()
109 dev_dbg(dev, "%x: %s v%d.%d\n", subtype, name, major, minor); in pmic_spmi_show_revid()
/Linux-v5.4/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.4/drivers/thermal/qcom/
Dqcom-spmi-temp-alarm.c69 unsigned int subtype; member
118 if (chip->subtype == QPNP_TM_SUBTYPE_GEN1) in qpnp_tm_get_temp_stage()
142 if (chip->subtype == QPNP_TM_SUBTYPE_GEN1) { in qpnp_tm_update_temp_no_adc()
325 stage = chip->subtype == QPNP_TM_SUBTYPE_GEN1 in qpnp_tm_init()
353 u8 type, subtype; in qpnp_tm_probe() local
397 ret = qpnp_tm_read(chip, QPNP_TM_REG_SUBTYPE, &subtype); in qpnp_tm_probe()
403 if (type != QPNP_TM_TYPE || (subtype != QPNP_TM_SUBTYPE_GEN1 in qpnp_tm_probe()
404 && subtype != QPNP_TM_SUBTYPE_GEN2)) { in qpnp_tm_probe()
406 type, subtype); in qpnp_tm_probe()
410 chip->subtype = subtype; in qpnp_tm_probe()
/Linux-v5.4/arch/powerpc/kernel/
Dmce.c328 const char *level, *sevstr, *subtype, *err_type, *initiator; in machine_check_print_event_info() local
438 subtype = evt->u.ue_error.ue_error_type < in machine_check_print_event_info()
449 subtype = evt->u.slb_error.slb_error_type < in machine_check_print_event_info()
458 subtype = evt->u.erat_error.erat_error_type < in machine_check_print_event_info()
467 subtype = evt->u.tlb_error.tlb_error_type < in machine_check_print_event_info()
476 subtype = evt->u.user_error.user_error_type < in machine_check_print_event_info()
485 subtype = evt->u.ra_error.ra_error_type < in machine_check_print_event_info()
494 subtype = evt->u.link_error.link_error_type < in machine_check_print_event_info()
503 subtype = "Unknown"; in machine_check_print_event_info()
507 subtype = "Unknown"; in machine_check_print_event_info()
[all …]
/Linux-v5.4/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.4/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.4/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,
612 union sctp_subtype subtype, in sctp_cmd_assoc_failed() argument
622 if (event_type == SCTP_EVENT_T_CHUNK && subtype.chunk == SCTP_CID_ABORT) in sctp_cmd_assoc_failed()
1111 ep, sctp_evttype_tbl[event_type], (*debug_fn)(subtype), \
1130 union sctp_subtype subtype, enum sctp_state state, in sctp_do_sm() argument
1147 state_fn = sctp_sm_lookup_event(net, event_type, state, subtype); in sctp_do_sm()
1152 status = state_fn->fn(net, ep, asoc, subtype, event_arg, &commands); in sctp_do_sm()
1155 error = sctp_side_effects(event_type, subtype, state, in sctp_do_sm()
1167 union sctp_subtype subtype, in sctp_side_effects() argument
[all …]
Dendpointola.c323 union sctp_subtype subtype; in sctp_endpoint_bh_rcv() local
337 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_endpoint_bh_rcv()
342 if (first_time && (subtype.chunk == SCTP_CID_AUTH)) { in sctp_endpoint_bh_rcv()
377 if (sctp_auth_recv_cid(subtype.chunk, asoc) && !chunk->auth) in sctp_endpoint_bh_rcv()
394 error = sctp_do_sm(net, SCTP_EVENT_T_CHUNK, subtype, state, in sctp_endpoint_bh_rcv()
/Linux-v5.4/drivers/media/usb/gspca/
Dsunplus.c34 u8 subtype; member
478 if (sd->subtype == AiptekMiniPenCam13) { in spca504B_SetSizeType()
582 sd->subtype = id->driver_info; in sd_config()
584 if (sd->subtype == AiptekMiniPenCam13) { in sd_config()
594 sd->subtype = 0; in sd_config()
611 if (sd->subtype == MegaImageVI) /* 320x240 only */ in sd_config()
656 if (sd->subtype == LogitechClickSmart420) in sd_init()
668 if (sd->subtype == AiptekMiniPenCam13) { in sd_init()
724 switch (sd->subtype) { in sd_start()
741 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()
Dspca501.c28 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-v5.4/Documentation/crypto/
Dasymmetric-keys.txt24 The asymmetric key is given a subtype that defines what sort of data is
29 A completely in-kernel key retention and operation subtype can be defined, but
38 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:
166 Asymmetric keys have a subtype that defines the set of operations that can be
168 payload. The payload format is entirely at the whim of the subtype.
170 The subtype is selected by the key data parser and the parser must initialise
172 subtype module.
[all …]
/Linux-v5.4/drivers/hwtracing/coresight/
Dcoresight.c265 link_subtype = csdev->subtype.link_subtype; in coresight_enable_link()
305 link_subtype = csdev->subtype.link_subtype; in coresight_disable_link()
739 u32 type, subtype; in coresight_validate_source() local
742 subtype = csdev->subtype.source_subtype; in coresight_validate_source()
749 if (subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_PROC && in coresight_validate_source()
750 subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_SOFTWARE) { in coresight_validate_source()
763 enum coresight_dev_subtype_source subtype; in coresight_enable() local
765 subtype = csdev->subtype.source_subtype; in coresight_enable()
779 if (subtype == CORESIGHT_DEV_SUBTYPE_SOURCE_SOFTWARE) in coresight_enable()
809 switch (subtype) { in coresight_enable()
[all …]
/Linux-v5.4/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfweh.h215 __be16 subtype; member
329 u16 subtype, usr_stype; in brcmf_fweh_process_skb() local
342 subtype = get_unaligned_be16(&event_packet->hdr.subtype); in brcmf_fweh_process_skb()
343 if (subtype != stype) in brcmf_fweh_process_skb()
/Linux-v5.4/net/batman-adv/
Ddistributed-arp-table.h88 u8 subtype) in batadv_dat_inc_counter() argument
90 switch (subtype) { in batadv_dat_inc_counter()
187 u8 subtype) in batadv_dat_inc_counter() argument
/Linux-v5.4/drivers/net/wireless/ath/wil6210/
Dtrace.h170 __field(u8, subtype)
181 __entry->subtype = wil_rxdesc_subtype(d);
188 __entry->seq, __entry->type, __entry->subtype)
202 __field(u8, subtype)
214 __entry->subtype = wil_rx_status_get_fc1(wil, msg);
222 __entry->seq, __entry->type, __entry->subtype)
/Linux-v5.4/arch/alpha/include/asm/
Dgct.h10 u8 subtype; member
36 u8 subtype; member
/Linux-v5.4/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.4/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.4/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()
249 if (tty->driver->subtype == PTY_TYPE_SLAVE && tty->link->count != 1) in pty_open()
388 if (driver->subtype != PTY_TYPE_MASTER) in pty_common_install()
576 pty_driver->subtype = PTY_TYPE_MASTER; in legacy_pty_init()
592 pty_slave_driver->subtype = PTY_TYPE_SLAVE; in legacy_pty_init()
748 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_unix98_remove()
918 ptm_driver->subtype = PTY_TYPE_MASTER; in unix98_pty_init()
934 pts_driver->subtype = PTY_TYPE_SLAVE; in unix98_pty_init()
/Linux-v5.4/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c986 u8 subtype; in wilc_wfi_cfg_parse_rx_vendor_spec() local
989 subtype = buff[P2P_PUB_ACTION_SUBTYPE]; in wilc_wfi_cfg_parse_rx_vendor_spec()
990 if ((subtype == GO_NEG_REQ || subtype == GO_NEG_RSP) && in wilc_wfi_cfg_parse_rx_vendor_spec()
1008 if (subtype == GO_NEG_REQ || subtype == GO_NEG_RSP || in wilc_wfi_cfg_parse_rx_vendor_spec()
1009 subtype == P2P_INV_REQ || subtype == P2P_INV_RSP) { in wilc_wfi_cfg_parse_rx_vendor_spec()
1060 u8 subtype = buff[P2P_PUB_ACTION_SUBTYPE]; in wilc_wfi_p2p_rx() local
1072 if ((subtype == GO_NEG_REQ || subtype == GO_NEG_RSP) && in wilc_wfi_p2p_rx()
1173 u8 subtype = buf[P2P_PUB_ACTION_SUBTYPE]; in wilc_wfi_cfg_tx_vendor_spec() local
1176 if (subtype == GO_NEG_REQ || subtype == GO_NEG_RSP) { in wilc_wfi_cfg_tx_vendor_spec()
1185 !(subtype == GO_NEG_REQ || subtype == GO_NEG_RSP || in wilc_wfi_cfg_tx_vendor_spec()
[all …]
/Linux-v5.4/Documentation/media/v4l-drivers/
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

123456789