Home
last modified time | relevance | path

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

12345678910>>...31

/openbmc/linux/drivers/phy/microchip/
H A Dsparx5_serdes_regs.h44 FIELD_GET(SD10G_LANE_LANE_01_CFG_RXDET_EN, x)
59 FIELD_GET(SD10G_LANE_LANE_02_CFG_EN_ADV, x)
65 FIELD_GET(SD10G_LANE_LANE_02_CFG_EN_MAIN, x)
71 FIELD_GET(SD10G_LANE_LANE_02_CFG_EN_DLY, x)
944 FIELD_GET(SD10G_LANE_LANE_DF_LOL, x)
2096 FIELD_GET(SD6G_LANE_LANE_DF_LOL, x)
2172 FIELD_GET(SD_CMU_CMU_06_CFG_DCLOL, x)
2257 FIELD_GET(SD_CMU_CMU_09_CFG_SW_8G, x)
2377 FIELD_GET(SD_CMU_CMU_45_RESERVED, x)
2555 FIELD_GET(SD_LANE_MISC_RX_ENA, x)
[all …]
H A Dlan966x_serdes_regs.h24 FIELD_GET(HSIO_SD_CFG_PHY_RESET, x)
30 FIELD_GET(HSIO_SD_CFG_TX_RESET, x)
36 FIELD_GET(HSIO_SD_CFG_TX_RATE, x)
42 FIELD_GET(HSIO_SD_CFG_TX_INVERT, x)
48 FIELD_GET(HSIO_SD_CFG_TX_EN, x)
54 FIELD_GET(HSIO_SD_CFG_TX_DATA_EN, x)
60 FIELD_GET(HSIO_SD_CFG_TX_CM_EN, x)
78 FIELD_GET(HSIO_SD_CFG_RX_RESET, x)
84 FIELD_GET(HSIO_SD_CFG_RX_RATE, x)
90 FIELD_GET(HSIO_SD_CFG_RX_PLL_EN, x)
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_main_regs.h68 FIELD_GET(ANA_AC_RAM_INIT_RAM_INIT, x)
158 FIELD_GET(ANA_AC_TSN_SF_PORT_NUM, x)
4230 FIELD_GET(FDMA_CH_CFG_CH_MEM, x)
4418 FIELD_GET(FDMA_CTRL_NRESET, x)
4428 FIELD_GET(GCB_CHIP_ID_REV_ID, x)
4440 FIELD_GET(GCB_CHIP_ID_MFG_ID, x)
4446 FIELD_GET(GCB_CHIP_ID_ONE, x)
6316 FIELD_GET(QS_INJ_CTRL_ABORT, x)
6322 FIELD_GET(QS_INJ_CTRL_EOF, x)
6328 FIELD_GET(QS_INJ_CTRL_SOF, x)
[all …]
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_regs.h65 FIELD_GET(ANA_ADVLEARN_VLAN_CHK, x)
77 FIELD_GET(ANA_ANAINTR_INTR, x)
83 FIELD_GET(ANA_ANAINTR_INTR_ENA, x)
92 FIELD_GET(ANA_AUTOAGE_AGE_PERIOD, x)
167 FIELD_GET(ANA_PGID_PGID, x)
203 FIELD_GET(ANA_MACACCESS_VALID, x)
230 FIELD_GET(ANA_MACTINDX_BUCKET, x)
371 FIELD_GET(ANA_VCAP_CFG_S1_ENA, x)
1070 FIELD_GET(PTP_DOM_CFG_ENA, x)
1242 FIELD_GET(QS_INJ_CTRL_EOF, x)
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath11k/
H A Dhal_rx.c170 FIELD_GET(HAL_REO_CMD_UPD1_AC, cmd->upd1)) | in ath11k_hal_reo_cmd_update_rx_queue()
287 FIELD_GET(BUFFER_ADDR_INFO0_ADDR, binfo->info0); in ath11k_hal_rx_buf_addr_info_get()
303 *rbm = FIELD_GET(BUFFER_ADDR_INFO1_RET_BUF_MGR, in ath11k_hal_rx_msdu_link_info_get()
309 if (!FIELD_GET(BUFFER_ADDR_INFO0_ADDR, in ath11k_hal_rx_msdu_link_info_get()
359 type = FIELD_GET(HAL_WBM_RELEASE_INFO0_DESC_TYPE, in ath11k_hal_wbm_desc_parse_err()
890 FIELD_GET(HAL_RX_PPDU_START_INFO0_PPDU_ID, in ath11k_hal_rx_parse_mon_status_tlv()
1482 FIELD_GET(HAL_RX_PPDU_END_DURATION, in ath11k_hal_rx_parse_mon_status_tlv()
1559 FIELD_GET(BUFFER_ADDR_INFO0_ADDR, in ath11k_hal_rx_reo_ent_buf_paddr_get()
1589 FIELD_GET(BUFFER_ADDR_INFO0_ADDR, in ath11k_hal_rx_sw_mon_ring_buf_paddr_get()
1593 (((u64)FIELD_GET(BUFFER_ADDR_INFO1_ADDR, in ath11k_hal_rx_sw_mon_ring_buf_paddr_get()
[all …]
H A Dhw.c283 return FIELD_GET(RX_MSDU_START_INFO2_LDPC, in ath11k_hw_ipq8074_rx_desc_get_ldpc_support()
313 return FIELD_GET(RX_MSDU_START_INFO3_SGI, in ath11k_hw_ipq8074_rx_desc_get_msdu_sgi()
348 return FIELD_GET(RX_MPDU_START_INFO2_TID, in ath11k_hw_ipq8074_rx_desc_get_mpdu_tid()
370 return FIELD_GET(HAL_TLV_HDR_TAG, in ath11k_hw_ipq8074_rx_desc_get_mpdu_start_tag()
460 return FIELD_GET(RX_MSDU_START_INFO2_LDPC, in ath11k_hw_qcn9074_rx_desc_get_ldpc_support()
490 return FIELD_GET(RX_MSDU_START_INFO3_SGI, in ath11k_hw_qcn9074_rx_desc_get_msdu_sgi()
525 return FIELD_GET(RX_MPDU_START_INFO9_TID, in ath11k_hw_qcn9074_rx_desc_get_mpdu_tid()
547 return FIELD_GET(HAL_TLV_HDR_TAG, in ath11k_hw_qcn9074_rx_desc_get_mpdu_start_tag()
661 return FIELD_GET(RX_MSDU_START_INFO3_SGI, in ath11k_hw_wcn6855_rx_desc_get_msdu_sgi()
718 return FIELD_GET(HAL_TLV_HDR_TAG, in ath11k_hw_wcn6855_rx_desc_get_mpdu_start_tag()
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/prestera/
H A Dprestera_dsa.c53 if (FIELD_GET(PRESTERA_DSA_W0_EXT_BIT, words[0]) == 0) in prestera_dsa_parse()
55 if (FIELD_GET(PRESTERA_DSA_W1_EXT_BIT, words[1]) == 0) in prestera_dsa_parse()
57 if (FIELD_GET(PRESTERA_DSA_W2_EXT_BIT, words[2]) == 0) in prestera_dsa_parse()
60 field = FIELD_GET(PRESTERA_DSA_W3_VID, words[3]); in prestera_dsa_parse()
64 dsa->vlan.vpt = FIELD_GET(PRESTERA_DSA_W0_VPT, words[0]); in prestera_dsa_parse()
65 dsa->vlan.vid = FIELD_GET(PRESTERA_DSA_W0_VID, words[0]); in prestera_dsa_parse()
69 field = FIELD_GET(PRESTERA_DSA_W3_DEV_NUM, words[3]); in prestera_dsa_parse()
71 dsa->hw_dev_num = FIELD_GET(PRESTERA_DSA_W0_DEV_NUM, words[0]); in prestera_dsa_parse()
75 (FIELD_GET(PRESTERA_DSA_W1_PORT_NUM, words[1]) << 5) | in prestera_dsa_parse()
76 (FIELD_GET(PRESTERA_DSA_W2_PORT_NUM, words[2]) << 7); in prestera_dsa_parse()
[all …]
/openbmc/linux/sound/soc/intel/keembay/
H A Dkmb_platform.h71 #define COMP1_TX_WORDSIZE_3(r) FIELD_GET(GENMASK(27, 25), (r))
72 #define COMP1_TX_WORDSIZE_2(r) FIELD_GET(GENMASK(24, 22), (r))
73 #define COMP1_TX_WORDSIZE_1(r) FIELD_GET(GENMASK(21, 19), (r))
74 #define COMP1_TX_WORDSIZE_0(r) FIELD_GET(GENMASK(18, 16), (r))
75 #define COMP1_RX_ENABLED(r) FIELD_GET(BIT(6), (r))
76 #define COMP1_TX_ENABLED(r) FIELD_GET(BIT(5), (r))
77 #define COMP1_MODE_EN(r) FIELD_GET(BIT(4), (r))
78 #define COMP1_APB_DATA_WIDTH(r) FIELD_GET(GENMASK(1, 0), (r))
80 #define COMP2_RX_WORDSIZE_2(r) FIELD_GET(GENMASK(9, 7), (r))
81 #define COMP2_RX_WORDSIZE_1(r) FIELD_GET(GENMASK(5, 3), (r))
[all …]
/openbmc/linux/arch/arm64/kvm/
H A Dvgic-sys-reg-v3.c39 seis = FIELD_GET(ICC_CTLR_EL1_SEIS_MASK, val); in set_gic_ctlr()
44 a3v = FIELD_GET(ICC_CTLR_EL1_A3V_MASK, val); in set_gic_ctlr()
52 vmcr.cbpr = FIELD_GET(ICC_CTLR_EL1_CBPR_MASK, val); in set_gic_ctlr()
53 vmcr.eoim = FIELD_GET(ICC_CTLR_EL1_EOImode_MASK, val); in set_gic_ctlr()
71 FIELD_GET(ICH_VTR_SEIS_MASK, in get_gic_ctlr()
93 vmcr.pmr = FIELD_GET(ICC_PMR_EL1_MASK, val); in set_gic_pmr()
116 vmcr.bpr = FIELD_GET(ICC_BPR0_EL1_MASK, val); in set_gic_bpr0()
140 vmcr.abpr = FIELD_GET(ICC_BPR1_EL1_MASK, val); in set_gic_bpr1()
168 vmcr.grpen0 = FIELD_GET(ICC_IGRPEN0_EL1_MASK, val); in set_gic_grpen0()
191 vmcr.grpen1 = FIELD_GET(ICC_IGRPEN1_EL1_MASK, val); in set_gic_grpen1()
[all …]
/openbmc/linux/drivers/bus/mhi/
H A Dcommon.h145 #define MHI_TRE_GET_CMD_CHID(tre) FIELD_GET(GENMASK(31, 24), MHI_TRE_GET_DWORD(tre, 1))
146 #define MHI_TRE_GET_CMD_TYPE(tre) FIELD_GET(GENMASK(23, 16), MHI_TRE_GET_DWORD(tre, 1))
155 #define MHI_TRE_GET_EV_CODE(tre) FIELD_GET(GENMASK(31, 24), (MHI_TRE_GET_DWORD(tre, 0)))
156 #define MHI_TRE_GET_EV_LEN(tre) FIELD_GET(GENMASK(15, 0), (MHI_TRE_GET_DWORD(tre, 0)))
157 #define MHI_TRE_GET_EV_CHID(tre) FIELD_GET(GENMASK(31, 24), (MHI_TRE_GET_DWORD(tre, 1)))
158 #define MHI_TRE_GET_EV_TYPE(tre) FIELD_GET(GENMASK(23, 16), (MHI_TRE_GET_DWORD(tre, 1)))
195 #define MHI_TRE_DATA_GET_LEN(tre) FIELD_GET(GENMASK(15, 0), MHI_TRE_GET_DWORD(tre, 0))
196 #define MHI_TRE_DATA_GET_CHAIN(tre) (!!(FIELD_GET(BIT(0), MHI_TRE_GET_DWORD(tre, 1))))
197 #define MHI_TRE_DATA_GET_IEOB(tre) (!!(FIELD_GET(BIT(8), MHI_TRE_GET_DWORD(tre, 1))))
198 #define MHI_TRE_DATA_GET_IEOT(tre) (!!(FIELD_GET(BIT(9), MHI_TRE_GET_DWORD(tre, 1))))
[all …]
/openbmc/linux/drivers/thermal/
H A Dimx8mm_thermal.c130 FIELD_GET(TRITSR_TEMP0_VAL_MASK, val); in imx8mp_tmu_get_temp()
185 FIELD_GET(ANA0_BUF_VREF_MASK, ana0)) | in imx8mm_tmu_probe_set_calib_v1()
187 FIELD_GET(ANA0_BUF_SLOPE_MASK, ana0)), in imx8mm_tmu_probe_set_calib_v1()
239 FIELD_GET(TRIM2_BUF_SLOP_SEL_MASK, trim[0])), in imx8mm_tmu_probe_set_calib_v2()
243 FIELD_GET(TRIM2_BJT_CUR_MASK, trim[0])) | in imx8mm_tmu_probe_set_calib_v2()
250 FIELD_GET(TRIM3_TCA25_0_LSB_MASK, trim[1]) | in imx8mm_tmu_probe_set_calib_v2()
253 FIELD_GET(TRIM4_TCA105_0_MASK, trim[2])), in imx8mm_tmu_probe_set_calib_v2()
257 FIELD_GET(TRIM5_TCA25_1_MASK, trim[3])) | in imx8mm_tmu_probe_set_calib_v2()
259 FIELD_GET(TRIM5_TCA105_1_MASK, trim[3])), in imx8mm_tmu_probe_set_calib_v2()
263 FIELD_GET(TRIM3_TCA40_0_MASK, trim[1])) | in imx8mm_tmu_probe_set_calib_v2()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7915/
H A Dmac.c267 FIELD_GET(MT_DMA_PPE_CPU_REASON, info), in mt7915_wed_check_ppe()
268 FIELD_GET(MT_DMA_PPE_ENTRY, info)); in mt7915_wed_check_ppe()
376 qos_ctl = FIELD_GET(MT_RXD8_QOS_CTL, v2); in mt7915_mac_fill_rx()
377 seq_ctrl = FIELD_GET(MT_RXD8_SEQ_CTRL, v2); in mt7915_mac_fill_rx()
393 FIELD_GET(MT_RXD2_NORMAL_FRAG, rxd2); in mt7915_mac_fill_rx()
596 foe = FIELD_GET(MT_CRXV_FOE_LO, v20) | in mt7915_mac_fill_rx_vector()
599 snr = FIELD_GET(MT_CRXV_SNR, v20) - 16; in mt7915_mac_fill_rx_vector()
938 !!FIELD_GET(MT_TX_FREE_STAT_V3, info); in mt7915_mac_tx_free()
941 FIELD_GET(MT_TX_FREE_COUNT, info) - 1; in mt7915_mac_tx_free()
943 !!FIELD_GET(MT_TX_FREE_STAT, info); in mt7915_mac_tx_free()
[all …]
/openbmc/linux/drivers/edac/
H A Dbluefield_edac.c120 serr = FIELD_GET(MLXBF_SYNDROM__SERR, dram_syndrom); in bluefield_gather_report_ecc()
121 derr = FIELD_GET(MLXBF_SYNDROM__DERR, dram_syndrom); in bluefield_gather_report_ecc()
122 syndrom = FIELD_GET(MLXBF_SYNDROM__SYN, dram_syndrom); in bluefield_gather_report_ecc()
159 single_error_count = FIELD_GET(MLXBF_ECC_CNT__SERR_CNT, ecc_count); in bluefield_edac_check()
194 if (!FIELD_GET(MLXBF_DIMM_INFO__SIZE_GB, smc_info)) { in bluefield_edac_init_dimms()
203 if (FIELD_GET(MLXBF_DIMM_INFO__IS_NVDIMM, smc_info)) in bluefield_edac_init_dimms()
205 else if (FIELD_GET(MLXBF_DIMM_INFO__IS_LRDIMM, smc_info)) in bluefield_edac_init_dimms()
207 else if (FIELD_GET(MLXBF_DIMM_INFO__IS_RDIMM, smc_info)) in bluefield_edac_init_dimms()
213 FIELD_GET(MLXBF_DIMM_INFO__SIZE_GB, smc_info) * in bluefield_edac_init_dimms()
218 switch (FIELD_GET(MLXBF_DIMM_INFO__PACKAGE_X, smc_info)) { in bluefield_edac_init_dimms()
[all …]
H A Dal_mc_edac.c84 ce_count = FIELD_GET(AL_MC_ECC_ERR_COUNT_CE, eccerrcnt); in handle_ce()
100 rank = FIELD_GET(AL_MC_ECC_CE_ADDR0_RANK, ecccaddr0); in handle_ce()
101 row = FIELD_GET(AL_MC_ECC_CE_ADDR0_ROW, ecccaddr0); in handle_ce()
103 bg = FIELD_GET(AL_MC_ECC_CE_ADDR1_BG, ecccaddr1); in handle_ce()
104 bank = FIELD_GET(AL_MC_ECC_CE_ADDR1_BANK, ecccaddr1); in handle_ce()
129 ue_count = FIELD_GET(AL_MC_ECC_ERR_COUNT_UE, eccerrcnt); in handle_ue()
145 rank = FIELD_GET(AL_MC_ECC_UE_ADDR0_RANK, eccuaddr0); in handle_ue()
146 row = FIELD_GET(AL_MC_ECC_UE_ADDR0_ROW, eccuaddr0); in handle_ue()
148 bg = FIELD_GET(AL_MC_ECC_UE_ADDR1_BG, eccuaddr1); in handle_ue()
149 bank = FIELD_GET(AL_MC_ECC_UE_ADDR1_BANK, eccuaddr1); in handle_ue()
[all …]
/openbmc/linux/drivers/soc/tegra/cbb/
H A Dtegra194-cbb.c1616 info->seqid = FIELD_GET(CBB_NOC_SEQID, routeid); in cbbcentralnoc_parse_routeid()
1624 info->seqid = FIELD_GET(BPMP_NOC_SEQID, routeid); in bpmpnoc_parse_routeid()
1632 info->seqid = FIELD_GET(AON_NOC_SEQID, routeid); in aonnoc_parse_routeid()
1640 info->seqid = FIELD_GET(SCE_NOC_SEQID, routeid); in scenoc_parse_routeid()
1647 usrbits->axprot = FIELD_GET(CBB_NOC_AXPROT, elog_5); in cbbcentralnoc_parse_userbits()
1649 usrbits->grpsec = FIELD_GET(CBB_NOC_GRPSEC, elog_5); in cbbcentralnoc_parse_userbits()
1650 usrbits->vqc = FIELD_GET(CBB_NOC_VQC, elog_5); in cbbcentralnoc_parse_userbits()
1652 usrbits->axi_id = FIELD_GET(CBB_NOC_AXI_ID, elog_5); in cbbcentralnoc_parse_userbits()
1661 usrbits->vqc = FIELD_GET(CLUSTER_NOC_VQC, elog_5); in clusternoc_parse_userbits()
1856 hdr.opc = FIELD_GET(CBB_ERR_OPC, cbb->errlog0); in print_errlog0()
[all …]
/openbmc/linux/drivers/net/can/ctucanfd/
H A Dctucanfd_base.c761 ewl = FIELD_GET(REG_EWL_EW_LIMIT, fs); in ctucan_read_fault_state()
763 if (FIELD_GET(REG_EWL_ERA, fs)) { in ctucan_read_fault_state()
769 } else if (FIELD_GET(REG_EWL_ERP, fs)) { in ctucan_read_fault_state()
771 } else if (FIELD_GET(REG_EWL_BOF, fs)) { in ctucan_read_fault_state()
830 if (FIELD_GET(REG_INT_STAT_FCSI, isr) || FIELD_GET(REG_INT_STAT_EWLI, isr)) { in ctucan_err_interrupt()
883 if (FIELD_GET(REG_INT_STAT_ALI, isr)) { in ctucan_err_interrupt()
894 if (FIELD_GET(REG_INT_STAT_BEI, isr)) { in ctucan_err_interrupt()
939 if (FIELD_GET(REG_STATUS_DOR, status)) { in ctucan_rx_poll()
1134 if (FIELD_GET(REG_INT_STAT_EWLI, isr) || in ctucan_interrupt()
1135 FIELD_GET(REG_INT_STAT_FCSI, isr) || in ctucan_interrupt()
[all …]
/openbmc/linux/drivers/iio/magnetometer/
H A Dyamaha-yas530.c254 val = FIELD_GET(GENMASK(14, 3), val); in yas530_extract_axis()
269 val = FIELD_GET(GENMASK(14, 2), val); in yas532_extract_axis()
326 val = FIELD_GET(GENMASK(14, 6), val); in yas530_measure()
340 val = FIELD_GET(GENMASK(14, 5), val); in yas530_measure()
815 c->dck = FIELD_GET(GENMASK_ULL(9, 7), val); in yas530_extract_calibration()
860 c->f[0] = FIELD_GET(GENMASK(22, 21), val); in yas530_get_calibration_data()
861 c->f[1] = FIELD_GET(GENMASK(14, 13), val); in yas530_get_calibration_data()
862 c->f[2] = FIELD_GET(GENMASK(6, 5), val); in yas530_get_calibration_data()
915 c->f[0] = FIELD_GET(GENMASK(24, 23), val); in yas532_get_calibration_data()
916 c->f[1] = FIELD_GET(GENMASK(16, 15), val); in yas532_get_calibration_data()
[all …]
/openbmc/linux/drivers/fpga/
H A Ddfl-fme-main.c39 (unsigned int)FIELD_GET(FME_CAP_NUM_PORTS, v)); in ports_num_show()
247 *val = (long)(FIELD_GET(TRIP_THRESHOLD, v) * MILLI); in thermal_hwmon_read()
251 *val = (long)FIELD_GET(TEMP_THRESHOLD1_STATUS, v); in thermal_hwmon_read()
255 *val = (long)FIELD_GET(TEMP_THRESHOLD2_STATUS, v); in thermal_hwmon_read()
386 *val = (long)(FIELD_GET(PWR_CONSUMED, v) * MICRO); in power_hwmon_read()
398 *val = (long)FIELD_GET(PWR_THRESHOLD1_STATUS, v); in power_hwmon_read()
402 *val = (long)FIELD_GET(PWR_THRESHOLD2_STATUS, v); in power_hwmon_read()
490 if (FIELD_GET(XEON_PWR_EN, v)) in power1_xeon_limit_show()
491 xeon_limit = FIELD_GET(XEON_PWR_LIMIT, v); in power1_xeon_limit_show()
505 if (FIELD_GET(FPGA_PWR_EN, v)) in power1_fpga_limit_show()
[all …]
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7996/
H A Deeprom.c120 val = FIELD_GET(MT_EE_WIFI_CONF1_BAND_SEL, val); in mt7996_eeprom_parse_band_config()
124 val = FIELD_GET(MT_EE_WIFI_CONF2_BAND_SEL, val); in mt7996_eeprom_parse_band_config()
127 val = FIELD_GET(MT_EE_WIFI_CONF0_BAND_SEL, val); in mt7996_eeprom_parse_band_config()
158 path = FIELD_GET(MT_EE_WIFI_CONF2_TX_PATH_BAND1, in mt7996_eeprom_parse_hw_cap()
160 nss = FIELD_GET(MT_EE_WIFI_CONF5_STREAM_NUM_BAND1, in mt7996_eeprom_parse_hw_cap()
164 path = FIELD_GET(MT_EE_WIFI_CONF2_TX_PATH_BAND2, in mt7996_eeprom_parse_hw_cap()
166 nss = FIELD_GET(MT_EE_WIFI_CONF5_STREAM_NUM_BAND2, in mt7996_eeprom_parse_hw_cap()
170 path = FIELD_GET(MT_EE_WIFI_CONF1_TX_PATH_BAND0, in mt7996_eeprom_parse_hw_cap()
172 nss = FIELD_GET(MT_EE_WIFI_CONF4_STREAM_NUM_BAND0, in mt7996_eeprom_parse_hw_cap()
255 delta = FIELD_GET(MT_EE_RATE_DELTA_MASK, val); in mt7996_eeprom_get_power_delta()
/openbmc/linux/arch/s390/mm/
H A Dextable.c31 unsigned int reg_err = FIELD_GET(EX_DATA_REG_ERR, ex->data); in ex_handler_ua_store()
40 unsigned int reg_addr = FIELD_GET(EX_DATA_REG_ADDR, ex->data); in ex_handler_ua_load_mem()
41 unsigned int reg_err = FIELD_GET(EX_DATA_REG_ERR, ex->data); in ex_handler_ua_load_mem()
42 size_t len = FIELD_GET(EX_DATA_LEN, ex->data); in ex_handler_ua_load_mem()
53 unsigned int reg_zero = FIELD_GET(EX_DATA_REG_ADDR, ex->data); in ex_handler_ua_load_reg()
54 unsigned int reg_err = FIELD_GET(EX_DATA_REG_ERR, ex->data); in ex_handler_ua_load_reg()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp_eth.c138 dst->eth_index = FIELD_GET(NSP_ETH_PORT_INDEX, port); in nfp_eth_port_translate()
142 dst->lanes = FIELD_GET(NSP_ETH_PORT_LANES, port); in nfp_eth_port_translate()
144 dst->enabled = FIELD_GET(NSP_ETH_STATE_ENABLED, state); in nfp_eth_port_translate()
152 dst->media = FIELD_GET(NSP_ETH_STATE_MEDIA, state); in nfp_eth_port_translate()
156 dst->label_port = FIELD_GET(NSP_ETH_PORT_PHYLABEL, port); in nfp_eth_port_translate()
163 dst->aneg = FIELD_GET(NSP_ETH_STATE_ANEG, state); in nfp_eth_port_translate()
168 fec = FIELD_GET(NSP_ETH_PORT_FEC_SUPP_BASER, port); in nfp_eth_port_translate()
170 fec = FIELD_GET(NSP_ETH_PORT_FEC_SUPP_RS, port); in nfp_eth_port_translate()
175 dst->fec = FIELD_GET(NSP_ETH_STATE_FEC, state); in nfp_eth_port_translate()
181 dst->act_fec = FIELD_GET(NSP_ETH_STATE_ACT_FEC, state); in nfp_eth_port_translate()
[all …]
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/
H A Dext_caps.c48 unsigned int operation_mode = FIELD_GET(GENMASK(5, 4), master_config); in hci_extcap_master_config()
62 unsigned int count = FIELD_GET(GENMASK(3, 0), bus_instance); in hci_extcap_multi_bus()
71 u32 entries = FIELD_GET(CAP_HEADER_LENGTH, header) - 1; in hci_extcap_xfer_modes()
91 u32 entries = FIELD_GET(CAP_HEADER_LENGTH, header) - 1; in hci_extcap_xfer_rates()
101 rate = FIELD_GET(XFERRATE_ACTUAL_RATE_KHZ, rate_entry); in hci_extcap_xfer_rates()
102 rate_id = FIELD_GET(XFERRATE_RATE_ID, rate_entry); in hci_extcap_xfer_rates()
103 mode_id = FIELD_GET(XFERRATE_MODE_ID, rate_entry); in hci_extcap_xfer_rates()
119 unsigned int max_count = FIELD_GET(GENMASK(3, 0), autocmd_ext_caps); in hci_extcap_auto_command()
121 unsigned int count = FIELD_GET(GENMASK(3, 0), autocmd_ext_config); in hci_extcap_auto_command()
269 cap_id = FIELD_GET(CAP_HEADER_ID, cap_header); in i3c_hci_parse_ext_caps()
[all …]
/openbmc/linux/arch/arm64/kvm/hyp/nvhe/
H A Dpkvm.c33 BUILD_BUG_ON(FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_EL0), in pvm_init_traps_aa64pfr0()
35 BUILD_BUG_ON(FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_EL1), in pvm_init_traps_aa64pfr0()
42 BUILD_BUG_ON(!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_FP), in pvm_init_traps_aa64pfr0()
44 BUILD_BUG_ON(!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_AdvSIMD), in pvm_init_traps_aa64pfr0()
51 if (FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_RAS), feature_ids) < in pvm_init_traps_aa64pfr0()
58 if (!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_AMU), feature_ids)) { in pvm_init_traps_aa64pfr0()
64 if (!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR0_EL1_SVE), feature_ids)) { in pvm_init_traps_aa64pfr0()
87 if (!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64PFR1_EL1_MTE), feature_ids)) { in pvm_init_traps_aa64pfr1()
107 if (!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64DFR0_EL1_PMUVer), feature_ids)) { in pvm_init_traps_aa64dfr0()
153 if (!FIELD_GET(ARM64_FEATURE_MASK(ID_AA64MMFR0_EL1_FGT), feature_ids)) in pvm_init_traps_aa64mmfr0()
[all …]
/openbmc/linux/drivers/perf/
H A Dcxl_pmu.c134 FIELD_GET(CXL_PMU_CAP_FREEZE, val); in cxl_pmu_parse_caps()
145 if (FIELD_GET(CXL_PMU_CAP_INT, val)) in cxl_pmu_parse_caps()
146 info->irq = FIELD_GET(CXL_PMU_CAP_MSI_N_MSK, val); in cxl_pmu_parse_caps()
158 if (FIELD_GET(CXL_PMU_COUNTER_CFG_TYPE_MSK, val) == in cxl_pmu_parse_caps()
163 if (FIELD_GET(CXL_PMU_COUNTER_CFG_TYPE_MSK, val) != in cxl_pmu_parse_caps()
169 events_msk = FIELD_GET(CXL_PMU_COUNTER_CFG_EVENTS_MSK, val); in cxl_pmu_parse_caps()
175 pmu_ev->vid = FIELD_GET(CXL_PMU_EVENT_CAP_VENDOR_ID_MSK, eval); in cxl_pmu_parse_caps()
176 pmu_ev->gid = FIELD_GET(CXL_PMU_EVENT_CAP_GROUP_ID_MSK, eval); in cxl_pmu_parse_caps()
201 pmu_ev->gid = FIELD_GET(CXL_PMU_EVENT_CAP_GROUP_ID_MSK, eval); in cxl_pmu_parse_caps()
480 int vid = FIELD_GET(CXL_PMU_ATTR_CONFIG_VID_MSK, pmu_attr->id); in cxl_pmu_event_is_visible()
[all …]
/openbmc/linux/drivers/pci/
H A Ddoe.c133 if (!FIELD_GET(PCI_DOE_STATUS_ERROR, val) && in pci_doe_abort()
134 !FIELD_GET(PCI_DOE_STATUS_BUSY, val)) in pci_doe_abort()
160 if (FIELD_GET(PCI_DOE_STATUS_BUSY, val)) in pci_doe_send_req()
163 if (FIELD_GET(PCI_DOE_STATUS_ERROR, val)) in pci_doe_send_req()
207 if (FIELD_GET(PCI_DOE_STATUS_DATA_OBJECT_READY, val)) in pci_doe_data_obj_ready()
226 FIELD_GET(PCI_DOE_DATA_OBJECT_HEADER_1_VID, val), in pci_doe_recv_resp()
227 FIELD_GET(PCI_DOE_DATA_OBJECT_HEADER_1_TYPE, val)); in pci_doe_recv_resp()
236 length = FIELD_GET(PCI_DOE_DATA_OBJECT_HEADER_2_LENGTH, val); in pci_doe_recv_resp()
287 if (FIELD_GET(PCI_DOE_STATUS_ERROR, val)) in pci_doe_recv_resp()
354 if (FIELD_GET(PCI_DOE_STATUS_ERROR, val)) { in doe_statemachine_work()
[all …]

12345678910>>...31