__bf_shf 163 drivers/gpu/drm/i915/i915_reg.h ((u32)((((typeof(__mask))(__val) << __bf_shf(__mask)) & (__mask)) + \ __bf_shf 166 drivers/gpu/drm/i915/i915_reg.h BUILD_BUG_ON_ZERO(!IS_POWER_OF_2((__mask) + (1ULL << __bf_shf(__mask)))) + \ __bf_shf 167 drivers/gpu/drm/i915/i915_reg.h BUILD_BUG_ON_ZERO(__builtin_choose_expr(__is_constexpr(__val), (~((__mask) >> __bf_shf(__mask)) & (__val)), 0)))) __bf_shf 62 drivers/net/dsa/mv88e6xxx/global1.c int bit = __bf_shf(MV88E6352_G1_STS_PPU_STATE); __bf_shf 69 drivers/net/dsa/mv88e6xxx/global1.c int bit = __bf_shf(MV88E6XXX_G1_STS_INIT_READY); __bf_shf 278 drivers/net/dsa/mv88e6xxx/global1.c reg |= port << __bf_shf(MV88E6185_G1_MONITOR_CTL_INGRESS_DEST_MASK) | __bf_shf 279 drivers/net/dsa/mv88e6xxx/global1.c port << __bf_shf(MV88E6185_G1_MONITOR_CTL_EGRESS_DEST_MASK); __bf_shf 298 drivers/net/dsa/mv88e6xxx/global1.c reg |= port << __bf_shf(MV88E6185_G1_MONITOR_CTL_ARP_DEST_MASK); __bf_shf 397 drivers/net/dsa/mv88e6xxx/global1.c return mv88e6xxx_g1_ctl2_mask(chip, mask, port << __bf_shf(mask)); __bf_shf 436 drivers/net/dsa/mv88e6xxx/global1.c int bit = __bf_shf(MV88E6XXX_G1_STATS_OP_BUSY); __bf_shf 80 drivers/net/dsa/mv88e6xxx/global1_atu.c int bit = __bf_shf(MV88E6XXX_G1_ATU_OP_BUSY); __bf_shf 71 drivers/net/dsa/mv88e6xxx/global1_vtu.c int bit = __bf_shf(MV88E6XXX_G1_VTU_OP_BUSY); __bf_shf 181 drivers/net/dsa/mv88e6xxx/global2.c int bit = __bf_shf(MV88E6XXX_G2_IRL_CMD_BUSY); __bf_shf 218 drivers/net/dsa/mv88e6xxx/global2.c int bit = __bf_shf(MV88E6XXX_G2_PVT_ADDR_BUSY); __bf_shf 315 drivers/net/dsa/mv88e6xxx/global2.c int bit = __bf_shf(MV88E6XXX_G2_EEPROM_CMD_BUSY); __bf_shf 322 drivers/net/dsa/mv88e6xxx/global2.c bit = __bf_shf(MV88E6XXX_G2_EEPROM_CMD_RUNNING); __bf_shf 586 drivers/net/dsa/mv88e6xxx/global2.c int bit = __bf_shf(MV88E6XXX_G2_SMI_PHY_CMD_BUSY); __bf_shf 619 drivers/net/dsa/mv88e6xxx/global2.c dev <<= __bf_shf(MV88E6XXX_G2_SMI_PHY_CMD_DEV_ADDR_MASK); __bf_shf 34 drivers/net/dsa/mv88e6xxx/global2_avb.c int bit = __bf_shf(MV88E6352_G2_AVB_CMD_BUSY); __bf_shf 1307 drivers/net/dsa/mv88e6xxx/port.c (ptr << __bf_shf(MV88E6390_PORT_IEEE_PRIO_MAP_TABLE_PTR_MASK)) | __bf_shf 1357 drivers/net/dsa/mv88e6xxx/port.c shift = __bf_shf(MV88E6XXX_PORT_POLICY_CTL_DA_MASK); __bf_shf 1361 drivers/net/dsa/mv88e6xxx/port.c shift = __bf_shf(MV88E6XXX_PORT_POLICY_CTL_SA_MASK); __bf_shf 1365 drivers/net/dsa/mv88e6xxx/port.c shift = __bf_shf(MV88E6XXX_PORT_POLICY_CTL_VTU_MASK); __bf_shf 1369 drivers/net/dsa/mv88e6xxx/port.c shift = __bf_shf(MV88E6XXX_PORT_POLICY_CTL_ETYPE_MASK); __bf_shf 1373 drivers/net/dsa/mv88e6xxx/port.c shift = __bf_shf(MV88E6XXX_PORT_POLICY_CTL_PPPOE_MASK); __bf_shf 1377 drivers/net/dsa/mv88e6xxx/port.c shift = __bf_shf(MV88E6XXX_PORT_POLICY_CTL_VBAS_MASK); __bf_shf 1381 drivers/net/dsa/mv88e6xxx/port.c shift = __bf_shf(MV88E6XXX_PORT_POLICY_CTL_OPT82_MASK); __bf_shf 1385 drivers/net/dsa/mv88e6xxx/port.c shift = __bf_shf(MV88E6XXX_PORT_POLICY_CTL_UDP_MASK); __bf_shf 41 drivers/net/dsa/mv88e6xxx/port_hidden.c int bit = __bf_shf(MV88E6XXX_PORT_RESERVED_1A_BUSY); __bf_shf 147 drivers/net/ethernet/netronome/nfp/bpf/jit.c addr_lo = addr & (OP_BR_ADDR_LO >> __bf_shf(OP_BR_ADDR_LO)); __bf_shf 192 drivers/net/ethernet/netronome/nfp/bpf/jit.c addr_lo = addr & (OP_BR_BIT_ADDR_LO >> __bf_shf(OP_BR_BIT_ADDR_LO)); __bf_shf 37 drivers/net/ethernet/netronome/nfp/nfp_asm.c return (addr_hi * ((OP_BR_ADDR_LO >> __bf_shf(OP_BR_ADDR_LO)) + 1)) | __bf_shf 45 drivers/net/ethernet/netronome/nfp/nfp_asm.c addr_lo = offset & (OP_BR_ADDR_LO >> __bf_shf(OP_BR_ADDR_LO)); __bf_shf 498 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_set_bit_config(nsp, raw_idx, mask, __bf_shf(mask), \ __bf_shf 50 include/linux/bitfield.h ~((_mask) >> __bf_shf(_mask)) & (_val) : 0, \ __bf_shf 55 include/linux/bitfield.h (1ULL << __bf_shf(_mask))); \ __bf_shf 68 include/linux/bitfield.h !((((typeof(_mask))_val) << __bf_shf(_mask)) & ~(_mask)); \ __bf_shf 82 include/linux/bitfield.h ((typeof(_mask))(_val) << __bf_shf(_mask)) & (_mask); \ __bf_shf 96 include/linux/bitfield.h (typeof(_mask))(((_reg) & (_mask)) >> __bf_shf(_mask)); \