Home
last modified time | relevance | path

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

1234

/linux/drivers/gpio/
H A 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 in gw_pld_output8()
73 struct gw_pld *gw; gw_pld_probe() local
[all...]
/linux/arch/s390/crypto/
H A Daes_s390.c673 static void gcm_walk_start(struct gcm_sg_walk *gw, struct scatterlist *sg, in gcm_walk_start() argument
676 memset(gw, 0, sizeof(*gw)); in gcm_walk_start()
677 gw->walk_bytes_remain = len; in gcm_walk_start()
678 scatterwalk_start(&gw->walk, sg); in gcm_walk_start()
681 static inline unsigned int _gcm_sg_clamp_and_map(struct gcm_sg_walk *gw) in _gcm_sg_clamp_and_map() argument
685 gw->walk_bytes = scatterwalk_clamp(&gw->walk, gw->walk_bytes_remain); in _gcm_sg_clamp_and_map()
686 while (!gw->walk_bytes) { in _gcm_sg_clamp_and_map()
687 nextsg = sg_next(gw->walk.sg); in _gcm_sg_clamp_and_map()
690 scatterwalk_start(&gw->walk, nextsg); in _gcm_sg_clamp_and_map()
691 gw->walk_bytes = scatterwalk_clamp(&gw->walk, in _gcm_sg_clamp_and_map()
[all …]
/linux/tools/testing/selftests/net/netfilter/
H A 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
104 echo netns exec "$gw" ip route add 10.1.0.0/24 dev "veth$i" table $((1000+i))
[all …]
/linux/net/batman-adv/
H A Dgateway_common.c27 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()
97 bat_priv->algo_ops->gw.init_sel_class(bat_priv); in batadv_gw_init()
[all …]
H A 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/arch/arm/boot/dts/nxp/imx/
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A 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 …]
H A Dimx6dl-gw5912.dts12 compatible = "gw,imx6dl-gw5912", "gw,ventana", "fsl,imx6dl";
H A Dimx6q-gw5913.dts13 compatible = "gw,imx6q-gw5913", "gw,ventana", "fsl,imx6q";
H A Dimx6dl-gw5913.dts13 compatible = "gw,imx6dl-gw5913", "gw,ventana", "fsl,imx6dl";
H A Dimx6dl-gw5907.dts13 compatible = "gw,imx6dl-gw5907", "gw,ventana", "fsl,imx6dl";
H A Dimx6dl-gw5910.dts13 compatible = "gw,imx6dl-gw5910", "gw,ventana", "fsl,imx6dl";
H A Dimx6q-gw5912.dts12 compatible = "gw,imx6q-gw5912", "gw,ventana", "fsl,imx6q";
H A Dimx6q-gw5907.dts13 compatible = "gw,imx6q-gw5907", "gw,ventana", "fsl,imx6q";
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8mm-venice-gw700x.dtsi150 compatible = "gw,gsc";
161 compatible = "gw,gsc-adc";
166 gw,mode = <0>;
172 gw,mode = <3>;
178 gw,mode = <4>;
184 gw,mode = <2>;
187 gw,voltage-divider-ohms = <22100 1000>;
191 gw,mode = <2>;
194 gw,voltage-divider-ohms = <10000 10000>;
198 gw,mode = <2>;
[all …]
H A Dimx8mp-venice-gw702x.dtsi139 compatible = "gw,gsc";
150 compatible = "gw,gsc-adc";
155 gw,mode = <0>;
161 gw,mode = <3>;
167 gw,mode = <4>;
173 gw,mode = <2>;
176 gw,voltage-divider-ohms = <22100 1000>;
180 gw,mode = <2>;
183 gw,voltage-divider-ohms = <10000 10000>;
187 gw,mode = <2>;
[all …]
H A Dimx8mp-venice-gw74xx.dts333 compatible = "gw,gsc";
344 compatible = "gw,gsc-adc";
349 gw,mode = <0>;
355 gw,mode = <3>;
361 gw,mode = <4>;
367 gw,mode = <2>;
370 gw,voltage-divider-ohms = <10000 10000>;
374 gw,mode = <2>;
377 gw,voltage-divider-ohms = <10000 10000>;
381 gw,mode = <2>;
[all …]
/linux/arch/x86/kvm/mmu/
H A Dpaging_tmpl.h562 struct guest_walker *gw, int level) in FNAME()
565 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME()
575 gw->prefetch_ptes, sizeof(gw->prefetch_ptes)); in FNAME()
576 curr_pte = gw->prefetch_ptes[index]; in FNAME()
581 return r || curr_pte != gw->ptes[level - 1]; in FNAME()
584 static void FNAME(pte_prefetch)(struct kvm_vcpu *vcpu, struct guest_walker *gw, in FNAME()
588 pt_element_t *gptep = gw->prefetch_ptes; in FNAME()
628 struct guest_walker *gw) in FNAME()
636 WARN_ON_ONCE(gw->gfn != base_gfn); in FNAME()
637 direct_access = gw->pte_access; in FNAME()
[all …]
/linux/net/ipv6/netfilter/
H A 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/net/ipv4/netfilter/
H A Dnf_dup_ipv4.c25 const struct in_addr *gw, int oif) in nf_dup_ipv4_route() argument
35 fl4.daddr = gw->s_addr; in nf_dup_ipv4_route()
52 const struct in_addr *gw, int oif) in nf_dup_ipv4() argument
87 if (nf_dup_ipv4_route(net, skb, gw, oif)) { in nf_dup_ipv4()
/linux/net/can/
H A DMakefile16 obj-$(CONFIG_CAN_GW) += can-gw.o
17 can-gw-y := gw.o
/linux/include/trace/events/
H A Dfib6.h35 __array( __u8, gw, 16 )
71 in6 = (struct in6_addr *)__entry->gw;
74 in6 = (struct in6_addr *)__entry->gw;
83 __entry->name, __entry->gw, __entry->err)

1234