Home
last modified time | relevance | path

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

12345

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/arch/s390/crypto/
Daes_s390.c674 static void gcm_walk_start(struct gcm_sg_walk *gw, struct scatterlist *sg, in gcm_walk_start() argument
677 memset(gw, 0, sizeof(*gw)); in gcm_walk_start()
678 gw->walk_bytes_remain = len; in gcm_walk_start()
679 scatterwalk_start(&gw->walk, sg); in gcm_walk_start()
682 static inline unsigned int _gcm_sg_clamp_and_map(struct gcm_sg_walk *gw) in _gcm_sg_clamp_and_map() argument
686 gw->walk_bytes = scatterwalk_clamp(&gw->walk, gw->walk_bytes_remain); in _gcm_sg_clamp_and_map()
687 while (!gw->walk_bytes) { in _gcm_sg_clamp_and_map()
688 nextsg = sg_next(gw->walk.sg); in _gcm_sg_clamp_and_map()
691 scatterwalk_start(&gw->walk, nextsg); in _gcm_sg_clamp_and_map()
692 gw->walk_bytes = scatterwalk_clamp(&gw->walk, in _gcm_sg_clamp_and_map()
[all …]
/kernel/linux/linux-5.10/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.c95 gw_node = rcu_dereference(bat_priv->gw.curr_gw); in batadv_gw_get_selected_gw_node()
144 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
149 curr_gw_node = rcu_replace_pointer(bat_priv->gw.curr_gw, new_gw_node, in batadv_gw_select()
155 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_select()
171 atomic_set(&bat_priv->gw.reselect, 1); in batadv_gw_reselect()
186 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_check_client_stop()
218 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_election()
221 if (!bat_priv->algo_ops->gw.get_best_gw_node) in batadv_gw_election()
226 if (!batadv_atomic_dec_not_zero(&bat_priv->gw.reselect) && curr_gw) in batadv_gw_election()
233 next_gw = bat_priv->algo_ops->gw.get_best_gw_node(bat_priv); in batadv_gw_election()
[all …]
Dsysfs.c464 if (!bat_priv->algo_ops->gw.get_best_gw_node || in batadv_show_gw_mode()
465 !bat_priv->algo_ops->gw.is_eligible) in batadv_show_gw_mode()
468 switch (atomic_read(&bat_priv->gw.mode)) { in batadv_show_gw_mode()
500 if (!bat_priv->algo_ops->gw.get_best_gw_node || in batadv_store_gw_mode()
501 !bat_priv->algo_ops->gw.is_eligible) in batadv_store_gw_mode()
526 if (atomic_read(&bat_priv->gw.mode) == gw_mode_tmp) in batadv_store_gw_mode()
529 switch (atomic_read(&bat_priv->gw.mode)) { in batadv_store_gw_mode()
558 atomic_set(&bat_priv->gw.mode, (unsigned int)gw_mode_tmp); in batadv_store_gw_mode()
576 if (!bat_priv->algo_ops->gw.get_best_gw_node || in batadv_show_gw_sel_class()
577 !bat_priv->algo_ops->gw.is_eligible) in batadv_show_gw_sel_class()
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dimx6qdl-gw5913.dtsi140 compatible = "gw,gsc";
149 compatible = "gw,gsc-adc";
154 gw,mode = <0>;
160 gw,mode = <3>;
166 gw,mode = <2>;
169 gw,voltage-divider-ohms = <22100 1000>;
170 gw,voltage-offset-microvolt = <800000>;
174 gw,mode = <2>;
177 gw,voltage-divider-ohms = <22100 10000>;
181 gw,mode = <2>;
[all …]
Dimx6qdl-gw5910.dtsi164 compatible = "gw,gsc";
173 compatible = "gw,gsc-adc";
178 gw,mode = <0>;
184 gw,mode = <3>;
190 gw,mode = <2>;
193 gw,voltage-divider-ohms = <22100 1000>;
194 gw,voltage-offset-microvolt = <800000>;
198 gw,mode = <2>;
201 gw,voltage-divider-ohms = <22100 10000>;
205 gw,mode = <2>;
[all …]
Dimx6qdl-gw5907.dtsi155 compatible = "gw,gsc";
164 compatible = "gw,gsc-adc";
169 gw,mode = <0>;
175 gw,mode = <1>;
181 gw,mode = <1>;
187 gw,mode = <1>;
193 gw,mode = <1>;
199 gw,mode = <1>;
205 gw,mode = <1>;
211 gw,mode = <1>;
[all …]
Dimx6qdl-gw5912.dtsi159 compatible = "gw,gsc";
169 compatible = "gw,gsc-adc";
174 gw,mode = <0>;
180 gw,mode = <1>;
186 gw,mode = <1>;
192 gw,mode = <1>;
198 gw,mode = <1>;
204 gw,mode = <1>;
210 gw,mode = <1>;
216 gw,mode = <1>;
[all …]
Dimx6qdl-gw552x.dtsi145 compatible = "gw,gsc";
154 compatible = "gw,gsc-adc";
159 gw,mode = <0>;
165 gw,mode = <1>;
171 gw,mode = <1>;
177 gw,mode = <1>;
183 gw,mode = <1>;
189 gw,mode = <1>;
195 gw,mode = <1>;
201 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.dtsi211 compatible = "gw,gsc";
220 compatible = "gw,gsc-adc";
225 gw,mode = <0>;
231 gw,mode = <1>;
237 gw,mode = <1>;
243 gw,mode = <1>;
249 gw,mode = <1>;
255 gw,mode = <1>;
261 gw,mode = <1>;
267 gw,mode = <1>;
[all …]
Dimx6qdl-gw52xx.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 …]
Dimx6qdl-gw54xx.dtsi248 compatible = "gw,gsc";
258 compatible = "gw,gsc-adc";
263 gw,mode = <0>;
269 gw,mode = <1>;
275 gw,mode = <1>;
281 gw,mode = <1>;
287 gw,mode = <1>;
293 gw,mode = <1>;
299 gw,mode = <1>;
305 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.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-gw5904.dtsi258 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-gw560x.dtsi295 compatible = "gw,gsc";
304 compatible = "gw,gsc-adc";
309 gw,mode = <0>;
315 gw,mode = <1>;
321 gw,mode = <1>;
327 gw,mode = <1>;
333 gw,mode = <1>;
339 gw,mode = <1>;
345 gw,mode = <1>;
351 gw,mode = <1>;
[all …]
Dimx6q-gw5910.dts13 compatible = "gw,imx6q-gw5910", "gw,ventana", "fsl,imx6q";
Dimx6dl-gw5907.dts13 compatible = "gw,imx6dl-gw5907", "gw,ventana", "fsl,imx6dl";
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/can/
DMakefile16 obj-$(CONFIG_CAN_GW) += can-gw.o
17 can-gw-y := gw.o
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dpaging_tmpl.h571 struct guest_walker *gw, int level) in FNAME()
574 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME()
584 gw->prefetch_ptes, sizeof(gw->prefetch_ptes)); in FNAME()
585 curr_pte = gw->prefetch_ptes[index]; in FNAME()
590 return r || curr_pte != gw->ptes[level - 1]; in FNAME()
593 static void FNAME(pte_prefetch)(struct kvm_vcpu *vcpu, struct guest_walker *gw, in FNAME()
597 pt_element_t *gptep = gw->prefetch_ptes; in FNAME()
630 struct guest_walker *gw, u32 error_code, in FNAME()
642 gfn_t base_gfn = gw->gfn; in FNAME()
644 direct_access = gw->pte_access; in FNAME()
[all …]
/kernel/linux/linux-5.10/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