Home
last modified time | relevance | path

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

12345678

/Linux-v4.19/crypto/asymmetric_keys/
Dsignature.c49 const struct asymmetric_key_subtype *subtype; in verify_signature() local
56 subtype = asymmetric_key_subtype(key); in verify_signature()
57 if (!subtype || in verify_signature()
60 if (!subtype->verify_signature) in verify_signature()
63 ret = subtype->verify_signature(key, sig); in verify_signature()
Dasymmetric_type.c335 const struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_describe() local
343 if (subtype) { in asymmetric_key_describe()
345 subtype->describe(key, m); in asymmetric_key_describe()
420 struct asymmetric_key_subtype *subtype = prep->payload.data[asym_subtype]; in asymmetric_key_free_preparse() local
425 if (subtype) { in asymmetric_key_free_preparse()
426 subtype->destroy(prep->payload.data[asym_crypto], in asymmetric_key_free_preparse()
428 module_put(subtype->owner); in asymmetric_key_free_preparse()
439 struct asymmetric_key_subtype *subtype = asymmetric_key_subtype(key); in asymmetric_key_destroy() local
449 if (subtype) { in asymmetric_key_destroy()
450 subtype->destroy(data, auth); in asymmetric_key_destroy()
[all …]
/Linux-v4.19/drivers/thermal/
Dqcom-spmi-temp-alarm.c66 unsigned int subtype; member
111 if (chip->subtype == QPNP_TM_SUBTYPE_GEN1) in qpnp_tm_get_temp_stage()
133 if (chip->subtype == QPNP_TM_SUBTYPE_GEN1) { in qpnp_tm_update_temp_no_adc()
219 stage = chip->subtype == QPNP_TM_SUBTYPE_GEN1 in qpnp_tm_init()
249 u8 type, subtype; in qpnp_tm_probe() local
290 ret = qpnp_tm_read(chip, QPNP_TM_REG_SUBTYPE, &subtype); in qpnp_tm_probe()
296 if (type != QPNP_TM_TYPE || (subtype != QPNP_TM_SUBTYPE_GEN1 in qpnp_tm_probe()
297 && subtype != QPNP_TM_SUBTYPE_GEN2)) { in qpnp_tm_probe()
299 type, subtype); in qpnp_tm_probe()
303 chip->subtype = subtype; in qpnp_tm_probe()
/Linux-v4.19/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-v4.19/drivers/media/pci/saa7164/
Dsaa7164-types.h129 u8 subtype; member
136 u8 subtype; member
153 u8 subtype; member
171 u8 subtype; member
182 u8 subtype; member
276 u8 subtype; member
290 u8 subtype; member
300 u8 subtype; member
338 u8 subtype; member
357 u8 subtype; member
[all …]
/Linux-v4.19/arch/powerpc/kernel/
Dmce.c312 const char *level, *sevstr, *subtype; in machine_check_print_event_info() local
402 subtype = evt->u.ue_error.ue_error_type < in machine_check_print_event_info()
406 printk("%s Error type: UE [%s]\n", level, subtype); in machine_check_print_event_info()
415 subtype = evt->u.slb_error.slb_error_type < in machine_check_print_event_info()
419 printk("%s Error type: SLB [%s]\n", level, subtype); in machine_check_print_event_info()
425 subtype = evt->u.erat_error.erat_error_type < in machine_check_print_event_info()
429 printk("%s Error type: ERAT [%s]\n", level, subtype); in machine_check_print_event_info()
435 subtype = evt->u.tlb_error.tlb_error_type < in machine_check_print_event_info()
439 printk("%s Error type: TLB [%s]\n", level, subtype); in machine_check_print_event_info()
445 subtype = evt->u.user_error.user_error_type < in machine_check_print_event_info()
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/net/sctp/
Dprimitive.c56 enum sctp_event event_type; union sctp_subtype subtype; \
61 subtype = SCTP_ST_PRIMITIVE(SCTP_PRIMITIVE_ ## name); \
65 error = sctp_do_sm(net, event_type, subtype, state, ep, asoc, \
Dsm_sideeffect.c56 union sctp_subtype subtype,
65 union sctp_subtype subtype,
627 union sctp_subtype subtype, in sctp_cmd_assoc_failed() argument
637 if (event_type == SCTP_EVENT_T_CHUNK && subtype.chunk == SCTP_CID_ABORT) in sctp_cmd_assoc_failed()
1147 ep, sctp_evttype_tbl[event_type], (*debug_fn)(subtype), \
1166 union sctp_subtype subtype, enum sctp_state state, in sctp_do_sm() argument
1183 state_fn = sctp_sm_lookup_event(net, event_type, state, subtype); in sctp_do_sm()
1188 status = state_fn->fn(net, ep, asoc, subtype, event_arg, &commands); in sctp_do_sm()
1191 error = sctp_side_effects(event_type, subtype, state, in sctp_do_sm()
1203 union sctp_subtype subtype, in sctp_side_effects() argument
[all …]
Dendpointola.c385 union sctp_subtype subtype; in sctp_endpoint_bh_rcv() local
399 subtype = SCTP_ST_CHUNK(chunk->chunk_hdr->type); in sctp_endpoint_bh_rcv()
404 if (first_time && (subtype.chunk == SCTP_CID_AUTH)) { in sctp_endpoint_bh_rcv()
439 if (sctp_auth_recv_cid(subtype.chunk, asoc) && !chunk->auth) in sctp_endpoint_bh_rcv()
456 error = sctp_do_sm(net, SCTP_EVENT_T_CHUNK, subtype, state, in sctp_endpoint_bh_rcv()
/Linux-v4.19/drivers/hwtracing/coresight/
Dcoresight.c172 link_subtype = csdev->subtype.link_subtype; in coresight_enable_link()
210 link_subtype = csdev->subtype.link_subtype; in coresight_disable_link()
576 u32 type, subtype; in coresight_validate_source() local
579 subtype = csdev->subtype.source_subtype; in coresight_validate_source()
586 if (subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_PROC && in coresight_validate_source()
587 subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_SOFTWARE) { in coresight_validate_source()
600 enum coresight_dev_subtype_source subtype; in coresight_enable() local
602 subtype = csdev->subtype.source_subtype; in coresight_enable()
616 if (subtype == CORESIGHT_DEV_SUBTYPE_SOURCE_SOFTWARE) in coresight_enable()
646 switch (subtype) { in coresight_enable()
[all …]
/Linux-v4.19/drivers/media/usb/gspca/
Dsunplus.c43 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.c32 u8 subtype; member
605 sd->subtype = id->driver_info; in sd_config()
606 if (sd->subtype != IntelPCCameraPro) in sd_config()
620 sd->subtype == Nxultra in sd_init()
646 if (sd->subtype == Nxultra) in sd_start()
Dspca501.c38 char subtype; member
1827 sd->subtype = id->driver_info; in sd_config()
1837 switch (sd->subtype) { in sd_init()
1866 switch (sd->subtype) { in sd_start()
/Linux-v4.19/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-v4.19/net/batman-adv/
Ddistributed-arp-table.h95 u8 subtype) in batadv_dat_inc_counter() argument
97 switch (subtype) { in batadv_dat_inc_counter()
181 u8 subtype) in batadv_dat_inc_counter() argument
/Linux-v4.19/drivers/net/wireless/ath/wil6210/
Dtrace.h169 __field(u8, subtype)
180 __entry->subtype = wil_rxdesc_subtype(d);
187 __entry->seq, __entry->type, __entry->subtype)
201 __field(u8, subtype)
213 __entry->subtype = wil_rx_status_get_fc1(wil, msg);
221 __entry->seq, __entry->type, __entry->subtype)
/Linux-v4.19/Documentation/devicetree/bindings/arm/
Dqcom.txt12 compatible = "qcom,<SoC>[-<soc_version>][-<foundry_id>]-<board>[/<subtype>][-<board_version>]"
45 The 'foundry_id' and 'subtype' elements are one or more digits from 0 to 9.
56 A dragonboard board v0.1 of subtype 1 with an apq8074 SoC version 2, made in
/Linux-v4.19/arch/alpha/include/asm/
Dgct.h10 u8 subtype; member
36 u8 subtype; member
/Linux-v4.19/drivers/media/pci/ivtv/
Divtv-streams.c479 int captype = 0, subtype = 0; in ivtv_start_v4l2_encode_stream() local
490 subtype = 3; in ivtv_start_v4l2_encode_stream()
506 subtype = 11; /* video+audio+decoder */ in ivtv_start_v4l2_encode_stream()
510 subtype = 1; in ivtv_start_v4l2_encode_stream()
514 subtype = 2; in ivtv_start_v4l2_encode_stream()
518 subtype = 4; in ivtv_start_v4l2_encode_stream()
528 s->subtype = subtype; in ivtv_start_v4l2_encode_stream()
621 if (ivtv_vapi(itv, CX2341X_ENC_START_CAPTURE, 2, captype, subtype)) in ivtv_start_v4l2_encode_stream()
821 ivtv_vapi(itv, CX2341X_ENC_STOP_CAPTURE, 3, stopmode, cap_type, s->subtype); in ivtv_stop_v4l2_encode_stream()
/Linux-v4.19/drivers/tty/
Dpty.c48 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_close()
68 if (tty->driver->subtype == PTY_TYPE_MASTER) { in pty_close()
248 if (tty->driver->subtype == PTY_TYPE_SLAVE && tty->link->count != 1) in pty_open()
387 if (driver->subtype != PTY_TYPE_MASTER) in pty_common_install()
571 pty_driver->subtype = PTY_TYPE_MASTER; in legacy_pty_init()
587 pty_slave_driver->subtype = PTY_TYPE_SLAVE; in legacy_pty_init()
738 if (tty->driver->subtype == PTY_TYPE_MASTER) in pty_unix98_remove()
908 ptm_driver->subtype = PTY_TYPE_MASTER; in unix98_pty_init()
924 pts_driver->subtype = PTY_TYPE_SLAVE; in unix98_pty_init()
/Linux-v4.19/drivers/pinctrl/qcom/
Dpinctrl-spmi-mpp.c658 int type, subtype, val, dir; in pmic_mpp_populate() local
671 subtype = pmic_mpp_read(state, pad, PMIC_MPP_REG_SUBTYPE); in pmic_mpp_populate()
672 if (subtype < 0) in pmic_mpp_populate()
673 return subtype; in pmic_mpp_populate()
675 switch (subtype) { in pmic_mpp_populate()
688 subtype, pad->base); in pmic_mpp_populate()
757 if (subtype != PMIC_MPP_SUBTYPE_ULT_4CH_NO_ANA_OUT && in pmic_mpp_populate()
758 subtype != PMIC_MPP_SUBTYPE_ULT_4CH_NO_SINK) { in pmic_mpp_populate()
/Linux-v4.19/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()
571 eqe->type, eqe->subtype, in mlx4_eq_int()
580 eqe->type, eqe->subtype); in mlx4_eq_int()
587 eqe->subtype, slave); in mlx4_eq_int()
[all …]
/Linux-v4.19/drivers/staging/wilc1000/
Dwilc_wfi_cfgoperations.c1332 u8 subtype; in wilc_wfi_cfg_parse_rx_vendor_spec() local
1335 subtype = buff[P2P_PUB_ACTION_SUBTYPE]; in wilc_wfi_cfg_parse_rx_vendor_spec()
1336 if ((subtype == GO_NEG_REQ || subtype == GO_NEG_RSP) && !wilc_ie) { in wilc_wfi_cfg_parse_rx_vendor_spec()
1353 if (subtype == GO_NEG_REQ || subtype == GO_NEG_RSP || in wilc_wfi_cfg_parse_rx_vendor_spec()
1354 subtype == P2P_INV_REQ || subtype == P2P_INV_RSP) { in wilc_wfi_cfg_parse_rx_vendor_spec()
1404 u8 subtype = buff[P2P_PUB_ACTION_SUBTYPE]; in wilc_wfi_p2p_rx() local
1416 if ((subtype == GO_NEG_REQ || subtype == GO_NEG_RSP) && in wilc_wfi_p2p_rx()
1516 u8 subtype = buf[P2P_PUB_ACTION_SUBTYPE]; in wilc_wfi_cfg_tx_vendor_spec() local
1518 if (subtype == GO_NEG_REQ || subtype == GO_NEG_RSP) { in wilc_wfi_cfg_tx_vendor_spec()
1526 if (p2p_local_random <= p2p_recv_random || !(subtype == GO_NEG_REQ || in wilc_wfi_cfg_tx_vendor_spec()
[all …]

12345678