Home
last modified time | relevance | path

Searched full:gw (Results 1 – 25 of 172) sorted by relevance

1234567

/linux-6.14.4/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()
73 struct gw_pld *gw; in gw_pld_probe() local
[all …]
/linux-6.14.4/arch/s390/crypto/
Daes_s390.c780 static void gcm_walk_start(struct gcm_sg_walk *gw, struct scatterlist *sg, in gcm_walk_start() argument
783 memset(gw, 0, sizeof(*gw)); in gcm_walk_start()
784 gw->walk_bytes_remain = len; in gcm_walk_start()
785 scatterwalk_start(&gw->walk, sg); in gcm_walk_start()
788 static inline unsigned int _gcm_sg_clamp_and_map(struct gcm_sg_walk *gw) in _gcm_sg_clamp_and_map() argument
792 gw->walk_bytes = scatterwalk_clamp(&gw->walk, gw->walk_bytes_remain); in _gcm_sg_clamp_and_map()
793 while (!gw->walk_bytes) { in _gcm_sg_clamp_and_map()
794 nextsg = sg_next(gw->walk.sg); in _gcm_sg_clamp_and_map()
797 scatterwalk_start(&gw->walk, nextsg); in _gcm_sg_clamp_and_map()
798 gw->walk_bytes = scatterwalk_clamp(&gw->walk, in _gcm_sg_clamp_and_map()
[all …]
/linux-6.14.4/tools/testing/selftests/net/netfilter/
Dnft_nat_zones.sh60 setup_ns gw srv
64 ip link add veth0 netns "$gw" type veth peer name eth0 netns "$srv"
65 ip -net "$gw" link set veth0 up
79 if ! ip link add veth"$i" netns "$gw" type veth peer name eth0 netns "$cl" > /dev/null 2>&1;then
89 echo netns exec "$gw" ip link set "veth$i" up
90 echo netns exec "$gw" sysctl -q net.ipv4.conf.veth"$i".arp_ignore=2
91 echo netns exec "$gw" sysctl -q net.ipv4.conf.veth"$i".rp_filter=0
100 echo netns exec "$gw" ip addr add 10.1.0.2/24 dev "veth$i"
101 echo netns exec "$gw" ip addr add dead:1::2/64 dev "veth$i" nodad
103 # gw: policy routing
[all …]
/linux-6.14.4/net/batman-adv/
Dgateway_client.c84 gw_node = rcu_dereference(bat_priv->gw.curr_gw); in batadv_gw_get_selected_gw_node()
132 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
137 curr_gw_node = rcu_replace_pointer(bat_priv->gw.curr_gw, new_gw_node, in batadv_gw_select()
142 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
149 * Set a flag to remind the GW component to perform a new gateway reselection.
158 atomic_set(&bat_priv->gw.reselect, 1); in batadv_gw_reselect()
165 * This function assumes the caller has checked that the gw state *is actually
173 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_check_client_stop()
185 /* if batman-adv is switching the gw client mode off and a gateway was in batadv_gw_check_client_stop()
205 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_election()
[all …]
Dgateway_common.c21 * batadv_gw_tvlv_container_update() - update the gw tvlv container after
27 struct batadv_tvlv_gateway_data gw; in batadv_gw_tvlv_container_update() local
31 gw_mode = atomic_read(&bat_priv->gw.mode); in batadv_gw_tvlv_container_update()
39 down = atomic_read(&bat_priv->gw.bandwidth_down); in batadv_gw_tvlv_container_update()
40 up = atomic_read(&bat_priv->gw.bandwidth_up); in batadv_gw_tvlv_container_update()
41 gw.bandwidth_down = htonl(down); in batadv_gw_tvlv_container_update()
42 gw.bandwidth_up = htonl(up); in batadv_gw_tvlv_container_update()
44 &gw, sizeof(gw)); in batadv_gw_tvlv_container_update()
86 atomic_read(&bat_priv->gw.mode) == BATADV_GW_MODE_CLIENT) in batadv_gw_tvlv_ogm_handler_v1()
96 if (bat_priv->algo_ops->gw.init_sel_class) in batadv_gw_init()
[all …]
Dbat_v.c504 * batadv_v_init_sel_class() - initialize GW selection class
510 atomic_set(&bat_priv->gw.sel_class, 50); in batadv_v_init_sel_class()
514 * batadv_v_gw_throughput_get() - retrieve the GW-bandwidth for a given GW
515 * @gw_node: the GW to retrieve the metric for
517 * the minimum between the GW advertised throughput and the path throughput to
538 /* the GW metric is computed as the minimum between the path throughput in batadv_v_gw_throughput_get()
539 * to reach the GW itself and the advertised bandwidth. in batadv_v_gw_throughput_get()
541 * client can expect via this particular GW node in batadv_v_gw_throughput_get()
555 * batadv_v_gw_get_best_gw_node() - retrieve the best GW node
558 * Return: the GW node having the best GW-metric, NULL if no GW is known
[all …]
/linux-6.14.4/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
153 compatible = "gw,gsc";
163 compatible = "gw,gsc-adc";
170 gw,mode = <0>;
[all …]
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/
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.dtsi247 compatible = "gw,gsc";
257 compatible = "gw,gsc-adc";
262 gw,mode = <0>;
268 gw,mode = <1>;
274 gw,mode = <1>;
280 gw,mode = <1>;
286 gw,mode = <1>;
292 gw,mode = <1>;
298 gw,mode = <1>;
304 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 …]
Dimx6qdl-gw553x.dtsi181 compatible = "gw,gsc";
190 compatible = "gw,gsc-adc";
195 gw,mode = <0>;
201 gw,mode = <1>;
207 gw,mode = <1>;
213 gw,mode = <1>;
219 gw,mode = <1>;
225 gw,mode = <1>;
231 gw,mode = <1>;
237 gw,mode = <1>;
[all …]
/linux-6.14.4/arch/arm64/boot/dts/freescale/
Dimx8mm-venice-gw700x.dtsi155 compatible = "gw,gsc";
166 compatible = "gw,gsc-adc";
171 gw,mode = <0>;
177 gw,mode = <3>;
183 gw,mode = <4>;
189 gw,mode = <2>;
192 gw,voltage-divider-ohms = <22100 1000>;
196 gw,mode = <2>;
199 gw,voltage-divider-ohms = <10000 10000>;
203 gw,mode = <2>;
[all …]
Dimx8mp-venice-gw702x.dtsi141 compatible = "gw,gsc";
152 compatible = "gw,gsc-adc";
157 gw,mode = <0>;
163 gw,mode = <3>;
169 gw,mode = <4>;
175 gw,mode = <2>;
178 gw,voltage-divider-ohms = <22100 1000>;
182 gw,mode = <2>;
185 gw,voltage-divider-ohms = <10000 10000>;
189 gw,mode = <2>;
[all …]
Dimx8mn-venice-gw7902.dts17 compatible = "gw,imx8mn-gw7902", "fsl,imx8mn";
310 compatible = "gw,gsc";
321 compatible = "gw,gsc-adc";
326 gw,mode = <0>;
332 gw,mode = <3>;
338 gw,mode = <2>;
341 gw,voltage-divider-ohms = <22100 1000>;
342 gw,voltage-offset-microvolt = <700000>;
346 gw,mode = <2>;
349 gw,voltage-divider-ohms = <10000 10000>;
[all …]
Dimx8mp-venice-gw74xx.dts335 compatible = "gw,gsc";
346 compatible = "gw,gsc-adc";
351 gw,mode = <0>;
357 gw,mode = <3>;
363 gw,mode = <4>;
369 gw,mode = <2>;
372 gw,voltage-divider-ohms = <10000 10000>;
376 gw,mode = <2>;
379 gw,voltage-divider-ohms = <10000 10000>;
383 gw,mode = <2>;
[all …]
Dimx8mm-venice-gw7902.dts18 compatible = "gw,imx8mm-gw7902", "fsl,imx8mm";
312 compatible = "gw,gsc";
323 compatible = "gw,gsc-adc";
328 gw,mode = <0>;
334 gw,mode = <3>;
340 gw,mode = <2>;
343 gw,voltage-divider-ohms = <22100 1000>;
344 gw,voltage-offset-microvolt = <700000>;
348 gw,mode = <2>;
351 gw,voltage-divider-ohms = <10000 10000>;
[all …]
Dimx8mm-venice-gw7901.dts17 compatible = "gw,imx8mm-gw7901", "fsl,imx8mm";
362 compatible = "gw,gsc";
373 compatible = "gw,gsc-adc";
378 gw,mode = <0>;
384 gw,mode = <3>;
390 gw,mode = <2>;
393 gw,voltage-divider-ohms = <22100 1000>;
397 gw,mode = <2>;
400 gw,voltage-divider-ohms = <22100 1000>;
404 gw,mode = <2>;
[all …]
Dimx8mm-venice-gw7903.dts17 compatible = "gw,imx8mm-gw7903", "fsl,imx8mm";
278 compatible = "gw,gsc";
289 compatible = "gw,gsc-adc";
294 gw,mode = <0>;
300 gw,mode = <3>;
306 gw,mode = <2>;
309 gw,voltage-divider-ohms = <22100 1000>;
310 gw,voltage-offset-microvolt = <700000>;
314 gw,mode = <2>;
317 gw,voltage-divider-ohms = <10000 10000>;
[all …]
Dimx8mm-venice-gw7904.dts331 compatible = "gw,gsc";
342 compatible = "gw,gsc-adc";
347 gw,mode = <0>;
353 gw,mode = <2>;
356 gw,voltage-divider-ohms = <22100 1000>;
357 gw,voltage-offset-microvolt = <700000>;
361 gw,mode = <2>;
364 gw,voltage-divider-ohms = <10000 10000>;
368 gw,mode = <2>;
371 gw,voltage-divider-ohms = <10000 10000>;
[all …]

1234567