| /freebsd/sys/dev/bwn/ |
| H A D | if_bwn_phy_common.c | 91 uint16_t chip_id = sc->sc_cid.chip_id; in bwn_mac_switch_freq() local 93 if (chip_id == BHND_CHIPID_BCM4331) { in bwn_mac_switch_freq() 108 } else if (chip_id == BHND_CHIPID_BCM43131 || in bwn_mac_switch_freq() 109 chip_id == BHND_CHIPID_BCM43217 || in bwn_mac_switch_freq() 110 chip_id == BHND_CHIPID_BCM43222 || in bwn_mac_switch_freq() 111 chip_id == BHND_CHIPID_BCM43224 || in bwn_mac_switch_freq() 112 chip_id == BHND_CHIPID_BCM43225 || in bwn_mac_switch_freq() 113 chip_id == BHND_CHIPID_BCM43227 || in bwn_mac_switch_freq() 114 chip_id == BHND_CHIPID_BCM43228) { in bwn_mac_switch_freq()
|
| /freebsd/sys/dev/bhnd/cores/pmu/ |
| H A D | bhnd_pmu_subr.c | 201 switch (sc->cid.chip_id) { in bhnd_pmu_set_ldo_voltage() 335 sc->cid.chip_id); in bhnd_pmu_set_ldo_voltage() 356 switch (sc->cid.chip_id) { in bhnd_pmu_fast_pwrup_delay() 682 if (sc->cid.chip_id == BHND_CHIPID_BCM4325 && sc->cid.chip_rev <= 1) in bhnd_pmu_res_depfltr_ncb() 719 switch (sc->cid.chip_id) { in bhnd_pmu_res_masks() 928 switch (sc->cid.chip_id) { in bhnd_pmu_res_init() 1370 switch (sc->cid.chip_id) { in bhnd_pmu1_xtaltab0() 1388 sc->cid.chip_id); in bhnd_pmu1_xtaltab0() 1397 switch (sc->cid.chip_id) { in bhnd_pmu1_xtaldef0() 1421 sc->cid.chip_id); in bhnd_pmu1_xtaldef0() [all …]
|
| /freebsd/sys/contrib/dev/rtw89/ |
| H A D | pci_be.c | 49 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_l1ss_set_be() local 52 if (enable && chip_id == RTL8922D && hal->cid == RTL8922D_CID7090) in rtw89_pci_l1ss_set_be() 165 if (io_en == MAC_AX_PCIE_ENABLE && rtwdev->chip->chip_id == RTL8922A) in rtw89_pci_ctrl_trxdma_pcie_be() 177 if (chip->chip_id == RTL8922A) in rtw89_pci_clr_idx_all_be() 242 if (chip->chip_id == RTL8922A) in rtw89_pci_mode_op_be() 246 if (chip->chip_id == RTL8922A) { in rtw89_pci_mode_op_be() 270 if (chip->chip_id == RTL8922A) in rtw89_pci_mode_op_be() 297 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_ldo_low_pwr_be() local 309 if (chip_id == RTL8922D && hal->cid == RTL8922D_CID7090) in rtw89_pci_ldo_low_pwr_be() 328 if (chip->chip_id == RTL8922A && hal->cv == CHIP_CAV) in rtw89_pci_pcie_setting_be() [all …]
|
| H A D | efuse.c | 47 if (rtwdev->chip->chip_id != RTL8852A) in rtw89_switch_efuse_bank() 76 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_enable_efuse_pwr_cut_ddv() local 79 if (chip_id == RTL8852A) in rtw89_enable_efuse_pwr_cut_ddv() 89 if (chip_id == RTL8852B && hal->cv == CHIP_CAV) in rtw89_enable_efuse_pwr_cut_ddv() 95 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_disable_efuse_pwr_cut_ddv() local 98 if (chip_id == RTL8852A) in rtw89_disable_efuse_pwr_cut_ddv() 101 if (chip_id == RTL8852B && hal->cv == CHIP_CAV) in rtw89_disable_efuse_pwr_cut_ddv() 414 if (chip->chip_id == RTL8852B && b1 == 0xFF && b2 == 0x6E) { in rtw89_efuse_recognize_mss_info_v1()
|
| H A D | pci.c | 2356 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_write_config_byte() local 2364 if (chip_id == RTL8852A || rtw89_is_rtl885xb(rtwdev)) in rtw89_pci_write_config_byte() 2374 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_read_config_byte() local 2382 if (chip_id == RTL8852A || rtw89_is_rtl885xb(rtwdev)) in rtw89_pci_read_config_byte() 2625 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_deglitch_setting() local 2628 if (chip_id == RTL8852A) { in rtw89_pci_deglitch_setting() 2637 } else if (chip_id == RTL8852C) { in rtw89_pci_deglitch_setting() 2657 if (rtwdev->chip->chip_id != RTL8852C) in rtw89_pci_disable_eq_ax() 2735 if (rtwdev->chip->chip_id != RTL8852A) in rtw89_pci_rxdma_prefth() 2743 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw89_pci_l1off_pwroff() local [all …]
|
| H A D | mac.c | 345 if (chip->chip_id == RTL8852C) { in rtw89_mac_dump_dmac_err_status() 362 if (chip->chip_id == RTL8852C) in rtw89_mac_dump_dmac_err_status() 371 if (chip->chip_id == RTL8852C) { in rtw89_mac_dump_dmac_err_status() 403 } else if (chip->chip_id == RTL8922A) { in rtw89_mac_dump_dmac_err_status() 454 if (chip->chip_id == RTL8922A) { in rtw89_mac_dump_dmac_err_status() 479 if (chip->chip_id == RTL8852C || chip->chip_id == RTL8922A) { in rtw89_mac_dump_dmac_err_status() 517 if (chip->chip_id == RTL8922A) { in rtw89_mac_dump_dmac_err_status() 531 if (chip->chip_id == RTL8852C) { in rtw89_mac_dump_dmac_err_status() 557 if (chip->chip_id == RTL8922A) { in rtw89_mac_dump_dmac_err_status() 587 if (chip->chip_id == RTL8852C || chip->chip_id == RTL8922A) { in rtw89_mac_dump_dmac_err_status() [all …]
|
| H A D | mac_be.c | 126 if (chip->chip_id == RTL8922D) in hfc_get_mix_info_be() 134 if (chip->chip_id == RTL8922D) { in hfc_get_mix_info_be() 172 if (chip->chip_id == RTL8922D) in hfc_mix_cfg_be() 179 if (chip->chip_id == RTL8922D) in hfc_mix_cfg_be() 228 if (rtwdev->chip->chip_id != RTL8922A) in dle_clk_en_be() 363 if (rtwdev->chip->chip_id == RTL8922A) in ple_quota_cfg_be() 402 if (chip->chip_id == RTL8922A) in rtw89_mac_dmac_func_pre_en_be() 617 if (rtwdev->chip->chip_id == RTL8922A) in rtw89_mac_disable_cpu_be() 677 if (chip->chip_id != RTL8922A) in wcpu_on() 766 if (chip->chip_id == RTL8922A) in dmac_func_en_be() [all …]
|
| H A D | rtw8852b_common.c | 701 if (rtwdev->chip->chip_id == RTL8852BT) in rtw8852bx_set_gain_offset() 850 if (rtwdev->chip->chip_id != RTL8852BT) in rtw8852bt_adc_cfg() 903 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in rtw8852bx_ctrl_bw() local 919 if (chip_id == RTL8852BT) { in rtw8852bx_ctrl_bw() 936 if (chip_id == RTL8852BT) { in rtw8852bx_ctrl_bw() 953 if (chip_id == RTL8852BT) { in rtw8852bx_ctrl_bw() 995 if (chip_id == RTL8852B) { in rtw8852bx_ctrl_bw() 998 } else if (chip_id == RTL8852BT) { in rtw8852bx_ctrl_bw() 1170 enum rtw89_core_chip_id chip_id = rtwdev->chip->chip_id; in __rtw8852bx_set_channel_bb() local 1181 if (chip_id == RTL8852BT) in __rtw8852bx_set_channel_bb() [all …]
|
| /freebsd/sys/dev/bhnd/ |
| H A D | bhnd_match.h | 155 chip_id:1, member 164 uint16_t chip_id; /**< required chip id */ member 171 _BHND_COPY_MATCH_FIELD(_src, chip_id), \ 177 #define BHND_MATCH_CHIP_ID(_cid) _BHND_SET_MATCH_FIELD(chip_id, \ 281 chip_id:1, member 301 uint16_t chip_id; /**< required chip id */ member
|
| H A D | bhnd_subr.c | 350 bhnd_format_chip_id(char *buffer, size_t size, uint16_t chip_id) in bhnd_format_chip_id() argument 353 if (chip_id >= 0x4000 && chip_id <= 0x9C3F) in bhnd_format_chip_id() 354 return (snprintf(buffer, size, "BCM%hX", chip_id)); in bhnd_format_chip_id() 356 return (snprintf(buffer, size, "BCM%hu", chip_id)); in bhnd_format_chip_id() 764 if (desc->m.match.chip_id && chip->chip_id != desc->chip_id) in bhnd_chip_matches() 1794 bhnd_set_default_bus_desc(device_t dev, const struct bhnd_chipid *chip_id) in bhnd_set_default_bus_desc() argument 1800 switch (chip_id->chip_type) { in bhnd_set_default_bus_desc() 1818 chip_id->chip_id); in bhnd_set_default_bus_desc()
|
| /freebsd/sys/arm/nvidia/ |
| H A D | tegra_abpmisc.c | 80 uint32_t id, chip_id, minor_rev; in tegra_abpmisc_read_revision() local 84 chip_id = (id >> 8) & 0xff; in tegra_abpmisc_read_revision() 104 tegra_sku_info.chip_id = chip_id; in tegra_abpmisc_read_revision()
|
| H A D | tegra_efuse.h | 39 u_int chip_id; member
|
| /freebsd/sys/dev/cxgbe/common/ |
| H A D | t4_hw.c | 201 if (chip_id(adap) <= CHELSIO_T5) in t4_hw_pci_read_cfg4() 283 if (chip_id(adap) > CHELSIO_T6) in t4_port_reg() 285 if (chip_id(adap) > CHELSIO_T4) in t4_port_reg() 394 if (chip_id(adap) >= CHELSIO_T6) in t4_wr_mbox_meat_timeout() 616 } else if (chip_id(adap) < CHELSIO_T7) { in t4_mc_read() 824 unsigned int chip_version = chip_id(adapter); in t4_get_regs_len() 3320 unsigned int chip_version = chip_id(adap); in t4_get_regs() 3816 const struct t4_flash_loc_entry *l = chip_id(adap) >= CHELSIO_T7 ? in t4_flash_loc_start() 3861 if (chip_id(adapter) >= CHELSIO_T7) in sf1_read() 4304 hdr->chip, chip_id(adap)); in t4_fw_matches_chip() [all …]
|
| H A D | t4vf_hw.c | 142 if (chip_id(adapter) <= CHELSIO_T5) in t4vf_get_sge_params() 174 if (chip_id(adapter) <= CHELSIO_T5) { in t4vf_get_sge_params() 380 adapter->chip_params = t4_get_chip_params(chip_id(adapter)); in t4vf_prep_adapter()
|
| /freebsd/sys/dev/cxgbe/tom/ |
| H A D | t4_connect.c | 234 MPASS(chip_id(sc) >= CHELSIO_T4); in act_open_cpl_size() 235 idx = min(chip_id(sc) - CHELSIO_T4, 3); in act_open_cpl_size() 337 switch (chip_id(sc)) { in t4_connect() 380 switch (chip_id(sc)) { in t4_connect()
|
| /freebsd/sys/contrib/device-tree/Bindings/arm/bcm/ |
| H A D | brcm,brcmstb.txt | 7 - compatible: "brcm,bcm<chip_id>", "brcm,brcmstb" 19 - compatible: "brcm,bcm<chip_id>-sun-top-ctrl", "syscon" 20 - compatible: "brcm,bcm<chip_id>-cpu-biu-ctrl", 23 - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon"
|
| /freebsd/sys/contrib/dev/athk/ath12k/ |
| H A D | qmi.h | 111 u32 chip_id; member 197 u8 chip_id; member 430 u32 chip_id; member
|
| H A D | coredump.h | 45 __le32 chip_id; member
|
| /freebsd/sys/contrib/dev/athk/ath11k/ |
| H A D | coredump.h | 48 __le32 chip_id; member
|
| /freebsd/usr.sbin/cxgbetool/ |
| H A D | cxgbetool.c | 62 int chip_id; /* 4 for T4, 5 for T5, and so on. */ member 973 if (g.chip_id <= 5 && t->fs.prio) in do_show_one_filter_info() 992 if (!hash && g.chip_id >= 6) { in show_filters() 2156 switch (g.chip_id) { in get_sge_context() 2162 show_t5t6_ctxt(&cntxt, g.chip_id); in get_sge_context() 2442 set_tcb_info(TIDTYPE_TCB, g.chip_id); in show_tcb() 3693 snprintf(name, sizeof(name), "dev.t%unex.%u.misc.clip", g.chip_id, g.inst); in display_clip() 3860 u_int chip_id, whoami; in open_nexus_device() local 3887 chip_id = (val >> 4) & 0xf; in open_nexus_device() 3888 if (chip_id == 0) in open_nexus_device() [all …]
|
| /freebsd/sys/dev/bxe/ |
| H A D | bxe_elink.h | 402 uint32_t chip_id; member 567 uint32_t shmem2_base_path[], uint32_t chip_id, uint8_t one_port_enabled); 683 uint32_t chip_id, uint32_t shmem_base, uint32_t shmem2_base,
|
| /freebsd/sys/powerpc/powernv/ |
| H A D | opal_hmi.c | 55 uint32_t chip_id; member
|
| /freebsd/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_dbg_fw_funcs.c | 1865 dev_data->chip_id = CHIP_E5; in ecore_dbg_dev_init() 1869 dev_data->chip_id = CHIP_K2; in ecore_dbg_dev_init() 1873 dev_data->chip_id = CHIP_BB; in ecore_dbg_dev_init() 1922 return (const struct dbg_bus_block *)&dbg_bus_blocks[block_id * MAX_CHIP_IDS + dev_data->chip_id]; in get_dbg_bus_block_desc() 2193 …offset += ecore_dump_str_param(dump_buf + offset, dump, "chip", s_chip_defs[dev_data->chip_id].nam… in ecore_dump_common_global_params() 2231 if (s_reset_regs_defs[i].exists[dev_data->chip_id]) in ecore_update_blocks_reset_state() 2424 …if (block->dbg_client_id[dev_data->chip_id] != MAX_DBG_BUS_CLIENTS && !dev_data->block_in_reset[bl… in ecore_bus_disable_inputs() 2861 if (block->exists[dev_data->chip_id] && block->has_reset_bit && block->unreset) in ecore_grc_unreset_blocks() 2867 if (!s_reset_regs_defs[i].exists[dev_data->chip_id]) in ecore_grc_unreset_blocks() 2870 reg_val[i] |= s_reset_regs_defs[i].unreset_val[dev_data->chip_id]; in ecore_grc_unreset_blocks() [all …]
|
| /freebsd/sys/contrib/dev/athk/ath10k/ |
| H A D | qmi.h | 33 u32 chip_id; member
|
| H A D | qmi.c | 610 qmi->chip_info.chip_id = resp->chip_info.chip_id; in ath10k_qmi_cap_send_sync_msg() 613 qmi->chip_info.chip_id = 0xFF; in ath10k_qmi_cap_send_sync_msg() 636 qmi->chip_info.chip_id, qmi->chip_info.chip_family, in ath10k_qmi_cap_send_sync_msg() 863 ar->id.qmi_chip_id = qmi->chip_info.chip_id; in ath10k_qmi_fetch_board_file()
|