_SHIFT 163 arch/arm/include/uapi/asm/kvm.h (((x) << KVM_REG_ARM_ ## n ## _SHIFT) & KVM_REG_ARM_ ## n ## _MASK) _SHIFT 272 arch/arm/mach-omap2/id.c >> OMAP3_ ##feat## _SHIFT) != FEAT_ ##feat## _NONE) { \ _SHIFT 26 arch/arm64/include/asm/image.h (((flags) >> field##_SHIFT) & field##_MASK) _SHIFT 204 arch/arm64/include/uapi/asm/kvm.h (((x) << KVM_REG_ARM64_SYSREG_ ## n ## _SHIFT) & \ _SHIFT 42 arch/arm64/kernel/image.h ARM64_IMAGE_FLAG_##field##_SHIFT) _SHIFT 21 arch/m68k/include/asm/MC68328.h #define PUT_FIELD(field, val) (((val) << field##_SHIFT) & field##_MASK) _SHIFT 22 arch/m68k/include/asm/MC68328.h #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) _SHIFT 22 arch/m68k/include/asm/MC68EZ328.h #define PUT_FIELD(field, val) (((val) << field##_SHIFT) & field##_MASK) _SHIFT 23 arch/m68k/include/asm/MC68EZ328.h #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) _SHIFT 24 arch/m68k/include/asm/MC68VZ328.h #define PUT_FIELD(field, val) (((val) << field##_SHIFT) & field##_MASK) _SHIFT 25 arch/m68k/include/asm/MC68VZ328.h #define GET_FIELD(reg, field) (((reg) & field##_MASK) >> field##_SHIFT) _SHIFT 26 arch/mips/include/asm/mach-pnx833x/pnx833x.h PNX##cpu##_##reg##_##field##_SHIFT) _SHIFT 39 arch/mips/include/asm/mach-pnx833x/pnx833x.h ((val) << PNX##cpu##_##reg##_##field##_SHIFT)) _SHIFT 22 arch/riscv/include/asm/image.h RISCV_IMAGE_FLAG_##field##_SHIFT) _SHIFT 40 drivers/clk/clk-nspire.c #define EXTRACT(var, prop) (((var)>>prop##_SHIFT) & prop##_MASK) _SHIFT 47 drivers/crypto/caam/dpseci_cmd.h GENMASK(DPSECI_##field##_SHIFT + DPSECI_##field##_SIZE - 1, \ _SHIFT 48 drivers/crypto/caam/dpseci_cmd.h DPSECI_##field##_SHIFT) _SHIFT 51 drivers/crypto/caam/dpseci_cmd.h ((var) |= (((val) << DPSECI_##field##_SHIFT) & DPSECI_MASK(field))) _SHIFT 54 drivers/crypto/caam/dpseci_cmd.h (((var) & DPSECI_MASK(field)) >> DPSECI_##field##_SHIFT) _SHIFT 1069 drivers/gpu/drm/amd/amdgpu/amdgpu.h #define REG_SET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) _SHIFT 1070 drivers/gpu/drm/amd/amdgpu/amdgpu.h #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) _SHIFT 55 drivers/gpu/drm/amd/display/dc/bios/bios_parser_helper.c ATOM_ ## field_name ## _SHIFT, ATOM_ ## field_name _SHIFT 1280 drivers/gpu/drm/gma500/psb_intel_reg.h #define SET_FIELD(value, field) (((value) << field ## _SHIFT) & field ## _MASK) _SHIFT 1281 drivers/gpu/drm/gma500/psb_intel_reg.h #define GET_FIELD(word, field) (((word) & field ## _MASK) >> field ## _SHIFT) _SHIFT 529 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h (((m) & INTEL_GUC_MSG_ ## T ## _MASK) >> INTEL_GUC_MSG_ ## T ## _SHIFT) _SHIFT 368 drivers/gpu/drm/i915/intel_pm.c (((value) << DSPFW_ ## plane ## _SHIFT) & DSPFW_ ## plane ## _MASK) _SHIFT 979 drivers/gpu/drm/i915/intel_pm.c (((value) << DSPFW_ ## plane ## _SHIFT) & DSPFW_ ## plane ## _MASK_VLV) _SHIFT 5880 drivers/gpu/drm/i915/intel_pm.c (((value) & DSPFW_ ## plane ## _MASK) >> DSPFW_ ## plane ## _SHIFT) _SHIFT 5882 drivers/gpu/drm/i915/intel_pm.c (((value) & DSPFW_ ## plane ## _MASK_VLV) >> DSPFW_ ## plane ## _SHIFT) _SHIFT 2518 drivers/gpu/drm/radeon/radeon.h #define REG_SET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) _SHIFT 2519 drivers/gpu/drm/radeon/radeon.h #define REG_GET(FIELD, v) (((v) << FIELD##_SHIFT) & FIELD##_MASK) _SHIFT 13 drivers/gpu/drm/v3d/v3d_regs.h u32 fieldval = (value) << field##_SHIFT; \ _SHIFT 19 drivers/gpu/drm/v3d/v3d_regs.h field##_SHIFT) _SHIFT 211 drivers/gpu/drm/vc4/vc4_qpu_defines.h ((uint32_t)(((word) & field ## _MASK) >> field ## _SHIFT)) _SHIFT 15 drivers/gpu/drm/vc4/vc4_regs.h uint32_t fieldval = (value) << field##_SHIFT; \ _SHIFT 21 drivers/gpu/drm/vc4/vc4_regs.h field##_SHIFT) _SHIFT 189 drivers/hwmon/adt7462.c (((value) & prefix##_MASK) >> prefix##_SHIFT) _SHIFT 212 drivers/infiniband/hw/hfi1/chip.c ((u64)(sc0val) << SEND_SC2VLT##num##_SC##sc0##_SHIFT) | \ _SHIFT 213 drivers/infiniband/hw/hfi1/chip.c ((u64)(sc1val) << SEND_SC2VLT##num##_SC##sc1##_SHIFT) | \ _SHIFT 214 drivers/infiniband/hw/hfi1/chip.c ((u64)(sc2val) << SEND_SC2VLT##num##_SC##sc2##_SHIFT) | \ _SHIFT 215 drivers/infiniband/hw/hfi1/chip.c ((u64)(sc3val) << SEND_SC2VLT##num##_SC##sc3##_SHIFT) | \ _SHIFT 216 drivers/infiniband/hw/hfi1/chip.c ((u64)(sc4val) << SEND_SC2VLT##num##_SC##sc4##_SHIFT) | \ _SHIFT 217 drivers/infiniband/hw/hfi1/chip.c ((u64)(sc5val) << SEND_SC2VLT##num##_SC##sc5##_SHIFT) | \ _SHIFT 218 drivers/infiniband/hw/hfi1/chip.c ((u64)(sc6val) << SEND_SC2VLT##num##_SC##sc6##_SHIFT) | \ _SHIFT 219 drivers/infiniband/hw/hfi1/chip.c ((u64)(sc7val) << SEND_SC2VLT##num##_SC##sc7##_SHIFT) \ _SHIFT 241 drivers/infiniband/hw/hfi1/chip.c ((u64)(e0val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e0##_SHIFT) | \ _SHIFT 242 drivers/infiniband/hw/hfi1/chip.c ((u64)(e1val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e1##_SHIFT) | \ _SHIFT 243 drivers/infiniband/hw/hfi1/chip.c ((u64)(e2val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e2##_SHIFT) | \ _SHIFT 244 drivers/infiniband/hw/hfi1/chip.c ((u64)(e3val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e3##_SHIFT) | \ _SHIFT 245 drivers/infiniband/hw/hfi1/chip.c ((u64)(e4val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e4##_SHIFT) | \ _SHIFT 246 drivers/infiniband/hw/hfi1/chip.c ((u64)(e5val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e5##_SHIFT) | \ _SHIFT 247 drivers/infiniband/hw/hfi1/chip.c ((u64)(e6val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e6##_SHIFT) | \ _SHIFT 248 drivers/infiniband/hw/hfi1/chip.c ((u64)(e7val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e7##_SHIFT) | \ _SHIFT 249 drivers/infiniband/hw/hfi1/chip.c ((u64)(e8val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e8##_SHIFT) | \ _SHIFT 250 drivers/infiniband/hw/hfi1/chip.c ((u64)(e9val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e9##_SHIFT) | \ _SHIFT 251 drivers/infiniband/hw/hfi1/chip.c ((u64)(e10val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e10##_SHIFT) | \ _SHIFT 252 drivers/infiniband/hw/hfi1/chip.c ((u64)(e11val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e11##_SHIFT) | \ _SHIFT 253 drivers/infiniband/hw/hfi1/chip.c ((u64)(e12val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e12##_SHIFT) | \ _SHIFT 254 drivers/infiniband/hw/hfi1/chip.c ((u64)(e13val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e13##_SHIFT) | \ _SHIFT 255 drivers/infiniband/hw/hfi1/chip.c ((u64)(e14val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e14##_SHIFT) | \ _SHIFT 256 drivers/infiniband/hw/hfi1/chip.c ((u64)(e15val) << DCC_CFG_SC_VL_TABLE_##range##_ENTRY##e15##_SHIFT) \ _SHIFT 61 drivers/infiniband/hw/hfi1/exp_rcv.h (((tid) >> EXP_TID_TID##field##_SHIFT) & EXP_TID_TID##field##_MASK) _SHIFT 65 drivers/infiniband/hw/hfi1/exp_rcv.h EXP_TID_TID##field##_SHIFT) _SHIFT 68 drivers/infiniband/hw/hfi1/exp_rcv.h EXP_TID_TID##field##_SHIFT); \ _SHIFT 101 drivers/infiniband/hw/hfi1/exp_rcv.h (((le32_to_cpu((val))) >> KDETH_##field##_SHIFT) & KDETH_##field##_MASK) _SHIFT 104 drivers/infiniband/hw/hfi1/exp_rcv.h dwval &= ~(KDETH_##field##_MASK << KDETH_##field##_SHIFT); \ _SHIFT 106 drivers/infiniband/hw/hfi1/exp_rcv.h KDETH_##field##_SHIFT); \ _SHIFT 168 drivers/infiniband/hw/hfi1/file_ops.c (((val) & HFI1_MMAP_##field##_MASK) << HFI1_MMAP_##field##_SHIFT) _SHIFT 170 drivers/infiniband/hw/hfi1/file_ops.c (((token) >> HFI1_MMAP_##field##_SHIFT) & HFI1_MMAP_##field##_MASK) _SHIFT 88 drivers/infiniband/hw/i40iw/i40iw_d.h #define LS_64(val, field) (((u64)val << field ## _SHIFT) & (field ## _MASK)) _SHIFT 90 drivers/infiniband/hw/i40iw/i40iw_d.h #define RS_64(val, field) ((u64)(val & field ## _MASK) >> field ## _SHIFT) _SHIFT 91 drivers/infiniband/hw/i40iw/i40iw_d.h #define LS_32(val, field) ((val << field ## _SHIFT) & (field ## _MASK)) _SHIFT 92 drivers/infiniband/hw/i40iw/i40iw_d.h #define RS_32(val, field) ((val & field ## _MASK) >> field ## _SHIFT) _SHIFT 494 drivers/infiniband/hw/qedr/qedr.h #define SET_FIELD2(value, name, flag) ((value) |= ((flag) << (name ## _SHIFT))) _SHIFT 18 drivers/iommu/fsl_pamu.h #define set_bf(v, m, x) (v = ((v) & ~(m)) | (((x) << m##_SHIFT) & (m))) _SHIFT 19 drivers/iommu/fsl_pamu.h #define get_bf(v, m) (((v) & (m)) >> m##_SHIFT) _SHIFT 24 drivers/iommu/msm_iommu_hw-8xxx.h #define GET_GLOBAL_FIELD(b, r, F) GET_FIELD(((b) + (r)), F##_MASK, F##_SHIFT) _SHIFT 26 drivers/iommu/msm_iommu_hw-8xxx.h GET_FIELD(((b) + (r) + ((c) << CTX_SHIFT)), F##_MASK, F##_SHIFT) _SHIFT 29 drivers/iommu/msm_iommu_hw-8xxx.h SET_FIELD(((b) + (r)), F##_MASK, F##_SHIFT, (v)) _SHIFT 31 drivers/iommu/msm_iommu_hw-8xxx.h SET_FIELD(((b) + (r) + ((c) << CTX_SHIFT)), F##_MASK, F##_SHIFT, (v)) _SHIFT 1078 drivers/irqchip/irq-gic-v3.c << ICC_SGI1R_AFFINITY_## level ##_SHIFT) _SHIFT 129 drivers/media/radio/radio-gemtek.c BU2614_##field##_SHIFT) _SHIFT 145 drivers/media/radio/radio-gemtek.c ((dev)->bu2614data & ~field##_MASK) | ((data) << field##_SHIFT)) _SHIFT 1049 drivers/misc/habanalabs/habanalabs.h #define REG_FIELD_SHIFT(reg, field) reg##_##field##_SHIFT _SHIFT 457 drivers/net/ethernet/atheros/alx/hw.h (((_data) >> _field ## _SHIFT) & _field ## _MASK) _SHIFT 460 drivers/net/ethernet/atheros/alx/hw.h (_data) &= ~(_field ## _MASK << _field ## _SHIFT); \ _SHIFT 461 drivers/net/ethernet/atheros/alx/hw.h (_data) |= ((_value) & _field ## _MASK) << _field ## _SHIFT;\ _SHIFT 15 drivers/net/ethernet/atheros/atl1c/atl1c_hw.h #define FIELD_GETX(_x, _name) ((_x) >> (_name##_SHIFT) & (_name##_MASK)) _SHIFT 17 drivers/net/ethernet/atheros/atl1c/atl1c_hw.h (((_x) & ~((_name##_MASK) << (_name##_SHIFT))) |\ _SHIFT 18 drivers/net/ethernet/atheros/atl1c/atl1c_hw.h (((_v) & (_name##_MASK)) << (_name##_SHIFT))) _SHIFT 19 drivers/net/ethernet/atheros/atl1c/atl1c_hw.h #define FIELDX(_name, _v) (((_v) & (_name##_MASK)) << (_name##_SHIFT)) _SHIFT 2494 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h (value) |= ((flag) << (mask##_SHIFT));\ _SHIFT 2498 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h (((value) & (mask)) >> (mask##_SHIFT)) _SHIFT 2501 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h (((value) & (fname##_MASK)) >> (fname##_SHIFT)) _SHIFT 91 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h GENMASK(DPNI_##field##_SHIFT + DPNI_##field##_SIZE - 1, \ _SHIFT 92 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h DPNI_##field##_SHIFT) _SHIFT 95 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h ((var) |= (((val) << DPNI_##field##_SHIFT) & DPNI_MASK(field))) _SHIFT 97 drivers/net/ethernet/freescale/dpaa2/dpni-cmd.h (((var) & DPNI_MASK(field)) >> DPNI_##field##_SHIFT) _SHIFT 21 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_PI_##member##_SHIFT) _SHIFT 25 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h << HINIC_API_CMD_PI_##member##_SHIFT))) _SHIFT 33 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_CHAIN_REQ_##member##_SHIFT) _SHIFT 36 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h (((val) >> HINIC_API_CMD_CHAIN_REQ_##member##_SHIFT) & \ _SHIFT 41 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h << HINIC_API_CMD_CHAIN_REQ_##member##_SHIFT))) _SHIFT 59 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_CHAIN_CTRL_##member##_SHIFT) _SHIFT 63 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h << HINIC_API_CMD_CHAIN_CTRL_##member##_SHIFT))) _SHIFT 77 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_CELL_CTRL_##member##_SHIFT) _SHIFT 95 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h HINIC_API_CMD_DESC_##member##_SHIFT) _SHIFT 102 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h (((val) >> HINIC_API_CMD_STATUS_HEADER_##member##_SHIFT) & \ _SHIFT 112 drivers/net/ethernet/huawei/hinic/hinic_hw_api_cmd.h (((val) >> HINIC_API_CMD_STATUS_##member##_SHIFT) & \ _SHIFT 39 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c (((val) >> CMDQ_CEQE_##member##_SHIFT) \ _SHIFT 47 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.c (((val) >> CMDQ_WQE_ERRCODE_##member##_SHIFT) \ _SHIFT 32 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_CMDQ_CTXT_##member##_SHIFT) _SHIFT 36 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_CMDQ_CTXT_##member##_SHIFT))) _SHIFT 46 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_CMDQ_CTXT_##member##_SHIFT) _SHIFT 50 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_CMDQ_CTXT_##member##_SHIFT))) _SHIFT 58 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_SAVED_DATA_##member##_SHIFT) _SHIFT 61 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h (((val) >> HINIC_SAVED_DATA_##member##_SHIFT) \ _SHIFT 66 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_SAVED_DATA_##member##_SHIFT))) _SHIFT 80 drivers/net/ethernet/huawei/hinic/hinic_hw_cmdq.h << HINIC_CMDQ_DB_INFO_##member##_SHIFT) _SHIFT 31 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_AEQ_CTRL_0_##member##_SHIFT) _SHIFT 35 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h << HINIC_AEQ_CTRL_0_##member##_SHIFT))) _SHIFT 47 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_AEQ_CTRL_1_##member##_SHIFT) _SHIFT 51 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h << HINIC_AEQ_CTRL_1_##member##_SHIFT))) _SHIFT 67 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_CEQ_CTRL_0_##member##_SHIFT) _SHIFT 71 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h << HINIC_CEQ_CTRL_0_##member##_SHIFT))) _SHIFT 81 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_CEQ_CTRL_1_##member##_SHIFT) _SHIFT 85 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h << HINIC_CEQ_CTRL_1_##member##_SHIFT))) _SHIFT 99 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_EQ_ELEM_DESC_##member##_SHIFT) _SHIFT 102 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h (((val) >> HINIC_EQ_ELEM_DESC_##member##_SHIFT) & \ _SHIFT 117 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h HINIC_EQ_CI_##member##_SHIFT) _SHIFT 121 drivers/net/ethernet/huawei/hinic/hinic_hw_eqs.h << HINIC_EQ_CI_##member##_SHIFT))) _SHIFT 29 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h HINIC_DMA_ATTR_##member##_SHIFT) _SHIFT 33 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h << HINIC_DMA_ATTR_##member##_SHIFT))) _SHIFT 47 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((val) >> HINIC_FA0_##member##_SHIFT) & HINIC_FA0_##member##_MASK) _SHIFT 65 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((val) >> HINIC_FA1_##member##_SHIFT) & HINIC_FA1_##member##_MASK) _SHIFT 74 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((val) >> HINIC_FA4_##member##_SHIFT) & HINIC_FA4_##member##_MASK) _SHIFT 77 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h ((((u32)val) & HINIC_FA4_##member##_MASK) << HINIC_FA4_##member##_SHIFT) _SHIFT 80 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h ((val) & (~(HINIC_FA4_##member##_MASK << HINIC_FA4_##member##_SHIFT))) _SHIFT 86 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((u32)(val) & HINIC_FA5_##member##_MASK) << HINIC_FA5_##member##_SHIFT) _SHIFT 89 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h ((val) & (~(HINIC_FA5_##member##_MASK << HINIC_FA5_##member##_SHIFT))) _SHIFT 96 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h HINIC_PPF_ELECTION_##member##_SHIFT) _SHIFT 99 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((val) >> HINIC_PPF_ELECTION_##member##_SHIFT) & \ _SHIFT 104 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h << HINIC_PPF_ELECTION_##member##_SHIFT))) _SHIFT 120 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h HINIC_MSIX_##member##_SHIFT) _SHIFT 123 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h (((val) >> HINIC_MSIX_##member##_SHIFT) & \ _SHIFT 132 drivers/net/ethernet/huawei/hinic/hinic_hw_if.h HINIC_MSIX_CNT_##member##_SHIFT) _SHIFT 48 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h HINIC_MSG_HEADER_##member##_SHIFT) _SHIFT 51 drivers/net/ethernet/huawei/hinic/hinic_hw_mgmt.h (((val) >> HINIC_MSG_HEADER_##member##_SHIFT) & \ _SHIFT 36 drivers/net/ethernet/huawei/hinic/hinic_hw_qp.h << HINIC_SQ_DB_INFO_##member##_SHIFT) _SHIFT 22 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_SQ_CTXT_CEQ_ATTR_##member##_SHIFT) _SHIFT 32 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_SQ_CTXT_CI_##member##_SHIFT) _SHIFT 42 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_SQ_CTXT_WQ_PAGE_##member##_SHIFT) _SHIFT 60 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_SQ_CTXT_PREF_##member##_SHIFT) _SHIFT 68 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_SQ_CTXT_WQ_BLOCK_##member##_SHIFT) _SHIFT 78 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h << HINIC_RQ_CTXT_CEQ_ATTR_##member##_SHIFT) _SHIFT 88 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h HINIC_RQ_CTXT_PI_##member##_SHIFT) _SHIFT 98 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h HINIC_RQ_CTXT_WQ_PAGE_##member##_SHIFT) _SHIFT 116 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h HINIC_RQ_CTXT_PREF_##member##_SHIFT) _SHIFT 124 drivers/net/ethernet/huawei/hinic/hinic_hw_qp_ctxt.h HINIC_RQ_CTXT_WQ_BLOCK_##member##_SHIFT) _SHIFT 26 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h << HINIC_CMDQ_CTRL_##member##_SHIFT) _SHIFT 29 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((val) >> HINIC_CMDQ_CTRL_##member##_SHIFT) \ _SHIFT 50 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h << HINIC_CMDQ_WQE_HEADER_##member##_SHIFT) _SHIFT 53 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((val) >> HINIC_CMDQ_WQE_HEADER_##member##_SHIFT) \ _SHIFT 86 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h << HINIC_SQ_CTRL_##member##_SHIFT) _SHIFT 89 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((val) >> HINIC_SQ_CTRL_##member##_SHIFT) \ _SHIFT 94 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h << HINIC_SQ_CTRL_##member##_SHIFT))) _SHIFT 116 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_SQ_TASK_INFO0_##member##_SHIFT) _SHIFT 130 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_SQ_TASK_INFO1_##member##_SHIFT) _SHIFT 148 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_SQ_TASK_INFO2_##member##_SHIFT) _SHIFT 158 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_SQ_TASK_INFO4_##member##_SHIFT) _SHIFT 169 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((val) >> HINIC_RQ_CQE_STATUS_##member##_SHIFT) & \ _SHIFT 174 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_RQ_CQE_STATUS_##member##_SHIFT))) _SHIFT 181 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((val) >> HINIC_RQ_CQE_SGE_##member##_SHIFT) & \ _SHIFT 196 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h HINIC_RQ_CTRL_##member##_SHIFT) _SHIFT 217 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h RQ_CQE_STATUS_##member##_SHIFT) & \ _SHIFT 229 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h RQ_CQE_OFFOLAD_TYPE_##member##_SHIFT) & \ _SHIFT 242 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h RQ_CQE_SGE_##member##_SHIFT) & \ _SHIFT 259 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) & 0x1) << HINIC_RSS_TYPE_##member##_SHIFT) _SHIFT 262 drivers/net/ethernet/huawei/hinic/hinic_hw_wqe.h (((u32)(val) >> HINIC_RSS_TYPE_##member##_SHIFT) & 0x1) _SHIFT 124 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h (((u32)(value) & FM10K_MSG_HDR_MASK(name)) << FM10K_MSG_##name##_SHIFT) _SHIFT 126 drivers/net/ethernet/intel/fm10k/fm10k_mbx.h ((u16)((value) >> FM10K_MSG_##name##_SHIFT) & FM10K_MSG_HDR_MASK(name)) _SHIFT 100 drivers/net/ethernet/qlogic/qed/qed.h (((name) & (field ## _MASK)) >> (field ## _SHIFT)) _SHIFT 105 drivers/net/ethernet/qlogic/qed/qed.h (name) |= (((value) << (field ## _SHIFT)) & (field ## _MASK));\ _SHIFT 2558 drivers/net/ethernet/sun/cassini.h #define CAS_BASE(x, y) (((y) << (x ## _SHIFT)) & (x ## _MASK)) _SHIFT 2559 drivers/net/ethernet/sun/cassini.h #define CAS_VAL(x, y) (((y) & (x ## _MASK)) >> (x ## _SHIFT)) _SHIFT 239 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_IF_FLAGS_ ## field ## _SHIFT, (value)) _SHIFT 243 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_IF_FLAGS_ ## field ## _SHIFT) _SHIFT 274 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_TAG_ ## field ## _SHIFT, (value)) _SHIFT 278 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_TAG_ ## field ## _SHIFT) _SHIFT 290 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_SEQ_ ## field ## _SHIFT, (value)) _SHIFT 294 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_SKB_HTOD_SEQ_ ## field ## _SHIFT) _SHIFT 309 drivers/net/wireless/broadcom/brcm80211/brcmfmac/fwsignal.c BRCMF_FWS_TXSTAT_ ## field ## _SHIFT) _SHIFT 962 drivers/pinctrl/bcm/pinctrl-bcm281xx.c (BCM281XX_ ## type ## _PIN_REG_ ## param ## _SHIFT) _SHIFT 53 drivers/pinctrl/cirrus/pinctrl-lochnagar.c .shift = LOCHNAGAR##REV##_##SHIFT##_SHIFT, .invert = INVERT, \ _SHIFT 126 drivers/pinctrl/pinctrl-st.c ((conf >> ST_PINCONF_ ##param ##_SHIFT) \ _SHIFT 131 drivers/pinctrl/pinctrl-st.c ST_PINCONF_ ##param ##_SHIFT)) _SHIFT 336 drivers/power/supply/bq24190_charger.c .shift = BQ24190_REG_##r##_##f##_SHIFT, \ _SHIFT 179 drivers/scsi/isci/registers.h (((value) << name ## _SHIFT) & (name ## _MASK)) _SHIFT 175 drivers/scsi/lpfc/lpfc_bsg.h ((le32_to_cpu((ptr)->name##_WORD) >> name##_SHIFT) & name##_MASK) _SHIFT 177 drivers/scsi/lpfc/lpfc_bsg.h (((ptr)->name##_WORD >> name##_SHIFT) & name##_MASK) _SHIFT 180 drivers/scsi/lpfc/lpfc_bsg.h name##_MASK) << name##_SHIFT) | (le32_to_cpu((ptr)->name##_WORD) & \ _SHIFT 181 drivers/scsi/lpfc/lpfc_bsg.h ~(name##_MASK << name##_SHIFT))))) _SHIFT 183 drivers/scsi/lpfc/lpfc_bsg.h ((ptr)->name##_WORD = ((((value) & name##_MASK) << name##_SHIFT) | \ _SHIFT 184 drivers/scsi/lpfc/lpfc_bsg.h ((ptr)->name##_WORD & ~(name##_MASK << name##_SHIFT)))) _SHIFT 47 drivers/scsi/lpfc/lpfc_hw4.h ((be32_to_cpu((ptr)->name##_WORD) >> name##_SHIFT) & name##_MASK) _SHIFT 49 drivers/scsi/lpfc/lpfc_hw4.h ((le32_to_cpu((ptr)->name##_WORD) >> name##_SHIFT) & name##_MASK) _SHIFT 51 drivers/scsi/lpfc/lpfc_hw4.h (((ptr)->name##_WORD >> name##_SHIFT) & name##_MASK) _SHIFT 54 drivers/scsi/lpfc/lpfc_hw4.h name##_MASK) << name##_SHIFT) | (le32_to_cpu((ptr)->name##_WORD) & \ _SHIFT 55 drivers/scsi/lpfc/lpfc_hw4.h ~(name##_MASK << name##_SHIFT))))) _SHIFT 57 drivers/scsi/lpfc/lpfc_hw4.h ((ptr)->name##_WORD = ((((value) & name##_MASK) << name##_SHIFT) | \ _SHIFT 58 drivers/scsi/lpfc/lpfc_hw4.h ((ptr)->name##_WORD & ~(name##_MASK << name##_SHIFT)))) _SHIFT 74 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h GENMASK(DPSW_##field##_SHIFT + DPSW_##field##_SIZE - 1, \ _SHIFT 75 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h DPSW_##field##_SHIFT) _SHIFT 77 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h ((var) |= (((val) << DPSW_##field##_SHIFT) & DPSW_MASK(field))) _SHIFT 79 drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.h (((var) & DPSW_MASK(field)) >> DPSW_##field##_SHIFT) _SHIFT 43 drivers/staging/most/net/net.c (((value) >> bitset_name##_SHIFT) & bitset_name##_MASK) _SHIFT 1169 include/linux/qed/qed_if.h ((_value & _name ## _MASK) << _name ## _SHIFT) _SHIFT 1173 include/linux/qed/qed_if.h (value) &= ~(name ## _MASK << name ## _SHIFT); \ _SHIFT 1174 include/linux/qed/qed_if.h (value) |= (((u64)flag) << (name ## _SHIFT)); \ _SHIFT 1178 include/linux/qed/qed_if.h (((value) >> (name ## _SHIFT)) & name ## _MASK) _SHIFT 351 include/uapi/drm/amdgpu_drm.h (((__u64)(value) & AMDGPU_TILING_##field##_MASK) << AMDGPU_TILING_##field##_SHIFT) _SHIFT 353 include/uapi/drm/amdgpu_drm.h (((__u64)(value) >> AMDGPU_TILING_##field##_SHIFT) & AMDGPU_TILING_##field##_MASK) _SHIFT 1152 include/uapi/linux/perf_event.h (((__u64)PERF_MEM_##a##_##s) << PERF_MEM_##a##_SHIFT) _SHIFT 201 net/core/pktgen.c #define pf(flag) flag##_SHIFT, _SHIFT 208 net/core/pktgen.c #define pf(flag) static const __u32 F_##flag = (1<<flag##_SHIFT); _SHIFT 163 tools/arch/arm/include/uapi/asm/kvm.h (((x) << KVM_REG_ARM_ ## n ## _SHIFT) & KVM_REG_ARM_ ## n ## _MASK) _SHIFT 204 tools/arch/arm64/include/uapi/asm/kvm.h (((x) << KVM_REG_ARM64_SYSREG_ ## n ## _SHIFT) & \ _SHIFT 1152 tools/include/uapi/linux/perf_event.h (((__u64)PERF_MEM_##a##_##s) << PERF_MEM_##a##_SHIFT) _SHIFT 149 tools/perf/util/parse-events.c ((config & PERF_EVENT_##name##_MASK) >> PERF_EVENT_##name##_SHIFT) _SHIFT 870 virt/kvm/arm/vgic/vgic-mmio-v3.c >> ICC_SGI1R_AFFINITY_## level ##_SHIFT) << MPIDR_LEVEL_SHIFT(level)) _SHIFT 33 virt/kvm/arm/vgic/vgic.h >> VGIC_AFFINITY_## level ##_SHIFT) << MPIDR_LEVEL_SHIFT(level))