| /linux/drivers/gpio/ |
| H A D | gpio-gw-pld.c | 37 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/tools/testing/selftests/net/netfilter/ |
| H A D | nft_nat_zones.sh | 60 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 99 echo netns exec "$gw" ip addr add 10.1.0.2/24 dev "veth$i" 100 echo netns exec "$gw" ip addr add dead:1::2/64 dev "veth$i" nodad 102 # gw: policy routing 103 echo netns exec "$gw" i [all...] |
| /linux/net/batman-adv/ |
| H A D | gateway_client.c | 84 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 …]
|
| H A D | gateway_common.c | 21 * 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 …]
|
| H A D | bat_v.c | 502 * batadv_v_init_sel_class() - initialize GW selection class 508 atomic_set(&bat_priv->gw.sel_class, 50); in batadv_v_init_sel_class() 512 * batadv_v_gw_throughput_get() - retrieve the GW-bandwidth for a given GW 513 * @gw_node: the GW to retrieve the metric for 515 * the minimum between the GW advertised throughput and the path throughput to 536 /* the GW metric is computed as the minimum between the path throughput in batadv_v_gw_throughput_get() 537 * to reach the GW itself and the advertised bandwidth. in batadv_v_gw_throughput_get() 539 * client can expect via this particular GW node in batadv_v_gw_throughput_get() 553 * batadv_v_gw_get_best_gw_node() - retrieve the best GW node 556 * Return: the GW node having the best GW-metric, NULL if no GW is known [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx8mm-venice-gw700x.dtsi | 156 compatible = "gw,gsc"; 167 compatible = "gw,gsc-adc"; 172 gw,mode = <0>; 178 gw,mode = <3>; 184 gw,mode = <4>; 190 gw,mode = <2>; 193 gw,voltage-divider-ohms = <22100 1000>; 197 gw,mode = <2>; 200 gw,voltage-divider-ohms = <10000 10000>; 204 gw,mode = <2>; [all …]
|
| H A D | imx8mp-venice-gw702x.dtsi | 142 compatible = "gw,gsc"; 153 compatible = "gw,gsc-adc"; 158 gw,mode = <0>; 164 gw,mode = <3>; 170 gw,mode = <4>; 176 gw,mode = <2>; 179 gw,voltage-divider-ohms = <22100 1000>; 183 gw,mode = <2>; 186 gw,voltage-divider-ohms = <10000 10000>; 190 gw,mode = <2>; [all …]
|
| H A D | imx8mn-venice-gw7902.dts | 17 compatible = "gw,imx8mn-gw7902", "fsl,imx8mn"; 311 compatible = "gw,gsc"; 322 compatible = "gw,gsc-adc"; 327 gw,mode = <0>; 333 gw,mode = <3>; 339 gw,mode = <2>; 342 gw,voltage-divider-ohms = <22100 1000>; 343 gw,voltage-offset-microvolt = <700000>; 347 gw,mode = <2>; 350 gw,voltage-divider-ohms = <10000 10000>; [all …]
|
| H A D | imx8mp-venice-gw74xx.dts | 336 compatible = "gw,gsc"; 347 compatible = "gw,gsc-adc"; 352 gw,mode = <0>; 358 gw,mode = <3>; 364 gw,mode = <4>; 370 gw,mode = <2>; 373 gw,voltage-divider-ohms = <10000 10000>; 377 gw,mode = <2>; 380 gw,voltage-divider-ohms = <10000 10000>; 384 gw,mode = <2>; [all …]
|
| H A D | imx8mm-venice-gw7902.dts | 18 compatible = "gw,imx8mm-gw7902", "fsl,imx8mm"; 313 compatible = "gw,gsc"; 324 compatible = "gw,gsc-adc"; 329 gw,mode = <0>; 335 gw,mode = <3>; 341 gw,mode = <2>; 344 gw,voltage-divider-ohms = <22100 1000>; 345 gw,voltage-offset-microvolt = <700000>; 349 gw,mode = <2>; 352 gw,voltage-divider-ohms = <10000 10000>; [all …]
|
| H A D | imx8mm-venice-gw7901.dts | 17 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 …]
|
| H A D | imx8mm-venice-gw7903.dts | 17 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 …]
|
| H A D | imx8mm-venice-gw7904.dts | 331 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 …]
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6qdl-gw560x.dtsi | 251 compatible = "gw,gsc"; 261 compatible = "gw,gsc-adc"; 266 gw,mode = <0>; 272 gw,mode = <1>; 278 gw,mode = <1>; 284 gw,mode = <1>; 290 gw,mode = <1>; 296 gw,mode = <1>; 302 gw,mode = <1>; 308 gw,mode = <1>; [all …]
|
| H A D | imx6qdl-gw5903.dtsi | 192 compatible = "gw,gsc"; 202 compatible = "gw,gsc-adc"; 207 gw,mode = <0>; 213 gw,mode = <1>; 219 gw,mode = <1>; 225 gw,mode = <1>; 231 gw,mode = <1>; 237 gw,mode = <1>; 243 gw,mode = <1>; 249 gw,mode = <1>; [all …]
|
| H A D | imx6dl-gw5912.dts | 12 compatible = "gw,imx6dl-gw5912", "gw,ventana", "fsl,imx6dl";
|
| H A D | imx6q-gw5913.dts | 13 compatible = "gw,imx6q-gw5913", "gw,ventana", "fsl,imx6q";
|
| /linux/net/ipv6/netfilter/ |
| H A D | nf_dup_ipv6.c | 20 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 66 if (nf_dup_ipv6_route(net, skb, gw, oif)) { in nf_dup_ipv6()
|
| /linux/net/can/ |
| H A D | Makefile | 16 obj-$(CONFIG_CAN_GW) += can-gw.o 17 can-gw-y := gw.o
|
| /linux/arch/x86/kvm/mmu/ |
| H A D | paging_tmpl.h | 549 struct guest_walker *gw, int level) in FNAME() 552 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME() 562 gw->prefetch_ptes, sizeof(gw->prefetch_ptes)); in FNAME() 563 curr_pte = gw->prefetch_ptes[index]; in FNAME() 568 return r || curr_pte != gw->ptes[level - 1]; in FNAME() 571 static void FNAME(pte_prefetch)(struct kvm_vcpu *vcpu, struct guest_walker *gw, in FNAME() 575 pt_element_t *gptep = gw->prefetch_ptes; in FNAME() 615 struct guest_walker *gw) in FNAME() 623 WARN_ON_ONCE(gw->gfn != base_gfn); in FNAME() 624 direct_access = gw->pte_access; in FNAME() [all …]
|
| /linux/Documentation/devicetree/bindings/arm/ |
| H A D | fsl.yaml | 348 - gw,imx6q-gw51xx 349 - gw,imx6q-gw52xx 350 - gw,imx6q-gw53xx 351 - gw,imx6q-gw5400-a 352 - gw,imx6q-gw54xx 353 - gw,imx6q-gw551x 354 - gw,imx6q-gw552x 355 - gw,imx6q-gw553x 356 - gw,imx6q-gw560x 357 - gw,imx6q-gw5903 [all …]
|
| /linux/Documentation/networking/ |
| H A D | gtp.rst | 39 or P-GW (LTE), which terminates the tunnel, decapsulates the packet 63 So in order to have a working GGSN/P-GW setup, you will need a 90 * ergw (GGSN + P-GW in Erlang): 165 There is only one GTP-U entity (and therefore SGSN/GGSN/S-GW/PDN-GW 209 may lead to the impression that the GGSN/P-GW can have only one such 217 number of Gi/SGi interfaces implemented by a GGSN/P-GW. 226 tunnel or layer 2 virtual circuit) is used between the GGSN/P-GW
|
| /linux/tools/testing/selftests/net/ |
| H A D | fib-onlink-tests.sh | 236 local gw="$3" 244 run_cmd ip ro add table "${table}" "${prefix}"/32 via "${gw}" "${dev}" onlink 312 "Invalid gw - local unicast address" 315 "Invalid gw - local unicast address, VRF" 334 local gw="$3" 342 run_cmd ip -6 ro add table "${table}" "${prefix}"/128 via "${gw}" "${dev}" onlink 425 "Invalid gw - local unicast address" 427 "Invalid gw - local linklocal address" 429 "Invalid gw - multicast address" 433 "Invalid gw - local unicast address, VRF" [all …]
|
| /linux/drivers/i2c/busses/ |
| H A D | i2c-mlxbf.c | 205 /* SMBus Master GW. */ 218 /* SMBus master GW control bits offset in MLXBF_I2C_SMBUS_MASTER_GW[31:3]. */ 242 /* SMBus master GW Data descriptor. */ 271 /* SMBus slave GW. */ 285 /* SMBus slave GW control bits offset in MLXBF_I2C_SMBUS_SLAVE_GW[31:19]. */ 295 /* SMBus slave GW Data descriptor. */ 508 * On the other hand, when the GW is configured with the stop bit in mlxbf_i2c_smbus_transaction_success() 509 * de-asserted then the SMBus expects the following GW configuration in mlxbf_i2c_smbus_transaction_success() 534 * GW busy bit is raised by the driver and cleared by the HW in mlxbf_i2c_smbus_check_status() 550 * Parse both Cause and Master GW bits, then return transaction status. in mlxbf_i2c_smbus_check_status() [all …]
|
| /linux/samples/bpf/ |
| H A D | xdp_router_ipv4.bpf.c | 21 __be32 gw; member 148 if (!prefix_value->gw) in xdp_router_ipv4_prog() 152 &prefix_value->gw); in xdp_router_ipv4_prog() 156 * the default gw. in xdp_router_ipv4_prog()
|