/kernel/linux/linux-5.10/net/netfilter/ |
H A D | xt_physdev.c | 35 /* Return MATCH if the invert flags of the used options are on */ in physdev_mt() 37 !(info->invert & XT_PHYSDEV_OP_BRIDGED)) in physdev_mt() 40 !(info->invert & XT_PHYSDEV_OP_ISIN)) in physdev_mt() 43 !(info->invert & XT_PHYSDEV_OP_ISOUT)) in physdev_mt() 46 !(info->invert & XT_PHYSDEV_OP_IN)) in physdev_mt() 49 !(info->invert & XT_PHYSDEV_OP_OUT)) in physdev_mt() 59 (!!outdev ^ !(info->invert & XT_PHYSDEV_OP_BRIDGED))) in physdev_mt() 66 (!indev ^ !!(info->invert & XT_PHYSDEV_OP_ISIN))) || in physdev_mt() 68 (!outdev ^ !!(info->invert & XT_PHYSDEV_OP_ISOUT)))) in physdev_mt() 78 if (!ret ^ !(info->invert in physdev_mt() [all...] |
H A D | xt_connlabel.c | 26 bool invert = info->options & XT_CONNLABEL_OP_INVERT; in connlabel_mt() local 30 return invert; in connlabel_mt() 34 return invert; in connlabel_mt() 37 return !invert; in connlabel_mt() 43 return !invert; in connlabel_mt() 46 return invert; in connlabel_mt()
|
H A D | xt_multiport.c | 45 return true ^ minfo->invert; in ports_match_v1() 49 return true ^ minfo->invert; in ports_match_v1() 54 return true ^ minfo->invert; in ports_match_v1() 66 return true ^ minfo->invert; in ports_match_v1() 70 return true ^ minfo->invert; in ports_match_v1() 74 return true ^ minfo->invert; in ports_match_v1() 82 return minfo->invert; in ports_match_v1()
|
H A D | xt_ipvs.c | 62 !!(data->invert & XT_IPVS_IPVS_PROPERTY); in ipvs_mt() 76 !(data->invert & XT_IPVS_PROTO)) { in ipvs_mt() 103 !(data->invert & XT_IPVS_VPORT)) { in ipvs_mt() 111 !(data->invert & XT_IPVS_VPORTCTL)) { in ipvs_mt() 126 !!(data->invert & XT_IPVS_DIR)) { in ipvs_mt() 134 !(data->invert & XT_IPVS_METHOD)) { in ipvs_mt() 142 !(data->invert & XT_IPVS_VADDR)) { in ipvs_mt()
|
/kernel/linux/linux-6.6/net/netfilter/ |
H A D | xt_physdev.c | 35 /* Return MATCH if the invert flags of the used options are on */ in physdev_mt() 37 !(info->invert & XT_PHYSDEV_OP_BRIDGED)) in physdev_mt() 40 !(info->invert & XT_PHYSDEV_OP_ISIN)) in physdev_mt() 43 !(info->invert & XT_PHYSDEV_OP_ISOUT)) in physdev_mt() 46 !(info->invert & XT_PHYSDEV_OP_IN)) in physdev_mt() 49 !(info->invert & XT_PHYSDEV_OP_OUT)) in physdev_mt() 59 (!!outdev ^ !(info->invert & XT_PHYSDEV_OP_BRIDGED))) in physdev_mt() 66 (!indev ^ !!(info->invert & XT_PHYSDEV_OP_ISIN))) || in physdev_mt() 68 (!outdev ^ !!(info->invert & XT_PHYSDEV_OP_ISOUT)))) in physdev_mt() 78 if (!ret ^ !(info->invert in physdev_mt() [all...] |
H A D | xt_connlabel.c | 26 bool invert = info->options & XT_CONNLABEL_OP_INVERT; in connlabel_mt() local 30 return invert; in connlabel_mt() 34 return invert; in connlabel_mt() 37 return !invert; in connlabel_mt() 43 return !invert; in connlabel_mt() 46 return invert; in connlabel_mt()
|
H A D | xt_ipvs.c | 62 !!(data->invert & XT_IPVS_IPVS_PROPERTY); in ipvs_mt() 76 !(data->invert & XT_IPVS_PROTO)) { in ipvs_mt() 103 !(data->invert & XT_IPVS_VPORT)) { in ipvs_mt() 111 !(data->invert & XT_IPVS_VPORTCTL)) { in ipvs_mt() 126 !!(data->invert & XT_IPVS_DIR)) { in ipvs_mt() 134 !(data->invert & XT_IPVS_METHOD)) { in ipvs_mt() 142 !(data->invert & XT_IPVS_VADDR)) { in ipvs_mt()
|
H A D | xt_multiport.c | 45 return true ^ minfo->invert; in ports_match_v1() 49 return true ^ minfo->invert; in ports_match_v1() 54 return true ^ minfo->invert; in ports_match_v1() 66 return true ^ minfo->invert; in ports_match_v1() 70 return true ^ minfo->invert; in ports_match_v1() 74 return true ^ minfo->invert; in ports_match_v1() 82 return minfo->invert; in ports_match_v1()
|
H A D | xt_tcpudp.c | 29 port_match(u_int16_t min, u_int16_t max, u_int16_t port, bool invert) in port_match() argument 31 return (port >= min && port <= max) ^ invert; in port_match() 39 bool invert, in tcp_find_option() 50 return invert; in tcp_find_option() 61 if (op[i] == option) return !invert; in tcp_find_option() 66 return invert; in tcp_find_option() 175 u8 type, u8 code, bool invert) in icmp_type_code_match() 179 ^ invert; in icmp_type_code_match() 183 u8 type, u8 code, bool invert) in icmp6_type_code_match() 185 return type_code_in_range(test_type, min_code, max_code, type, code) ^ invert; in icmp6_type_code_match() 35 tcp_find_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, unsigned int optlen, bool invert, bool *hotdrop) tcp_find_option() argument 174 icmp_type_code_match(u8 test_type, u8 min_code, u8 max_code, u8 type, u8 code, bool invert) icmp_type_code_match() argument 182 icmp6_type_code_match(u8 test_type, u8 min_code, u8 max_code, u8 type, u8 code, bool invert) icmp6_type_code_match() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/ac97/ |
H A D | ac97_patch.h | 10 #define AC97_SINGLE_VALUE(reg,shift,mask,invert) \ 12 ((invert) << 24)) 13 #define AC97_PAGE_SINGLE_VALUE(reg,shift,mask,invert,page) \ 14 (AC97_SINGLE_VALUE(reg,shift,mask,invert) | (1<<25) | ((page) << 26)) 15 #define AC97_SINGLE(xname, reg, shift, mask, invert) \ 19 .private_value = AC97_SINGLE_VALUE(reg, shift, mask, invert) } 20 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ 24 .private_value = AC97_PAGE_SINGLE_VALUE(reg, shift, mask, invert, page) } 25 #define AC97_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ 29 .private_value = (reg) | ((shift_left) << 8) | ((shift_right) << 12) | ((mask) << 16) | ((invert) << 2 [all...] |
/kernel/linux/linux-6.6/sound/pci/ac97/ |
H A D | ac97_patch.h | 10 #define AC97_SINGLE_VALUE(reg,shift,mask,invert) \ 12 ((invert) << 24)) 13 #define AC97_PAGE_SINGLE_VALUE(reg,shift,mask,invert,page) \ 14 (AC97_SINGLE_VALUE(reg,shift,mask,invert) | (1<<25) | ((page) << 26)) 15 #define AC97_SINGLE(xname, reg, shift, mask, invert) \ 19 .private_value = AC97_SINGLE_VALUE(reg, shift, mask, invert) } 20 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ 24 .private_value = AC97_PAGE_SINGLE_VALUE(reg, shift, mask, invert, page) } 25 #define AC97_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ 29 .private_value = (reg) | ((shift_left) << 8) | ((shift_right) << 12) | ((mask) << 16) | ((invert) << 2 [all...] |
/kernel/linux/linux-5.10/drivers/iio/adc/ |
H A D | envelope-detector.c | 60 bool invert; member 136 * When invert is active, use the midpoint floor so that in envelope_detector_setup_compare() 139 * ceiling when invert is not active so that env->level in envelope_detector_setup_compare() 142 env->level = (env->high + env->low + !env->invert) / 2; in envelope_detector_setup_compare() 150 ret = iio_write_channel_raw(env->dac, env->invert ? 0 : env->dac_max); in envelope_detector_setup_compare() 178 if (!envelope_detector_comp_latch(env) ^ !env->invert) in envelope_detector_timeout() 197 * When invert is active, start with high=max+1 and low=0 in envelope_detector_read_raw() 200 * start with high=max and low=-1 when invert is not active in envelope_detector_read_raw() 207 env->high = env->dac_max + env->invert; in envelope_detector_read_raw() 208 env->low = -1 + env->invert; in envelope_detector_read_raw() 246 unsigned long invert; envelope_store_invert() local [all...] |
/kernel/linux/linux-6.6/drivers/iio/adc/ |
H A D | envelope-detector.c | 59 bool invert; member 135 * When invert is active, use the midpoint floor so that in envelope_detector_setup_compare() 138 * ceiling when invert is not active so that env->level in envelope_detector_setup_compare() 141 env->level = (env->high + env->low + !env->invert) / 2; in envelope_detector_setup_compare() 149 ret = iio_write_channel_raw(env->dac, env->invert ? 0 : env->dac_max); in envelope_detector_setup_compare() 177 if (!envelope_detector_comp_latch(env) ^ !env->invert) in envelope_detector_timeout() 196 * When invert is active, start with high=max+1 and low=0 in envelope_detector_read_raw() 199 * start with high=max and low=-1 when invert is not active in envelope_detector_read_raw() 206 env->high = env->dac_max + env->invert; in envelope_detector_read_raw() 207 env->low = -1 + env->invert; in envelope_detector_read_raw() 245 unsigned long invert; envelope_store_invert() local [all...] |
/kernel/linux/linux-5.10/drivers/leds/trigger/ |
H A D | ledtrig-backlight.c | 25 unsigned invert; member 48 if ((n->old_status == UNBLANK) ^ n->invert) { in fb_notifier_callback() 65 return sprintf(buf, "%u\n", n->invert); in bl_trig_invert_show() 73 unsigned long invert; in bl_trig_invert_store() local 76 ret = kstrtoul(buf, 10, &invert); in bl_trig_invert_store() 80 if (invert > 1) in bl_trig_invert_store() 83 n->invert = invert; in bl_trig_invert_store() 86 if ((n->old_status == BLANK) ^ n->invert) in bl_trig_invert_store()
|
H A D | ledtrig-heartbeat.c | 29 unsigned int invert; member 65 if (!heartbeat_data->invert) in led_heartbeat_function() 71 if (heartbeat_data->invert) in led_heartbeat_function() 77 if (!heartbeat_data->invert) in led_heartbeat_function() 84 if (heartbeat_data->invert) in led_heartbeat_function() 99 return sprintf(buf, "%u\n", heartbeat_data->invert); in led_invert_show() 114 heartbeat_data->invert = !!state; in led_invert_store() 119 static DEVICE_ATTR(invert, 0644, led_invert_show, led_invert_store);
|
/kernel/linux/linux-6.6/drivers/leds/trigger/ |
H A D | ledtrig-backlight.c | 25 unsigned invert; member 48 if ((n->old_status == UNBLANK) ^ n->invert) { in fb_notifier_callback() 65 return sprintf(buf, "%u\n", n->invert); in bl_trig_invert_show() 73 unsigned long invert; in bl_trig_invert_store() local 76 ret = kstrtoul(buf, 10, &invert); in bl_trig_invert_store() 80 if (invert > 1) in bl_trig_invert_store() 83 n->invert = invert; in bl_trig_invert_store() 86 if ((n->old_status == BLANK) ^ n->invert) in bl_trig_invert_store()
|
H A D | ledtrig-heartbeat.c | 30 unsigned int invert; member 66 if (!heartbeat_data->invert) in led_heartbeat_function() 72 if (heartbeat_data->invert) in led_heartbeat_function() 78 if (!heartbeat_data->invert) in led_heartbeat_function() 85 if (heartbeat_data->invert) in led_heartbeat_function() 100 return sprintf(buf, "%u\n", heartbeat_data->invert); in led_invert_show() 115 heartbeat_data->invert = !!state; in led_invert_store() 120 static DEVICE_ATTR(invert, 0644, led_invert_show, led_invert_store);
|
/kernel/linux/linux-5.10/net/bridge/netfilter/ |
H A D | ebt_mark_m.c | 22 return !!(skb->mark & info->mask) ^ info->invert; in ebt_mark_mt() 23 return ((skb->mark & info->mask) == info->mark) ^ info->invert; in ebt_mark_mt() 43 uint8_t invert, bitmask; member 53 kern->invert = user->invert; in mark_mt_compat_from_user() 64 put_user(kern->invert, &user->invert) || in mark_mt_compat_to_user()
|
/kernel/linux/linux-6.6/net/bridge/netfilter/ |
H A D | ebt_mark_m.c | 22 return !!(skb->mark & info->mask) ^ info->invert; in ebt_mark_mt() 23 return ((skb->mark & info->mask) == info->mark) ^ info->invert; in ebt_mark_mt() 43 uint8_t invert, bitmask; member 53 kern->invert = user->invert; in mark_mt_compat_from_user() 64 put_user(kern->invert, &user->invert) || in mark_mt_compat_to_user()
|
/kernel/linux/linux-5.10/sound/soc/ |
H A D | soc-ops.c | 250 unsigned int invert = mc->invert; in snd_soc_get_volsw() local 262 if (invert) in snd_soc_get_volsw() 277 if (invert) in snd_soc_get_volsw() 310 unsigned int invert = mc->invert; in snd_soc_put_volsw() local 327 if (invert) in snd_soc_put_volsw() 340 if (invert) in snd_soc_put_volsw() 518 unsigned int invert = mc->invert; in snd_soc_put_volsw_range() local 591 unsigned int invert = mc->invert; snd_soc_get_volsw_range() local 864 unsigned int invert = mc->invert; snd_soc_get_xr_sx() local 910 unsigned int invert = mc->invert; snd_soc_put_xr_sx() local 953 unsigned int invert = mc->invert != 0; snd_soc_get_strobe() local 986 unsigned int invert = mc->invert != 0; snd_soc_put_strobe() local [all...] |
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-ops.c | 267 unsigned int invert = mc->invert; in snd_soc_get_volsw() local 279 if (invert) in snd_soc_get_volsw() 294 if (invert) in snd_soc_get_volsw() 327 unsigned int invert = mc->invert; in snd_soc_put_volsw() local 344 if (invert) in snd_soc_put_volsw() 357 if (invert) in snd_soc_put_volsw() 542 unsigned int invert = mc->invert; in snd_soc_put_volsw_range() local 615 unsigned int invert = mc->invert; snd_soc_get_volsw_range() local 887 unsigned int invert = mc->invert; snd_soc_get_xr_sx() local 932 unsigned int invert = mc->invert; snd_soc_put_xr_sx() local 977 unsigned int invert = mc->invert != 0; snd_soc_get_strobe() local 1010 unsigned int invert = mc->invert != 0; snd_soc_put_strobe() local [all...] |
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | tda7419.c | 131 unsigned int invert:1; member 158 unsigned int invert) in tda7419_vol_get_value() 162 if (invert) in tda7419_vol_get_value() 165 if (invert) in tda7419_vol_get_value() 188 unsigned int invert = tvc->invert; in tda7419_vol_get() local 193 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get() 198 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get() 205 unsigned int invert) in tda7419_vol_put_value() 208 if (invert) in tda7419_vol_put_value() 156 tda7419_vol_get_value(int val, unsigned int mask, int min, int thresh, unsigned int invert) tda7419_vol_get_value() argument 204 tda7419_vol_put_value(int val, int thresh, unsigned int invert) tda7419_vol_put_value() argument 230 unsigned int invert = tvc->invert; tda7419_vol_put() local [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | tda7419.c | 131 unsigned int invert:1; member 158 unsigned int invert) in tda7419_vol_get_value() 162 if (invert) in tda7419_vol_get_value() 165 if (invert) in tda7419_vol_get_value() 188 unsigned int invert = tvc->invert; in tda7419_vol_get() local 193 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get() 198 tda7419_vol_get_value(val, mask, min, thresh, invert); in tda7419_vol_get() 205 unsigned int invert) in tda7419_vol_put_value() 208 if (invert) in tda7419_vol_put_value() 156 tda7419_vol_get_value(int val, unsigned int mask, int min, int thresh, unsigned int invert) tda7419_vol_get_value() argument 204 tda7419_vol_put_value(int val, int thresh, unsigned int invert) tda7419_vol_put_value() argument 230 unsigned int invert = tvc->invert; tda7419_vol_put() local [all...] |
/kernel/linux/linux-5.10/include/sound/ |
H A D | wss.h | 162 #define WSS_SINGLE(xname, xindex, reg, shift, mask, invert) \ 169 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 178 #define WSS_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ 186 (shift_right << 19) | (mask << 24) | (invert << 22) } 188 #define WSS_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ 196 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \ 200 shift_left, shift_right, mask, invert, xtlv) \ 209 (shift_right << 19) | (mask << 24) | (invert << 22), \
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | wss.h | 162 #define WSS_SINGLE(xname, xindex, reg, shift, mask, invert) \ 169 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) } 178 #define WSS_DOUBLE(xname, xindex, left_reg, right_reg, shift_left, shift_right, mask, invert) \ 186 (shift_right << 19) | (mask << 24) | (invert << 22) } 188 #define WSS_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ 196 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \ 200 shift_left, shift_right, mask, invert, xtlv) \ 209 (shift_right << 19) | (mask << 24) | (invert << 22), \
|