| /drivers/platform/cznic/ |
| A D | turris-signing-key.c | 35 if (!subtype) in turris_signing_key_describe() 39 subtype->get_public_key(key)); in turris_signing_key_describe() 46 if (!subtype) 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() 76 if (!subtype) in turris_signing_key_asym_query() 83 info->key_size = subtype->key_size; in turris_signing_key_asym_query() 98 if (!subtype) in turris_signing_key_asym_eds_op() 107 if (params->in_len != subtype->data_size || params->out_len != subtype->sig_size) in turris_signing_key_asym_eds_op() [all …]
|
| /drivers/media/pci/saa7164/ |
| 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 …]
|
| /drivers/hwtracing/coresight/ |
| A D | coresight-sysfs.c | 146 u32 type, subtype; in coresight_validate_source_sysfs() local 149 subtype = csdev->subtype.source_subtype; in coresight_validate_source_sysfs() 156 if (subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_PROC && in coresight_validate_source_sysfs() 157 subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_SOFTWARE && in coresight_validate_source_sysfs() 158 subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_TPDM && in coresight_validate_source_sysfs() 159 subtype != CORESIGHT_DEV_SUBTYPE_SOURCE_OTHERS) { in coresight_validate_source_sysfs() 172 enum coresight_dev_subtype_source subtype; in coresight_enable_sysfs() local 175 subtype = csdev->subtype.source_subtype; in coresight_enable_sysfs() 195 if (subtype == CORESIGHT_DEV_SUBTYPE_SOURCE_SOFTWARE) in coresight_enable_sysfs() 225 switch (subtype) { in coresight_enable_sysfs() [all …]
|
| 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()
|
| A D | coresight-core.c | 324 link_subtype = csdev->subtype.link_subtype; in coresight_enable_link() 912 } else if (new_sink->subtype.sink_subtype > in coresight_select_best_sink() 913 sink->subtype.sink_subtype) { in coresight_select_best_sink() 916 } else if ((new_sink->subtype.sink_subtype == in coresight_select_best_sink() 917 sink->subtype.sink_subtype) && in coresight_select_best_sink() 1333 csdev->subtype = desc->subtype; in coresight_register() 1480 union coresight_dev_subtype subtype) in coresight_find_input_type() argument 1488 coresight_compare_type(type, subtype, conn->src_dev->type, in coresight_find_input_type() 1489 conn->src_dev->subtype)) in coresight_find_input_type() 1499 union coresight_dev_subtype subtype) in coresight_find_output_type() argument [all …]
|
| /drivers/net/ethernet/sfc/ |
| 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 …]
|
| /drivers/thermal/qcom/ |
| 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() 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() 836 else if (subtype == QPNP_TM_SUBTYPE_LITE) in qpnp_tm_probe() [all …]
|
| /drivers/mfd/ |
| 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()
|
| /drivers/media/usb/gspca/ |
| 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() 672 if (sd->subtype == AiptekMiniPenCam13) { in sd_init() 728 switch (sd->subtype) { in sd_start() 745 if (sd->subtype == AiptekMiniPenCam13) { in sd_start() 809 if (sd->subtype == AiptekMiniPenCam13) { in sd_stopN() 985 #define BS(bridge, subtype) \ argument [all …]
|
| 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()
|
| A D | spca501.c | 28 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()
|
| A D | spca500.c | 25 char subtype; member 565 sd->subtype = id->driver_info; in sd_config() 566 if (sd->subtype != LogitechClickSmart310) { in sd_config() 583 if (sd->subtype == LogitechClickSmart310) in sd_init() 604 if (sd->subtype == LogitechClickSmart310) { in sd_start() 620 switch (sd->subtype) { in sd_start()
|
| A D | spca508.c | 22 u8 subtype; member 1376 sd->subtype = id->driver_info; in sd_config() 1378 init_data = init_data_tb[sd->subtype]; in sd_config()
|
| /drivers/s390/crypto/ |
| A D | pkey_ep11.c | 282 u32 keytype, u32 subtype, in ep11_gen_key() argument 304 switch (subtype) { in ep11_gen_key() 310 __func__, subtype); in ep11_gen_key() 325 rc = ep11_apqns4type(subtype, NULL, NULL, 0, in ep11_gen_key() 335 keybuf, keybuflen, subtype, xflags); in ep11_gen_key() 353 u32 keytype, u32 subtype, in ep11_clr2key() argument 381 switch (subtype) { in ep11_clr2key() 387 __func__, subtype); in ep11_clr2key() 402 rc = ep11_apqns4type(subtype, NULL, NULL, 0, in ep11_clr2key() 412 keybuf, keybuflen, subtype, xflags); in ep11_clr2key()
|
| A D | pkey_cca.c | 307 u32 keytype, u32 subtype, in cca_gen_key() argument 329 switch (subtype) { in cca_gen_key() 335 __func__, subtype); in cca_gen_key() 350 rc = cca_apqns4type(subtype, NULL, NULL, 0, in cca_gen_key() 358 if (subtype == PKEY_TYPE_CCA_CIPHER) { in cca_gen_key() 385 u32 keytype, u32 subtype, in cca_clr2key() argument 413 switch (subtype) { in cca_clr2key() 419 __func__, subtype); in cca_clr2key() 434 rc = cca_apqns4type(subtype, NULL, NULL, 0, in cca_clr2key() 442 if (subtype == PKEY_TYPE_CCA_CIPHER) { in cca_clr2key()
|
| /drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| A D | fweh.h | 216 __be16 subtype; member 370 u16 subtype, usr_stype; in brcmf_fweh_process_skb() local 383 subtype = get_unaligned_be16(&event_packet->hdr.subtype); in brcmf_fweh_process_skb() 384 if (subtype != stype) in brcmf_fweh_process_skb()
|
| /drivers/net/wireless/ath/wil6210/ |
| 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)
|
| /drivers/gpu/drm/xe/instructions/ |
| A D | xe_mfx_commands.h | 16 #define XE_MFX_INSTR(subtype, op, sub_op) \ argument 18 REG_FIELD_PREP(MFX_CMD_SUBTYPE, subtype) | \
|
| /drivers/media/pci/ivtv/ |
| A D | ivtv-streams.c | 491 int captype = 0, subtype = 0; in ivtv_start_v4l2_encode_stream() local 502 subtype = 3; in ivtv_start_v4l2_encode_stream() 518 subtype = 11; /* video+audio+decoder */ in ivtv_start_v4l2_encode_stream() 522 subtype = 1; in ivtv_start_v4l2_encode_stream() 526 subtype = 2; in ivtv_start_v4l2_encode_stream() 530 subtype = 4; in ivtv_start_v4l2_encode_stream() 540 s->subtype = subtype; in ivtv_start_v4l2_encode_stream() 635 if (ivtv_vapi(itv, CX2341X_ENC_START_CAPTURE, 2, captype, subtype)) in ivtv_start_v4l2_encode_stream() 835 ivtv_vapi(itv, CX2341X_ENC_STOP_CAPTURE, 3, stopmode, cap_type, s->subtype); in ivtv_stop_v4l2_encode_stream()
|
| /drivers/tty/ |
| A D | pty.c | 49 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()
|
| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | eq.c | 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() 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() 697 eqe->type, eqe->subtype, in mlx4_eq_int() 782 eqe->type, eqe->subtype, eq->eqn, in mlx4_eq_int() 796 switch (eqe->subtype) { in mlx4_eq_int() 807 eqe->type, eqe->subtype, eq->eqn, in mlx4_eq_int() [all …]
|
| /drivers/pinctrl/qcom/ |
| A D | pinctrl-spmi-mpp.c | 651 int type, subtype, val, dir; in pmic_mpp_populate() local 664 subtype = pmic_mpp_read(state, pad, PMIC_MPP_REG_SUBTYPE); in pmic_mpp_populate() 665 if (subtype < 0) in pmic_mpp_populate() 666 return subtype; in pmic_mpp_populate() 668 switch (subtype) { in pmic_mpp_populate() 681 subtype, pad->base); in pmic_mpp_populate() 750 if (subtype != PMIC_MPP_SUBTYPE_ULT_4CH_NO_ANA_OUT && in pmic_mpp_populate() 751 subtype != PMIC_MPP_SUBTYPE_ULT_4CH_NO_SINK) { in pmic_mpp_populate()
|
| /drivers/crypto/chelsio/ |
| A D | chcr_algo.c | 1100 int subtype = get_cryptoalg_subtype(tfm); in chcr_update_cipher_iv() local 1103 if (subtype == CRYPTO_ALG_SUB_TYPE_CTR) in chcr_update_cipher_iv() 1137 if (subtype == CRYPTO_ALG_SUB_TYPE_CTR) in chcr_final_cipher_iv() 1254 int subtype; in process_cipher() local 1260 subtype = get_cryptoalg_subtype(tfm); in process_cipher() 1267 subtype == CRYPTO_ALG_SUB_TYPE_XTS) in process_cipher() 1332 subtype == in process_cipher() 3560 unsigned int bs, subtype; in chcr_authenc_setkey() local 3584 subtype = get_aead_subtype(authenc); in chcr_authenc_setkey() 3689 unsigned int subtype; in chcr_aead_digest_null_setkey() local [all …]
|
| /drivers/input/misc/ |
| A D | pm8941-pwrkey.c | 76 unsigned int subtype; member 208 if (pwrkey->subtype >= PON_SUBTYPE_GEN2_PRIMARY) in pm8941_pwrkey_sw_debounce_init() 315 &pwrkey->subtype); in pm8941_pwrkey_probe() 341 if (pwrkey->subtype >= PON_SUBTYPE_GEN2_PRIMARY) { in pm8941_pwrkey_probe()
|
| /drivers/s390/cio/ |
| A D | vfio_ccw_private.h | 48 u32 subtype; member 56 unsigned int subtype,
|