Home
last modified time | relevance | path

Searched full:invert (Results 1 – 25 of 965) sorted by relevance

12345678910>>...39

/openbmc/linux/net/netfilter/
H A Dxt_physdev.c35 /* 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 & XT_PHYSDEV_OP_IN)) in physdev_mt()
[all …]
H A Dxt_connlabel.c26 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 Dnft_connlimit.c19 bool invert; member
53 if ((count > priv->limit) ^ priv->invert) { in nft_connlimit_do_eval()
63 bool invert = false; in nft_connlimit_do_init() local
77 invert = true; in nft_connlimit_do_init()
86 priv->invert = invert; in nft_connlimit_do_init()
112 if (priv->invert && in nft_connlimit_do_dump()
224 priv_dst->invert = priv_src->invert; in nft_connlimit_clone()
H A Dxt_multiport.c45 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 Dxt_ipvs.c62 !!(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 Dxt_tcpudp.c29 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() argument
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() argument
179 ^ invert; in icmp_type_code_match()
183 u8 type, u8 code, bool invert) in icmp6_type_code_match() argument
185 return type_code_in_range(test_type, min_code, max_code, type, code) ^ invert; in icmp6_type_code_match()
/openbmc/linux/drivers/iio/adc/
H A Denvelope-detector.c59 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()
[all …]
/openbmc/linux/sound/pci/ac97/
H A Dac97_patch.h10 #define AC97_SINGLE_VALUE(reg,shift,mask,invert) \ argument
12 ((invert) << 24))
13 #define AC97_PAGE_SINGLE_VALUE(reg,shift,mask,invert,page) \ argument
14 (AC97_SINGLE_VALUE(reg,shift,mask,invert) | (1<<25) | ((page) << 26))
15 #define AC97_SINGLE(xname, reg, shift, mask, invert) \ argument
19 .private_value = AC97_SINGLE_VALUE(reg, shift, mask, invert) }
20 #define AC97_PAGE_SINGLE(xname, reg, shift, mask, invert, page) \ argument
24 .private_value = AC97_PAGE_SINGLE_VALUE(reg, shift, mask, invert, page) }
25 #define AC97_DOUBLE(xname, reg, shift_left, shift_right, mask, invert) \ argument
29 ….private_value = (reg) | ((shift_left) << 8) | ((shift_right) << 12) | ((mask) << 16) | ((invert) …
/openbmc/linux/drivers/leds/trigger/
H A Dledtrig-backlight.c25 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 Dledtrig-heartbeat.c30 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);
/openbmc/linux/include/uapi/linux/netfilter/
H A Dxt_tcpudp.h18 #define XT_TCP_INV_SRCPT 0x01 /* Invert the sense of source ports. */
19 #define XT_TCP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */
20 #define XT_TCP_INV_FLAGS 0x04 /* Invert the sense of TCP flags. */
21 #define XT_TCP_INV_OPTION 0x08 /* Invert the sense of option test. */
32 #define XT_UDP_INV_SRCPT 0x01 /* Invert the sense of source ports. */
33 #define XT_UDP_INV_DSTPT 0x02 /* Invert the sense of dest ports. */
/openbmc/linux/net/bridge/netfilter/
H A Debt_mark_m.c22 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()
/openbmc/u-boot/drivers/video/meson/
H A Dmeson_dw_hdmi.h30 * Bit 12 RW i2s_ws_inv:1=Invert i2s_ws; 0=No invert. Default 0.
31 * Bit 11 RW i2s_clk_inv: 1=Invert i2s_clk; 0=No invert. Default 0.
32 * Bit 10 RW spdif_clk_inv: 1=Invert spdif_clk; 0=No invert. Default 0.
33 * Bit 9 RW tmds_clk_inv: 1=Invert tmds_clk; 0=No invert. Default 0.
34 * Bit 8 RW pixel_clk_inv: 1=Invert pixel_clk; 0=No invert. Default 0.
/openbmc/linux/include/uapi/linux/netfilter_arp/
H A Darp_tables.h81 #define ARPT_INV_VIA_IN 0x0001 /* Invert the sense of IN IFACE. */
82 #define ARPT_INV_VIA_OUT 0x0002 /* Invert the sense of OUT IFACE */
83 #define ARPT_INV_SRCIP 0x0004 /* Invert the sense of SRC IP. */
84 #define ARPT_INV_TGTIP 0x0008 /* Invert the sense of TGT IP. */
85 #define ARPT_INV_SRCDEVADDR 0x0010 /* Invert the sense of SRC DEV ADDR. */
86 #define ARPT_INV_TGTDEVADDR 0x0020 /* Invert the sense of TGT DEV ADDR. */
87 #define ARPT_INV_ARPOP 0x0040 /* Invert the sense of ARP OP. */
88 #define ARPT_INV_ARPHRD 0x0080 /* Invert the sense of ARP HRD. */
89 #define ARPT_INV_ARPPRO 0x0100 /* Invert the sense of ARP PRO. */
90 #define ARPT_INV_ARPHLN 0x0200 /* Invert the sense of ARP HLN. */
/openbmc/linux/drivers/gpu/drm/meson/
H A Dmeson_dw_hdmi.h34 * Bit 12 RW i2s_ws_inv:1=Invert i2s_ws; 0=No invert. Default 0.
35 * Bit 11 RW i2s_clk_inv: 1=Invert i2s_clk; 0=No invert. Default 0.
36 * Bit 10 RW spdif_clk_inv: 1=Invert spdif_clk; 0=No invert. Default 0.
37 * Bit 9 RW tmds_clk_inv: 1=Invert tmds_clk; 0=No invert. Default 0.
38 * Bit 8 RW pixel_clk_inv: 1=Invert pixel_clk; 0=No invert. Default 0.
/openbmc/linux/sound/soc/
H A Dsoc-ops.c267 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
554 if (invert) in snd_soc_put_volsw_range()
575 if (invert) in snd_soc_put_volsw_range()
615 unsigned int invert = mc->invert; in snd_soc_get_volsw_range() local
[all …]
/openbmc/linux/drivers/macintosh/ams/
H A Dams-input.c22 static bool invert; variable
23 module_param(invert, bool, S_IWUSR | S_IRUGO);
24 MODULE_PARM_DESC(invert, "Invert input data on X and Y axis");
40 input_report_abs(idev, ABS_X, invert ? -x : x); in ams_idev_poll()
41 input_report_abs(idev, ABS_Y, invert ? -y : y); in ams_idev_poll()
/openbmc/linux/sound/soc/codecs/
H A Dtda7419.c131 unsigned int invert:1; member
158 unsigned int invert) in tda7419_vol_get_value() argument
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() argument
208 if (invert) in tda7419_vol_put_value()
212 } else if ((val > 0) && invert) { in tda7419_vol_put_value()
[all …]
H A Dtas2781-comlib.c427 static int tasdevice_clamp(int val, int max, unsigned int invert) in tasdevice_clamp() argument
431 if (invert) in tasdevice_clamp()
441 unsigned int invert = mc->invert; in tasdevice_amp_putvol() local
449 val = tasdevice_clamp(ucontrol->value.integer.value[0], max, invert); in tasdevice_amp_putvol()
467 unsigned int invert = mc->invert; in tasdevice_amp_getvol() local
483 val = tasdevice_clamp(val, max, invert); in tasdevice_amp_getvol()
495 unsigned int invert = mc->invert; in tasdevice_digital_putvol() local
501 val = tasdevice_clamp(ucontrol->value.integer.value[0], max, invert); in tasdevice_digital_putvol()
522 unsigned int invert = mc->invert; in tasdevice_digital_getvol() local
534 val = tasdevice_clamp(val, max, invert); in tasdevice_digital_getvol()
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereep-dp/
H A Dpipeline.json15 "Invert": "1", string
291 "Invert": "1", string
376 "Invert": "1", string
386 "Invert": "1", string
419 "Invert": "1", string
609 "Invert": "1", string
638 "Invert": "1", string
649 "Invert": "1", string
659 "Invert": "1", string
669 "Invert": "1", string
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereex/
H A Dpipeline.json15 "Invert": "1", string
291 "Invert": "1", string
376 "Invert": "1", string
386 "Invert": "1", string
419 "Invert": "1", string
609 "Invert": "1", string
637 "Invert": "1", string
647 "Invert": "1", string
657 "Invert": "1", string
667 "Invert": "1", string
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/nehalemep/
H A Dpipeline.json15 "Invert": "1", string
275 "Invert": "1", string
360 "Invert": "1", string
370 "Invert": "1", string
403 "Invert": "1", string
593 "Invert": "1", string
622 "Invert": "1", string
633 "Invert": "1", string
643 "Invert": "1", string
653 "Invert": "1", string
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/nehalemex/
H A Dpipeline.json15 "Invert": "1", string
275 "Invert": "1", string
360 "Invert": "1", string
370 "Invert": "1", string
403 "Invert": "1", string
593 "Invert": "1", string
622 "Invert": "1", string
633 "Invert": "1", string
643 "Invert": "1", string
653 "Invert": "1", string
[all …]
/openbmc/linux/tools/perf/pmu-events/arch/x86/westmereep-sp/
H A Dpipeline.json15 "Invert": "1", string
291 "Invert": "1", string
376 "Invert": "1", string
386 "Invert": "1", string
419 "Invert": "1", string
609 "Invert": "1", string
638 "Invert": "1", string
649 "Invert": "1", string
659 "Invert": "1", string
669 "Invert": "1", string
[all …]
/openbmc/linux/include/sound/
H A Dwss.h162 #define WSS_SINGLE(xname, xindex, reg, shift, mask, invert) \ argument
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) \ argument
186 (shift_right << 19) | (mask << 24) | (invert << 22) }
188 #define WSS_SINGLE_TLV(xname, xindex, reg, shift, mask, invert, xtlv) \ argument
196 .private_value = reg | (shift << 8) | (mask << 16) | (invert << 24), \
200 shift_left, shift_right, mask, invert, xtlv) \ argument
209 (shift_right << 19) | (mask << 24) | (invert << 22), \

12345678910>>...39