FIELD_GET 282 arch/arm64/mm/fault.c dfsc = FIELD_GET(SYS_PAR_EL1_FST, par); FIELD_GET 267 drivers/clk/at91/clk-generated.c gck->gckdiv = FIELD_GET(AT91_PMC_PCR_GCKDIV_MASK, tmp); FIELD_GET 38 drivers/clk/at91/clk-sam9x60-pll.c #define PLL_DIV_MAX (FIELD_GET(PMC_PLL_CTRL0_DIV_MSK, UINT_MAX) + 1) FIELD_GET 40 drivers/clk/at91/clk-sam9x60-pll.c #define PLL_MUL_MAX (FIELD_GET(PMC_PLL_CTRL1_MUL_MSK, UINT_MAX) + 1) FIELD_GET 79 drivers/clk/at91/clk-sam9x60-pll.c div = FIELD_GET(PMC_PLL_CTRL0_DIV_MSK, val); FIELD_GET 82 drivers/clk/at91/clk-sam9x60-pll.c mul = FIELD_GET(PMC_PLL_CTRL1_MUL_MSK, val); FIELD_GET 317 drivers/clk/at91/clk-sam9x60-pll.c pll->div = FIELD_GET(PMC_PLL_CTRL0_DIV_MSK, pllr); FIELD_GET 319 drivers/clk/at91/clk-sam9x60-pll.c pll->mul = FIELD_GET(PMC_PLL_CTRL1_MUL_MSK, pllr); FIELD_GET 53 drivers/clk/clk-npcm7xx.c indv = FIELD_GET(PLLCON_INDV, val); FIELD_GET 54 drivers/clk/clk-npcm7xx.c fbdv = FIELD_GET(PLLCON_FBDV, val); FIELD_GET 55 drivers/clk/clk-npcm7xx.c otdv1 = FIELD_GET(PLLCON_OTDV1, val); FIELD_GET 56 drivers/clk/clk-npcm7xx.c otdv2 = FIELD_GET(PLLCON_OTDV2, val); FIELD_GET 104 drivers/clk/imx/clk-frac-pll.c divq = (FIELD_GET(PLL_OUTPUT_DIV_MASK, val) + 1) * 2; FIELD_GET 106 drivers/clk/imx/clk-frac-pll.c divff = FIELD_GET(PLL_FRAC_DIV_MASK, val); FIELD_GET 107 drivers/clk/imx/clk-frac-pll.c divfi = FIELD_GET(PLL_INT_DIV_MASK, val); FIELD_GET 344 drivers/clk/imx/clk-sccg-pll.c divr1 = FIELD_GET(PLL_DIVR1_MASK, val); FIELD_GET 345 drivers/clk/imx/clk-sccg-pll.c divr2 = FIELD_GET(PLL_DIVR2_MASK, val); FIELD_GET 346 drivers/clk/imx/clk-sccg-pll.c divf1 = FIELD_GET(PLL_DIVF1_MASK, val); FIELD_GET 347 drivers/clk/imx/clk-sccg-pll.c divf2 = FIELD_GET(PLL_DIVF2_MASK, val); FIELD_GET 348 drivers/clk/imx/clk-sccg-pll.c divq = FIELD_GET(PLL_DIVQ_MASK, val); FIELD_GET 390 drivers/clk/zynqmp/clkc.c type = FIELD_GET(CLK_TOPOLOGY_TYPE, response->topology[i]); FIELD_GET 394 drivers/clk/zynqmp/clkc.c topology[*nnodes].flag = FIELD_GET(CLK_TOPOLOGY_FLAGS, FIELD_GET 397 drivers/clk/zynqmp/clkc.c FIELD_GET(CLK_TOPOLOGY_TYPE_FLAGS, FIELD_GET 457 drivers/clk/zynqmp/clkc.c parent->id = FIELD_GET(CLK_PARENTS_ID, response->parents[i]); FIELD_GET 462 drivers/clk/zynqmp/clkc.c parent->flag = FIELD_GET(CLK_PARENTS_FLAGS, FIELD_GET 665 drivers/clk/zynqmp/clkc.c clock[i].valid = FIELD_GET(CLK_ATTR_VALID, attr.attr[0]); FIELD_GET 666 drivers/clk/zynqmp/clkc.c clock[i].type = FIELD_GET(CLK_ATTR_TYPE, attr.attr[0]) ? FIELD_GET 669 drivers/clk/zynqmp/clkc.c nodetype = FIELD_GET(CLK_ATTR_NODE_TYPE, attr.attr[0]); FIELD_GET 670 drivers/clk/zynqmp/clkc.c subclass = FIELD_GET(CLK_ATTR_NODE_SUBCLASS, attr.attr[0]); FIELD_GET 671 drivers/clk/zynqmp/clkc.c class = FIELD_GET(CLK_ATTR_NODE_CLASS, attr.attr[0]); FIELD_GET 126 drivers/counter/ftm-quaddec.c *cnt_mode = FIELD_GET(FTM_SC_PS_MASK, scflags); FIELD_GET 41 drivers/counter/stm32-lptimer-cnt.c return FIELD_GET(STM32_LPTIM_ENABLE, val); FIELD_GET 100 drivers/cpufreq/qcom-cpufreq-hw.c src = FIELD_GET(LUT_SRC, data); FIELD_GET 101 drivers/cpufreq/qcom-cpufreq-hw.c lval = FIELD_GET(LUT_L_VAL, data); FIELD_GET 102 drivers/cpufreq/qcom-cpufreq-hw.c core_count = FIELD_GET(LUT_CORE_COUNT, data); FIELD_GET 106 drivers/cpufreq/qcom-cpufreq-hw.c volt = FIELD_GET(LUT_VOLT, data) * 1000; FIELD_GET 1459 drivers/crypto/axis/artpec6_crypto.c oper = FIELD_GET(A6_CRY_MD_OPER, req_ctx->hash_md); FIELD_GET 1461 drivers/crypto/axis/artpec6_crypto.c oper = FIELD_GET(A7_CRY_MD_OPER, req_ctx->hash_md); FIELD_GET 2458 drivers/crypto/axis/artpec6_crypto.c state->oper = FIELD_GET(A6_CRY_MD_OPER, ctx->hash_md); FIELD_GET 2460 drivers/crypto/axis/artpec6_crypto.c state->oper = FIELD_GET(A7_CRY_MD_OPER, ctx->hash_md); FIELD_GET 625 drivers/crypto/ccree/cc_request_mgr.c return FIELD_GET(AXIM_MON_COMP_VALUE, FIELD_GET 140 drivers/dma/dw-edma/dw-edma-v0-core.c num_ch = FIELD_GET(EDMA_V0_WRITE_CH_COUNT_MASK, GET(dw, ctrl)); FIELD_GET 142 drivers/dma/dw-edma/dw-edma-v0-core.c num_ch = FIELD_GET(EDMA_V0_READ_CH_COUNT_MASK, GET(dw, ctrl)); FIELD_GET 155 drivers/dma/dw-edma/dw-edma-v0-core.c tmp = FIELD_GET(EDMA_V0_CH_STATUS_MASK, FIELD_GET 184 drivers/dma/dw-edma/dw-edma-v0-core.c return FIELD_GET(EDMA_V0_DONE_INT_MASK, GET_RW(dw, dir, int_status)); FIELD_GET 189 drivers/dma/dw-edma/dw-edma-v0-core.c return FIELD_GET(EDMA_V0_ABORT_INT_MASK, GET_RW(dw, dir, int_status)); FIELD_GET 120 drivers/edac/bluefield_edac.c serr = FIELD_GET(MLXBF_SYNDROM__SERR, dram_syndrom); FIELD_GET 121 drivers/edac/bluefield_edac.c derr = FIELD_GET(MLXBF_SYNDROM__DERR, dram_syndrom); FIELD_GET 122 drivers/edac/bluefield_edac.c syndrom = FIELD_GET(MLXBF_SYNDROM__SYN, dram_syndrom); FIELD_GET 131 drivers/edac/bluefield_edac.c err_prank = FIELD_GET(MLXBF_ADD_INFO__ERR_PRANK, dram_additional_info); FIELD_GET 159 drivers/edac/bluefield_edac.c single_error_count = FIELD_GET(MLXBF_ECC_CNT__SERR_CNT, ecc_count); FIELD_GET 160 drivers/edac/bluefield_edac.c double_error_count = FIELD_GET(MLXBF_ECC_CNT__DERR_CNT, ecc_count); FIELD_GET 194 drivers/edac/bluefield_edac.c if (!FIELD_GET(MLXBF_DIMM_INFO__SIZE_GB, smc_info)) { FIELD_GET 203 drivers/edac/bluefield_edac.c if (FIELD_GET(MLXBF_DIMM_INFO__IS_NVDIMM, smc_info)) FIELD_GET 205 drivers/edac/bluefield_edac.c else if (FIELD_GET(MLXBF_DIMM_INFO__IS_LRDIMM, smc_info)) FIELD_GET 207 drivers/edac/bluefield_edac.c else if (FIELD_GET(MLXBF_DIMM_INFO__IS_RDIMM, smc_info)) FIELD_GET 213 drivers/edac/bluefield_edac.c FIELD_GET(MLXBF_DIMM_INFO__SIZE_GB, smc_info) * FIELD_GET 218 drivers/edac/bluefield_edac.c switch (FIELD_GET(MLXBF_DIMM_INFO__PACKAGE_X, smc_info)) { FIELD_GET 233 drivers/edac/bluefield_edac.c FIELD_GET(MLXBF_DIMM_INFO__RANKS, smc_info); FIELD_GET 705 drivers/edac/thunderx_edac.c mci->mtype_cap = FIELD_GET(LMC_DDR_PLL_CTL_DDR4, FIELD_GET 709 drivers/edac/thunderx_edac.c mci->mtype_cap = FIELD_GET(LMC_DDR_PLL_CTL_DDR4, FIELD_GET 743 drivers/edac/thunderx_edac.c lmc->node = FIELD_GET(THUNDERX_NODE, pci_resource_start(pdev, 0)); FIELD_GET 746 drivers/edac/thunderx_edac.c lmc->bank_width = (FIELD_GET(LMC_DDR_PLL_CTL_DDR4, lmc_ddr_pll_ctl) && FIELD_GET 747 drivers/edac/thunderx_edac.c FIELD_GET(LMC_CONFIG_BG2, lmc_config)) ? 4 : 3; FIELD_GET 752 drivers/edac/thunderx_edac.c lmc->rank_lsb -= FIELD_GET(LMC_CONFIG_RANK_ENA, lmc_config) ? 1 : 0; FIELD_GET 22 drivers/firmware/arm_scmi/common.h #define PROTOCOL_REV_MAJOR(x) (u16)(FIELD_GET(PROTOCOL_REV_MAJOR_MASK, (x))) FIELD_GET 23 drivers/firmware/arm_scmi/common.h #define PROTOCOL_REV_MINOR(x) (u16)(FIELD_GET(PROTOCOL_REV_MINOR_MASK, (x))) FIELD_GET 33 drivers/firmware/arm_scmi/driver.c #define MSG_XTRACT_ID(hdr) FIELD_GET(MSG_ID_MASK, (hdr)) FIELD_GET 35 drivers/firmware/arm_scmi/driver.c #define MSG_XTRACT_TYPE(hdr) FIELD_GET(MSG_TYPE_MASK, (hdr)) FIELD_GET 40 drivers/firmware/arm_scmi/driver.c #define MSG_XTRACT_PROT_ID(hdr) FIELD_GET(MSG_PROTOCOL_ID_MASK, (hdr)) FIELD_GET 42 drivers/firmware/arm_scmi/driver.c #define MSG_XTRACT_TOKEN(hdr) FIELD_GET(MSG_TOKEN_ID_MASK, (hdr)) FIELD_GET 103 drivers/firmware/arm_scmi/perf.c #define DOORBELL_REG_WIDTH(x) FIELD_GET(GENMASK(2, 1), (x)) FIELD_GET 49 drivers/firmware/arm_scpi.c #define CMD_SIZE(cmd) FIELD_GET(CMD_DATA_SIZE_MASK, cmd) FIELD_GET 828 drivers/firmware/arm_scpi.c FIELD_GET(PROTO_REV_MAJOR_MASK, scpi_info->protocol_version), FIELD_GET 829 drivers/firmware/arm_scpi.c FIELD_GET(PROTO_REV_MINOR_MASK, scpi_info->protocol_version)); FIELD_GET 839 drivers/firmware/arm_scpi.c FIELD_GET(FW_REV_MAJOR_MASK, scpi_info->firmware_version), FIELD_GET 840 drivers/firmware/arm_scpi.c FIELD_GET(FW_REV_MINOR_MASK, scpi_info->firmware_version), FIELD_GET 841 drivers/firmware/arm_scpi.c FIELD_GET(FW_REV_PATCH_MASK, scpi_info->firmware_version)); FIELD_GET 1002 drivers/firmware/arm_scpi.c FIELD_GET(PROTO_REV_MAJOR_MASK, FIELD_GET 1004 drivers/firmware/arm_scpi.c FIELD_GET(PROTO_REV_MINOR_MASK, FIELD_GET 1006 drivers/firmware/arm_scpi.c FIELD_GET(FW_REV_MAJOR_MASK, FIELD_GET 1008 drivers/firmware/arm_scpi.c FIELD_GET(FW_REV_MINOR_MASK, FIELD_GET 1010 drivers/firmware/arm_scpi.c FIELD_GET(FW_REV_PATCH_MASK, FIELD_GET 77 drivers/firmware/stratix10-rsu.c priv->status.version = FIELD_GET(RSU_VERSION_MASK, FIELD_GET 79 drivers/firmware/stratix10-rsu.c priv->status.state = FIELD_GET(RSU_STATE_MASK, res->a2); FIELD_GET 83 drivers/firmware/stratix10-rsu.c FIELD_GET(RSU_ERROR_LOCATION_MASK, res->a3); FIELD_GET 85 drivers/firmware/stratix10-rsu.c FIELD_GET(RSU_ERROR_DETAIL_MASK, res->a3); FIELD_GET 337 drivers/firmware/stratix10-rsu.c if (FIELD_GET(RSU_FW_VERSION_MASK, priv->status.version)) { FIELD_GET 417 drivers/firmware/stratix10-rsu.c if (FIELD_GET(RSU_FW_VERSION_MASK, priv->status.version)) { FIELD_GET 76 drivers/fpga/dfl-afu-error.c if (FIELD_GET(PORT_STS_PWR_STATE, v) == PORT_STS_PWR_STATE_AP6) { FIELD_GET 136 drivers/fpga/dfl-afu-main.c return FIELD_GET(PORT_CAP_PORT_NUM, readq(base + PORT_HDR_CAP)); FIELD_GET 161 drivers/fpga/dfl-afu-main.c return sprintf(buf, "%x\n", (u8)FIELD_GET(PORT_CTRL_LATENCY, v)); FIELD_GET 202 drivers/fpga/dfl-afu-main.c return sprintf(buf, "%x\n", (u8)FIELD_GET(PORT_STS_AP1_EVT, v)); FIELD_GET 240 drivers/fpga/dfl-afu-main.c return sprintf(buf, "%x\n", (u8)FIELD_GET(PORT_STS_AP2_EVT, v)); FIELD_GET 277 drivers/fpga/dfl-afu-main.c return sprintf(buf, "0x%x\n", (u8)FIELD_GET(PORT_STS_PWR_STATE, v)); FIELD_GET 169 drivers/fpga/dfl-fme-error.c (unsigned long long)FIELD_GET(INJECT_ERROR_MASK, v)); FIELD_GET 36 drivers/fpga/dfl-fme-main.c (unsigned int)FIELD_GET(FME_CAP_NUM_PORTS, v)); FIELD_GET 87 drivers/fpga/dfl-fme-main.c (unsigned int)FIELD_GET(FME_CAP_CACHE_SIZE, v)); FIELD_GET 102 drivers/fpga/dfl-fme-main.c (unsigned int)FIELD_GET(FME_CAP_FABRIC_VERID, v)); FIELD_GET 117 drivers/fpga/dfl-fme-main.c (unsigned int)FIELD_GET(FME_CAP_SOCKET_ID, v)); FIELD_GET 189 drivers/fpga/dfl-fme-mgr.c pr_credit = FIELD_GET(FME_PR_STS_PR_CREDIT, pr_status); FIELD_GET 200 drivers/fpga/dfl-fme-mgr.c pr_credit = FIELD_GET(FME_PR_STS_PR_CREDIT, pr_status); FIELD_GET 95 drivers/fpga/dfl-fme-pr.c if (port_pr.port_id >= FIELD_GET(FME_CAP_NUM_PORTS, v)) { FIELD_GET 406 drivers/fpga/dfl-fme-pr.c for (; i < FIELD_GET(FME_CAP_NUM_PORTS, fme_cap); i++) { FIELD_GET 123 drivers/fpga/dfl-pci.c port_num = FIELD_GET(FME_CAP_NUM_PORTS, v); FIELD_GET 138 drivers/fpga/dfl-pci.c bar = FIELD_GET(FME_PORT_OFST_BAR_ID, v); FIELD_GET 139 drivers/fpga/dfl-pci.c offset = FIELD_GET(FME_PORT_OFST_DFH_OFST, v); FIELD_GET 619 drivers/fpga/dfl.c u32 ofst = FIELD_GET(DFH_NEXT_HDR_OFST, v); FIELD_GET 627 drivers/fpga/dfl.c u16 id = FIELD_GET(DFH_ID, v); FIELD_GET 628 drivers/fpga/dfl.c u8 type = FIELD_GET(DFH_TYPE, v); FIELD_GET 683 drivers/fpga/dfl.c u32 size = FIELD_GET(PORT_CAP_MMIO_SIZE, v) << 10; FIELD_GET 719 drivers/fpga/dfl.c id = FIELD_GET(DFH_ID, v); FIELD_GET 736 drivers/fpga/dfl.c offset = FIELD_GET(NEXT_AFU_NEXT_DFH_OFST, v); FIELD_GET 772 drivers/fpga/dfl.c type = FIELD_GET(DFH_TYPE, v); FIELD_GET 810 drivers/fpga/dfl.c ofst = FIELD_GET(DFH_NEXT_HDR_OFST, v); FIELD_GET 350 drivers/fpga/dfl.h return (FIELD_GET(DFH_TYPE, v) == DFH_TYPE_FIU) && FIELD_GET 351 drivers/fpga/dfl.h (FIELD_GET(DFH_ID, v) == DFH_ID_FIU_FME); FIELD_GET 358 drivers/fpga/dfl.h return (FIELD_GET(DFH_TYPE, v) == DFH_TYPE_FIU) && FIELD_GET 359 drivers/fpga/dfl.h (FIELD_GET(DFH_ID, v) == DFH_ID_FIU_PORT); FIELD_GET 364 drivers/fpga/dfl.h return (u8)FIELD_GET(DFH_REVISION, readq(base + DFH)); FIELD_GET 396 drivers/gpu/drm/bridge/tc358767.c size = FIELD_GET(AUX_BYTES, auxstatus); FIELD_GET 397 drivers/gpu/drm/bridge/tc358767.c msg->reply = FIELD_GET(AUX_STATUS, auxstatus); FIELD_GET 174 drivers/gpu/drm/i915/gt/intel_lrc.c (FIELD_GET(GEN12_CSB_SW_CTX_ID_MASK, csb_dw) != GEN12_IDLE_CTX_ID) FIELD_GET 342 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c uc_fw->major_ver_found = FIELD_GET(CSS_SW_VERSION_GUC_MAJOR, FIELD_GET 344 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c uc_fw->minor_ver_found = FIELD_GET(CSS_SW_VERSION_GUC_MINOR, FIELD_GET 349 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c uc_fw->major_ver_found = FIELD_GET(CSS_SW_VERSION_HUC_MAJOR, FIELD_GET 351 drivers/gpu/drm/i915/gt/uc/intel_uc_fw.c uc_fw->minor_ver_found = FIELD_GET(CSS_SW_VERSION_HUC_MINOR, FIELD_GET 378 drivers/gpu/drm/i915/gvt/cmd_parser.c FIELD_GET(GENMASK(end, start), cmd_val(s, dword)) FIELD_GET 179 drivers/gpu/drm/i915/i915_reg.h #define REG_FIELD_GET(__mask, __val) ((u32)FIELD_GET(__mask, __val)) FIELD_GET 347 drivers/gpu/drm/panfrost/panfrost_gpu.c DMA_BIT_MASK(FIELD_GET(0xff00, pfdev->features.mmu_features))); FIELD_GET 372 drivers/gpu/drm/panfrost/panfrost_mmu.c .ias = FIELD_GET(0xff, pfdev->features.mmu_features), FIELD_GET 373 drivers/gpu/drm/panfrost/panfrost_mmu.c .oas = FIELD_GET(0xff00, pfdev->features.mmu_features), FIELD_GET 206 drivers/i2c/busses/i2c-fsi.c i2c->fifo_size = FIELD_GET(I2C_ESTAT_FIFO_SZ, extended_status); FIELD_GET 224 drivers/i2c/busses/i2c-fsi.c if (FIELD_GET(I2C_MODE_PORT, mode) == port->port) FIELD_GET 556 drivers/i2c/busses/i2c-fsi.c fifo_count = FIELD_GET(I2C_STAT_FIFO_COUNT, status); FIELD_GET 701 drivers/i2c/busses/i2c-fsi.c ports = FIELD_GET(I2C_STAT_MAX_PORT, stat) + 1; FIELD_GET 127 drivers/i2c/i2c-slave-eeprom.c unsigned int size = FIELD_GET(I2C_SLAVE_BYTELEN, id->driver_data); FIELD_GET 128 drivers/i2c/i2c-slave-eeprom.c unsigned int flag_addr16 = FIELD_GET(I2C_SLAVE_FLAG_ADDR16, id->driver_data); FIELD_GET 137 drivers/i2c/i2c-slave-eeprom.c eeprom->read_only = FIELD_GET(I2C_SLAVE_FLAG_RO, id->driver_data); FIELD_GET 308 drivers/iio/adc/meson_saradc.c return FIELD_GET(MESON_SAR_ADC_REG0_FIFO_COUNT_MASK, regval); FIELD_GET 335 drivers/iio/adc/meson_saradc.c } while (FIELD_GET(MESON_SAR_ADC_REG0_BUSY_MASK, regval) && timeout--); FIELD_GET 362 drivers/iio/adc/meson_saradc.c fifo_chan = FIELD_GET(MESON_SAR_ADC_FIFO_RD_CHAN_ID_MASK, regval); FIELD_GET 370 drivers/iio/adc/meson_saradc.c fifo_val = FIELD_GET(MESON_SAR_ADC_FIFO_RD_SAMPLE_VALUE_MASK, regval); FIELD_GET 758 drivers/iio/adc/meson_saradc.c upper_adc_val = FIELD_GET(MESON_SAR_ADC_EFUSE_BYTE3_UPPER_ADC_VAL, FIELD_GET 1018 drivers/iio/adc/meson_saradc.c cnt = FIELD_GET(MESON_SAR_ADC_REG0_FIFO_COUNT_MASK, regval); FIELD_GET 1019 drivers/iio/adc/meson_saradc.c threshold = FIELD_GET(MESON_SAR_ADC_REG0_FIFO_CNT_IRQ_MASK, regval); FIELD_GET 300 drivers/iio/chemical/bme680_core.c calib->res_heat_range = FIELD_GET(BME680_RHRANGE_MASK, tmp); FIELD_GET 314 drivers/iio/chemical/bme680_core.c calib->range_sw_err = FIELD_GET(BME680_RSERROR_MASK, tmp); FIELD_GET 41 drivers/iio/dac/stm32-dac.c en = FIELD_GET(STM32_DAC_CR_EN1, val); FIELD_GET 43 drivers/iio/dac/stm32-dac.c en = FIELD_GET(STM32_DAC_CR_EN2, val); FIELD_GET 122 drivers/iommu/arm-smmu-impl.c major = FIELD_GET(ID7_MAJOR, reg); FIELD_GET 297 drivers/iommu/arm-smmu-v3.c FIELD_GET(ARM64_TCR_##fld, tcr)) FIELD_GET 949 drivers/iommu/arm-smmu-v3.c u32 idx = FIELD_GET(CMDQ_CONS_ERR, cons); FIELD_GET 1571 drivers/iommu/arm-smmu-v3.c switch (FIELD_GET(STRTAB_STE_0_CFG, val)) { FIELD_GET 1704 drivers/iommu/arm-smmu-v3.c u8 id = FIELD_GET(EVTQ_0_ID, evt[0]); FIELD_GET 1733 drivers/iommu/arm-smmu-v3.c sid = FIELD_GET(PRIQ_0_SID, evt[0]); FIELD_GET 1734 drivers/iommu/arm-smmu-v3.c ssv = FIELD_GET(PRIQ_0_SSID_V, evt[0]); FIELD_GET 1735 drivers/iommu/arm-smmu-v3.c ssid = ssv ? FIELD_GET(PRIQ_0_SSID, evt[0]) : 0; FIELD_GET 1736 drivers/iommu/arm-smmu-v3.c last = FIELD_GET(PRIQ_0_PRG_LAST, evt[0]); FIELD_GET 1737 drivers/iommu/arm-smmu-v3.c grpid = FIELD_GET(PRIQ_1_PRG_IDX, evt[1]); FIELD_GET 3313 drivers/iommu/arm-smmu-v3.c if (FIELD_GET(IDR0_ST_LVL, reg) == IDR0_ST_LVL_2LVL) FIELD_GET 3324 drivers/iommu/arm-smmu-v3.c switch (FIELD_GET(IDR0_TTENDIAN, reg)) { FIELD_GET 3366 drivers/iommu/arm-smmu-v3.c switch (FIELD_GET(IDR0_STALL_MODEL, reg)) { FIELD_GET 3386 drivers/iommu/arm-smmu-v3.c switch (FIELD_GET(IDR0_TTF, reg)) { FIELD_GET 3410 drivers/iommu/arm-smmu-v3.c FIELD_GET(IDR1_CMDQS, reg)); FIELD_GET 3424 drivers/iommu/arm-smmu-v3.c FIELD_GET(IDR1_EVTQS, reg)); FIELD_GET 3426 drivers/iommu/arm-smmu-v3.c FIELD_GET(IDR1_PRIQS, reg)); FIELD_GET 3429 drivers/iommu/arm-smmu-v3.c smmu->ssid_bits = FIELD_GET(IDR1_SSIDSIZE, reg); FIELD_GET 3430 drivers/iommu/arm-smmu-v3.c smmu->sid_bits = FIELD_GET(IDR1_SIDSIZE, reg); FIELD_GET 3443 drivers/iommu/arm-smmu-v3.c smmu->evtq.max_stalls = FIELD_GET(IDR5_STALL_MAX, reg); FIELD_GET 3454 drivers/iommu/arm-smmu-v3.c if (FIELD_GET(IDR5_VAX, reg) == IDR5_VAX_52_BIT) FIELD_GET 3458 drivers/iommu/arm-smmu-v3.c switch (FIELD_GET(IDR5_OAS, reg)) { FIELD_GET 945 drivers/iommu/arm-smmu.c smmu->streamid_mask = FIELD_GET(SMR_ID, smr); FIELD_GET 950 drivers/iommu/arm-smmu.c smmu->smr_mask_mask = FIELD_GET(SMR_MASK, smr); FIELD_GET 1019 drivers/iommu/arm-smmu.c u16 sid = FIELD_GET(SMR_ID, fwspec->ids[i]); FIELD_GET 1020 drivers/iommu/arm-smmu.c u16 mask = FIELD_GET(SMR_MASK, fwspec->ids[i]); FIELD_GET 1338 drivers/iommu/arm-smmu.c u16 sid = FIELD_GET(SMR_ID, fwspec->ids[i]); FIELD_GET 1339 drivers/iommu/arm-smmu.c u16 mask = FIELD_GET(SMR_MASK, fwspec->ids[i]); FIELD_GET 1722 drivers/iommu/arm-smmu.c size = 1 << FIELD_GET(ID0_NUMSIDB, id); FIELD_GET 1727 drivers/iommu/arm-smmu.c size = FIELD_GET(ID0_NUMSMRG, id); FIELD_GET 1766 drivers/iommu/arm-smmu.c size = 1 << (FIELD_GET(ID1_NUMPAGENDXB, id) + 1); FIELD_GET 1774 drivers/iommu/arm-smmu.c smmu->num_s2_context_banks = FIELD_GET(ID1_NUMS2CB, id); FIELD_GET 1775 drivers/iommu/arm-smmu.c smmu->num_context_banks = FIELD_GET(ID1_NUMCB, id); FIELD_GET 1789 drivers/iommu/arm-smmu.c size = arm_smmu_id_size_to_bits(FIELD_GET(ID2_IAS, id)); FIELD_GET 1793 drivers/iommu/arm-smmu.c size = arm_smmu_id_size_to_bits(FIELD_GET(ID2_OAS, id)); FIELD_GET 1813 drivers/iommu/arm-smmu.c size = FIELD_GET(ID2_UBS, id); FIELD_GET 96 drivers/mailbox/stm32-ipcc.c status = tosr & FIELD_GET(RX_BIT_MASK, ~mr); FIELD_GET 126 drivers/mailbox/stm32-ipcc.c status = ~tosr & FIELD_GET(TX_BIT_MASK, ~mr); FIELD_GET 329 drivers/mailbox/stm32-ipcc.c FIELD_GET(VER_MAJREV_MASK, ip_ver), FIELD_GET 330 drivers/mailbox/stm32-ipcc.c FIELD_GET(VER_MINREV_MASK, ip_ver), FIELD_GET 240 drivers/media/platform/meson/ao-cec-g12a.c n1 = FIELD_GET(CECB_CLK_CNTL_N1, reg0) + 1; FIELD_GET 241 drivers/media/platform/meson/ao-cec-g12a.c n2 = FIELD_GET(CECB_CLK_CNTL_N2, reg0) + 1; FIELD_GET 243 drivers/media/platform/meson/ao-cec-g12a.c m1 = FIELD_GET(CECB_CLK_CNTL_M1, reg1) + 1; FIELD_GET 244 drivers/media/platform/meson/ao-cec-g12a.c m2 = FIELD_GET(CECB_CLK_CNTL_M1, reg1) + 1; FIELD_GET 255 drivers/media/platform/meson/ao-cec-g12a.c n1 = FIELD_GET(CECB_CLK_CNTL_N1, reg0) + 1; FIELD_GET 391 drivers/media/platform/meson/ao-cec-g12a.c *data = FIELD_GET(CECB_RW_RD_DATA, reg); FIELD_GET 266 drivers/media/platform/meson/ao-cec.c *data = FIELD_GET(CEC_RW_RD_DATA, FIELD_GET 88 drivers/media/rc/meson-ir.c duration = FIELD_GET(REG1_TIME_IV_MASK, duration); FIELD_GET 359 drivers/mfd/stmfx.c if (FIELD_GET(STMFX_REG_CHIP_ID_MASK, ~id) != (client->addr << 1)) { FIELD_GET 193 drivers/mmc/host/cavium.c return FIELD_GET(GENMASK_ULL(61, 60), reg); FIELD_GET 350 drivers/mmc/host/cavium.c switch (FIELD_GET(MIO_EMM_RSP_STS_RSP_TYPE, rsp_sts)) { FIELD_GET 388 drivers/mmc/host/cavium.c count = FIELD_GET(MIO_EMM_DMA_FIFO_CFG_COUNT, fifo_cfg); FIELD_GET 526 drivers/mmc/host/meson-gx-mmc.c dly = FIELD_GET(ADJUST_ADJ_DELAY_MASK, val) + 1; FIELD_GET 666 drivers/mmc/host/meson-gx-mmc.c blksz_old = FIELD_GET(CFG_BLK_LEN_MASK, cfg); FIELD_GET 1003 drivers/mmc/host/meson-gx-mmc.c return !(FIELD_GET(STATUS_DATI, regval) & 0xf); FIELD_GET 552 drivers/mmc/host/meson-mx-sdio.c FIELD_GET(MESON_MX_SDIO_SEND_REPEAT_PACKAGE_TIMES_MASK, FIELD_GET 554 drivers/mmc/host/meson-mx-sdio.c mmc->max_blk_size = FIELD_GET(MESON_MX_SDIO_EXT_DATA_RW_NUMBER_MASK, FIELD_GET 194 drivers/mmc/host/sdhci-cadence.c return FIELD_GET(SDHCI_CDNS_HRS06_MODE, tmp); FIELD_GET 895 drivers/mmc/host/sdhci-pci-core.c dly = FIELD_PREP(GLK_DLY, FIELD_GET(GLK_PATH_PLL, glk_rx_ctrl1) + FIELD_GET 897 drivers/mmc/host/sdhci-pci-core.c if (dly == FIELD_GET(GLK_DLY, glk_rx_ctrl1)) FIELD_GET 75 drivers/mmc/host/sdhci-pci-gli.c wt_enable = FIELD_GET(SDHCI_GLI_9750_WT_EN, wt_value); FIELD_GET 92 drivers/mmc/host/sdhci-pci-gli.c wt_enable = FIELD_GET(SDHCI_GLI_9750_WT_EN, wt_value); FIELD_GET 461 drivers/mtd/nand/raw/denali.c max_bitflips = FIELD_GET(ECC_COR_INFO__MAX_ERRORS, ecc_cor); FIELD_GET 492 drivers/mtd/nand/raw/denali.c err_sector = FIELD_GET(ECC_ERROR_ADDRESS__SECTOR, err_addr); FIELD_GET 493 drivers/mtd/nand/raw/denali.c err_byte = FIELD_GET(ECC_ERROR_ADDRESS__OFFSET, err_addr); FIELD_GET 496 drivers/mtd/nand/raw/denali.c err_cor_value = FIELD_GET(ERR_CORRECTION_INFO__BYTE, FIELD_GET 498 drivers/mtd/nand/raw/denali.c err_device = FIELD_GET(ERR_CORRECTION_INFO__DEVICE, FIELD_GET 1268 drivers/mtd/nand/raw/denali.c denali->nbanks = 1 << FIELD_GET(FEATURES__N_BANKS, features); FIELD_GET 339 drivers/net/ethernet/marvell/octeontx2/af/cgx.c if (FIELD_GET(CMDREG_OWN, cmd) != CGX_CMD_OWN_NS) { FIELD_GET 387 drivers/net/ethernet/marvell/octeontx2/af/cgx.c if (FIELD_GET(EVTREG_STAT, *resp) == CGX_STAT_FAIL) FIELD_GET 429 drivers/net/ethernet/marvell/octeontx2/af/cgx.c linfo->link_up = FIELD_GET(RESP_LINKSTAT_UP, lstat); FIELD_GET 430 drivers/net/ethernet/marvell/octeontx2/af/cgx.c linfo->full_duplex = FIELD_GET(RESP_LINKSTAT_FDUPLEX, lstat); FIELD_GET 431 drivers/net/ethernet/marvell/octeontx2/af/cgx.c linfo->speed = cgx_speed_mbps[FIELD_GET(RESP_LINKSTAT_SPEED, lstat)]; FIELD_GET 450 drivers/net/ethernet/marvell/octeontx2/af/cgx.c err_type = FIELD_GET(RESP_LINKSTAT_ERRTYPE, lstat); FIELD_GET 485 drivers/net/ethernet/marvell/octeontx2/af/cgx.c id = FIELD_GET(EVTREG_ID, event); FIELD_GET 495 drivers/net/ethernet/marvell/octeontx2/af/cgx.c if (FIELD_GET(EVTREG_ID, event) == CGX_EVT_LINK_CHANGE) FIELD_GET 511 drivers/net/ethernet/marvell/octeontx2/af/cgx.c *prfl_sz = FIELD_GET(RESP_MKEX_PRFL_SIZE, resp); FIELD_GET 526 drivers/net/ethernet/marvell/octeontx2/af/cgx.c *prfl_addr = FIELD_GET(RESP_MKEX_PRFL_ADDR, resp); FIELD_GET 565 drivers/net/ethernet/marvell/octeontx2/af/cgx.c if (!FIELD_GET(EVTREG_ACK, event)) FIELD_GET 568 drivers/net/ethernet/marvell/octeontx2/af/cgx.c switch (FIELD_GET(EVTREG_EVT_TYPE, event)) { FIELD_GET 675 drivers/net/ethernet/marvell/octeontx2/af/cgx.c major_ver = FIELD_GET(RESP_MAJOR_VER, resp); FIELD_GET 676 drivers/net/ethernet/marvell/octeontx2/af/cgx.c minor_ver = FIELD_GET(RESP_MINOR_VER, resp); FIELD_GET 63 drivers/net/ethernet/netronome/nfp/abm/main.c rtype = FIELD_GET(NFP_ABM_PORTID_TYPE, port_id); FIELD_GET 64 drivers/net/ethernet/netronome/nfp/abm/main.c port = FIELD_GET(NFP_ABM_PORTID_ID, port_id); FIELD_GET 3588 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (FIELD_GET(OP_RELO_TYPE, nfp_prog->prog[br_idx]) != FIELD_GET 3612 drivers/net/ethernet/netronome/nfp/bpf/jit.c if (FIELD_GET(OP_RELO_TYPE, nfp_prog->prog[br_idx]) != FIELD_GET 4544 drivers/net/ethernet/netronome/nfp/bpf/jit.c special = FIELD_GET(OP_RELO_TYPE, prog[i]); FIELD_GET 230 drivers/net/ethernet/netronome/nfp/ccm_mbox.c type = FIELD_GET(NFP_NET_MBOX_TLV_TYPE, tlv_hdr); FIELD_GET 231 drivers/net/ethernet/netronome/nfp/ccm_mbox.c length = FIELD_GET(NFP_NET_MBOX_TLV_LEN, tlv_hdr); FIELD_GET 213 drivers/net/ethernet/netronome/nfp/flower/main.c switch (FIELD_GET(NFP_FLOWER_CMSG_PORT_TYPE, port_id)) { FIELD_GET 215 drivers/net/ethernet/netronome/nfp/flower/main.c *port = FIELD_GET(NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM, FIELD_GET 220 drivers/net/ethernet/netronome/nfp/flower/main.c *port = FIELD_GET(NFP_FLOWER_CMSG_PORT_VNIC, port_id); FIELD_GET 221 drivers/net/ethernet/netronome/nfp/flower/main.c if (FIELD_GET(NFP_FLOWER_CMSG_PORT_VNIC_TYPE, port_id) == FIELD_GET 239 drivers/net/ethernet/netronome/nfp/flower/main.c if (FIELD_GET(NFP_FLOWER_CMSG_PORT_TYPE, port_id) == FIELD_GET 243 drivers/net/ethernet/netronome/nfp/flower/main.c port = FIELD_GET(NFP_FLOWER_CMSG_PORT_PHYS_PORT_NUM, port_id); FIELD_GET 527 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c if (FIELD_GET(NFP_FLOWER_CMSG_PORT_TYPE, port) == FIELD_GET 34 drivers/net/ethernet/netronome/nfp/nfp_asm.c addr_lo = FIELD_GET(OP_BR_ADDR_LO, instr); FIELD_GET 35 drivers/net/ethernet/netronome/nfp/nfp_asm.c addr_hi = FIELD_GET(OP_BR_ADDR_HI, instr); FIELD_GET 62 drivers/net/ethernet/netronome/nfp/nfp_asm.c if (FIELD_GET(OP_IMMED_INV, instr) || FIELD_GET 63 drivers/net/ethernet/netronome/nfp/nfp_asm.c FIELD_GET(OP_IMMED_SHIFT, instr) || FIELD_GET 64 drivers/net/ethernet/netronome/nfp/nfp_asm.c FIELD_GET(OP_IMMED_WIDTH, instr) != IMMED_WIDTH_ALL) { FIELD_GET 78 drivers/net/ethernet/netronome/nfp/nfp_asm.c reg = FIELD_GET(OP_IMMED_A_SRC, instr); FIELD_GET 80 drivers/net/ethernet/netronome/nfp/nfp_asm.c reg = FIELD_GET(OP_IMMED_B_SRC, instr); FIELD_GET 82 drivers/net/ethernet/netronome/nfp/nfp_asm.c return (reg & 0xff) | FIELD_GET(OP_IMMED_IMM, instr) << 8; FIELD_GET 90 drivers/net/ethernet/netronome/nfp/nfp_asm.c if (unreg_is_imm(FIELD_GET(OP_IMMED_A_SRC, *instr))) { FIELD_GET 346 drivers/net/ethernet/netronome/nfp/nfp_asm.h return FIELD_GET(NN_REG_TYPE, swreg_raw(reg)); FIELD_GET 351 drivers/net/ethernet/netronome/nfp/nfp_asm.h return FIELD_GET(NN_REG_VAL, swreg_raw(reg)); FIELD_GET 356 drivers/net/ethernet/netronome/nfp/nfp_asm.h return FIELD_GET(NN_REG_LM_IDX_LO, swreg_raw(reg)); FIELD_GET 361 drivers/net/ethernet/netronome/nfp/nfp_asm.h return FIELD_GET(NN_REG_LM_IDX_HI, swreg_raw(reg)); FIELD_GET 366 drivers/net/ethernet/netronome/nfp/nfp_asm.h return FIELD_GET(NN_REG_LM_MOD, swreg_raw(reg)); FIELD_GET 3930 drivers/net/ethernet/netronome/nfp/nfp_net_common.c rss_cap_hfunc = FIELD_GET(NFP_NET_CFG_RSS_CAP_HFUNC, reg); FIELD_GET 3932 drivers/net/ethernet/netronome/nfp/nfp_net_common.c rss_cap_hfunc = FIELD_GET(NFP_NET_CFG_RSS_CAP_HFUNC, FIELD_GET 37 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c length = FIELD_GET(NFP_NET_CFG_TLV_HEADER_LENGTH, hdr); FIELD_GET 54 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c switch (FIELD_GET(NFP_NET_CFG_TLV_HEADER_TYPE, hdr)) { FIELD_GET 90 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c FIELD_GET(NFP_NET_CFG_TLV_HEADER_TYPE, hdr), FIELD_GET 118 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c if (!FIELD_GET(NFP_NET_CFG_TLV_HEADER_REQUIRED, hdr)) FIELD_GET 122 drivers/net/ethernet/netronome/nfp/nfp_net_ctrl.c FIELD_GET(NFP_NET_CFG_TLV_HEADER_TYPE, hdr), FIELD_GET 298 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c ls = FIELD_GET(NFP_NET_CFG_STS_LINK_RATE, sts); FIELD_GET 236 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c ivi->vlan = FIELD_GET(NFP_NET_VF_CFG_VLAN_VID, vlan_tci); FIELD_GET 237 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c ivi->qos = FIELD_GET(NFP_NET_VF_CFG_VLAN_QOS, vlan_tci); FIELD_GET 239 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c ivi->spoofchk = FIELD_GET(NFP_NET_VF_CFG_CTRL_SPOOF, flags); FIELD_GET 240 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c ivi->trusted = FIELD_GET(NFP_NET_VF_CFG_CTRL_TRUST, flags); FIELD_GET 241 drivers/net/ethernet/netronome/nfp/nfp_net_sriov.c ivi->linkstate = FIELD_GET(NFP_NET_VF_CFG_CTRL_LINK_STATE, flags); FIELD_GET 241 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c if (FIELD_GET(NSP_STATUS_MAGIC, reg) != NSP_MAGIC) { FIELD_GET 246 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c state->ver.major = FIELD_GET(NSP_STATUS_MAJOR, reg); FIELD_GET 247 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c state->ver.minor = FIELD_GET(NSP_STATUS_MINOR, reg); FIELD_GET 409 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c ret_val = FIELD_GET(NSP_COMMAND_OPTION, ret_val); FIELD_GET 411 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c err = FIELD_GET(NSP_STATUS_RESULT, reg); FIELD_GET 452 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c cpp_id = FIELD_GET(NSP_DFLT_BUFFER_CPP, reg) << 8; FIELD_GET 453 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c cpp_buf = FIELD_GET(NSP_DFLT_BUFFER_ADDRESS, reg); FIELD_GET 682 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c def_size = FIELD_GET(NSP_DFLT_BUFFER_SIZE_MB, reg) * SZ_1M + FIELD_GET 683 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c FIELD_GET(NSP_DFLT_BUFFER_SIZE_4KB, reg) * SZ_4K; FIELD_GET 684 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c dma_order = FIELD_GET(NSP_DFLT_BUFFER_DMA_CHUNK_ORDER, reg); FIELD_GET 764 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c major = FIELD_GET(NFP_FW_LOAD_RET_MAJOR, ret_val); FIELD_GET 765 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c minor = FIELD_GET(NFP_FW_LOAD_RET_MINOR, ret_val); FIELD_GET 135 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->eth_index = FIELD_GET(NSP_ETH_PORT_INDEX, port); FIELD_GET 139 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->lanes = FIELD_GET(NSP_ETH_PORT_LANES, port); FIELD_GET 141 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->enabled = FIELD_GET(NSP_ETH_STATE_ENABLED, state); FIELD_GET 142 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->tx_enabled = FIELD_GET(NSP_ETH_STATE_TX_ENABLED, state); FIELD_GET 143 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->rx_enabled = FIELD_GET(NSP_ETH_STATE_RX_ENABLED, state); FIELD_GET 145 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c rate = nfp_eth_rate2speed(FIELD_GET(NSP_ETH_STATE_RATE, state)); FIELD_GET 148 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->interface = FIELD_GET(NSP_ETH_STATE_INTERFACE, state); FIELD_GET 149 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->media = FIELD_GET(NSP_ETH_STATE_MEDIA, state); FIELD_GET 153 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->label_port = FIELD_GET(NSP_ETH_PORT_PHYLABEL, port); FIELD_GET 154 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->label_subport = FIELD_GET(NSP_ETH_PORT_LABEL, port); FIELD_GET 159 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->override_changed = FIELD_GET(NSP_ETH_STATE_OVRD_CHNG, state); FIELD_GET 160 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->aneg = FIELD_GET(NSP_ETH_STATE_ANEG, state); FIELD_GET 165 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c fec = FIELD_GET(NSP_ETH_PORT_FEC_SUPP_BASER, port); FIELD_GET 167 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c fec = FIELD_GET(NSP_ETH_PORT_FEC_SUPP_RS, port); FIELD_GET 172 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c dst->fec = 1 << FIELD_GET(NSP_ETH_STATE_FEC, state); FIELD_GET 402 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c if (enable != FIELD_GET(NSP_ETH_CTRL_ENABLED, reg)) { FIELD_GET 449 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c if (configed != FIELD_GET(NSP_ETH_STATE_CONFIGURED, reg)) { FIELD_GET 303 drivers/net/phy/adin.c enable = FIELD_GET(ADIN1300_DOWNSPEEDS_EN, val); FIELD_GET 304 drivers/net/phy/adin.c cnt = FIELD_GET(ADIN1300_DOWNSPEED_RETRIES_MSK, cnt); FIELD_GET 312 drivers/net/phy/aquantia_main.c switch (FIELD_GET(MDIO_AN_TX_VEND_STATUS1_RATE_MASK, val)) { FIELD_GET 359 drivers/net/phy/aquantia_main.c switch (FIELD_GET(MDIO_PHYXS_VEND_IF_STATUS_TYPE_MASK, val)) { FIELD_GET 396 drivers/net/phy/aquantia_main.c enable = FIELD_GET(MDIO_AN_VEND_PROV_DOWNSHIFT_EN, val); FIELD_GET 397 drivers/net/phy/aquantia_main.c cnt = FIELD_GET(MDIO_AN_VEND_PROV_DOWNSHIFT_MASK, val); FIELD_GET 473 drivers/net/phy/aquantia_main.c fw_major = FIELD_GET(VEND1_GLOBAL_FW_ID_MAJOR, val); FIELD_GET 474 drivers/net/phy/aquantia_main.c fw_minor = FIELD_GET(VEND1_GLOBAL_FW_ID_MINOR, val); FIELD_GET 480 drivers/net/phy/aquantia_main.c build_id = FIELD_GET(VEND1_GLOBAL_RSVD_STAT1_FW_BUILD_ID, val); FIELD_GET 481 drivers/net/phy/aquantia_main.c prov_id = FIELD_GET(VEND1_GLOBAL_RSVD_STAT1_PROV_ID, val); FIELD_GET 560 drivers/net/phy/aquantia_main.c fw_major = FIELD_GET(MDIO_AN_RX_LP_STAT4_FW_MAJOR, val); FIELD_GET 561 drivers/net/phy/aquantia_main.c fw_minor = FIELD_GET(MDIO_AN_RX_LP_STAT4_FW_MINOR, val); FIELD_GET 579 drivers/net/phy/aquantia_main.c mode = FIELD_GET(VEND1_GLOBAL_RSVD_STAT9_MODE, val); FIELD_GET 1054 drivers/net/phy/marvell.c val = FIELD_GET(MII_88E1540_COPPER_CTRL3_LINK_DOWN_DELAY_MASK, val); FIELD_GET 71 drivers/net/phy/mdio-aspeed.c return FIELD_GET(ASPEED_MDIO_DATA_MIIRDATA, data); FIELD_GET 77 drivers/net/phy/mdio-mux-meson-g12a.c m = FIELD_GET(PLL_CTL0_M, val); FIELD_GET 78 drivers/net/phy/mdio-mux-meson-g12a.c n = FIELD_GET(PLL_CTL0_N, val); FIELD_GET 2713 drivers/net/wireless/ath/ath10k/htt_rx.c num_airtime_records = FIELD_GET(HTT_TX_COMPL_PPDU_DUR_INFO0_NUM_ENTRIES_MASK, FIELD_GET 2723 drivers/net/wireless/ath/ath10k/htt_rx.c peer_id = FIELD_GET(HTT_TX_PPDU_DUR_INFO0_PEER_ID_MASK, FIELD_GET 2735 drivers/net/wireless/ath/ath10k/htt_rx.c tid = FIELD_GET(HTT_TX_PPDU_DUR_INFO0_TID_MASK, info0); FIELD_GET 3794 drivers/net/wireless/ath/ath10k/htt_rx.c FIELD_GET(HTT_MGMT_TX_CMPL_INFO_ACK_RSSI_MASK, FIELD_GET 1197 drivers/net/wireless/ath/ath10k/hw.h #define CPU_ADDR_MSB_REGION_VAL(X) FIELD_GET(CPU_ADDR_MSB_REGION_MASK, X) FIELD_GET 495 drivers/net/wireless/ath/ath10k/sdio.c *bndl_cnt = FIELD_GET(ATH10K_HTC_FLAG_BUNDLE_MASK, htc_hdr->flags); FIELD_GET 812 drivers/net/wireless/ath/ath10k/sdio.c if (FIELD_GET(MBOX_ERROR_INT_STATUS_WAKEUP_MASK, FIELD_GET 816 drivers/net/wireless/ath/ath10k/sdio.c if (FIELD_GET(MBOX_ERROR_INT_STATUS_RX_UNDERFLOW_MASK, FIELD_GET 820 drivers/net/wireless/ath/ath10k/sdio.c if (FIELD_GET(MBOX_ERROR_INT_STATUS_TX_OVERFLOW_MASK, FIELD_GET 989 drivers/net/wireless/ath/ath10k/sdio.c if (FIELD_GET(MBOX_HOST_INT_STATUS_CPU_MASK, host_int_status)) { FIELD_GET 996 drivers/net/wireless/ath/ath10k/sdio.c if (FIELD_GET(MBOX_HOST_INT_STATUS_ERROR_MASK, host_int_status)) { FIELD_GET 1003 drivers/net/wireless/ath/ath10k/sdio.c if (FIELD_GET(MBOX_HOST_INT_STATUS_COUNTER_MASK, host_int_status)) FIELD_GET 1043 drivers/net/wireless/ath/ath10k/sdio.c dev_id_base = FIELD_GET(QCA_MANUFACTURER_ID_BASE, device); FIELD_GET 1044 drivers/net/wireless/ath/ath10k/sdio.c dev_id_chiprev = FIELD_GET(QCA_MANUFACTURER_ID_REV_MASK, device); FIELD_GET 2060 drivers/net/wireless/ath/ath10k/sdio.c dev_id_base = FIELD_GET(QCA_MANUFACTURER_ID_BASE, id->device); FIELD_GET 1450 drivers/net/wireless/ath/ath10k/wmi-tlv.c FIELD_GET(WMI_TLV_PEER_RX_DURATION_HIGH_MASK, FIELD_GET 1122 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (FIELD_GET(IWL_RX_PHY_DATA4_HE_MU_EXT_CH1_CRC_OK, phy_data4)) { FIELD_GET 1128 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c le16_encode_bits(FIELD_GET(IWL_RX_PHY_DATA4_HE_MU_EXT_CH1_CTR_RU, FIELD_GET 1132 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c he_mu->ru_ch1[0] = FIELD_GET(IWL_RX_PHY_DATA2_HE_MU_EXT_CH1_RU0, FIELD_GET 1134 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c he_mu->ru_ch1[1] = FIELD_GET(IWL_RX_PHY_DATA3_HE_MU_EXT_CH1_RU1, FIELD_GET 1136 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c he_mu->ru_ch1[2] = FIELD_GET(IWL_RX_PHY_DATA2_HE_MU_EXT_CH1_RU2, FIELD_GET 1138 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c he_mu->ru_ch1[3] = FIELD_GET(IWL_RX_PHY_DATA3_HE_MU_EXT_CH1_RU3, FIELD_GET 1142 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c if (FIELD_GET(IWL_RX_PHY_DATA4_HE_MU_EXT_CH2_CRC_OK, phy_data4) && FIELD_GET 1149 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c le16_encode_bits(FIELD_GET(IWL_RX_PHY_DATA4_HE_MU_EXT_CH2_CTR_RU, FIELD_GET 1153 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c he_mu->ru_ch2[0] = FIELD_GET(IWL_RX_PHY_DATA2_HE_MU_EXT_CH2_RU0, FIELD_GET 1155 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c he_mu->ru_ch2[1] = FIELD_GET(IWL_RX_PHY_DATA3_HE_MU_EXT_CH2_RU1, FIELD_GET 1157 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c he_mu->ru_ch2[2] = FIELD_GET(IWL_RX_PHY_DATA2_HE_MU_EXT_CH2_RU2, FIELD_GET 1159 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c he_mu->ru_ch2[3] = FIELD_GET(IWL_RX_PHY_DATA3_HE_MU_EXT_CH2_RU3, FIELD_GET 1235 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c le16_encode_bits(FIELD_GET(RATE_MCS_CHAN_WIDTH_MSK, FIELD_GET 1241 drivers/net/wireless/intel/iwlwifi/mvm/rxmq.c le16_encode_bits(FIELD_GET(RATE_MCS_CHAN_WIDTH_MSK, FIELD_GET 104 drivers/net/wireless/mediatek/mt76/dma.c u32 len = FIELD_GET(MT_DMA_CTL_SD_LEN0, ctrl); FIELD_GET 112 drivers/net/wireless/mediatek/mt76/dma.c u32 len = FIELD_GET(MT_DMA_CTL_SD_LEN1, ctrl); FIELD_GET 218 drivers/net/wireless/mediatek/mt76/dma.c *len = FIELD_GET(MT_DMA_CTL_SD_LEN0, ctl); FIELD_GET 561 drivers/net/wireless/mediatek/mt76/mt76.h FIELD_GET(_field, mt76_rr(dev, _reg)) FIELD_GET 47 drivers/net/wireless/mediatek/mt76/mt7603/dma.c idx = FIELD_GET(MT_TXD1_WLAN_IDX, val); FIELD_GET 48 drivers/net/wireless/mediatek/mt76/mt7603/dma.c skb->priority = FIELD_GET(MT_TXD1_TID, val); FIELD_GET 59 drivers/net/wireless/mediatek/mt76/mt7603/dma.c skb_set_queue_mapping(skb, FIELD_GET(MT_TXD0_Q_IDX, val)); FIELD_GET 91 drivers/net/wireless/mediatek/mt76/mt7603/dma.c type = FIELD_GET(MT_RXD0_PKT_TYPE, le32_to_cpu(rxd[0])); FIELD_GET 414 drivers/net/wireless/mediatek/mt76/mt7603/mac.c i = FIELD_GET(MT_RXD1_NORMAL_CH_FREQ, rxd1); FIELD_GET 418 drivers/net/wireless/mediatek/mt76/mt7603/mac.c idx = FIELD_GET(MT_RXD2_NORMAL_WLAN_IDX, rxd2); FIELD_GET 431 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (FIELD_GET(MT_RXD2_NORMAL_SEC_MODE, rxd2) != 0 && FIELD_GET 463 drivers/net/wireless/mediatek/mt76/mt7603/mac.c insert_ccmp_hdr = FIELD_GET(MT_RXD2_NORMAL_FRAG, rxd2); FIELD_GET 480 drivers/net/wireless/mediatek/mt76/mt7603/mac.c i = FIELD_GET(MT_RXV1_TX_RATE, rxdg0); FIELD_GET 481 drivers/net/wireless/mediatek/mt76/mt7603/mac.c switch (FIELD_GET(MT_RXV1_TX_MODE, rxdg0)) { FIELD_GET 504 drivers/net/wireless/mediatek/mt76/mt7603/mac.c FIELD_GET(MT_RXV1_HT_STBC, rxdg0); FIELD_GET 509 drivers/net/wireless/mediatek/mt76/mt7603/mac.c status->chain_signal[0] = FIELD_GET(MT_RXV4_IB_RSSI0, rxdg3) + FIELD_GET 511 drivers/net/wireless/mediatek/mt76/mt7603/mac.c status->chain_signal[1] = FIELD_GET(MT_RXV4_IB_RSSI1, rxdg3) + FIELD_GET 519 drivers/net/wireless/mediatek/mt76/mt7603/mac.c if (FIELD_GET(MT_RXV1_FRAME_MODE, rxdg0) == 1) FIELD_GET 532 drivers/net/wireless/mediatek/mt76/mt7603/mac.c u8 key_id = FIELD_GET(MT_RXD1_NORMAL_KEY_ID, rxd1); FIELD_GET 972 drivers/net/wireless/mediatek/mt76/mt7603/mac.c count = FIELD_GET(MT_TXS4_TX_COUNT, txs); FIELD_GET 973 drivers/net/wireless/mediatek/mt76/mt7603/mac.c last_idx = FIELD_GET(MT_TXS4_LAST_TX_RATE, txs); FIELD_GET 976 drivers/net/wireless/mediatek/mt76/mt7603/mac.c final_rate = FIELD_GET(MT_TXS0_TX_RATE, txs); FIELD_GET 1004 drivers/net/wireless/mediatek/mt76/mt7603/mac.c rs_idx = !((u32)(FIELD_GET(MT_TXS1_F0_TIMESTAMP, le32_to_cpu(txs_data[1])) - FIELD_GET 1050 drivers/net/wireless/mediatek/mt76/mt7603/mac.c switch (FIELD_GET(MT_TX_RATE_MODE, final_rate)) { FIELD_GET 1121 drivers/net/wireless/mediatek/mt76/mt7603/mac.c pid = FIELD_GET(MT_TXS4_PID, txs); FIELD_GET 1123 drivers/net/wireless/mediatek/mt76/mt7603/mac.c wcidx = FIELD_GET(MT_TXS3_WCID, txs); FIELD_GET 1361 drivers/net/wireless/mediatek/mt76/mt7603/mac.c return FIELD_GET(MT_WPDMA_DEBUG_VALUE, val); FIELD_GET 1523 drivers/net/wireless/mediatek/mt76/mt7603/mac.c rssi0 = FIELD_GET(MT_AGC_41_RSSI_0, val); FIELD_GET 1527 drivers/net/wireless/mediatek/mt76/mt7603/mac.c rssi1 = FIELD_GET(MT_AGC_41_RSSI_1, val); FIELD_GET 1631 drivers/net/wireless/mediatek/mt76/mt7603/mac.c pd_cck = FIELD_GET(MT_PHYCTRL_STAT_PD_CCK, val); FIELD_GET 1632 drivers/net/wireless/mediatek/mt76/mt7603/mac.c pd_ofdm = FIELD_GET(MT_PHYCTRL_STAT_PD_OFDM, val); FIELD_GET 1635 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mdrdy_cck = FIELD_GET(MT_PHYCTRL_STAT_MDRDY_CCK, val); FIELD_GET 1636 drivers/net/wireless/mediatek/mt76/mt7603/mac.c mdrdy_ofdm = FIELD_GET(MT_PHYCTRL_STAT_MDRDY_OFDM, val); FIELD_GET 67 drivers/net/wireless/mediatek/mt76/mt7615/dma.c type = FIELD_GET(MT_RXD0_PKT_TYPE, le32_to_cpu(rxd[0])); FIELD_GET 97 drivers/net/wireless/mediatek/mt76/mt7615/eeprom.c val = FIELD_GET(MT_EE_NIC_WIFI_CONF_BAND_SEL, FIELD_GET 18 drivers/net/wireless/mediatek/mt76/mt7615/mac.c return (FIELD_GET(field, rxv) - 220) / 2; FIELD_GET 62 drivers/net/wireless/mediatek/mt76/mt7615/mac.c idx = FIELD_GET(MT_RXD2_NORMAL_WLAN_IDX, rxd2); FIELD_GET 79 drivers/net/wireless/mediatek/mt76/mt7615/mac.c if (FIELD_GET(MT_RXD2_NORMAL_SEC_MODE, rxd2) != 0 && FIELD_GET 112 drivers/net/wireless/mediatek/mt76/mt7615/mac.c insert_ccmp_hdr = FIELD_GET(MT_RXD2_NORMAL_FRAG, rxd2); FIELD_GET 129 drivers/net/wireless/mediatek/mt76/mt7615/mac.c u8 stbc = FIELD_GET(MT_RXV1_HT_STBC, rxdg0); FIELD_GET 132 drivers/net/wireless/mediatek/mt76/mt7615/mac.c i = FIELD_GET(MT_RXV1_TX_RATE, rxdg0); FIELD_GET 133 drivers/net/wireless/mediatek/mt76/mt7615/mac.c switch (FIELD_GET(MT_RXV1_TX_MODE, rxdg0)) { FIELD_GET 147 drivers/net/wireless/mediatek/mt76/mt7615/mac.c status->nss = FIELD_GET(MT_RXV2_NSTS, rxdg1) + 1; FIELD_GET 155 drivers/net/wireless/mediatek/mt76/mt7615/mac.c switch (FIELD_GET(MT_RXV1_FRAME_MODE, rxdg0)) { FIELD_GET 201 drivers/net/wireless/mediatek/mt76/mt7615/mac.c u8 key_id = FIELD_GET(MT_RXD1_NORMAL_KEY_ID, rxd1); FIELD_GET 855 drivers/net/wireless/mediatek/mt76/mt7615/mac.c count = FIELD_GET(MT_TXS3_TX_COUNT, txs); FIELD_GET 856 drivers/net/wireless/mediatek/mt76/mt7615/mac.c last_idx = FIELD_GET(MT_TXS3_LAST_TX_RATE, txs); FIELD_GET 859 drivers/net/wireless/mediatek/mt76/mt7615/mac.c final_rate = FIELD_GET(MT_TXS0_TX_RATE, txs); FIELD_GET 887 drivers/net/wireless/mediatek/mt76/mt7615/mac.c rs_idx = !((u32)(FIELD_GET(MT_TXS4_F0_TIMESTAMP, le32_to_cpu(txs_data[4])) - FIELD_GET 932 drivers/net/wireless/mediatek/mt76/mt7615/mac.c switch (FIELD_GET(MT_TX_RATE_MODE, final_rate)) { FIELD_GET 954 drivers/net/wireless/mediatek/mt76/mt7615/mac.c final_nss = FIELD_GET(MT_TX_RATE_NSS, final_rate); FIELD_GET 1012 drivers/net/wireless/mediatek/mt76/mt7615/mac.c pid = FIELD_GET(MT_TXS0_PID, txs); FIELD_GET 1014 drivers/net/wireless/mediatek/mt76/mt7615/mac.c wcidx = FIELD_GET(MT_TXS2_WCID, txs); FIELD_GET 1051 drivers/net/wireless/mediatek/mt76/mt7615/mac.c count = FIELD_GET(MT_TX_FREE_MSDU_ID_CNT, le16_to_cpu(free->ctrl)); FIELD_GET 1208 drivers/net/wireless/mediatek/mt76/mt7615/mac.c data = FIELD_GET(MT_MIB_RTS_RETRIES_COUNT_MASK, val); FIELD_GET 1210 drivers/net/wireless/mediatek/mt76/mt7615/mac.c rts_cnt = FIELD_GET(MT_MIB_RTS_COUNT_MASK, val); FIELD_GET 1216 drivers/net/wireless/mediatek/mt76/mt7615/mac.c pd_cck = FIELD_GET(MT_WF_PHYCTRL_STAT_PD_CCK, val); FIELD_GET 1217 drivers/net/wireless/mediatek/mt76/mt7615/mac.c pd_ofdm = FIELD_GET(MT_WF_PHYCTRL_STAT_PD_OFDM, val); FIELD_GET 1220 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mdrdy_cck = FIELD_GET(MT_WF_PHYCTRL_STAT_MDRDY_CCK, val); FIELD_GET 1221 drivers/net/wireless/mediatek/mt76/mt7615/mac.c mdrdy_ofdm = FIELD_GET(MT_WF_PHYCTRL_STAT_MDRDY_OFDM, val); FIELD_GET 408 drivers/net/wireless/mediatek/mt76/mt7615/mcu.c FIELD_GET(FW_FEATURE_SET_KEY_IDX, feature_set)); FIELD_GET 77 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c if (FIELD_GET(MT_EE_NIC_CONF_0_RX_PATH, nic_conf0) > 1 || FIELD_GET 78 drivers/net/wireless/mediatek/mt76/mt76x0/eeprom.c FIELD_GET(MT_EE_NIC_CONF_0_TX_PATH, nic_conf0) > 1) FIELD_GET 88 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c if (FIELD_GET(MT_RF_CSR_CFG_REG_ID, val) == reg && FIELD_GET 89 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c FIELD_GET(MT_RF_CSR_CFG_REG_BANK, val) == bank) FIELD_GET 90 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c ret = FIELD_GET(MT_RF_CSR_CFG_DATA, val); FIELD_GET 415 drivers/net/wireless/mediatek/mt76/mt76x0/phy.c gain = FIELD_GET(MT_BBP_AGC_GAIN, val); FIELD_GET 806 drivers/net/wireless/mediatek/mt76/mt76x02_dfs.c dfs_r31 = FIELD_GET(MT_BBP_AGC_LNA_HIGH_GAIN, val_r4); FIELD_GET 76 drivers/net/wireless/mediatek/mt76/mt76x02_eeprom.c switch (FIELD_GET(MT_EE_NIC_CONF_0_BOARD_TYPE, val)) { FIELD_GET 245 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->wcid = FIELD_GET(MT_TX_STAT_FIFO_WCID, stat1); FIELD_GET 246 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->rate = FIELD_GET(MT_TX_STAT_FIFO_RATE, stat1); FIELD_GET 248 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->retry = FIELD_GET(MT_TX_STAT_FIFO_EXT_RETRY, stat2); FIELD_GET 249 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c stat->pktid = FIELD_GET(MT_TX_STAT_FIFO_EXT_PKTID, stat2); FIELD_GET 260 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u8 idx = FIELD_GET(MT_RXWI_RATE_INDEX, rate); FIELD_GET 266 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c switch (FIELD_GET(MT_RXWI_RATE_PHY, rate)) { FIELD_GET 294 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c switch (FIELD_GET(MT_RXWI_RATE_BW, rate)) { FIELD_GET 359 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c txwi->rate = FIELD_GET(MT_WCID_TX_INFO_RATE, wcid_tx_info); FIELD_GET 360 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c max_txpwr_adj = FIELD_GET(MT_WCID_TX_INFO_TXPWR_ADJ, FIELD_GET 362 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c nss = FIELD_GET(MT_WCID_TX_INFO_NSS, wcid_tx_info); FIELD_GET 462 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c phy = FIELD_GET(MT_RXWI_RATE_PHY, st->rate); FIELD_GET 597 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c u8 idx = FIELD_GET(MT_RXWI_RATE_INDEX, rate); FIELD_GET 599 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c switch (FIELD_GET(MT_RXWI_RATE_PHY, rate)) { FIELD_GET 631 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->rate_idx = FIELD_GET(MT_RATE_INDEX_VHT_IDX, idx); FIELD_GET 633 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c FIELD_GET(MT_RATE_INDEX_VHT_NSS, idx) + 1); FIELD_GET 649 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c switch (FIELD_GET(MT_RXWI_RATE_BW, rate)) { FIELD_GET 737 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c wcid = FIELD_GET(MT_RXWI_CTL_WCID, ctl); FIELD_GET 741 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c len = FIELD_GET(MT_RXWI_CTL_MPDU_LEN, ctl); FIELD_GET 742 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c pn_len = FIELD_GET(MT_RXINFO_PN_LEN, rxinfo); FIELD_GET 790 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->tid = FIELD_GET(MT_RXWI_TID, tid_sn); FIELD_GET 791 drivers/net/wireless/mediatek/mt76/mt76x02_mac.c status->seqno = FIELD_GET(MT_RXWI_SN, tid_sn); FIELD_GET 59 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c if (seq == FIELD_GET(MT_RX_FCE_INFO_CMD_SEQ, *rxfce)) FIELD_GET 175 drivers/net/wireless/mediatek/mt76/mt76x02_phy.c false_cca = FIELD_GET(MT_RX_STAT_1_CCA_ERRORS, FIELD_GET 68 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c if (seq == FIELD_GET(MT_RX_FCE_INFO_CMD_SEQ, rxfce) && FIELD_GET 69 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c FIELD_GET(MT_RX_FCE_INFO_EVT_TYPE, rxfce) == EVT_CMD_DONE) FIELD_GET 73 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c FIELD_GET(MT_RX_FCE_INFO_EVT_TYPE, rxfce), FIELD_GET 74 drivers/net/wireless/mediatek/mt76/mt76x02_usb_mcu.c seq, FIELD_GET(MT_RX_FCE_INFO_CMD_SEQ, rxfce)); FIELD_GET 57 drivers/net/wireless/mediatek/mt76/mt76x2/pci_init.c switch (FIELD_GET(MT_EE_NIC_CONF_2_XTAL_OPTION, eep_val)) { FIELD_GET 133 drivers/net/wireless/mediatek/mt76/mt76x2/pci_mcu.c if (FIELD_GET(MT_EE_NIC_CONF_2_XTAL_OPTION, val) == 1) FIELD_GET 17 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c gain = FIELD_GET(MT_BBP_AGC_LNA_HIGH_GAIN, FIELD_GET 28 drivers/net/wireless/mediatek/mt76/mt76x2/phy.c gain = FIELD_GET(MT_BBP_AGC_GAIN, mt76_rr(dev, MT_BBP(AGC, reg))); FIELD_GET 60 drivers/net/wireless/mediatek/mt76/mt76x2/usb_mac.c switch (FIELD_GET(MT_EE_NIC_CONF_2_XTAL_OPTION, eep_val)) { FIELD_GET 98 drivers/net/wireless/mediatek/mt7601u/dma.c if (unlikely(FIELD_GET(MT_RXD_INFO_TYPE, fce_info))) FIELD_GET 124 drivers/net/wireless/mediatek/mt7601u/eeprom.c if (FIELD_GET(MT_EE_NIC_CONF_0_RX_PATH, nic_conf0) > 1 || FIELD_GET 125 drivers/net/wireless/mediatek/mt7601u/eeprom.c FIELD_GET(MT_EE_NIC_CONF_0_TX_PATH, nic_conf0) > 1) FIELD_GET 151 drivers/net/wireless/mediatek/mt7601u/eeprom.c max_pwr = FIELD_GET(MT_TX_ALC_CFG_0_LIMIT_0, val); FIELD_GET 30 drivers/net/wireless/mediatek/mt7601u/mac.c u8 idx = FIELD_GET(MT_TXWI_RATE_MCS, rate); FIELD_GET 36 drivers/net/wireless/mediatek/mt7601u/mac.c switch (FIELD_GET(MT_TXWI_RATE_PHY_MODE, rate)) { FIELD_GET 58 drivers/net/wireless/mediatek/mt7601u/mac.c if (FIELD_GET(MT_TXWI_RATE_BW, rate) == MT_PHY_BW_40) FIELD_GET 167 drivers/net/wireless/mediatek/mt7601u/mac.c stat.pktid = FIELD_GET(MT_TX_STAT_FIFO_PID_TYPE, val); FIELD_GET 168 drivers/net/wireless/mediatek/mt7601u/mac.c stat.wcid = FIELD_GET(MT_TX_STAT_FIFO_WCID, val); FIELD_GET 169 drivers/net/wireless/mediatek/mt7601u/mac.c stat.rate = FIELD_GET(MT_TX_STAT_FIFO_RATE, val); FIELD_GET 399 drivers/net/wireless/mediatek/mt7601u/mac.c u8 idx = FIELD_GET(MT_RXWI_RATE_MCS, rate); FIELD_GET 401 drivers/net/wireless/mediatek/mt7601u/mac.c switch (FIELD_GET(MT_RXWI_RATE_PHY, rate)) { FIELD_GET 447 drivers/net/wireless/mediatek/mt7601u/mac.c dev->bcn_phy_mode = FIELD_GET(MT_RXWI_RATE_PHY, rate); FIELD_GET 469 drivers/net/wireless/mediatek/mt7601u/mac.c len = FIELD_GET(MT_RXWI_CTL_MPDU_LEN, ctl); FIELD_GET 96 drivers/net/wireless/mediatek/mt7601u/mcu.c if (FIELD_GET(MT_RXD_CMD_INFO_CMD_SEQ, rxfce) == seq && FIELD_GET 97 drivers/net/wireless/mediatek/mt7601u/mcu.c FIELD_GET(MT_RXD_CMD_INFO_EVT_TYPE, rxfce) == CMD_DONE) FIELD_GET 101 drivers/net/wireless/mediatek/mt7601u/mcu.c FIELD_GET(MT_RXD_CMD_INFO_EVT_TYPE, rxfce), FIELD_GET 102 drivers/net/wireless/mediatek/mt7601u/mcu.c seq, FIELD_GET(MT_RXD_CMD_INFO_CMD_SEQ, rxfce)); FIELD_GET 79 drivers/net/wireless/mediatek/mt7601u/phy.c if (FIELD_GET(MT_RF_CSR_CFG_REG_ID, val) == offset && FIELD_GET 80 drivers/net/wireless/mediatek/mt7601u/phy.c FIELD_GET(MT_RF_CSR_CFG_REG_BANK, val) == bank) { FIELD_GET 81 drivers/net/wireless/mediatek/mt7601u/phy.c ret = FIELD_GET(MT_RF_CSR_CFG_DATA, val); FIELD_GET 168 drivers/net/wireless/mediatek/mt7601u/phy.c if (FIELD_GET(MT_BBP_CSR_CFG_REG_NUM, val) == offset) { FIELD_GET 169 drivers/net/wireless/mediatek/mt7601u/phy.c ret = FIELD_GET(MT_BBP_CSR_CFG_VAL, val); FIELD_GET 246 drivers/net/wireless/mediatek/mt7601u/phy.c int bw = FIELD_GET(MT_RXWI_RATE_BW, rate); FIELD_GET 247 drivers/net/wireless/mediatek/mt7601u/phy.c int aux_lna = FIELD_GET(MT_RXWI_ANT_AUX_LNA, rxwi->ant); FIELD_GET 248 drivers/net/wireless/mediatek/mt7601u/phy.c int lna_id = FIELD_GET(MT_RXWI_GAIN_RSSI_LNA_ID, rxwi->gain); FIELD_GET 256 drivers/net/wireless/mediatek/mt7601u/phy.c val -= FIELD_GET(MT_RXWI_GAIN_RSSI_VAL, rxwi->gain); FIELD_GET 937 drivers/net/wireless/mediatek/mt7601u/phy.c curr_pwr = s6_to_int(FIELD_GET(MT_TX_ALC_CFG_1_TEMP_COMP, val)); FIELD_GET 1839 drivers/net/wireless/realtek/rtw88/rtw8822c.c parity_fail = FIELD_GET(GENMASK(31, 16), ofdm_fa_cnt1); FIELD_GET 1840 drivers/net/wireless/realtek/rtw88/rtw8822c.c rate_illegal = FIELD_GET(GENMASK(15, 0), ofdm_fa_cnt2); FIELD_GET 1841 drivers/net/wireless/realtek/rtw88/rtw8822c.c crc8_fail = FIELD_GET(GENMASK(31, 16), ofdm_fa_cnt2); FIELD_GET 1842 drivers/net/wireless/realtek/rtw88/rtw8822c.c crc8_fail_vhta = FIELD_GET(GENMASK(15, 0), ofdm_fa_cnt3); FIELD_GET 1843 drivers/net/wireless/realtek/rtw88/rtw8822c.c mcs_fail = FIELD_GET(GENMASK(15, 0), ofdm_fa_cnt4); FIELD_GET 1844 drivers/net/wireless/realtek/rtw88/rtw8822c.c mcs_fail_vht = FIELD_GET(GENMASK(31, 16), ofdm_fa_cnt4); FIELD_GET 1845 drivers/net/wireless/realtek/rtw88/rtw8822c.c fast_fsync = FIELD_GET(GENMASK(15, 0), ofdm_fa_cnt5); FIELD_GET 1846 drivers/net/wireless/realtek/rtw88/rtw8822c.c sb_search_fail = FIELD_GET(GENMASK(31, 16), ofdm_fa_cnt5); FIELD_GET 2148 drivers/net/wireless/realtek/rtw88/rtw8822c.c band_shift = FIELD_GET(BIT(16), reg); FIELD_GET 2150 drivers/net/wireless/realtek/rtw88/rtw8822c.c dpk_info->dpk_ch = FIELD_GET(0xff, reg); FIELD_GET 2151 drivers/net/wireless/realtek/rtw88/rtw8822c.c dpk_info->dpk_bw = FIELD_GET(0x3000, reg); FIELD_GET 2669 drivers/net/wireless/realtek/rtw88/rtw8822c.c coef_i = FIELD_GET(0x1fff0000, dpk_info->coef[path][addr]); FIELD_GET 2670 drivers/net/wireless/realtek/rtw88/rtw8822c.c coef_q = FIELD_GET(0x1fff, dpk_info->coef[path][addr]); FIELD_GET 169 drivers/pci/controller/dwc/pcie-al.c dev_id_val = FIELD_GET(DEVICE_REV_ID_DEV_ID_MASK, dev_rev_id_val); FIELD_GET 257 drivers/pci/controller/dwc/pcie-uniphier.c reg = FIELD_GET(PCL_RCV_INTX_ALL_STATUS, val); FIELD_GET 123 drivers/perf/arm_smmuv3_pmu.c return FIELD_GET(GENMASK_ULL(_end, _start), \ FIELD_GET 784 drivers/perf/arm_smmuv3_pmu.c smmu_pmu->num_counters = FIELD_GET(SMMU_PMCG_CFGR_NCTR, cfgr) + 1; FIELD_GET 788 drivers/perf/arm_smmuv3_pmu.c reg_size = FIELD_GET(SMMU_PMCG_CFGR_SIZE, cfgr); FIELD_GET 119 drivers/phy/amlogic/phy-meson-g12a-usb3-pcie.c *data = FIELD_GET(PHY_R5_PHY_CR_DATA_OUT, val); FIELD_GET 139 drivers/phy/st/phy-stm32-usbphyc.c clk_rate, FIELD_GET(PLLNDIV, usbphyc_pll), FIELD_GET 140 drivers/phy/st/phy-stm32-usbphyc.c FIELD_GET(PLLFRACIN, usbphyc_pll)); FIELD_GET 421 drivers/phy/st/phy-stm32-usbphyc.c FIELD_GET(MAJREV, version), FIELD_GET(MINREV, version)); FIELD_GET 473 drivers/platform/mellanox/mlxbf-tmfifo.c return FIELD_GET(MLXBF_TMFIFO_RX_STS__COUNT_MASK, sts); FIELD_GET 490 drivers/platform/mellanox/mlxbf-tmfifo.c count = FIELD_GET(MLXBF_TMFIFO_TX_STS__COUNT_MASK, sts); FIELD_GET 1148 drivers/platform/mellanox/mlxbf-tmfifo.c FIELD_GET(MLXBF_TMFIFO_TX_CTL__MAX_ENTRIES_MASK, ctl); FIELD_GET 1160 drivers/platform/mellanox/mlxbf-tmfifo.c FIELD_GET(MLXBF_TMFIFO_RX_CTL__MAX_ENTRIES_MASK, ctl); FIELD_GET 713 drivers/platform/x86/intel_pmc_core.c if (FIELD_GET(LTR_REQ_NONSNOOP, ltr_raw_data)) { FIELD_GET 714 drivers/platform/x86/intel_pmc_core.c scale = FIELD_GET(LTR_DECODED_SCALE, nonsnoop_ltr); FIELD_GET 715 drivers/platform/x86/intel_pmc_core.c val = FIELD_GET(LTR_DECODED_VAL, nonsnoop_ltr); FIELD_GET 719 drivers/platform/x86/intel_pmc_core.c if (FIELD_GET(LTR_REQ_SNOOP, ltr_raw_data)) { FIELD_GET 720 drivers/platform/x86/intel_pmc_core.c scale = FIELD_GET(LTR_DECODED_SCALE, snoop_ltr); FIELD_GET 721 drivers/platform/x86/intel_pmc_core.c val = FIELD_GET(LTR_DECODED_VAL, snoop_ltr); FIELD_GET 151 drivers/pwm/pwm-imx-tpm.c prescale = FIELD_GET(PWM_IMX_TPM_SC_PS, val); FIELD_GET 168 drivers/pwm/pwm-imx-tpm.c state->enabled = FIELD_GET(PWM_IMX_TPM_CnSC_ELS, val) ? true : false; FIELD_GET 195 drivers/pwm/pwm-imx-tpm.c cmod = FIELD_GET(PWM_IMX_TPM_SC_CMOD, val); FIELD_GET 196 drivers/pwm/pwm-imx-tpm.c cur_prescale = FIELD_GET(PWM_IMX_TPM_SC_PS, val); FIELD_GET 378 drivers/pwm/pwm-imx-tpm.c tpm->chip.npwm = FIELD_GET(PWM_IMX_TPM_PARAM_CHAN, val); FIELD_GET 75 drivers/pwm/pwm-imx27.c #define MX3_PWMCR_PRESCALER_GET(x) (FIELD_GET(MX3_PWMCR_PRESCALER, \ FIELD_GET 137 drivers/pwm/pwm-imx27.c switch (FIELD_GET(MX3_PWMCR_POUTC, val)) { FIELD_GET 199 drivers/pwm/pwm-imx27.c fifoav = FIELD_GET(MX3_PWMSR_FIFOAV, sr); FIELD_GET 206 drivers/pwm/pwm-imx27.c if (fifoav == FIELD_GET(MX3_PWMSR_FIFOAV, sr)) FIELD_GET 350 drivers/pwm/pwm-meson.c channel->pre_div = FIELD_GET(MISC_CLK_DIV_MASK, tmp); FIELD_GET 354 drivers/pwm/pwm-meson.c channel->lo = FIELD_GET(PWM_LOW_MASK, value); FIELD_GET 355 drivers/pwm/pwm-meson.c channel->hi = FIELD_GET(PWM_HIGH_MASK, value); FIELD_GET 94 drivers/pwm/pwm-stm32-lp.c if ((FIELD_GET(STM32_LPTIM_PRESC, cfgr) != presc) || FIELD_GET 95 drivers/pwm/pwm-stm32-lp.c (FIELD_GET(STM32_LPTIM_WAVPOL, cfgr) != state->polarity)) { FIELD_GET 170 drivers/pwm/pwm-stm32-lp.c state->enabled = !!FIELD_GET(STM32_LPTIM_ENABLE, val); FIELD_GET 176 drivers/pwm/pwm-stm32-lp.c presc = FIELD_GET(STM32_LPTIM_PRESC, val); FIELD_GET 177 drivers/pwm/pwm-stm32-lp.c state->polarity = FIELD_GET(STM32_LPTIM_WAVPOL, val); FIELD_GET 155 drivers/regulator/stm32-vrefbuf.c ret = FIELD_GET(STM32_VRS, val); FIELD_GET 121 drivers/rtc/rtc-cadence.c tm->tm_sec = bcd2bin(FIELD_GET(CDNS_RTC_TIME_S, reg)); FIELD_GET 122 drivers/rtc/rtc-cadence.c tm->tm_min = bcd2bin(FIELD_GET(CDNS_RTC_TIME_M, reg)); FIELD_GET 123 drivers/rtc/rtc-cadence.c tm->tm_hour = bcd2bin(FIELD_GET(CDNS_RTC_TIME_HR, reg)); FIELD_GET 141 drivers/rtc/rtc-cadence.c tm->tm_mday = bcd2bin(FIELD_GET(CDNS_RTC_CAL_D, reg)); FIELD_GET 142 drivers/rtc/rtc-cadence.c tm->tm_mon = bcd2bin(FIELD_GET(CDNS_RTC_CAL_M, reg)) - 1; FIELD_GET 143 drivers/rtc/rtc-cadence.c tm->tm_year = bcd2bin(FIELD_GET(CDNS_RTC_CAL_Y, reg)) FIELD_GET 144 drivers/rtc/rtc-cadence.c + bcd2bin(FIELD_GET(CDNS_RTC_CAL_C, reg)) * 100 - 1900; FIELD_GET 145 drivers/rtc/rtc-cadence.c tm->tm_wday = bcd2bin(FIELD_GET(CDNS_RTC_CAL_DAY, reg)) - 1; FIELD_GET 211 drivers/rtc/rtc-cadence.c alarm->time.tm_mday = bcd2bin(FIELD_GET(CDNS_RTC_CAL_D, reg)); FIELD_GET 212 drivers/rtc/rtc-cadence.c alarm->time.tm_mon = bcd2bin(FIELD_GET(CDNS_RTC_CAL_M, reg)) - 1; FIELD_GET 144 drivers/scsi/ufs/ufs-sysfs.c int timer = FIELD_GET(UFSHCI_AHIBERN8_TIMER_MASK, ahit); FIELD_GET 145 drivers/scsi/ufs/ufs-sysfs.c int scale = FIELD_GET(UFSHCI_AHIBERN8_SCALE_MASK, ahit); FIELD_GET 777 drivers/scsi/ufs/ufshcd.h return FIELD_GET(UFSHCI_AHIBERN8_TIMER_MASK, hba->ahit) ? true : false; FIELD_GET 75 drivers/soc/amlogic/meson-gx-socinfo.c return FIELD_GET(SOCINFO_MAJOR, socinfo); FIELD_GET 80 drivers/soc/amlogic/meson-gx-socinfo.c return FIELD_GET(SOCINFO_MINOR, socinfo); FIELD_GET 85 drivers/soc/amlogic/meson-gx-socinfo.c return FIELD_GET(SOCINFO_PACK, socinfo); FIELD_GET 90 drivers/soc/amlogic/meson-gx-socinfo.c return FIELD_GET(SOCINFO_MISC, socinfo); FIELD_GET 144 drivers/spi/spi-meson-spicc.c return !!FIELD_GET(SPICC_TF, FIELD_GET 150 drivers/spi/spi-meson-spicc.c return FIELD_GET(SPICC_RH | SPICC_RR | SPICC_RF_EN, FIELD_GET 144 drivers/staging/iio/cdc/ad7150.c threshtype = FIELD_GET(AD7150_THRESHTYPE_MSK, ret); FIELD_GET 147 drivers/staging/iio/cdc/ad7150.c thrfixed = FIELD_GET(AD7150_CFG_FIX, ret); FIELD_GET 587 net/mac80211/rx.c FIELD_GET(RX_ENC_FLAG_STBC_MASK, FIELD_GET 825 net/mac80211/sta_info.h #define STA_STATS_GET(_n, _v) FIELD_GET(STA_STATS_FIELD_ ## _n, _v) FIELD_GET 81 sound/soc/meson/axg-spdifin.c mode = FIELD_GET(SPDIFIN_STAT0_MODE, stat); FIELD_GET 88 sound/soc/meson/axg-spdifin.c if (FIELD_GET(SPDIFIN_STAT0_MAXW, stat) && FIELD_GET 935 sound/soc/stm/stm32_i2s.c if (!FIELD_GET(I2S_HWCFGR_I2S_SUPPORT_MASK, val)) { FIELD_GET 944 sound/soc/stm/stm32_i2s.c FIELD_GET(I2S_VERR_MAJ_MASK, val), FIELD_GET 945 sound/soc/stm/stm32_i2s.c FIELD_GET(I2S_VERR_MIN_MASK, val)); FIELD_GET 98 sound/soc/stm/stm32_sai.c prev_synco = FIELD_GET(SAI_GCR_SYNCOUT_MASK, readl_relaxed(sai->base)); FIELD_GET 214 sound/soc/stm/stm32_sai.c val = FIELD_GET(SAI_IDR_ID_MASK, FIELD_GET 218 sound/soc/stm/stm32_sai.c sai->conf.fifo_size = FIELD_GET(SAI_HWCFGR_FIFO_SIZE, val); FIELD_GET 219 sound/soc/stm/stm32_sai.c sai->conf.has_spdif_pdm = !!FIELD_GET(SAI_HWCFGR_SPDIF_PDM, FIELD_GET 226 sound/soc/stm/stm32_sai.c FIELD_GET(SAI_VERR_MAJ_MASK, val), FIELD_GET 227 sound/soc/stm/stm32_sai.c FIELD_GET(SAI_VERR_MIN_MASK, val)); FIELD_GET 40 sound/soc/stm/stm32_sai.h #define SAI_GCR_SYNCIN_MAX FIELD_GET(SAI_GCR_SYNCIN_MASK,\ FIELD_GET 1002 sound/soc/stm/stm32_spdifrx.c FIELD_GET(SPDIFRX_VERR_MAJ_MASK, ver), FIELD_GET 1003 sound/soc/stm/stm32_spdifrx.c FIELD_GET(SPDIFRX_VERR_MIN_MASK, ver)); FIELD_GET 730 sound/soc/uniphier/aio-core.c return FIELD_GET(OPORTMXTYVOLGAINSTATUS_CUR_MASK, v); FIELD_GET 1068 sound/soc/uniphier/aio-core.c pos_u = FIELD_GET(CDA2D_RBMXPTRU_PTRU_MASK, pos_u); FIELD_GET 1101 sound/soc/uniphier/aio-core.c pos_u = FIELD_GET(CDA2D_RBMXPTRU_PTRU_MASK, pos_u);