Home
last modified time | relevance | path

Searched refs:chip_num (Results 1 – 19 of 19) sorted by relevance

/Linux-v5.4/drivers/media/pci/solo6x10/
Dsolo6x10-tw28.c643 u8 val, chip_num; in tw28_get_video_status() local
646 chip_num = ch / 4; in tw28_get_video_status()
649 val = tw_readbyte(solo_dev, chip_num, TW286x_AV_STAT_ADDR, in tw28_get_video_status()
683 u8 chip_num; in tw28_set_ctrl_val() local
686 chip_num = ch / 4; in tw28_set_ctrl_val()
695 if (is_tw286x(solo_dev, chip_num)) { in tw28_set_ctrl_val()
697 TW_CHIP_OFFSET_ADDR(chip_num), in tw28_set_ctrl_val()
698 TW286x_SHARPNESS(chip_num)); in tw28_set_ctrl_val()
702 TW_CHIP_OFFSET_ADDR(chip_num), in tw28_set_ctrl_val()
703 TW286x_SHARPNESS(chip_num), v); in tw28_set_ctrl_val()
[all …]
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h1409 u16 chip_num; member
1440 #define BNXT_CHIP_NUM_5730X(chip_num) \ argument
1441 ((chip_num) >= CHIP_NUM_57301 && \
1442 (chip_num) <= CHIP_NUM_57304)
1444 #define BNXT_CHIP_NUM_5740X(chip_num) \ argument
1445 (((chip_num) >= CHIP_NUM_57402 && \
1446 (chip_num) <= CHIP_NUM_57406) || \
1447 (chip_num) == CHIP_NUM_57407)
1449 #define BNXT_CHIP_NUM_5731X(chip_num) \ argument
1450 ((chip_num) == CHIP_NUM_57311 || \
[all …]
Dbnxt.c3776 if (BNXT_VF(bp) || bp->chip_num == CHIP_NUM_58700) in bnxt_alloc_stats()
7271 bp->chip_num = le16_to_cpu(resp->chip_num); in bnxt_hwrm_ver_get()
7272 if (bp->chip_num == CHIP_NUM_58700 && !resp->chip_rev && in bnxt_hwrm_ver_get()
Dbnxt_ethtool.c3214 record->asic_id1 = cpu_to_le32(bp->chip_num << 16 | in bnxt_fill_coredump_record()
Dbnxt_hsi.h486 __le16 chip_num; member
/Linux-v5.4/drivers/char/tpm/
Dtpm-chip.c199 int chip_num = 0; in tpm_default_chip() local
205 chip_prev = chip_num; in tpm_default_chip()
206 chip = idr_get_next(&dev_nums_idr, &chip_num); in tpm_default_chip()
212 } while (chip_prev != chip_num); in tpm_default_chip()
/Linux-v5.4/drivers/infiniband/hw/bnxt_re/
Dqplib_res.h184 u16 chip_num; member
206 return (cctx->chip_num == CHIP_NUM_57500); in bnxt_qplib_is_chip_gen_p5()
Dmain.c97 rdev->chip_ctx.chip_num = bp->chip_num; in bnxt_re_setup_chip_ctx()
Dib_verbs.c3631 chip_met_rev_num = rdev->chip_ctx.chip_num; in bnxt_re_alloc_ucontext()
/Linux-v5.4/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c756 BNX2FC_NAME, hba->chip_num, BNX2FC_VERSION, in bnx2fc_shost_config()
1749 strncpy(hba->chip_num, "BCM57710", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1752 strncpy(hba->chip_num, "BCM57711", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1757 strncpy(hba->chip_num, "BCM57712", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1762 strncpy(hba->chip_num, "BCM57800", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1767 strncpy(hba->chip_num, "BCM57810", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1774 strncpy(hba->chip_num, "BCM57840", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1787 hba->chip_num[0] = '\0'; in bnx2fc_unbind_pcidev()
Dbnx2fc.h251 char chip_num[BCM_CHIP_LEN]; member
/Linux-v5.4/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_vfpf.h178 u32 chip_num; member
Dbnx2x_vfpf.c368 bp->common.chip_id |= (bp->acquire_resp.pfdev_info.chip_num & 0xffff); in bnx2x_vfpf_acquire()
1266 resp->pfdev_info.chip_num = bp->common.chip_id; in bnx2x_vf_mbx_acquire_resp()
1315 resp->pfdev_info.chip_num, in bnx2x_vf_mbx_acquire_resp()
/Linux-v5.4/drivers/mtd/chips/
Dcfi_cmdset_0001.c2305 u_int chip_num, chip_step, field, reg_fact_size, reg_user_size; in cfi_intelext_otp_walk() local
2318 chip_num = 0; in cfi_intelext_otp_walk()
2327 chip_num = chip_step - 1; in cfi_intelext_otp_walk()
2331 for ( ; chip_num < cfi->numchips; chip_num += chip_step) { in cfi_intelext_otp_walk()
2332 chip = &cfi->chips[chip_num]; in cfi_intelext_otp_walk()
/Linux-v5.4/drivers/net/ethernet/qlogic/qed/
Dqed.h747 u16 chip_num; member
Dqed_vf.h181 u32 chip_num; member
Dqed_vf.c415 p_hwfn->cdev->chip_num = pfdev_info->chip_num & 0xffff; in qed_vf_pf_acquire()
Dqed_sriov.c1624 pfdev_info->chip_num = p_hwfn->cdev->chip_num; in qed_iov_vf_mbx_acquire()
1687 resp->pfdev_info.chip_num, in qed_iov_vf_mbx_acquire()
Dqed_dev.c4389 cdev->chip_num = (u16)qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_NUM); in qed_get_dev_info()
4415 cdev->chip_num, cdev->chip_rev, in qed_get_dev_info()