Home
last modified time | relevance | path

Searched refs:vg (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/pinctrl/intel/
Dpinctrl-baytrail.c543 static struct intel_community *byt_get_community(struct intel_pinctrl *vg, in byt_get_community() argument
549 for (i = 0; i < vg->ncommunities; i++) { in byt_get_community()
550 comm = vg->communities + i; in byt_get_community()
558 static void __iomem *byt_gpio_reg(struct intel_pinctrl *vg, unsigned int offset, in byt_gpio_reg() argument
561 struct intel_community *comm = byt_get_community(vg, offset); in byt_gpio_reg()
585 struct intel_pinctrl *vg = pinctrl_dev_get_drvdata(pctldev); in byt_get_groups_count() local
587 return vg->soc->ngroups; in byt_get_groups_count()
593 struct intel_pinctrl *vg = pinctrl_dev_get_drvdata(pctldev); in byt_get_group_name() local
595 return vg->soc->groups[selector].name; in byt_get_group_name()
603 struct intel_pinctrl *vg = pinctrl_dev_get_drvdata(pctldev); in byt_get_group_pins() local
[all …]
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-vx855.c83 struct vx855_gpio *vg = gpiochip_get_data(gpio); in vx855gpio_direction_input() local
96 spin_lock_irqsave(&vg->lock, flags); in vx855gpio_direction_input()
97 reg_out = inl(vg->io_gpo); in vx855gpio_direction_input()
99 outl(reg_out, vg->io_gpo); in vx855gpio_direction_input()
100 spin_unlock_irqrestore(&vg->lock, flags); in vx855gpio_direction_input()
107 struct vx855_gpio *vg = gpiochip_get_data(gpio); in vx855gpio_get() local
112 reg_in = inl(vg->io_gpi); in vx855gpio_get()
118 reg_in = inl(vg->io_gpo); in vx855gpio_get()
122 reg_in = inl(vg->io_gpi); in vx855gpio_get()
133 struct vx855_gpio *vg = gpiochip_get_data(gpio); in vx855gpio_set() local
[all …]
/kernel/linux/linux-5.10/net/bridge/
Dbr_vlan_tunnel.c53 void vlan_tunnel_info_del(struct net_bridge_vlan_group *vg, in vlan_tunnel_info_del() argument
58 rhashtable_remove_fast(&vg->tunnel_hash, &vlan->tnode, in vlan_tunnel_info_del()
63 static int __vlan_tunnel_info_add(struct net_bridge_vlan_group *vg, in __vlan_tunnel_info_add() argument
82 err = rhashtable_lookup_insert_fast(&vg->tunnel_hash, &vlan->tnode, in __vlan_tunnel_info_add()
100 struct net_bridge_vlan_group *vg; in nbp_vlan_tunnel_info_add() local
105 vg = nbp_vlan_group(port); in nbp_vlan_tunnel_info_add()
106 vlan = br_vlan_find(vg, vid); in nbp_vlan_tunnel_info_add()
110 return __vlan_tunnel_info_add(vg, vlan, tun_id); in nbp_vlan_tunnel_info_add()
118 struct net_bridge_vlan_group *vg; in nbp_vlan_tunnel_info_delete() local
123 vg = nbp_vlan_group(port); in nbp_vlan_tunnel_info_delete()
[all …]
Dbr_vlan.c37 static bool __vlan_add_pvid(struct net_bridge_vlan_group *vg, in __vlan_add_pvid() argument
40 if (vg->pvid == v->vid) in __vlan_add_pvid()
44 br_vlan_set_pvid_state(vg, v->state); in __vlan_add_pvid()
45 vg->pvid = v->vid; in __vlan_add_pvid()
50 static bool __vlan_delete_pvid(struct net_bridge_vlan_group *vg, u16 vid) in __vlan_delete_pvid() argument
52 if (vg->pvid != vid) in __vlan_delete_pvid()
56 vg->pvid = 0; in __vlan_delete_pvid()
64 struct net_bridge_vlan_group *vg; in __vlan_add_flags() local
69 vg = br_vlan_group(v->br); in __vlan_add_flags()
71 vg = nbp_vlan_group(v->port); in __vlan_add_flags()
[all …]
Dbr_private_tunnel.h27 int br_get_vlan_tunnel_info_size(struct net_bridge_vlan_group *vg);
29 struct net_bridge_vlan_group *vg);
33 int vlan_tunnel_init(struct net_bridge_vlan_group *vg);
34 void vlan_tunnel_deinit(struct net_bridge_vlan_group *vg);
39 void vlan_tunnel_info_del(struct net_bridge_vlan_group *vg,
43 struct net_bridge_vlan_group *vg);
51 static inline int vlan_tunnel_init(struct net_bridge_vlan_group *vg) in vlan_tunnel_init() argument
72 static inline void vlan_tunnel_info_del(struct net_bridge_vlan_group *vg, in vlan_tunnel_info_del() argument
79 struct net_bridge_vlan_group *vg) in br_handle_ingress_vlan_tunnel() argument
Dbr_vlan_options.c61 static int br_vlan_modify_state(struct net_bridge_vlan_group *vg, in br_vlan_modify_state() argument
89 if (v->vid == br_get_pvid(vg)) in br_vlan_modify_state()
90 br_vlan_set_pvid_state(vg, state); in br_vlan_modify_state()
162 struct net_bridge_vlan_group *vg, in br_vlan_process_one_opts() argument
174 err = br_vlan_modify_state(vg, v, state, changed, extack); in br_vlan_process_one_opts()
195 struct net_bridge_vlan_group *vg; in br_vlan_process_options() local
200 vg = nbp_vlan_group(p); in br_vlan_process_options()
202 vg = br_vlan_group(br); in br_vlan_process_options()
213 pvid = br_get_pvid(vg); in br_vlan_process_options()
217 v = br_vlan_find(vg, vid); in br_vlan_process_options()
[all …]
Dbr_netlink_tunnel.c38 static int __get_num_vlan_tunnel_infos(struct net_bridge_vlan_group *vg) in __get_num_vlan_tunnel_infos() argument
44 list_for_each_entry_rcu(v, &vg->vlan_list, vlist) { in __get_num_vlan_tunnel_infos()
76 int br_get_vlan_tunnel_info_size(struct net_bridge_vlan_group *vg) in br_get_vlan_tunnel_info_size() argument
80 if (!vg) in br_get_vlan_tunnel_info_size()
84 num_tinfos = __get_num_vlan_tunnel_infos(vg); in br_get_vlan_tunnel_info_size()
149 struct net_bridge_vlan_group *vg) in br_fill_vlan_tunnel_info() argument
157 list_for_each_entry_rcu(v, &vg->vlan_list, vlist) { in br_fill_vlan_tunnel_info()
259 struct net_bridge_vlan_group *vg; in __vlan_tunnel_handle_range() local
262 vg = nbp_vlan_group(p); in __vlan_tunnel_handle_range()
263 if (!vg) in __vlan_tunnel_handle_range()
[all …]
Dbr_fdb.c217 struct net_bridge_vlan_group *vg; in fdb_delete_local() local
224 vg = nbp_vlan_group(op); in fdb_delete_local()
226 (!vid || br_vlan_find(vg, vid))) { in fdb_delete_local()
233 vg = br_vlan_group(br); in fdb_delete_local()
234 v = br_vlan_find(vg, vid); in fdb_delete_local()
262 struct net_bridge_vlan_group *vg; in br_fdb_changeaddr() local
268 vg = nbp_vlan_group(p); in br_fdb_changeaddr()
279 if (!vg || !vg->num_vlans) in br_fdb_changeaddr()
288 if (!vg || !vg->num_vlans) in br_fdb_changeaddr()
295 list_for_each_entry(v, &vg->vlan_list, vlist) in br_fdb_changeaddr()
[all …]
Dbr_netlink.c21 static int __get_num_vlan_infos(struct net_bridge_vlan_group *vg, in __get_num_vlan_infos() argument
32 pvid = br_get_pvid(vg); in __get_num_vlan_infos()
34 list_for_each_entry_rcu(v, &vg->vlan_list, vlist) { in __get_num_vlan_infos()
73 static int br_get_num_vlan_infos(struct net_bridge_vlan_group *vg, in br_get_num_vlan_infos() argument
78 if (!vg) in br_get_num_vlan_infos()
82 return vg->num_vlans; in br_get_num_vlan_infos()
85 num_vlans = __get_num_vlan_infos(vg, filter_mask); in br_get_num_vlan_infos()
94 struct net_bridge_vlan_group *vg = NULL; in br_get_link_af_size_filtered() local
104 vg = nbp_vlan_group_rcu(p); in br_get_link_af_size_filtered()
107 vg = br_vlan_group_rcu(br); in br_get_link_af_size_filtered()
[all …]
Dbr_forward.c24 struct net_bridge_vlan_group *vg; in should_deliver() local
26 vg = nbp_vlan_group_rcu(p); in should_deliver()
28 p->state == BR_STATE_FORWARDING && br_allowed_egress(vg, skb) && in should_deliver()
75 struct net_bridge_vlan_group *vg; in __br_forward() local
80 vg = nbp_vlan_group_rcu(to); in __br_forward()
81 skb = br_handle_vlan(to->br, to, vg, skb); in __br_forward()
Dbr_arp_nd_proxy.c50 struct net_bridge_vlan_group *vg; in br_arp_send() local
69 vg = nbp_vlan_group_rcu(p); in br_arp_send()
71 vg = br_vlan_group_rcu(br); in br_arp_send()
72 pvid = br_get_pvid(vg); in br_arp_send()
254 struct net_bridge_vlan_group *vg; in br_nd_send() local
346 vg = nbp_vlan_group_rcu(p); in br_nd_send()
348 vg = br_vlan_group_rcu(br); in br_nd_send()
349 pvid = br_get_pvid(vg); in br_nd_send()
Dbr_private.h1051 struct net_bridge_vlan_group *vg, struct sk_buff *skb,
1053 bool br_allowed_egress(struct net_bridge_vlan_group *vg,
1058 struct net_bridge_vlan_group *vg,
1064 struct net_bridge_vlan *br_vlan_find(struct net_bridge_vlan_group *vg, u16 vid);
1137 static inline u16 br_get_pvid(const struct net_bridge_vlan_group *vg) in br_get_pvid() argument
1139 if (!vg) in br_get_pvid()
1143 return vg->pvid; in br_get_pvid()
1152 struct net_bridge_vlan_group *vg, in br_allowed_ingress() argument
1159 static inline bool br_allowed_egress(struct net_bridge_vlan_group *vg, in br_allowed_egress() argument
1173 struct net_bridge_vlan_group *vg, in br_handle_vlan() argument
[all …]
Dbr_input.c37 struct net_bridge_vlan_group *vg; in br_pass_frame_up() local
45 vg = br_vlan_group_rcu(br); in br_pass_frame_up()
58 !br_allowed_egress(vg, skb)) { in br_pass_frame_up()
65 skb = br_handle_vlan(br, NULL, vg, skb); in br_pass_frame_up()
Dbr_mdb.c940 struct net_bridge_vlan_group *vg; in br_mdb_add() local
985 vg = nbp_vlan_group(p); in br_mdb_add()
987 vg = br_vlan_group(br); in br_mdb_add()
993 if (br_vlan_enabled(br->dev) && vg && entry->vid == 0) { in br_mdb_add()
994 list_for_each_entry(v, &vg->vlan_list, vlist) { in br_mdb_add()
1060 struct net_bridge_vlan_group *vg; in br_mdb_del() local
1082 vg = nbp_vlan_group(p); in br_mdb_del()
1084 vg = br_vlan_group(br); in br_mdb_del()
1090 if (br_vlan_enabled(br->dev) && vg && entry->vid == 0) { in br_mdb_del()
1091 list_for_each_entry(v, &vg->vlan_list, vlist) { in br_mdb_del()
/kernel/linux/linux-5.10/net/8021q/
Dvlan.h52 static inline struct net_device *__vlan_group_get_device(struct vlan_group *vg, in __vlan_group_get_device() argument
58 array = vg->vlan_devices_arrays[pidx] in __vlan_group_get_device()
63 static inline struct net_device *vlan_group_get_device(struct vlan_group *vg, in vlan_group_get_device() argument
72 return __vlan_group_get_device(vg, pidx, vlan_id); in vlan_group_get_device()
75 static inline void vlan_group_set_device(struct vlan_group *vg, in vlan_group_set_device() argument
82 if (!vg || pidx < 0) in vlan_group_set_device()
84 array = vg->vlan_devices_arrays[pidx] in vlan_group_set_device()
Dvlan.c50 static int vlan_group_prealloc_vid(struct vlan_group *vg, in vlan_group_prealloc_vid() argument
65 array = vg->vlan_devices_arrays[pidx][vidx]; in vlan_group_prealloc_vid()
74 vg->vlan_devices_arrays[pidx][vidx] = array; in vlan_group_prealloc_vid()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/
Dtlv320aic31xx.txt26 - ai31xx-micbias-vg - MicBias Voltage setting
67 ai31xx-micbias-vg = <MICBIAS_OFF>;
Dtlv320aic3x.txt23 - ai3x-micbias-vg - MicBias Voltage required.
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Domap2420-n810.dts57 ai3x-micbias-vg = <1>; /* 2V */
Dimx6qdl-phytec-pbab01.dtsi117 ai3x-micbias-vg = <2>;
Dda850-lcdk.dts293 ai3x-micbias-vg = <1>; /* 2.0V */
Ddra76-evm.dts398 ai3x-micbias-vg = <1>; /* 2.0V */
Domap3-n900.dts595 ai3x-micbias-vg = <1>;
608 ai3x-micbias-vg = <2>;
Dam335x-pepper.dts74 ai3x-micbias-vg = <0x2>;
Ddra72-evm-common.dtsi243 ai3x-micbias-vg = <1>; /* 2.0V */

12