/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-5.10/arch/s390/crypto/ |
D | aes_s390.c | 674 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/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 | 95 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() 162 * Set a flag to remind the GW component to perform a new gateway reselection. 171 atomic_set(&bat_priv->gw.reselect, 1); in batadv_gw_reselect() 178 * This function assumes the caller has checked that the gw state *is actually 186 if (atomic_read(&bat_priv->gw.mode) != BATADV_GW_MODE_CLIENT) in batadv_gw_check_client_stop() 198 /* if batman-adv is switching the gw client mode off and a gateway was in batadv_gw_check_client_stop() 218 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 | sysfs.c | 461 /* GW mode is not available if the routing algorithm in use does not in batadv_show_gw_mode() 462 * implement the GW API in batadv_show_gw_mode() 464 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() 497 /* toggling GW mode is allowed only if the routing algorithm in use in batadv_store_gw_mode() 498 * provides the GW API in batadv_store_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() 521 "Invalid parameter for 'gw mode' setting received: %s\n", in batadv_store_gw_mode() [all …]
|
D | bat_v.c | 660 * batadv_v_init_sel_class() - initialize GW selection class 666 atomic_set(&bat_priv->gw.sel_class, 50); in batadv_v_init_sel_class() 675 "B.A.T.M.A.N. V GW selection class", in batadv_v_store_sel_class() 679 old_class = atomic_read(&bat_priv->gw.sel_class); in batadv_v_store_sel_class() 680 atomic_set(&bat_priv->gw.sel_class, class); in batadv_v_store_sel_class() 690 u32 class = atomic_read(&bat_priv->gw.sel_class); in batadv_v_show_sel_class() 696 * batadv_v_gw_throughput_get() - retrieve the GW-bandwidth for a given GW 697 * @gw_node: the GW to retrieve the metric for 699 * the minimum between the GW advertised throughput and the path throughput to 720 /* the GW metric is computed as the minimum between the path throughput in batadv_v_gw_throughput_get() [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 …]
|
D | imx6qdl-gw53xx.dtsi | 211 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 …]
|
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-gw54xx.dtsi | 248 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 …]
|
D | imx6qdl-gw52xx.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-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 | 220 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 …]
|
D | imx6qdl-gw5903.dtsi | 236 compatible = "gw,gsc"; 245 compatible = "gw,gsc-adc"; 250 gw,mode = <0>; 256 gw,mode = <1>; 262 gw,mode = <1>; 268 gw,mode = <1>; 274 gw,mode = <1>; 280 gw,mode = <1>; 286 gw,mode = <1>; 292 gw,mode = <1>; [all …]
|
D | imx6qdl-gw5904.dtsi | 258 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 …]
|
D | imx6qdl-gw560x.dtsi | 295 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 …]
|
/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 …]
|
/kernel/linux/linux-5.10/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)
|
/kernel/linux/linux-5.10/net/can/ |
D | Makefile | 16 obj-$(CONFIG_CAN_GW) += can-gw.o 17 can-gw-y := gw.o
|
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
D | paging_tmpl.h | 568 struct guest_walker *gw, int level) in FNAME() 571 gpa_t base_gpa, pte_gpa = gw->pte_gpa[level - 1]; in FNAME() 581 gw->prefetch_ptes, sizeof(gw->prefetch_ptes)); in FNAME() 582 curr_pte = gw->prefetch_ptes[index]; in FNAME() 587 return r || curr_pte != gw->ptes[level - 1]; in FNAME() 590 static void FNAME(pte_prefetch)(struct kvm_vcpu *vcpu, struct guest_walker *gw, in FNAME() 594 pt_element_t *gptep = gw->prefetch_ptes; in FNAME() 627 struct guest_walker *gw, u32 error_code, in FNAME() 639 gfn_t base_gfn = gw->gfn; in FNAME() 641 direct_access = gw->pte_access; in FNAME() [all …]
|