Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-tw28.c643 u8 val, chip_num; in tw28_get_video_status() local
646 chip_num = ch / 4; 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()
755 u8 rval, chip_num; in tw28_get_ctrl_val() local
758 chip_num = ch / 4; in tw28_get_ctrl_val()
815 unsigned int chip_num;
832 u8 chip_num; in tw28_get_audio_gain() local
835 chip_num = ch / 4; in tw28_get_audio_gain()
848 u8 chip_num; in tw28_set_audio_gain() local
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.h1717 u16 chip_num; member
1755 ((chip_num) >= CHIP_NUM_57301 && \
1756 (chip_num) <= CHIP_NUM_57304)
1761 (chip_num) == CHIP_NUM_57407)
1767 (chip_num) == CHIP_NUM_57317)
1771 (chip_num) <= CHIP_NUM_57414L)
1774 ((chip_num) == CHIP_NUM_58700)
1779 (chip_num) == CHIP_NUM_57454)
1783 (BNXT_CHIP_NUM_5730X(chip_num) || BNXT_CHIP_NUM_5740X(chip_num))
1786 (BNXT_CHIP_NUM_5731X(chip_num) || BNXT_CHIP_NUM_5741X(chip_num))
[all …]
H A Dbnxt_ulp.h76 u16 chip_num; member
H A Dbnxt_ulp.c347 edev->chip_num = bp->chip_num; in bnxt_set_edev_info()
H A Dbnxt_coredump.c263 record->asic_id1 = cpu_to_le32(bp->chip_num << 16 | in bnxt_fill_coredump_record()
H A Dbnxt_devlink.c909 sprintf(buf, "%X", bp->chip_num); in bnxt_dl_info_get()
H A Dbnxt.c4355 if (BNXT_VF(bp) || bp->chip_num == CHIP_NUM_58700) in bnxt_alloc_stats()
7920 if (!bp->chip_num) { in bnxt_try_map_fw_health_reg()
7922 bp->chip_num = readl(bp->bar0 + in bnxt_try_map_fw_health_reg()
8242 bp->chip_num = le16_to_cpu(resp->chip_num); in bnxt_hwrm_ver_get()
8244 if (bp->chip_num == CHIP_NUM_58700 && !resp->chip_rev && in bnxt_hwrm_ver_get()
H A Dbnxt_hsi.h638 __le16 chip_num; member
/openbmc/linux/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.h55 u16 chip_num; member
301 return (cctx->chip_num == CHIP_NUM_57508 || in bnxt_qplib_is_chip_gen_p5()
302 cctx->chip_num == CHIP_NUM_57504 || in bnxt_qplib_is_chip_gen_p5()
303 cctx->chip_num == CHIP_NUM_57502); in bnxt_qplib_is_chip_gen_p5()
H A Dmain.c164 chip_ctx->chip_num = en_dev->chip_num; in bnxt_re_setup_chip_ctx()
H A Dib_verbs.c4140 chip_met_rev_num = rdev->chip_ctx->chip_num; in bnxt_re_alloc_ucontext()
/openbmc/linux/drivers/char/tpm/
H A Dtpm-chip.c204 int chip_num = 0; in tpm_default_chip() local
210 chip_prev = chip_num; in tpm_default_chip()
211 chip = idr_get_next(&dev_nums_idr, &chip_num); in tpm_default_chip()
217 } while (chip_prev != chip_num); in tpm_default_chip()
/openbmc/linux/drivers/soc/hisilicon/
H A Dkunpeng_hccs.c289 hdev->chip_num = *((u8 *)&desc.rsp.data); in hccs_query_chip_num_on_platform()
290 if (!hdev->chip_num) { in hccs_query_chip_num_on_platform()
331 hdev->chip_num * sizeof(struct hccs_chip_info), in hccs_query_chip_info_on_platform()
338 for (idx = 0; idx < hdev->chip_num; idx++) { in hccs_query_chip_info_on_platform()
396 for (i = 0; i < hdev->chip_num; i++) { in hccs_query_all_die_info_on_platform()
541 for (i = 0; i < hdev->chip_num; i++) { in hccs_query_all_port_info_on_platform()
1093 for (i = 0; i < hdev->chip_num; i++) in hccs_remove_topo_dirs()
1181 for (id = 0; id < hdev->chip_num; id++) { in hccs_create_topo_dirs()
H A Dkunpeng_hccs.h60 u8 chip_num; member
/openbmc/u-boot/tools/
H A Dmxsboot.c117 uint32_t chip_num; member
562 cb->drv_info[0].chip_num = cpu_to_le32(0x0); in mx28_create_sd_image()
/openbmc/linux/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c755 BNX2FC_NAME, hba->chip_num, BNX2FC_VERSION, in bnx2fc_shost_config()
1737 strncpy(hba->chip_num, "BCM57710", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1740 strncpy(hba->chip_num, "BCM57711", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1745 strncpy(hba->chip_num, "BCM57712", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1750 strncpy(hba->chip_num, "BCM57800", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1755 strncpy(hba->chip_num, "BCM57810", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1762 strncpy(hba->chip_num, "BCM57840", BCM_CHIP_LEN); in bnx2fc_bind_pcidev()
1775 hba->chip_num[0] = '\0'; in bnx2fc_unbind_pcidev()
H A Dbnx2fc.h248 char chip_num[BCM_CHIP_LEN]; member
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.h178 u32 chip_num; member
H A 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()
/openbmc/linux/drivers/mtd/chips/
H A 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()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_vf.h154 u32 chip_num; member
H A Dqed.h716 u16 chip_num; member
H A Dqed_vf.c399 p_hwfn->cdev->chip_num = pfdev_info->chip_num & 0xffff; in qed_vf_pf_acquire()
H A 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()
H A 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()