Home
last modified time | relevance | path

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

12345

/Linux-v5.15/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()
75 struct gw_pld *gw; in gw_pld_probe() local
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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.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()
158 atomic_set(&bat_priv->gw.reselect, 1); in batadv_gw_reselect()
173 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_check_client_stop()
205 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_election()
208 if (!bat_priv->algo_ops->gw.get_best_gw_node) in batadv_gw_election()
213 if (!batadv_atomic_dec_not_zero(&bat_priv->gw.reselect) && curr_gw) in batadv_gw_election()
220 next_gw = bat_priv->algo_ops->gw.get_best_gw_node(bat_priv); in batadv_gw_election()
[all …]
/Linux-v5.15/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.dtsi209 compatible = "gw,gsc";
218 compatible = "gw,gsc-adc";
223 gw,mode = <0>;
229 gw,mode = <1>;
235 gw,mode = <1>;
241 gw,mode = <1>;
247 gw,mode = <1>;
253 gw,mode = <1>;
259 gw,mode = <1>;
265 gw,mode = <1>;
[all …]
Dimx6qdl-gw52xx.dtsi216 compatible = "gw,gsc";
225 compatible = "gw,gsc-adc";
230 gw,mode = <0>;
236 gw,mode = <1>;
242 gw,mode = <1>;
248 gw,mode = <1>;
254 gw,mode = <1>;
260 gw,mode = <1>;
266 gw,mode = <1>;
272 gw,mode = <1>;
[all …]
Dimx6qdl-gw54xx.dtsi246 compatible = "gw,gsc";
256 compatible = "gw,gsc-adc";
261 gw,mode = <0>;
267 gw,mode = <1>;
273 gw,mode = <1>;
279 gw,mode = <1>;
285 gw,mode = <1>;
291 gw,mode = <1>;
297 gw,mode = <1>;
303 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 …]
Dimx6qdl-gw551x.dtsi218 compatible = "gw,gsc";
227 compatible = "gw,gsc-adc";
232 gw,mode = <0>;
238 gw,mode = <1>;
244 gw,mode = <1>;
250 gw,mode = <1>;
256 gw,mode = <1>;
262 gw,mode = <1>;
268 gw,mode = <1>;
274 gw,mode = <1>;
[all …]
/Linux-v5.15/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";
261 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 = <22100 1000>;
291 gw,voltage-offset-microvolt = <700000>;
295 gw,mode = <2>;
298 gw,voltage-divider-ohms = <10000 10000>;
[all …]
Dimx8mm-venice-gw7901.dts16 compatible = "gw,imx8mm-gw7901", "fsl,imx8mm";
292 compatible = "gw,gsc";
301 compatible = "gw,gsc-adc";
306 gw,mode = <0>;
312 gw,mode = <1>;
318 gw,mode = <2>;
321 gw,voltage-divider-ohms = <22100 1000>;
325 gw,mode = <2>;
328 gw,voltage-divider-ohms = <22100 1000>;
332 gw,mode = <2>;
[all …]
Dimx8mm-venice-gw7902.dts17 compatible = "gw,imx8mm-gw7902", "fsl,imx8mm";
262 compatible = "gw,gsc";
271 compatible = "gw,gsc-adc";
276 gw,mode = <0>;
282 gw,mode = <1>;
288 gw,mode = <2>;
291 gw,voltage-divider-ohms = <22100 1000>;
292 gw,voltage-offset-microvolt = <700000>;
296 gw,mode = <2>;
299 gw,voltage-divider-ohms = <10000 10000>;
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/net/can/
DMakefile16 obj-$(CONFIG_CAN_GW) += can-gw.o
17 can-gw-y := gw.o
/Linux-v5.15/arch/x86/kvm/mmu/
Dpaging_tmpl.h601 struct guest_walker *gw, int level) in FNAME()
604 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME()
614 gw->prefetch_ptes, sizeof(gw->prefetch_ptes)); in FNAME()
615 curr_pte = gw->prefetch_ptes[index]; in FNAME()
620 return r || curr_pte != gw->ptes[level - 1]; in FNAME()
623 static void FNAME(pte_prefetch)(struct kvm_vcpu *vcpu, struct guest_walker *gw, in FNAME()
627 pt_element_t *gptep = gw->prefetch_ptes; in FNAME()
667 struct guest_walker *gw, u32 error_code, in FNAME()
679 gfn_t base_gfn = gw->gfn; in FNAME()
681 direct_access = gw->pte_access; in FNAME()
[all …]
/Linux-v5.15/include/trace/events/
Dfib6.h35 __array( __u8, gw, 16 )
73 in6 = (struct in6_addr *)__entry->gw;
77 in6 = (struct in6_addr *)__entry->gw;
86 __get_str(name), __entry->gw, __entry->err)

12345