Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/drivers/net/ethernet/broadcom/bnxt/
Dbnxt.h2103 u16 chip_num; member
2140 #define BNXT_CHIP_NUM_5730X(chip_num) \ argument
2141 ((chip_num) >= CHIP_NUM_57301 && \
2142 (chip_num) <= CHIP_NUM_57304)
2144 #define BNXT_CHIP_NUM_5740X(chip_num) \ argument
2145 (((chip_num) >= CHIP_NUM_57402 && \
2146 (chip_num) <= CHIP_NUM_57406) || \
2147 (chip_num) == CHIP_NUM_57407)
2149 #define BNXT_CHIP_NUM_5731X(chip_num) \ argument
2150 ((chip_num) == CHIP_NUM_57311 || \
[all …]
Dbnxt_ulp.h81 u16 chip_num; member
Dbnxt_ulp.c418 edev->chip_num = bp->chip_num; in bnxt_set_edev_info()
Dbnxt_coredump.c263 record->asic_id1 = cpu_to_le32(bp->chip_num << 16 | in bnxt_fill_coredump_record()
Dbnxt_devlink.c881 sprintf(buf, "%X", bp->chip_num); in bnxt_dl_info_get()
Dbnxt.c4934 if (BNXT_VF(bp) || bp->chip_num == CHIP_NUM_58700) in bnxt_alloc_stats()
9400 if (!bp->chip_num) { in bnxt_try_map_fw_health_reg()
9402 bp->chip_num = readl(bp->bar0 + in bnxt_try_map_fw_health_reg()
9722 bp->chip_num = le16_to_cpu(resp->chip_num); in bnxt_hwrm_ver_get()
9724 if (bp->chip_num == CHIP_NUM_58700 && !resp->chip_rev && in bnxt_hwrm_ver_get()
Dbnxt_hsi.h692 __le16 chip_num; member
/linux-6.12.1/drivers/infiniband/hw/bnxt_re/
Dqplib_res.h67 u16 chip_num; member
320 return (cctx->chip_num == CHIP_NUM_58818 || in bnxt_qplib_is_chip_gen_p7()
321 cctx->chip_num == CHIP_NUM_57608); in bnxt_qplib_is_chip_gen_p7()
326 return (cctx->chip_num == CHIP_NUM_57508 || in bnxt_qplib_is_chip_gen_p5()
327 cctx->chip_num == CHIP_NUM_57504 || in bnxt_qplib_is_chip_gen_p5()
328 cctx->chip_num == CHIP_NUM_57502); in bnxt_qplib_is_chip_gen_p5()
Dmain.c176 chip_ctx->chip_num = en_dev->chip_num; in bnxt_re_setup_chip_ctx()
Dib_verbs.c4239 chip_met_rev_num = rdev->chip_ctx->chip_num; in bnxt_re_alloc_ucontext()
/linux-6.12.1/drivers/char/tpm/
Dtpm-chip.c207 int chip_num = 0; in tpm_default_chip() local
213 chip_prev = chip_num; in tpm_default_chip()
214 chip = idr_get_next(&dev_nums_idr, &chip_num); in tpm_default_chip()
220 } while (chip_prev != chip_num); in tpm_default_chip()
/linux-6.12.1/drivers/soc/hisilicon/
Dkunpeng_hccs.c350 hdev->chip_num = *((u8 *)&desc.rsp.data); in hccs_query_chip_num_on_platform()
351 if (!hdev->chip_num) { in hccs_query_chip_num_on_platform()
392 hdev->chip_num * sizeof(struct hccs_chip_info), in hccs_query_chip_info_on_platform()
399 for (idx = 0; idx < hdev->chip_num; idx++) { in hccs_query_chip_info_on_platform()
457 for (i = 0; i < hdev->chip_num; i++) { in hccs_query_all_die_info_on_platform()
607 for (i = 0; i < hdev->chip_num; i++) { in hccs_query_all_port_info_on_platform()
1159 for (i = 0; i < hdev->chip_num; i++) in hccs_remove_topo_dirs()
1247 for (id = 0; id < hdev->chip_num; id++) { in hccs_create_topo_dirs()
Dkunpeng_hccs.h75 u8 chip_num; member
/linux-6.12.1/drivers/scsi/bnx2fc/
Dbnx2fc_fcoe.c755 BNX2FC_NAME, hba->chip_num, BNX2FC_VERSION, in bnx2fc_shost_config()
1737 strscpy(hba->chip_num, "BCM57710", sizeof(hba->chip_num)); in bnx2fc_bind_pcidev()
1740 strscpy(hba->chip_num, "BCM57711", sizeof(hba->chip_num)); in bnx2fc_bind_pcidev()
1745 strscpy(hba->chip_num, "BCM57712", sizeof(hba->chip_num)); in bnx2fc_bind_pcidev()
1750 strscpy(hba->chip_num, "BCM57800", sizeof(hba->chip_num)); in bnx2fc_bind_pcidev()
1755 strscpy(hba->chip_num, "BCM57810", sizeof(hba->chip_num)); in bnx2fc_bind_pcidev()
1762 strscpy(hba->chip_num, "BCM57840", sizeof(hba->chip_num)); in bnx2fc_bind_pcidev()
1775 hba->chip_num[0] = '\0'; in bnx2fc_unbind_pcidev()
Dbnx2fc.h248 char chip_num[BCM_CHIP_LEN]; member
/linux-6.12.1/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()
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-6.12.1/drivers/mtd/chips/
Dcfi_cmdset_0001.c2326 u_int chip_num, chip_step, field, reg_fact_size, reg_user_size; in cfi_intelext_otp_walk() local
2339 chip_num = 0; in cfi_intelext_otp_walk()
2348 chip_num = chip_step - 1; in cfi_intelext_otp_walk()
2352 for ( ; chip_num < cfi->numchips; chip_num += chip_step) { in cfi_intelext_otp_walk()
2353 chip = &cfi->chips[chip_num]; in cfi_intelext_otp_walk()
/linux-6.12.1/drivers/net/ethernet/qlogic/qed/
Dqed_vf.h154 u32 chip_num; member
Dqed_vf.c399 p_hwfn->cdev->chip_num = pfdev_info->chip_num & 0xffff; in qed_vf_pf_acquire()
Dqed.h714 u16 chip_num; member
Dqed_sriov.c1606 pfdev_info->chip_num = p_hwfn->cdev->chip_num; in qed_iov_vf_mbx_acquire()
1669 resp->pfdev_info.chip_num, in qed_iov_vf_mbx_acquire()
Dqed_dev.c4620 cdev->chip_num = (u16)qed_rd(p_hwfn, p_ptt, MISCS_REG_CHIP_NUM); in qed_get_dev_info()
4646 cdev->chip_num, cdev->chip_rev, in qed_get_dev_info()