Home
last modified time | relevance | path

Searched refs:gw (Results 1 – 25 of 117) sorted by relevance

12345

/linux-6.1.9/drivers/gpio/
Dgpio-gw-pld.c37 struct gw_pld *gw = gpiochip_get_data(gc); in gw_pld_input8() local
39 gw->out |= BIT(offset); in gw_pld_input8()
40 return i2c_smbus_write_byte(gw->client, gw->out); in gw_pld_input8()
45 struct gw_pld *gw = gpiochip_get_data(gc); in gw_pld_get8() local
48 val = i2c_smbus_read_byte(gw->client); in gw_pld_get8()
55 struct gw_pld *gw = gpiochip_get_data(gc); in gw_pld_output8() local
58 gw->out |= BIT(offset); in gw_pld_output8()
60 gw->out &= ~BIT(offset); in gw_pld_output8()
62 return i2c_smbus_write_byte(gw->client, gw->out); in gw_pld_output8()
74 struct gw_pld *gw; in gw_pld_probe() local
[all …]
/linux-6.1.9/arch/s390/crypto/
Daes_s390.c675 static void gcm_walk_start(struct gcm_sg_walk *gw, struct scatterlist *sg, in gcm_walk_start() argument
678 memset(gw, 0, sizeof(*gw)); in gcm_walk_start()
679 gw->walk_bytes_remain = len; in gcm_walk_start()
680 scatterwalk_start(&gw->walk, sg); in gcm_walk_start()
683 static inline unsigned int _gcm_sg_clamp_and_map(struct gcm_sg_walk *gw) in _gcm_sg_clamp_and_map() argument
687 gw->walk_bytes = scatterwalk_clamp(&gw->walk, gw->walk_bytes_remain); in _gcm_sg_clamp_and_map()
688 while (!gw->walk_bytes) { in _gcm_sg_clamp_and_map()
689 nextsg = sg_next(gw->walk.sg); in _gcm_sg_clamp_and_map()
692 scatterwalk_start(&gw->walk, nextsg); in _gcm_sg_clamp_and_map()
693 gw->walk_bytes = scatterwalk_clamp(&gw->walk, in _gcm_sg_clamp_and_map()
[all …]
/linux-6.1.9/tools/testing/selftests/netfilter/
Dnft_nat_zones.sh35 gw="ns-gw-$sfx"
49 ip netns del $gw
86 ip netns add "$gw"
88 echo "SKIP: Could not create net namespace $gw"
91 ip -net "$gw" link set lo up
101 ip link add veth0 netns "$gw" type veth peer name eth0 netns "$srv"
102 ip -net "$gw" link set veth0 up
121 ip link add veth$i netns "$gw" type veth peer name eth0 netns "$cl" > /dev/null 2>&1
133 echo netns exec "$gw" ip link set veth$i up
134 echo netns exec "$gw" sysctl -q net.ipv4.conf.veth$i.arp_ignore=2
[all …]
/linux-6.1.9/net/batman-adv/
Dgateway_common.c136 struct batadv_tvlv_gateway_data gw; in batadv_gw_tvlv_container_update() local
140 gw_mode = atomic_read(&bat_priv->gw.mode); in batadv_gw_tvlv_container_update()
148 down = atomic_read(&bat_priv->gw.bandwidth_down); in batadv_gw_tvlv_container_update()
149 up = atomic_read(&bat_priv->gw.bandwidth_up); in batadv_gw_tvlv_container_update()
150 gw.bandwidth_down = htonl(down); in batadv_gw_tvlv_container_update()
151 gw.bandwidth_up = htonl(up); in batadv_gw_tvlv_container_update()
153 &gw, sizeof(gw)); in batadv_gw_tvlv_container_update()
177 down_curr = (unsigned int)atomic_read(&bat_priv->gw.bandwidth_down); in batadv_gw_bandwidth_set()
178 up_curr = (unsigned int)atomic_read(&bat_priv->gw.bandwidth_up); in batadv_gw_bandwidth_set()
202 atomic_set(&bat_priv->gw.bandwidth_down, down_new); in batadv_gw_bandwidth_set()
[all …]
Dgateway_client.c85 gw_node = rcu_dereference(bat_priv->gw.curr_gw); in batadv_gw_get_selected_gw_node()
133 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
138 curr_gw_node = rcu_replace_pointer(bat_priv->gw.curr_gw, new_gw_node, in batadv_gw_select()
143 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
159 atomic_set(&bat_priv->gw.reselect, 1); in batadv_gw_reselect()
174 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_check_client_stop()
206 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_election()
209 if (!bat_priv->algo_ops->gw.get_best_gw_node) in batadv_gw_election()
214 if (!batadv_atomic_dec_not_zero(&bat_priv->gw.reselect) && curr_gw) in batadv_gw_election()
221 next_gw = bat_priv->algo_ops->gw.get_best_gw_node(bat_priv); in batadv_gw_election()
[all …]
/linux-6.1.9/arch/arm/boot/dts/
Dimx6qdl-gw5913.dtsi138 compatible = "gw,gsc";
147 compatible = "gw,gsc-adc";
152 gw,mode = <0>;
158 gw,mode = <3>;
164 gw,mode = <2>;
167 gw,voltage-divider-ohms = <22100 1000>;
168 gw,voltage-offset-microvolt = <800000>;
172 gw,mode = <2>;
175 gw,voltage-divider-ohms = <22100 10000>;
179 gw,mode = <2>;
[all …]
Dimx6qdl-gw5910.dtsi162 compatible = "gw,gsc";
171 compatible = "gw,gsc-adc";
176 gw,mode = <0>;
182 gw,mode = <3>;
188 gw,mode = <2>;
191 gw,voltage-divider-ohms = <22100 1000>;
192 gw,voltage-offset-microvolt = <800000>;
196 gw,mode = <2>;
199 gw,voltage-divider-ohms = <22100 10000>;
203 gw,mode = <2>;
[all …]
Dimx6qdl-gw5907.dtsi153 compatible = "gw,gsc";
162 compatible = "gw,gsc-adc";
167 gw,mode = <0>;
173 gw,mode = <1>;
179 gw,mode = <1>;
185 gw,mode = <1>;
191 gw,mode = <1>;
197 gw,mode = <1>;
203 gw,mode = <1>;
209 gw,mode = <1>;
[all …]
Dimx6qdl-gw5912.dtsi157 compatible = "gw,gsc";
167 compatible = "gw,gsc-adc";
172 gw,mode = <0>;
178 gw,mode = <1>;
184 gw,mode = <1>;
190 gw,mode = <1>;
196 gw,mode = <1>;
202 gw,mode = <1>;
208 gw,mode = <1>;
214 gw,mode = <1>;
[all …]
Dimx6qdl-gw552x.dtsi143 compatible = "gw,gsc";
152 compatible = "gw,gsc-adc";
157 gw,mode = <0>;
163 gw,mode = <1>;
169 gw,mode = <1>;
175 gw,mode = <1>;
181 gw,mode = <1>;
187 gw,mode = <1>;
193 gw,mode = <1>;
199 gw,mode = <1>;
[all …]
Dimx6qdl-gw51xx.dtsi153 compatible = "gw,gsc";
162 compatible = "gw,gsc-adc";
167 gw,mode = <0>;
173 gw,mode = <1>;
179 gw,mode = <1>;
185 gw,mode = <1>;
191 gw,mode = <1>;
197 gw,mode = <1>;
203 gw,mode = <1>;
209 gw,mode = <1>;
[all …]
Dimx6qdl-gw53xx.dtsi220 compatible = "gw,gsc";
229 compatible = "gw,gsc-adc";
234 gw,mode = <0>;
240 gw,mode = <1>;
246 gw,mode = <1>;
252 gw,mode = <1>;
258 gw,mode = <1>;
264 gw,mode = <1>;
270 gw,mode = <1>;
276 gw,mode = <1>;
[all …]
Dimx6qdl-gw54xx.dtsi257 compatible = "gw,gsc";
267 compatible = "gw,gsc-adc";
272 gw,mode = <0>;
278 gw,mode = <1>;
284 gw,mode = <1>;
290 gw,mode = <1>;
296 gw,mode = <1>;
302 gw,mode = <1>;
308 gw,mode = <1>;
314 gw,mode = <1>;
[all …]
Dimx6qdl-gw52xx.dtsi227 compatible = "gw,gsc";
236 compatible = "gw,gsc-adc";
241 gw,mode = <0>;
247 gw,mode = <1>;
253 gw,mode = <1>;
259 gw,mode = <1>;
265 gw,mode = <1>;
271 gw,mode = <1>;
277 gw,mode = <1>;
283 gw,mode = <1>;
[all …]
/linux-6.1.9/arch/arm64/boot/dts/freescale/
Dimx8mm-venice-gw700x.dtsi127 compatible = "gw,gsc";
138 compatible = "gw,gsc-adc";
143 gw,mode = <0>;
149 gw,mode = <1>;
155 gw,mode = <4>;
161 gw,mode = <2>;
164 gw,voltage-divider-ohms = <22100 1000>;
168 gw,mode = <2>;
171 gw,voltage-divider-ohms = <10000 10000>;
175 gw,mode = <2>;
[all …]
Dimx8mn-venice-gw7902.dts17 compatible = "gw,imx8mn-gw7902", "fsl,imx8mn";
305 compatible = "gw,gsc";
314 compatible = "gw,gsc-adc";
319 gw,mode = <0>;
325 gw,mode = <1>;
331 gw,mode = <2>;
334 gw,voltage-divider-ohms = <22100 1000>;
335 gw,voltage-offset-microvolt = <700000>;
339 gw,mode = <2>;
342 gw,voltage-divider-ohms = <10000 10000>;
[all …]
Dimx8mm-venice-gw7902.dts18 compatible = "gw,imx8mm-gw7902", "fsl,imx8mm";
306 compatible = "gw,gsc";
315 compatible = "gw,gsc-adc";
320 gw,mode = <0>;
326 gw,mode = <1>;
332 gw,mode = <2>;
335 gw,voltage-divider-ohms = <22100 1000>;
336 gw,voltage-offset-microvolt = <700000>;
340 gw,mode = <2>;
343 gw,voltage-divider-ohms = <10000 10000>;
[all …]
Dimx8mm-venice-gw7903.dts17 compatible = "gw,imx8mm-gw7903", "fsl,imx8mm";
273 compatible = "gw,gsc";
282 compatible = "gw,gsc-adc";
287 gw,mode = <0>;
293 gw,mode = <1>;
299 gw,mode = <2>;
302 gw,voltage-divider-ohms = <22100 1000>;
303 gw,voltage-offset-microvolt = <700000>;
307 gw,mode = <2>;
310 gw,voltage-divider-ohms = <10000 10000>;
[all …]
Dimx8mm-venice-gw7901.dts17 compatible = "gw,imx8mm-gw7901", "fsl,imx8mm";
334 compatible = "gw,gsc";
343 compatible = "gw,gsc-adc";
348 gw,mode = <0>;
354 gw,mode = <1>;
360 gw,mode = <2>;
363 gw,voltage-divider-ohms = <22100 1000>;
367 gw,mode = <2>;
370 gw,voltage-divider-ohms = <22100 1000>;
374 gw,mode = <2>;
[all …]
Dimx8mp-venice-gw74xx.dts261 compatible = "gw,gsc";
270 compatible = "gw,gsc-adc";
275 gw,mode = <0>;
281 gw,mode = <1>;
287 gw,mode = <2>;
290 gw,voltage-divider-ohms = <10000 10000>;
294 gw,mode = <2>;
297 gw,voltage-divider-ohms = <10000 10000>;
301 gw,mode = <2>;
304 gw,voltage-divider-ohms = <22100 1000>;
[all …]
Dimx8mm-venice-gw7904.dts323 compatible = "gw,gsc";
332 compatible = "gw,gsc-adc";
337 gw,mode = <0>;
343 gw,mode = <2>;
346 gw,voltage-divider-ohms = <22100 1000>;
347 gw,voltage-offset-microvolt = <700000>;
351 gw,mode = <2>;
354 gw,voltage-divider-ohms = <10000 10000>;
358 gw,mode = <2>;
361 gw,voltage-divider-ohms = <10000 10000>;
[all …]
/linux-6.1.9/Documentation/devicetree/bindings/mfd/
Dgateworks-gsc.yaml27 const: gw,gsc
54 const: gw,gsc-adc
79 gw,mode:
91 gw,voltage-divider-ohms:
98 gw,voltage-offset-microvolt:
106 - gw,mode
123 const: gw,gsc-fan
161 compatible = "gw,gsc";
171 compatible = "gw,gsc-adc";
178 gw,mode = <0>;
[all …]
/linux-6.1.9/net/ipv4/netfilter/
Dnf_dup_ipv4.c24 const struct in_addr *gw, int oif) in nf_dup_ipv4_route() argument
34 fl4.daddr = gw->s_addr; in nf_dup_ipv4_route()
51 const struct in_addr *gw, int oif) in nf_dup_ipv4() argument
86 if (nf_dup_ipv4_route(net, skb, gw, oif)) { in nf_dup_ipv4()
/linux-6.1.9/net/ipv6/netfilter/
Dnf_dup_ipv6.c20 const struct in6_addr *gw, int oif) in nf_dup_ipv6_route() argument
30 fl6.daddr = *gw; in nf_dup_ipv6_route()
48 const struct in6_addr *gw, int oif) in nf_dup_ipv6() argument
65 if (nf_dup_ipv6_route(net, skb, gw, oif)) { in nf_dup_ipv6()
/linux-6.1.9/net/can/
DMakefile16 obj-$(CONFIG_CAN_GW) += can-gw.o
17 can-gw-y := gw.o

12345