/drivers/media/pci/solo6x10/ |
D | solo6x10-tw28.c | 652 u8 val, chip_num; in tw28_get_video_status() local 655 chip_num = ch / 4; in tw28_get_video_status() 658 val = tw_readbyte(solo_dev, chip_num, TW286x_AV_STAT_ADDR, in tw28_get_video_status() 692 u8 chip_num; in tw28_set_ctrl_val() local 695 chip_num = ch / 4; in tw28_set_ctrl_val() 704 if (is_tw286x(solo_dev, chip_num)) { in tw28_set_ctrl_val() 706 TW_CHIP_OFFSET_ADDR(chip_num), in tw28_set_ctrl_val() 707 TW286x_SHARPNESS(chip_num)); in tw28_set_ctrl_val() 711 TW_CHIP_OFFSET_ADDR(chip_num), in tw28_set_ctrl_val() 712 TW286x_SHARPNESS(chip_num), v); in tw28_set_ctrl_val() [all …]
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.h | 992 u16 chip_num; member 1018 #define BNXT_CHIP_NUM_5730X(chip_num) \ argument 1019 ((chip_num) >= CHIP_NUM_57301 && \ 1020 (chip_num) <= CHIP_NUM_57304) 1022 #define BNXT_CHIP_NUM_5740X(chip_num) \ argument 1023 (((chip_num) >= CHIP_NUM_57402 && \ 1024 (chip_num) <= CHIP_NUM_57406) || \ 1025 (chip_num) == CHIP_NUM_57407) 1027 #define BNXT_CHIP_NUM_5731X(chip_num) \ argument 1028 ((chip_num) == CHIP_NUM_57311 || \ [all …]
|
D | bnxt.c | 3094 if (BNXT_PF(bp) && bp->chip_num != CHIP_NUM_58700) { in bnxt_alloc_stats() 4931 bp->chip_num = le16_to_cpu(resp->chip_num); in bnxt_hwrm_ver_get() 4932 if (bp->chip_num == CHIP_NUM_58700 && !resp->chip_rev && in bnxt_hwrm_ver_get()
|
D | bnxt_hsi.h | 565 __le16 chip_num; member
|
/drivers/char/tpm/ |
D | tpm-chip.c | 89 struct tpm_chip *tpm_chip_find_get(int chip_num) in tpm_chip_find_get() argument 96 if (chip_num == TPM_ANY_NUM) { in tpm_chip_find_get() 97 chip_num = 0; in tpm_chip_find_get() 99 chip_prev = chip_num; in tpm_chip_find_get() 100 chip = idr_get_next(&dev_nums_idr, &chip_num); in tpm_chip_find_get() 105 } while (chip_prev != chip_num); in tpm_chip_find_get() 107 chip = idr_find(&dev_nums_idr, chip_num); in tpm_chip_find_get()
|
D | tpm-interface.c | 955 int tpm_is_tpm2(u32 chip_num) in tpm_is_tpm2() argument 960 chip = tpm_chip_find_get(chip_num); in tpm_is_tpm2() 983 int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf) in tpm_pcr_read() argument 988 chip = tpm_chip_find_get(chip_num); in tpm_pcr_read() 1038 int tpm_pcr_extend(u32 chip_num, int pcr_idx, const u8 *hash) in tpm_pcr_extend() argument 1046 chip = tpm_chip_find_get(chip_num); in tpm_pcr_extend() 1163 int tpm_send(u32 chip_num, void *cmd, size_t buflen) in tpm_send() argument 1168 chip = tpm_chip_find_get(chip_num); in tpm_send() 1338 int tpm_get_random(u32 chip_num, u8 *out, size_t max) in tpm_get_random() argument 1349 chip = tpm_chip_find_get(chip_num); in tpm_get_random() [all …]
|
D | tpm.h | 538 struct tpm_chip *tpm_chip_find_get(int chip_num);
|
/drivers/scsi/bnx2fc/ |
D | bnx2fc_fcoe.c | 765 BNX2FC_NAME, hba->chip_num, BNX2FC_VERSION, in bnx2fc_shost_config() 1758 strncpy(hba->chip_num, "BCM57710", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1761 strncpy(hba->chip_num, "BCM57711", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1766 strncpy(hba->chip_num, "BCM57712", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1771 strncpy(hba->chip_num, "BCM57800", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1776 strncpy(hba->chip_num, "BCM57810", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1783 strncpy(hba->chip_num, "BCM57840", BCM_CHIP_LEN); in bnx2fc_bind_pcidev() 1796 hba->chip_num[0] = '\0'; in bnx2fc_unbind_pcidev()
|
D | bnx2fc.h | 250 char chip_num[BCM_CHIP_LEN]; member
|
/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() 1267 resp->pfdev_info.chip_num = bp->common.chip_id; in bnx2x_vf_mbx_acquire_resp() 1316 resp->pfdev_info.chip_num, in bnx2x_vf_mbx_acquire_resp()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0001.c | 2313 u_int chip_num, chip_step, field, reg_fact_size, reg_user_size; in cfi_intelext_otp_walk() local 2326 chip_num = 0; in cfi_intelext_otp_walk() 2335 chip_num = chip_step - 1; in cfi_intelext_otp_walk() 2339 for ( ; chip_num < cfi->numchips; chip_num += chip_step) { in cfi_intelext_otp_walk() 2340 chip = &cfi->chips[chip_num]; in cfi_intelext_otp_walk()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed.h | 635 u16 chip_num; member
|
D | qed_vf.h | 181 u32 chip_num; member
|
D | qed_vf.c | 415 p_hwfn->cdev->chip_num = pfdev_info->chip_num & 0xffff; in qed_vf_pf_acquire()
|
D | qed_sriov.c | 1622 pfdev_info->chip_num = p_hwfn->cdev->chip_num; in qed_iov_vf_mbx_acquire() 1685 resp->pfdev_info.chip_num, in qed_iov_vf_mbx_acquire()
|
D | qed_dev.c | 2915 cdev->chip_num = (u16)qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_NUM); in qed_get_dev_info() 2941 cdev->chip_num, cdev->chip_rev, in qed_get_dev_info()
|