| /kernel/linux/linux-4.19/drivers/acpi/pmic/ |
| D | tps68470_pmic.c | 21 u32 bitmask; /* bit mask for power, clock */ member 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 = TPS68470_VCMVAL_VCVOLT_MASK, [all …]
|
| /kernel/linux/linux-5.10/drivers/acpi/pmic/ |
| D | tps68470_pmic.c | 21 u32 bitmask; /* bit mask for power, clock */ member 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 = TPS68470_VCMVAL_VCVOLT_MASK, [all …]
|
| /kernel/linux/linux-5.10/tools/power/cpupower/utils/helpers/ |
| D | bitmask.h | 11 struct bitmask { struct 16 struct bitmask *bitmask_alloc(unsigned int n); argument 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 *bmp); 24 unsigned int bitmask_next(const struct bitmask *bmp, unsigned int i); 25 unsigned int bitmask_last(const struct bitmask *bmp); 26 int bitmask_isallclear(const struct bitmask *bmp); [all …]
|
| 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) in bitmask_alloc() 26 struct bitmask *bmp; in bitmask_alloc() 40 /* Free `struct bitmask` */ 41 void bitmask_free(struct bitmask *bmp) in bitmask_free() 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) in _getbit() 70 /* Set bit n in bitmask bmp to value v (0 or 1) */ [all …]
|
| /kernel/linux/linux-4.19/tools/power/cpupower/utils/helpers/ |
| D | bitmask.h | 11 struct bitmask { struct 16 struct bitmask *bitmask_alloc(unsigned int n); argument 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 *bmp); 24 unsigned int bitmask_next(const struct bitmask *bmp, unsigned int i); 25 unsigned int bitmask_last(const struct bitmask *bmp); 26 int bitmask_isallclear(const struct bitmask *bmp); [all …]
|
| 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) in bitmask_alloc() 26 struct bitmask *bmp; in bitmask_alloc() 40 /* Free `struct bitmask` */ 41 void bitmask_free(struct bitmask *bmp) in bitmask_free() 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) in _getbit() 70 /* Set bit n in bitmask bmp to value v (0 or 1) */ [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
| D | hw_atl_llh_internal.h | 84 /* bitmask for bitfield itr_reg_res_dsbl */ 94 /* bitmask for bitfield itr_reset */ 100 /* bitmask for bitfield dca{d}_cpuid[7:0] */ 114 /* bitmask for bitfield dca_en */ 116 /* inverted bitmask for bitfield dca_en */ 132 /* bitmask for bitfield dca_mode[3:0] */ 134 /* inverted bitmask for bitfield dca_mode[3:0] */ 152 /* bitmask for bitfield desc{d}_data_size[4:0] */ 154 /* inverted bitmask for bitfield desc{d}_data_size[4:0] */ 171 /* bitmask for bitfield dca{d}_desc_en */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
| D | hw_atl_llh_internal.h | 109 /* bitmask for bitfield itr_reg_res_dsbl */ 119 /* bitmask for bitfield itr_reset */ 129 /* bitmask for bitfield rsc_delay */ 138 /* bitmask for bitfield dca{d}_cpuid[7:0] */ 152 /* bitmask for bitfield dca_en */ 154 /* inverted bitmask for bitfield dca_en */ 170 /* bitmask for bitfield dca_mode[3:0] */ 172 /* inverted bitmask for bitfield dca_mode[3:0] */ 190 /* bitmask for bitfield desc{d}_data_size[4:0] */ 192 /* inverted bitmask for bitfield desc{d}_data_size[4:0] */ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/ |
| D | bna.h | 114 #define is_xxx_enable(mode, bitmask, xxx) ((bitmask & xxx) && (mode & xxx)) argument 116 #define is_xxx_disable(mode, bitmask, xxx) ((bitmask & xxx) && !(mode & xxx)) argument 118 #define xxx_enable(mode, bitmask, xxx) \ argument 120 bitmask |= xxx; \ 124 #define xxx_disable(mode, bitmask, xxx) \ argument 126 bitmask |= xxx; \ 130 #define xxx_inactive(mode, bitmask, xxx) \ argument 132 bitmask &= ~xxx; \ 136 #define is_promisc_enable(mode, bitmask) \ argument 137 is_xxx_enable(mode, bitmask, BNA_RXMODE_PROMISC) [all …]
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/brocade/bna/ |
| D | bna.h | 122 #define is_xxx_enable(mode, bitmask, xxx) ((bitmask & xxx) && (mode & xxx)) argument 124 #define is_xxx_disable(mode, bitmask, xxx) ((bitmask & xxx) && !(mode & xxx)) argument 126 #define xxx_enable(mode, bitmask, xxx) \ argument 128 bitmask |= xxx; \ 132 #define xxx_disable(mode, bitmask, xxx) \ argument 134 bitmask |= xxx; \ 138 #define xxx_inactive(mode, bitmask, xxx) \ argument 140 bitmask &= ~xxx; \ 144 #define is_promisc_enable(mode, bitmask) \ argument 145 is_xxx_enable(mode, bitmask, BNA_RXMODE_PROMISC) [all …]
|
| /kernel/linux/linux-5.10/net/netfilter/ |
| D | xt_physdev.c | 36 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && in physdev_mt() 39 if ((info->bitmask & XT_PHYSDEV_OP_ISIN) && in physdev_mt() 42 if ((info->bitmask & XT_PHYSDEV_OP_ISOUT) && in physdev_mt() 45 if ((info->bitmask & XT_PHYSDEV_OP_IN) && in physdev_mt() 48 if ((info->bitmask & XT_PHYSDEV_OP_OUT) && in physdev_mt() 58 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && in physdev_mt() 65 if ((info->bitmask & XT_PHYSDEV_OP_ISIN && in physdev_mt() 67 (info->bitmask & XT_PHYSDEV_OP_ISOUT && in physdev_mt() 71 if (!(info->bitmask & XT_PHYSDEV_OP_IN)) in physdev_mt() 83 if (!(info->bitmask & XT_PHYSDEV_OP_OUT)) in physdev_mt() [all …]
|
| /kernel/linux/linux-4.19/net/netfilter/ |
| D | xt_physdev.c | 38 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && in physdev_mt() 41 if ((info->bitmask & XT_PHYSDEV_OP_ISIN) && in physdev_mt() 44 if ((info->bitmask & XT_PHYSDEV_OP_ISOUT) && in physdev_mt() 47 if ((info->bitmask & XT_PHYSDEV_OP_IN) && in physdev_mt() 50 if ((info->bitmask & XT_PHYSDEV_OP_OUT) && in physdev_mt() 60 if ((info->bitmask & XT_PHYSDEV_OP_BRIDGED) && in physdev_mt() 67 if ((info->bitmask & XT_PHYSDEV_OP_ISIN && in physdev_mt() 69 (info->bitmask & XT_PHYSDEV_OP_ISOUT && in physdev_mt() 73 if (!(info->bitmask & XT_PHYSDEV_OP_IN)) in physdev_mt() 85 if (!(info->bitmask & XT_PHYSDEV_OP_OUT)) in physdev_mt() [all …]
|
| /kernel/linux/linux-5.10/net/bridge/netfilter/ |
| D | ebt_stp.c | 51 if ((info->bitmask & EBT_STP_FLAGS) && in ebt_filter_config() 54 if (info->bitmask & EBT_STP_ROOTPRIO) { in ebt_filter_config() 60 if (info->bitmask & EBT_STP_ROOTADDR) { in ebt_filter_config() 67 if (info->bitmask & EBT_STP_ROOTCOST) { in ebt_filter_config() 73 if (info->bitmask & EBT_STP_SENDERPRIO) { in ebt_filter_config() 79 if (info->bitmask & EBT_STP_SENDERADDR) { in ebt_filter_config() 86 if (info->bitmask & EBT_STP_PORT) { in ebt_filter_config() 92 if (info->bitmask & EBT_STP_MSGAGE) { in ebt_filter_config() 98 if (info->bitmask & EBT_STP_MAXAGE) { in ebt_filter_config() 104 if (info->bitmask & EBT_STP_HELLOTIME) { in ebt_filter_config() [all …]
|
| D | ebt_ip.c | 49 if ((info->bitmask & EBT_IP_TOS) && in ebt_ip_mt() 52 if ((info->bitmask & EBT_IP_SOURCE) && in ebt_ip_mt() 56 if ((info->bitmask & EBT_IP_DEST) && in ebt_ip_mt() 60 if (info->bitmask & EBT_IP_PROTO) { in ebt_ip_mt() 63 if (!(info->bitmask & (EBT_IP_DPORT | EBT_IP_SPORT | in ebt_ip_mt() 74 if (info->bitmask & EBT_IP_DPORT) { in ebt_ip_mt() 81 if (info->bitmask & EBT_IP_SPORT) { in ebt_ip_mt() 88 if ((info->bitmask & EBT_IP_ICMP) && in ebt_ip_mt() 95 if ((info->bitmask & EBT_IP_IGMP) && in ebt_ip_mt() 112 if (info->bitmask & ~EBT_IP_MASK || info->invflags & ~EBT_IP_MASK) in ebt_ip_mt_check() [all …]
|
| D | ebt_mark_m.c | 21 if (info->bitmask & EBT_MARK_OR) in ebt_mark_mt() 30 if (info->bitmask & ~EBT_MARK_MASK) in ebt_mark_mt_check() 32 if ((info->bitmask & EBT_MARK_OR) && (info->bitmask & EBT_MARK_AND)) in ebt_mark_mt_check() 34 if (!info->bitmask) in ebt_mark_mt_check() 43 uint8_t invert, bitmask; member 54 kern->bitmask = user->bitmask; in mark_mt_compat_from_user() 65 put_user(kern->bitmask, &user->bitmask)) in mark_mt_compat_to_user()
|
| D | ebt_ip6.c | 49 if ((info->bitmask & EBT_IP6_TCLASS) && in ebt_ip6_mt() 53 if (((info->bitmask & EBT_IP6_SOURCE) && in ebt_ip6_mt() 57 ((info->bitmask & EBT_IP6_DEST) && in ebt_ip6_mt() 62 if (info->bitmask & EBT_IP6_PROTO) { in ebt_ip6_mt() 72 if (!(info->bitmask & (EBT_IP6_DPORT | in ebt_ip6_mt() 81 if (info->bitmask & EBT_IP6_DPORT) { in ebt_ip6_mt() 88 if (info->bitmask & EBT_IP6_SPORT) { in ebt_ip6_mt() 95 if ((info->bitmask & EBT_IP6_ICMP6) && in ebt_ip6_mt() 113 if (info->bitmask & ~EBT_IP6_MASK || info->invflags & ~EBT_IP6_MASK) in ebt_ip6_mt_check() 115 if (info->bitmask & (EBT_IP6_DPORT | EBT_IP6_SPORT)) { in ebt_ip6_mt_check() [all …]
|
| D | ebt_arp.c | 29 if ((info->bitmask & EBT_ARP_OPCODE) && in ebt_arp_mt() 32 if ((info->bitmask & EBT_ARP_HTYPE) && in ebt_arp_mt() 35 if ((info->bitmask & EBT_ARP_PTYPE) && in ebt_arp_mt() 39 if (info->bitmask & (EBT_ARP_SRC_IP | EBT_ARP_DST_IP | EBT_ARP_GRAT)) { in ebt_arp_mt() 55 if ((info->bitmask & EBT_ARP_SRC_IP) && in ebt_arp_mt() 59 if ((info->bitmask & EBT_ARP_DST_IP) && in ebt_arp_mt() 63 if ((info->bitmask & EBT_ARP_GRAT) && in ebt_arp_mt() 68 if (info->bitmask & (EBT_ARP_SRC_MAC | EBT_ARP_DST_MAC)) { in ebt_arp_mt() 74 if (info->bitmask & EBT_ARP_SRC_MAC) { in ebt_arp_mt() 85 if (info->bitmask & EBT_ARP_DST_MAC) { in ebt_arp_mt() [all …]
|
| /kernel/linux/linux-4.19/net/bridge/netfilter/ |
| D | ebt_stp.c | 51 if ((info->bitmask & EBT_STP_FLAGS) && in ebt_filter_config() 54 if (info->bitmask & EBT_STP_ROOTPRIO) { in ebt_filter_config() 60 if (info->bitmask & EBT_STP_ROOTADDR) { in ebt_filter_config() 67 if (info->bitmask & EBT_STP_ROOTCOST) { in ebt_filter_config() 73 if (info->bitmask & EBT_STP_SENDERPRIO) { in ebt_filter_config() 79 if (info->bitmask & EBT_STP_SENDERADDR) { in ebt_filter_config() 86 if (info->bitmask & EBT_STP_PORT) { in ebt_filter_config() 92 if (info->bitmask & EBT_STP_MSGAGE) { in ebt_filter_config() 98 if (info->bitmask & EBT_STP_MAXAGE) { in ebt_filter_config() 104 if (info->bitmask & EBT_STP_HELLOTIME) { in ebt_filter_config() [all …]
|
| D | ebt_ip.c | 48 if ((info->bitmask & EBT_IP_TOS) && in ebt_ip_mt() 51 if ((info->bitmask & EBT_IP_SOURCE) && in ebt_ip_mt() 55 if ((info->bitmask & EBT_IP_DEST) && in ebt_ip_mt() 59 if (info->bitmask & EBT_IP_PROTO) { in ebt_ip_mt() 62 if (!(info->bitmask & (EBT_IP_DPORT | EBT_IP_SPORT | in ebt_ip_mt() 73 if (info->bitmask & EBT_IP_DPORT) { in ebt_ip_mt() 80 if (info->bitmask & EBT_IP_SPORT) { in ebt_ip_mt() 87 if ((info->bitmask & EBT_IP_ICMP) && in ebt_ip_mt() 94 if ((info->bitmask & EBT_IP_IGMP) && in ebt_ip_mt() 111 if (info->bitmask & ~EBT_IP_MASK || info->invflags & ~EBT_IP_MASK) in ebt_ip_mt_check() [all …]
|
| D | ebt_mark_m.c | 20 if (info->bitmask & EBT_MARK_OR) in ebt_mark_mt() 29 if (info->bitmask & ~EBT_MARK_MASK) in ebt_mark_mt_check() 31 if ((info->bitmask & EBT_MARK_OR) && (info->bitmask & EBT_MARK_AND)) in ebt_mark_mt_check() 33 if (!info->bitmask) in ebt_mark_mt_check() 42 uint8_t invert, bitmask; member 53 kern->bitmask = user->bitmask; in mark_mt_compat_from_user() 64 put_user(kern->bitmask, &user->bitmask)) in mark_mt_compat_to_user()
|
| D | ebt_ip6.c | 48 if ((info->bitmask & EBT_IP6_TCLASS) && in ebt_ip6_mt() 52 if (((info->bitmask & EBT_IP6_SOURCE) && in ebt_ip6_mt() 56 ((info->bitmask & EBT_IP6_DEST) && in ebt_ip6_mt() 61 if (info->bitmask & EBT_IP6_PROTO) { in ebt_ip6_mt() 71 if (!(info->bitmask & (EBT_IP6_DPORT | in ebt_ip6_mt() 80 if (info->bitmask & EBT_IP6_DPORT) { in ebt_ip6_mt() 87 if (info->bitmask & EBT_IP6_SPORT) { in ebt_ip6_mt() 94 if ((info->bitmask & EBT_IP6_ICMP6) && in ebt_ip6_mt() 112 if (info->bitmask & ~EBT_IP6_MASK || info->invflags & ~EBT_IP6_MASK) in ebt_ip6_mt_check() 114 if (info->bitmask & (EBT_IP6_DPORT | EBT_IP6_SPORT)) { in ebt_ip6_mt_check() [all …]
|
| D | ebt_arp.c | 28 if ((info->bitmask & EBT_ARP_OPCODE) && in ebt_arp_mt() 31 if ((info->bitmask & EBT_ARP_HTYPE) && in ebt_arp_mt() 34 if ((info->bitmask & EBT_ARP_PTYPE) && in ebt_arp_mt() 38 if (info->bitmask & (EBT_ARP_SRC_IP | EBT_ARP_DST_IP | EBT_ARP_GRAT)) { in ebt_arp_mt() 54 if ((info->bitmask & EBT_ARP_SRC_IP) && in ebt_arp_mt() 58 if ((info->bitmask & EBT_ARP_DST_IP) && in ebt_arp_mt() 62 if ((info->bitmask & EBT_ARP_GRAT) && in ebt_arp_mt() 67 if (info->bitmask & (EBT_ARP_SRC_MAC | EBT_ARP_DST_MAC)) { in ebt_arp_mt() 73 if (info->bitmask & EBT_ARP_SRC_MAC) { in ebt_arp_mt() 84 if (info->bitmask & EBT_ARP_DST_MAC) { in ebt_arp_mt() [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl2/ |
| D | hw_atl2_llh_internal.h | 34 /* bitmask for bitfield rpf_new_rpf_en */ 36 /* inverted bitmask for bitfield rpf_new_rpf_en */ 53 /* bitmask for bitfield l2_uc_req_tag0{f}[2:0] */ 55 /* inverted bitmask for bitfield l2_uc_req_tag0{f}[2:0] */ 71 /* bitmask for bitfield rpf_l2_bc_req_tag */ 73 /* inverted bitmask for bitfield rpf_l2_bc_req_tag */ 90 /* bitmask for bitfield rpf_rss_red1_data[4:0] */ 107 /* bitmask for bitfield vlan_req_tag0{f}[3:0] */ 109 /* inverted bitmask for bitfield vlan_req_tag0{f}[3:0] */ 142 /* bitmask for bitfield tx_tc_q_rand_map_en */ [all …]
|
| /kernel/linux/linux-4.19/arch/powerpc/include/asm/ |
| D | exception-64s.h | 306 * addition parameter called "bitmask" to support 310 #define MASKABLE_EXCEPTION_PROLOG_1(area, extra, vec, bitmask) \ argument 312 extra(vec, bitmask); \ 608 #define __SOFTEN_TEST(h, vec, bitmask) \ argument 610 andi. r10,r10,bitmask; \ 614 #define _SOFTEN_TEST(h, vec, bitmask) __SOFTEN_TEST(h, vec, bitmask) argument 616 #define SOFTEN_TEST_PR(vec, bitmask) \ argument 618 _SOFTEN_TEST(EXC_STD, vec, bitmask) 620 #define SOFTEN_TEST_HV(vec, bitmask) \ argument 622 _SOFTEN_TEST(EXC_HV, vec, bitmask) [all …]
|
| /kernel/linux/linux-4.19/arch/mips/emma/markeins/ |
| D | irq.c | 183 u32 bitmask; in emma2rh_irq_dispatch() local 194 for (i = 0, bitmask = 1; i < 32; i++, bitmask <<= 1) { in emma2rh_irq_dispatch() 195 if (swIntStatus & bitmask) { in emma2rh_irq_dispatch() 205 for (i = 0, bitmask = 1; i < 32; i++, bitmask <<= 1) { in emma2rh_irq_dispatch() 206 if (intStatus & bitmask) { in emma2rh_irq_dispatch() 220 for (i = 0, bitmask = 1; i < 32; i++, bitmask <<= 1) { in emma2rh_irq_dispatch() 221 if (gpioIntStatus & bitmask) { in emma2rh_irq_dispatch() 231 for (i = 32, bitmask = 1; i < 64; i++, bitmask <<= 1) { in emma2rh_irq_dispatch() 232 if (intStatus & bitmask) { in emma2rh_irq_dispatch() 241 for (i = 64, bitmask = 1; i < 96; i++, bitmask <<= 1) { in emma2rh_irq_dispatch() [all …]
|