/linux-master/tools/power/cpupower/utils/helpers/ |
H A D | bitmask.h | 11 struct bitmask { struct 16 struct bitmask *bitmask_alloc(unsigned int n); 17 void bitmask_free(struct bitmask *bmp); 19 struct bitmask *bitmask_setbit(struct bitmask *bmp, unsigned int i); 20 struct bitmask *bitmask_setall(struct bitmask *bmp); 21 struct bitmask *bitmask_clearall(struct bitmask *bmp); 23 unsigned int bitmask_first(const struct bitmask *bm [all...] |
H A D | bitmask.c | 6 #include <helpers/bitmask.h> 20 * Allocate and free `struct bitmask *` 23 /* Allocate a new `struct bitmask` with a size of n bits */ 24 struct bitmask *bitmask_alloc(unsigned int n) 26 struct bitmask *bmp; 40 /* Free `struct bitmask` */ 41 void bitmask_free(struct bitmask *bmp) 61 /* Return the value (0 or 1) of bit n in bitmask bmp */ 62 static unsigned int _getbit(const struct bitmask *bmp, unsigned int n) 70 /* Set bit n in bitmask bm [all...] |
/linux-master/drivers/acpi/pmic/ |
H A D | tps68470_pmic.c | 21 u32 bitmask; /* bit mask for power, clock */ member in struct:tps68470_pmic_table 40 .bitmask = S_IO_I2C_EN, 46 .bitmask = BIT(0), 52 .bitmask = BIT(0), 58 .bitmask = BIT(0), 64 .bitmask = BIT(0), 70 .bitmask = BIT(0), 80 .bitmask = TPS68470_VSIOVAL_IOVOLT_MASK, 86 .bitmask = TPS68470_VIOVAL_IOVOLT_MASK, 92 .bitmask 197 pmic_get_reg_bit(u64 address, const struct tps68470_pmic_table *table, const unsigned int table_size, int *reg, int *bitmask) argument 217 tps68470_pmic_get_power(struct regmap *regmap, int reg, int bitmask, u64 *value) argument 229 tps68470_pmic_get_vr_val(struct regmap *regmap, int reg, int bitmask, u64 *value) argument 241 tps68470_pmic_get_clk(struct regmap *regmap, int reg, int bitmask, u64 *value) argument 253 tps68470_pmic_get_clk_freq(struct regmap *regmap, int reg, int bitmask, u64 *value) argument 265 ti_tps68470_regmap_update_bits(struct regmap *regmap, int reg, int bitmask, u64 value) argument 284 int reg, ret, bitmask; local [all...] |
/linux-master/net/netfilter/ |
H A D | xt_physdev.c | 36 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && 39 if ((info->bitmask & XT_PHYSDEV_OP_ISIN) && 42 if ((info->bitmask & XT_PHYSDEV_OP_ISOUT) && 45 if ((info->bitmask & XT_PHYSDEV_OP_IN) && 48 if ((info->bitmask & XT_PHYSDEV_OP_OUT) && 58 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && 65 if ((info->bitmask & XT_PHYSDEV_OP_ISIN && 67 (info->bitmask & XT_PHYSDEV_OP_ISOUT && 71 if (!(info->bitmask & XT_PHYSDEV_OP_IN)) 83 if (!(info->bitmask [all...] |
H A D | xt_ipvs.c | 60 if (data->bitmask == XT_IPVS_IPVS_PROPERTY) { 74 if (data->bitmask & XT_IPVS_PROTO) 101 if (data->bitmask & XT_IPVS_VPORT) 108 if (data->bitmask & XT_IPVS_VPORTCTL) 116 if (data->bitmask & XT_IPVS_DIR) { 132 if (data->bitmask & XT_IPVS_METHOD) 139 if (data->bitmask & XT_IPVS_VADDR) {
|
/linux-master/net/bridge/netfilter/ |
H A D | ebt_mark_m.c | 21 if (info->bitmask & EBT_MARK_OR) 30 if (info->bitmask & ~EBT_MARK_MASK) 32 if ((info->bitmask & EBT_MARK_OR) && (info->bitmask & EBT_MARK_AND)) 34 if (!info->bitmask) 43 uint8_t invert, bitmask; member in struct:compat_ebt_mark_m_info 54 kern->bitmask = user->bitmask; 65 put_user(kern->bitmask, &user->bitmask)) [all...] |
H A D | ebt_ip6.c | 49 if ((info->bitmask & EBT_IP6_TCLASS) && 53 if (((info->bitmask & EBT_IP6_SOURCE) && 57 ((info->bitmask & EBT_IP6_DEST) && 62 if (info->bitmask & EBT_IP6_PROTO) { 72 if (!(info->bitmask & (EBT_IP6_DPORT | 81 if (info->bitmask & EBT_IP6_DPORT) { 88 if (info->bitmask & EBT_IP6_SPORT) { 95 if ((info->bitmask & EBT_IP6_ICMP6) && 113 if (info->bitmask & ~EBT_IP6_MASK || info->invflags & ~EBT_IP6_MASK) 115 if (info->bitmask [all...] |
H A D | ebt_arp.c | 29 if ((info->bitmask & EBT_ARP_OPCODE) && 32 if ((info->bitmask & EBT_ARP_HTYPE) && 35 if ((info->bitmask & EBT_ARP_PTYPE) && 39 if (info->bitmask & (EBT_ARP_SRC_IP | EBT_ARP_DST_IP | EBT_ARP_GRAT)) { 55 if ((info->bitmask & EBT_ARP_SRC_IP) && 59 if ((info->bitmask & EBT_ARP_DST_IP) && 63 if ((info->bitmask & EBT_ARP_GRAT) && 68 if (info->bitmask & (EBT_ARP_SRC_MAC | EBT_ARP_DST_MAC)) { 74 if (info->bitmask & EBT_ARP_SRC_MAC) { 85 if (info->bitmask [all...] |
H A D | ebt_stp.c | 51 if ((info->bitmask & EBT_STP_FLAGS) && 54 if (info->bitmask & EBT_STP_ROOTPRIO) { 60 if (info->bitmask & EBT_STP_ROOTADDR) { 67 if (info->bitmask & EBT_STP_ROOTCOST) { 73 if (info->bitmask & EBT_STP_SENDERPRIO) { 79 if (info->bitmask & EBT_STP_SENDERADDR) { 86 if (info->bitmask & EBT_STP_PORT) { 92 if (info->bitmask & EBT_STP_MSGAGE) { 98 if (info->bitmask & EBT_STP_MAXAGE) { 104 if (info->bitmask [all...] |
H A D | ebt_ip.c | 49 if ((info->bitmask & EBT_IP_TOS) && 52 if ((info->bitmask & EBT_IP_SOURCE) && 56 if ((info->bitmask & EBT_IP_DEST) && 60 if (info->bitmask & EBT_IP_PROTO) { 63 if (!(info->bitmask & (EBT_IP_DPORT | EBT_IP_SPORT | 74 if (info->bitmask & EBT_IP_DPORT) { 81 if (info->bitmask & EBT_IP_SPORT) { 88 if ((info->bitmask & EBT_IP_ICMP) && 95 if ((info->bitmask & EBT_IP_IGMP) && 112 if (info->bitmask [all...] |
H A D | ebt_802_3.c | 29 if (info->bitmask & EBT_802_3_SAP) { 36 if (info->bitmask & EBT_802_3_TYPE) { 50 if (info->bitmask & ~EBT_802_3_MASK || info->invflags & ~EBT_802_3_MASK)
|
/linux-master/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_mark_m.h | 13 __u8 bitmask; member in struct:ebt_mark_m_info
|
H A D | ebt_vlan.h | 17 __u8 bitmask; /* Args bitmask bit 1=1 - ID arg, member in struct:ebt_vlan_info 19 __u8 invflags; /* Inverse bitmask bit 1=1 - inversed ID arg,
|
H A D | ebt_log.h | 18 __u32 bitmask; member in struct:ebt_log_info
|
/linux-master/drivers/net/ethernet/brocade/bna/ |
H A D | bna.h | 114 #define is_xxx_enable(mode, bitmask, xxx) ((bitmask & xxx) && (mode & xxx)) 116 #define is_xxx_disable(mode, bitmask, xxx) ((bitmask & xxx) && !(mode & xxx)) 118 #define xxx_enable(mode, bitmask, xxx) \ 120 bitmask |= xxx; \ 124 #define xxx_disable(mode, bitmask, xxx) \ 126 bitmask |= xxx; \ 130 #define xxx_inactive(mode, bitmask, xxx) \ 132 bitmask [all...] |
/linux-master/arch/sh/include/asm/ |
H A D | cmpxchg-xchg.h | 27 u32 bitmask = ((0x1 << size * BITS_PER_BYTE) - 1) << bitoff; local 33 ret = (oldv & bitmask) >> bitoff; 34 newv = (oldv & ~bitmask) | (x << bitoff);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
H A D | phy.h | 12 enum radio_path rfpath, u32 regaddr, u32 bitmask); 15 u32 regaddr, u32 bitmask, u32 data);
|
/linux-master/include/uapi/linux/netfilter/ |
H A D | xt_physdev.h | 21 __u8 bitmask; member in struct:xt_physdev_info
|
H A D | xt_ipvs.h | 28 __u8 bitmask; member in struct:xt_ipvs_mtinfo
|
/linux-master/drivers/clk/qcom/ |
H A D | reset.h | 15 u32 bitmask; member in struct:qcom_reset_map
|
/linux-master/arch/openrisc/include/asm/ |
H A D | cmpxchg.h | 69 u32 bitmask = ((0x1 << size * BITS_PER_BYTE) - 1) << bitoff; local 76 ret = (load32 & bitmask) >> bitoff; 80 old32 = (load32 & ~bitmask) | (old << bitoff); 81 new32 = (load32 & ~bitmask) | (new << bitoff); 101 u32 bitmask = ((0x1 << size * BITS_PER_BYTE) - 1) << bitoff; local 107 ret = (oldv & bitmask) >> bitoff; 108 newv = (oldv & ~bitmask) | (x << bitoff);
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
H A D | phy.h | 52 u32 rtl92s_phy_query_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask); 53 void rtl92s_phy_set_bb_reg(struct ieee80211_hw *hw, u32 regaddr, u32 bitmask, 57 u32 regaddr, u32 bitmask); 59 u32 regaddr, u32 bitmask, u32 data);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | qos.c | 69 u32 bitmask = 0; local 74 bitmask |= MODIFY_SCHEDULING_ELEMENT_IN_MODIFY_BITMASK_BW_SHARE; 75 bitmask |= MODIFY_SCHEDULING_ELEMENT_IN_MODIFY_BITMASK_MAX_AVERAGE_BW; 78 sched_ctx, id, bitmask);
|
/linux-master/drivers/input/joystick/ |
H A D | twidjoy.c | 54 int bitmask; member in struct:twidjoy_button_spec 96 for (bp = twidjoy_buttons; bp->bitmask; bp++) { 97 int value = (button_bits & (bp->bitmask << bp->bitshift)) >> bp->bitshift; 100 for (i = 0; i < bp->bitmask; i++) 194 for (bp = twidjoy_buttons; bp->bitmask; bp++) 195 for (i = 0; i < bp->bitmask; i++)
|
/linux-master/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
H A D | phy.h | 98 u32 regaddr, u32 bitmask); 100 u32 regaddr, u32 bitmask, u32 data); 103 u32 bitmask); 106 u32 bitmask, u32 data);
|