/Linux-v5.15/drivers/gpio/ |
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() 75 struct gw_pld *gw; in gw_pld_probe() local [all …]
|
/Linux-v5.15/arch/s390/crypto/ |
D | aes_s390.c | 675 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/ |
D | nft_nat_zones.sh | 35 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/ |
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 …]
|
D | gateway_common.c | 130 * batadv_gw_tvlv_container_update() - update the gw tvlv container after 136 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() [all …]
|
D | bat_v.c | 506 * batadv_v_init_sel_class() - initialize GW selection class 512 atomic_set(&bat_priv->gw.sel_class, 50); in batadv_v_init_sel_class() 521 "B.A.T.M.A.N. V GW selection class", in batadv_v_store_sel_class() 525 old_class = atomic_read(&bat_priv->gw.sel_class); in batadv_v_store_sel_class() 526 atomic_set(&bat_priv->gw.sel_class, class); in batadv_v_store_sel_class() 535 * batadv_v_gw_throughput_get() - retrieve the GW-bandwidth for a given GW 536 * @gw_node: the GW to retrieve the metric for 538 * the minimum between the GW advertised throughput and the path throughput to 559 /* the GW metric is computed as the minimum between the path throughput in batadv_v_gw_throughput_get() 560 * to reach the GW itself and the advertised bandwidth. in batadv_v_gw_throughput_get() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/mfd/ |
D | gateworks-gsc.yaml | 28 const: gw,gsc 54 const: gw,gsc-adc 78 gw,mode: 90 gw,voltage-divider-ohms: 97 gw,voltage-offset-microvolt: 105 - gw,mode 121 const: gw,gsc-fan 159 compatible = "gw,gsc"; 169 compatible = "gw,gsc-adc"; 176 gw,mode = <0>; [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/freescale/ |
D | imx8mm-venice-gw700x.dtsi | 127 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 …]
|
D | imx8mn-venice-gw7902.dts | 17 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 …]
|
D | imx8mm-venice-gw7902.dts | 17 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 …]
|
D | imx8mm-venice-gw7901.dts | 16 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 …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | imx6qdl-gw5913.dtsi | 138 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 …]
|
D | imx6qdl-gw5910.dtsi | 162 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 …]
|
D | imx6qdl-gw5907.dtsi | 153 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 …]
|
D | imx6qdl-gw5912.dtsi | 157 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 …]
|
D | imx6qdl-gw552x.dtsi | 143 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 …]
|
D | imx6qdl-gw53xx.dtsi | 209 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 …]
|
D | imx6qdl-gw51xx.dtsi | 153 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 …]
|
D | imx6qdl-gw52xx.dtsi | 216 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 …]
|
D | imx6qdl-gw54xx.dtsi | 246 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 …]
|
D | imx6qdl-gw553x.dtsi | 181 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 …]
|
D | imx6qdl-gw551x.dtsi | 218 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 …]
|
D | imx6qdl-gw5903.dtsi | 234 compatible = "gw,gsc"; 243 compatible = "gw,gsc-adc"; 248 gw,mode = <0>; 254 gw,mode = <1>; 260 gw,mode = <1>; 266 gw,mode = <1>; 272 gw,mode = <1>; 278 gw,mode = <1>; 284 gw,mode = <1>; 290 gw,mode = <1>; [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/arm/ |
D | fsl.yaml | 284 - gw,imx6q-gw51xx 285 - gw,imx6q-gw52xx 286 - gw,imx6q-gw53xx 287 - gw,imx6q-gw5400-a 288 - gw,imx6q-gw54xx 289 - gw,imx6q-gw551x 290 - gw,imx6q-gw552x 291 - gw,imx6q-gw553x 292 - gw,imx6q-gw560x 293 - gw,imx6q-gw5903 [all …]
|
/Linux-v5.15/include/trace/events/ |
D | fib6.h | 35 __array( __u8, gw, 16 ) 73 in6 = (struct in6_addr *)__entry->gw; 77 in6 = (struct in6_addr *)__entry->gw; 82 …u oif %d iif %d proto %u %pI6c/%u -> %pI6c/%u tos %d scope %d flags %x ==> dev %s gw %pI6c err %d", 86 __get_str(name), __entry->gw, __entry->err)
|