| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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() 73 struct gw_pld *gw; in gw_pld_probe() local [all …]
|
| /kernel/linux/linux-6.6/arch/s390/crypto/ |
| D | aes_s390.c | 673 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 …]
|
| /kernel/linux/linux-5.10/arch/s390/crypto/ |
| D | aes_s390.c | 676 static void gcm_walk_start(struct gcm_sg_walk *gw, struct scatterlist *sg, in gcm_walk_start() argument 679 memset(gw, 0, sizeof(*gw)); in gcm_walk_start() 680 gw->walk_bytes_remain = len; in gcm_walk_start() 681 scatterwalk_start(&gw->walk, sg); in gcm_walk_start() 684 static inline unsigned int _gcm_sg_clamp_and_map(struct gcm_sg_walk *gw) in _gcm_sg_clamp_and_map() argument 688 gw->walk_bytes = scatterwalk_clamp(&gw->walk, gw->walk_bytes_remain); in _gcm_sg_clamp_and_map() 689 while (!gw->walk_bytes) { in _gcm_sg_clamp_and_map() 690 nextsg = sg_next(gw->walk.sg); in _gcm_sg_clamp_and_map() 693 scatterwalk_start(&gw->walk, nextsg); in _gcm_sg_clamp_and_map() 694 gw->walk_bytes = scatterwalk_clamp(&gw->walk, in _gcm_sg_clamp_and_map() [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/net/batman-adv/ |
| D | gateway_client.c | 85 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() 150 * Set a flag to remind the GW component to perform a new gateway reselection. 159 atomic_set(&bat_priv->gw.reselect, 1); in batadv_gw_reselect() 166 * This function assumes the caller has checked that the gw state *is actually 174 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_check_client_stop() 186 /* if batman-adv is switching the gw client mode off and a gateway was in batadv_gw_check_client_stop() 206 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_election() [all …]
|
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/mfd/ |
| D | gateworks-gsc.yaml | 27 const: gw,gsc 54 const: gw,gsc-adc 79 gw,mode: 91 gw,voltage-divider-ohms: 98 gw,voltage-offset-microvolt: 106 - gw,mode 123 const: gw,gsc-fan 153 compatible = "gw,gsc"; 163 compatible = "gw,gsc-adc"; 170 gw,mode = <0>; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/mfd/ |
| D | gateworks-gsc.yaml | 28 const: gw,gsc 54 const: gw,gsc-adc 78 gw,mode: 89 gw,voltage-divider-ohms: 96 gw,voltage-offset-microvolt: 104 - gw,mode 120 const: gw,gsc-fan 158 compatible = "gw,gsc"; 168 compatible = "gw,gsc-adc"; 175 gw,mode = <0>; [all …]
|
| /kernel/linux/linux-5.10/net/batman-adv/ |
| D | gateway_client.c | 85 gw_node = rcu_dereference(bat_priv->gw.curr_gw); in batadv_gw_get_selected_gw_node() 134 spin_lock_bh(&bat_priv->gw.list_lock); in batadv_gw_select() 139 curr_gw_node = rcu_replace_pointer(bat_priv->gw.curr_gw, new_gw_node, in batadv_gw_select() 145 spin_unlock_bh(&bat_priv->gw.list_lock); in batadv_gw_select() 152 * Set a flag to remind the GW component to perform a new gateway reselection. 161 atomic_set(&bat_priv->gw.reselect, 1); in batadv_gw_reselect() 168 * This function assumes the caller has checked that the gw state *is actually 176 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_check_client_stop() 188 /* if batman-adv is switching the gw client mode off and a gateway was in batadv_gw_check_client_stop() 208 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 …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| D | imx6qdl-gw5913.dtsi | 140 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 …]
|
| D | imx6qdl-gw5910.dtsi | 164 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 …]
|
| D | imx6qdl-gw5907.dtsi | 155 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 …]
|
| D | imx6qdl-gw5912.dtsi | 159 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 …]
|
| D | imx6qdl-gw552x.dtsi | 145 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 …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/ |
| D | imx8mm-venice-gw700x.dtsi | 130 compatible = "gw,gsc"; 141 compatible = "gw,gsc-adc"; 146 gw,mode = <0>; 152 gw,mode = <3>; 158 gw,mode = <4>; 164 gw,mode = <2>; 167 gw,voltage-divider-ohms = <22100 1000>; 171 gw,mode = <2>; 174 gw,voltage-divider-ohms = <10000 10000>; 178 gw,mode = <2>; [all …]
|
| D | imx8mp-venice-gw702x.dtsi | 119 compatible = "gw,gsc"; 130 compatible = "gw,gsc-adc"; 135 gw,mode = <0>; 141 gw,mode = <3>; 147 gw,mode = <4>; 153 gw,mode = <2>; 156 gw,voltage-divider-ohms = <22100 1000>; 160 gw,mode = <2>; 163 gw,voltage-divider-ohms = <10000 10000>; 167 gw,mode = <2>; [all …]
|
| D | imx8mn-venice-gw7902.dts | 17 compatible = "gw,imx8mn-gw7902", "fsl,imx8mn"; 308 compatible = "gw,gsc"; 317 compatible = "gw,gsc-adc"; 322 gw,mode = <0>; 328 gw,mode = <3>; 334 gw,mode = <2>; 337 gw,voltage-divider-ohms = <22100 1000>; 338 gw,voltage-offset-microvolt = <700000>; 342 gw,mode = <2>; 345 gw,voltage-divider-ohms = <10000 10000>; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/ |
| D | fsl.yaml | 142 - gw,imx6q-gw51xx 143 - gw,imx6q-gw52xx 144 - gw,imx6q-gw53xx 145 - gw,imx6q-gw5400-a 146 - gw,imx6q-gw54xx 147 - gw,imx6q-gw551x 148 - gw,imx6q-gw552x 149 - gw,imx6q-gw553x 150 - gw,imx6q-gw560x 151 - gw,imx6q-gw5903 [all …]
|