Searched refs:invert (Results 51 - 75 of 250) sorted by relevance

12345678910

/linux-master/net/netfilter/
H A Dxt_length.c26 return (pktlen >= info->min && pktlen <= info->max) ^ info->invert;
35 return (pktlen >= info->min && pktlen <= info->max) ^ info->invert;
H A Dxt_owner.c71 return (info->match ^ info->invert) == 0;
72 else if (info->match & info->invert & XT_OWNER_SOCKET)
83 return ((info->match ^ info->invert) &
92 !(info->invert & XT_OWNER_UID)) {
120 if (match ^ !(info->invert & XT_OWNER_GID)) {
H A Dxt_tcpudp.c29 port_match(u_int16_t min, u_int16_t max, u_int16_t port, bool invert) argument
31 return (port >= min && port <= max) ^ invert;
39 bool invert,
50 return invert;
61 if (op[i] == option) return !invert;
66 return invert;
175 u8 type, u8 code, bool invert)
179 ^ invert;
183 u8 type, u8 code, bool invert)
185 return type_code_in_range(test_type, min_code, max_code, type, code) ^ invert;
35 tcp_find_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, unsigned int optlen, bool invert, bool *hotdrop) argument
174 icmp_type_code_match(u8 test_type, u8 min_code, u8 max_code, u8 type, u8 code, bool invert) argument
182 icmp6_type_code_match(u8 test_type, u8 min_code, u8 max_code, u8 type, u8 code, bool invert) argument
[all...]
H A Dnft_connlimit.c19 bool invert; member in struct:nft_connlimit
53 if ((count > priv->limit) ^ priv->invert) {
63 bool invert = false; local
77 invert = true;
86 priv->invert = invert;
112 if (priv->invert &&
224 priv_dst->invert = priv_src->invert;
H A Dxt_realm.c27 return (info->id == (dst->tclassid & info->mask)) ^ info->invert;
H A Dxt_tcpmss.c62 mssval <= info->mss_max) ^ info->invert;
70 return info->invert;
H A Dnft_limit.c29 bool invert; member in struct:nft_limit_priv
48 return priv->invert;
52 return !priv->invert;
62 bool invert = false; local
110 invert = true;
119 priv->invert = invert;
129 u32 flags = priv->invert ? NFT_LIMIT_F_INV : 0;
159 priv_dst->invert = priv_src->invert;
[all...]
/linux-master/sound/soc/codecs/
H A Dtas2781-comlib.c430 static int tasdevice_clamp(int val, int max, unsigned int invert) argument
434 if (invert)
444 unsigned int invert = mc->invert; local
452 val = tasdevice_clamp(ucontrol->value.integer.value[0], max, invert);
470 unsigned int invert = mc->invert; local
486 val = tasdevice_clamp(val, max, invert);
498 unsigned int invert = mc->invert; local
525 unsigned int invert = mc->invert; local
[all...]
H A Dtda7419.c131 unsigned int invert:1; member in struct:tda7419_vol_control
158 unsigned int invert)
162 if (invert)
165 if (invert)
188 unsigned int invert = tvc->invert; local
193 tda7419_vol_get_value(val, mask, min, thresh, invert);
198 tda7419_vol_get_value(val, mask, min, thresh, invert);
205 unsigned int invert)
208 if (invert)
156 tda7419_vol_get_value(int val, unsigned int mask, int min, int thresh, unsigned int invert) argument
204 tda7419_vol_put_value(int val, int thresh, unsigned int invert) argument
230 unsigned int invert = tvc->invert; local
[all...]
/linux-master/drivers/clk/qcom/
H A Dclk-branch.c31 bool invert = (br->halt_check == BRANCH_HALT_ENABLE); local
37 if (invert)
47 bool invert = (br->halt_check == BRANCH_HALT_ENABLE); local
56 return (val & CBCR_CLK_OFF) == (invert ? CBCR_CLK_OFF : 0) ||
59 return (val & CBCR_CLK_OFF) == (invert ? 0 : CBCR_CLK_OFF);
/linux-master/sound/soc/
H A Dsoc-ops.c267 unsigned int invert = mc->invert; local
279 if (invert)
294 if (invert)
327 unsigned int invert = mc->invert; local
344 if (invert)
357 if (invert)
542 unsigned int invert = mc->invert; local
615 unsigned int invert = mc->invert; local
887 unsigned int invert = mc->invert; local
932 unsigned int invert = mc->invert; local
977 unsigned int invert = mc->invert != 0; local
1010 unsigned int invert = mc->invert != 0; local
[all...]
/linux-master/net/ipv6/netfilter/
H A Dip6t_ah.c25 spi_match(u_int32_t min, u_int32_t max, u_int32_t spi, bool invert) argument
30 invert ? '!' : ' ', min, spi, max);
31 r = (spi >= min && spi <= max) ^ invert;
H A Dip6t_rpfilter.c95 bool invert = info->flags & XT_RPFILTER_INVERT; local
98 return true ^ invert;
103 return true ^ invert; /* not routable: forward path will drop it */
106 info->flags) ^ invert;
H A Dip6t_mh.c26 type_match(u_int8_t min, u_int8_t max, u_int8_t type, bool invert) argument
28 return (type >= min && type <= max) ^ invert;
H A Dip6t_frag.c24 id_match(u_int32_t min, u_int32_t max, u_int32_t id, bool invert) argument
27 pr_debug("id_match:%c 0x%x <= 0x%x <= 0x%x\n", invert ? '!' : ' ',
29 r = (id >= min && id <= max) ^ invert;
/linux-master/drivers/clk/imx/
H A Dclk-scu.h49 bool invert);
80 u32 rsrc_id, u8 gpr_id, bool invert)
83 IMX_SCU_GPR_CLK_GATE, invert);
79 imx_clk_gate_gpr_scu(const char *name, const char *parent_name, u32 rsrc_id, u8 gpr_id, bool invert) argument
/linux-master/arch/x86/math-emu/
H A Dpoly_tan.c54 int invert; local
72 invert = 1;
96 invert = 0;
163 if (invert) {
/linux-master/include/linux/mfd/pcf50633/
H A Dgpio.h41 int pcf50633_gpio_invert_set(struct pcf50633 *, int gpio, int invert);
/linux-master/include/uapi/linux/netfilter/
H A Dxt_policy.h64 struct xt_policy_spec invert; member in struct:xt_policy_elem
/linux-master/sound/pci/
H A Dak4531_codec.c46 #define AK4531_SINGLE(xname, xindex, reg, shift, mask, invert) \
50 .private_value = reg | (shift << 16) | (mask << 24) | (invert << 22) }
51 #define AK4531_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \
57 .private_value = reg | (shift << 16) | (mask << 24) | (invert << 22), \
77 int invert = (kcontrol->private_value >> 22) & 1; local
83 if (invert) {
96 int invert = (kcontrol->private_value >> 22) & 1; local
101 if (invert) {
113 #define AK4531_DOUBLE(xname, xindex, left_reg, right_reg, left_shift, right_shift, mask, invert) \
117 .private_value = left_reg | (right_reg << 8) | (left_shift << 16) | (right_shift << 19) | (mask << 24) | (invert << 2
146 int invert = (kcontrol->private_value >> 22) & 1; local
170 int invert = (kcontrol->private_value >> 22) & 1; local
[all...]
/linux-master/drivers/mfd/
H A Dpcf50633-gpio.c54 int pcf50633_gpio_invert_set(struct pcf50633 *pcf, int gpio, int invert) argument
59 val = !!invert << 3;
/linux-master/drivers/gpio/
H A Dgpio-regmap.c118 int invert, ret; local
127 invert = 0;
130 invert = 1;
143 if (!!(val & mask) ^ invert)
154 int invert, ret; local
158 invert = 0;
161 invert = 1;
170 if (invert)
/linux-master/sound/isa/gus/
H A Dgus_mixer.c17 #define GF1_SINGLE(xname, xindex, shift, invert) \
21 .private_value = shift | (invert << 8) }
29 int invert = (kcontrol->private_value >> 8) & 1; local
32 if (invert)
42 int invert = (kcontrol->private_value >> 8) & 1; local
47 if (invert)
/linux-master/sound/isa/cs423x/
H A Dcs4236_lib.c378 #define CS4236_SINGLE(xname, xindex, reg, shift, mask, invert) \
382 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24) }
384 #define CS4236_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \
389 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \
410 int invert = (kcontrol->private_value >> 24) & 0xff; local
415 if (invert)
427 int invert = (kcontrol->private_value >> 24) & 0xff; local
432 if (invert)
443 #define CS4236_SINGLEC(xname, xindex, reg, shift, mask, invert) \
447 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 2
456 int invert = (kcontrol->private_value >> 24) & 0xff; local
473 int invert = (kcontrol->private_value >> 24) & 0xff; local
525 int invert = (kcontrol->private_value >> 22) & 1; local
547 int invert = (kcontrol->private_value >> 22) & 1; local
601 int invert = (kcontrol->private_value >> 22) & 1; local
623 int invert = (kcontrol->private_value >> 22) & 1; local
[all...]
/linux-master/drivers/leds/trigger/
H A Dledtrig-activity.c30 int invert; member in struct:activity_data
131 (activity_data->state ^ activity_data->invert) ?
159 return sprintf(buf, "%u\n", activity_data->invert);
174 activity_data->invert = !!state;
179 static DEVICE_ATTR(invert, 0644, led_invert_show, led_invert_store);

Completed in 232 milliseconds

12345678910