/linux-4.4.14/include/linux/ |
D | tpm.h | 51 extern int tpm_is_tpm2(u32 chip_num); 52 extern int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf); 53 extern int tpm_pcr_extend(u32 chip_num, int pcr_idx, const u8 *hash); 54 extern int tpm_send(u32 chip_num, void *cmd, size_t buflen); 55 extern int tpm_get_random(u32 chip_num, u8 *data, size_t max); 56 extern int tpm_seal_trusted(u32 chip_num, 59 extern int tpm_unseal_trusted(u32 chip_num, 63 static inline int tpm_is_tpm2(u32 chip_num) in tpm_is_tpm2() argument 67 static inline int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf) { in tpm_pcr_read() argument 70 static inline int tpm_pcr_extend(u32 chip_num, int pcr_idx, const u8 *hash) { in tpm_pcr_extend() argument [all …]
|
/linux-4.4.14/drivers/media/pci/solo6x10/ |
D | solo6x10-tw28.c | 651 u8 val, chip_num; in tw28_get_video_status() local 654 chip_num = ch / 4; in tw28_get_video_status() 657 val = tw_readbyte(solo_dev, chip_num, TW286x_AV_STAT_ADDR, in tw28_get_video_status() 691 u8 chip_num; in tw28_set_ctrl_val() local 694 chip_num = ch / 4; in tw28_set_ctrl_val() 703 if (is_tw286x(solo_dev, chip_num)) { in tw28_set_ctrl_val() 705 TW_CHIP_OFFSET_ADDR(chip_num), in tw28_set_ctrl_val() 706 TW286x_SHARPNESS(chip_num)); in tw28_set_ctrl_val() 710 TW_CHIP_OFFSET_ADDR(chip_num), in tw28_set_ctrl_val() 711 TW286x_SHARPNESS(chip_num), v); in tw28_set_ctrl_val() [all …]
|
/linux-4.4.14/drivers/char/tpm/ |
D | tpm-interface.c | 675 int tpm_is_tpm2(u32 chip_num) in tpm_is_tpm2() argument 680 chip = tpm_chip_find_get(chip_num); in tpm_is_tpm2() 703 int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf) in tpm_pcr_read() argument 708 chip = tpm_chip_find_get(chip_num); in tpm_pcr_read() 738 int tpm_pcr_extend(u32 chip_num, int pcr_idx, const u8 *hash) in tpm_pcr_extend() argument 744 chip = tpm_chip_find_get(chip_num); in tpm_pcr_extend() 828 int tpm_send(u32 chip_num, void *cmd, size_t buflen) in tpm_send() argument 833 chip = tpm_chip_find_get(chip_num); in tpm_send() 1004 int tpm_get_random(u32 chip_num, u8 *out, size_t max) in tpm_get_random() argument 1015 chip = tpm_chip_find_get(chip_num); in tpm_get_random() [all …]
|
D | tpm-chip.c | 43 struct tpm_chip *tpm_chip_find_get(int chip_num) in tpm_chip_find_get() argument 49 if (chip_num != TPM_ANY_NUM && chip_num != pos->dev_num) in tpm_chip_find_get()
|
D | tpm.h | 515 struct tpm_chip *tpm_chip_find_get(int chip_num);
|
/linux-4.4.14/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 704 BNX2FC_NAME, hba->chip_num, BNX2FC_VERSION, in bnx2fc_shost_config() 1676 strncpy(hba->chip_num, "BCM57710", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1679 strncpy(hba->chip_num, "BCM57711", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1684 strncpy(hba->chip_num, "BCM57712", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1689 strncpy(hba->chip_num, "BCM57800", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1694 strncpy(hba->chip_num, "BCM57810", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1701 strncpy(hba->chip_num, "BCM57840", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1714 hba->chip_num[0] = '\0'; in bnx2fc_unbind_pcidev()
|
D | bnx2fc.h | 248 char chip_num[BCM_CHIP_LEN]; member
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_vfpf.h | 178 u32 chip_num; member
|
D | bnx2x_vfpf.c | 368 bp->common.chip_id |= (bp->acquire_resp.pfdev_info.chip_num & 0xffff); in bnx2x_vfpf_acquire() 1268 resp->pfdev_info.chip_num = bp->common.chip_id; in bnx2x_vf_mbx_acquire_resp() 1317 resp->pfdev_info.chip_num, in bnx2x_vf_mbx_acquire_resp()
|
/linux-4.4.14/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 357 u16 chip_num; member
|
D | qed_dev.c | 1298 cdev->chip_num = (u16)qed_rd(cdev->hwfns, cdev->hwfns[0].p_main_ptt, in qed_get_dev_info() 1324 cdev->chip_num, cdev->chip_rev, in qed_get_dev_info()
|
/linux-4.4.14/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 2284 u_int chip_num, chip_step, field, reg_fact_size, reg_user_size; in cfi_intelext_otp_walk() local 2297 chip_num = 0; in cfi_intelext_otp_walk() 2306 chip_num = chip_step - 1; in cfi_intelext_otp_walk() 2310 for ( ; chip_num < cfi->numchips; chip_num += chip_step) { in cfi_intelext_otp_walk() 2311 chip = &cfi->chips[chip_num]; in cfi_intelext_otp_walk()
|
/linux-4.4.14/arch/tile/kernel/ |
D | hvglue_trace.c | 190 int, chip_num, int, chip_rev_num, int, client_pl)
|
/linux-4.4.14/security/keys/ |
D | trusted.c | 357 static int trusted_tpm_send(const u32 chip_num, unsigned char *cmd, in trusted_tpm_send() argument 363 rc = tpm_send(chip_num, cmd, buflen); in trusted_tpm_send()
|
/linux-4.4.14/arch/tile/include/hv/ |
D | hypervisor.h | 417 int chip_num, int chip_rev_num, int client_pl);
|
/linux-4.4.14/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_hsi.h | 710 __le16 chip_num; member
|