/linux/net/bridge/ |
A D | br_stp.c | 99 struct net_bridge *br; in br_should_become_root_port() local 161 static void br_root_selection(struct net_bridge *br) in br_root_selection() 189 void br_become_root_bridge(struct net_bridge *br) in br_become_root_bridge() 207 struct net_bridge *br; in br_transmit_config() local 269 void br_transmit_tcn(struct net_bridge *br) in br_transmit_tcn() 284 struct net_bridge *br; in br_should_become_designated_port() local 405 void br_configuration_update(struct net_bridge *br) in br_configuration_update() 414 struct net_bridge *br; in br_become_designated_port() local 443 struct net_bridge *br = p->br; in br_make_forwarding() local 516 struct net_bridge *br; in br_received_config_bpdu() local [all …]
|
A D | br_sysfs_br.c | 36 struct net_bridge *br = to_bridge(d); in store_bridge_parm() local 70 struct net_bridge *br = to_bridge(d); in forward_delay_show() local 132 struct net_bridge *br = to_bridge(d); in ageing_time_show() local 153 struct net_bridge *br = to_bridge(d); in stp_state_show() local 176 struct net_bridge *br = to_bridge(d); in group_fwd_mask_show() local 203 struct net_bridge *br = to_bridge(d); in priority_show() local 261 struct net_bridge *br = to_bridge(d); in topology_change_detected_show() local 269 struct net_bridge *br = to_bridge(d); in hello_timer_show() local 277 struct net_bridge *br = to_bridge(d); in tcn_timer_show() local 286 struct net_bridge *br = to_bridge(d); in topology_change_timer_show() local [all …]
|
A D | br_fdb.c | 53 int br_fdb_hash_init(struct net_bridge *br) in br_fdb_hash_init() 58 void br_fdb_hash_fini(struct net_bridge *br) in br_fdb_hash_fini() 86 static int fdb_to_nud(const struct net_bridge *br, in fdb_to_nud() 180 static void fdb_notify(struct net_bridge *br, in fdb_notify() 244 struct net_bridge *br; in br_fdb_find_port() local 442 struct net_bridge *br = p->br; in br_fdb_changeaddr() local 562 void br_fdb_flush(struct net_bridge *br) in br_fdb_flush() 769 struct net_bridge *br = netdev_priv(dev); in br_fdb_dump() local 822 struct net_bridge *br = netdev_priv(dev); in br_fdb_get() local 1009 struct net_bridge *br = NULL; in br_fdb_add() local [all …]
|
A D | br_device.c | 31 struct net_bridge *br = netdev_priv(dev); in br_dev_xmit() local 119 struct net_bridge *br = netdev_priv(dev); in br_dev_init() local 161 struct net_bridge *br = netdev_priv(dev); in br_dev_uninit() local 173 struct net_bridge *br = netdev_priv(dev); in br_dev_open() local 198 struct net_bridge *br = netdev_priv(dev); in br_dev_stop() local 213 struct net_bridge *br = netdev_priv(dev); in br_change_mtu() local 230 struct net_bridge *br = netdev_priv(dev); in br_set_mac_address() local 263 struct net_bridge *br = netdev_priv(dev); in br_get_link_ksettings() local 294 struct net_bridge *br = netdev_priv(dev); in br_fix_features() local 306 struct net_bridge *br = netdev_priv(dev); in br_netpoll_cleanup() local [all …]
|
A D | br_if.c | 67 struct net_bridge *br = p->br; in br_port_carrier_check() local 135 void br_manage_promisc(struct net_bridge *br) in br_manage_promisc() 221 static void nbp_update_port_count(struct net_bridge *br) in nbp_update_port_count() 289 static unsigned get_max_headroom(struct net_bridge *br) in get_max_headroom() 325 struct net_bridge *br = p->br; in del_nbp() local 372 struct net_bridge *br = netdev_priv(dev); in br_dev_delete() local 390 static int find_portno(struct net_bridge *br) in find_portno() 491 static int br_mtu_min(const struct net_bridge *br) in br_mtu_min() 503 void br_mtu_auto_adjust(struct net_bridge *br) in br_mtu_auto_adjust() 518 static void br_set_gso_limits(struct net_bridge *br) in br_set_gso_limits() [all …]
|
A D | br_stp_if.c | 49 void br_stp_enable_bridge(struct net_bridge *br) in br_stp_enable_bridge() 69 void br_stp_disable_bridge(struct net_bridge *br) in br_stp_disable_bridge() 101 struct net_bridge *br = p->br; in br_stp_disable_port() local 128 static int br_stp_call_user(struct net_bridge *br, char *arg) in br_stp_call_user() 148 static void br_stp_start(struct net_bridge *br) in br_stp_start() 181 static void br_stp_stop(struct net_bridge *br) in br_stp_stop() 199 int br_stp_set_enabled(struct net_bridge *br, unsigned long val, in br_stp_set_enabled() 222 void br_stp_change_bridge_id(struct net_bridge *br, const unsigned char *addr) in br_stp_change_bridge_id() 256 bool br_stp_recalculate_bridge_id(struct net_bridge *br) in br_stp_recalculate_bridge_id() 282 void br_stp_set_bridge_priority(struct net_bridge *br, u16 newprio) in br_stp_set_bridge_priority()
|
A D | br_stp_timer.c | 17 static int br_is_designated_for_some_port(const struct net_bridge *br) in br_is_designated_for_some_port() 32 struct net_bridge *br = from_timer(br, t, hello_timer); in br_hello_timer_expired() local 49 struct net_bridge *br = p->br; in br_message_age_timer_expired() local 82 struct net_bridge *br = p->br; in br_forward_delay_timer_expired() local 105 struct net_bridge *br = from_timer(br, t, tcn_timer); in br_tcn_timer_expired() local 119 struct net_bridge *br = from_timer(br, t, topology_change_timer); in br_topology_change_timer_expired() local 141 void br_stp_timer_init(struct net_bridge *br) in br_stp_timer_init()
|
A D | br_cfm.c | 7 static struct br_cfm_mep *br_mep_find(struct net_bridge *br, u32 instance) in br_mep_find() 18 static struct br_cfm_mep *br_mep_find_ifindex(struct net_bridge *br, in br_mep_find_ifindex() 379 struct net_bridge *br; in br_cfm_frame_rx() local 497 int br_cfm_mep_create(struct net_bridge *br, in br_cfm_mep_create() 569 static void mep_delete_implementation(struct net_bridge *br, in mep_delete_implementation() 594 int br_cfm_mep_delete(struct net_bridge *br, in br_cfm_mep_delete() 614 int br_cfm_mep_config_set(struct net_bridge *br, in br_cfm_mep_config_set() 635 int br_cfm_cc_config_set(struct net_bridge *br, in br_cfm_cc_config_set() 820 int br_cfm_mep_count(struct net_bridge *br, u32 *count) in br_cfm_mep_count() 834 int br_cfm_peer_mep_count(struct net_bridge *br, u32 *count) in br_cfm_peer_mep_count() [all …]
|
A D | br_mrp_switchdev.c | 8 br_mrp_switchdev_port_obj(struct net_bridge *br, in br_mrp_switchdev_port_obj() 31 int br_mrp_switchdev_add(struct net_bridge *br, struct br_mrp *mrp) in br_mrp_switchdev_add() 48 int br_mrp_switchdev_del(struct net_bridge *br, struct br_mrp *mrp) in br_mrp_switchdev_del() 65 br_mrp_switchdev_set_ring_role(struct net_bridge *br, struct br_mrp *mrp, in br_mrp_switchdev_set_ring_role() 102 br_mrp_switchdev_send_ring_test(struct net_bridge *br, struct br_mrp *mrp, in br_mrp_switchdev_send_ring_test() 122 int br_mrp_switchdev_set_ring_state(struct net_bridge *br, in br_mrp_switchdev_set_ring_state() 140 br_mrp_switchdev_set_in_role(struct net_bridge *br, struct br_mrp *mrp, in br_mrp_switchdev_set_in_role() 179 int br_mrp_switchdev_set_in_state(struct net_bridge *br, struct br_mrp *mrp, in br_mrp_switchdev_set_in_state() 196 br_mrp_switchdev_send_in_test(struct net_bridge *br, struct br_mrp *mrp, in br_mrp_switchdev_send_in_test()
|
A D | br_cfm_netlink.c | 90 static int br_mep_create_parse(struct net_bridge *br, struct nlattr *attr, in br_mep_create_parse() 130 static int br_mep_delete_parse(struct net_bridge *br, struct nlattr *attr, in br_mep_delete_parse() 153 static int br_mep_config_parse(struct net_bridge *br, struct nlattr *attr, in br_mep_config_parse() 195 static int br_cc_config_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_config_parse() 236 static int br_cc_peer_mep_add_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_peer_mep_add_parse() 263 static int br_cc_peer_mep_remove_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_peer_mep_remove_parse() 290 static int br_cc_rdi_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_rdi_parse() 317 static int br_cc_ccm_tx_parse(struct net_bridge *br, struct nlattr *attr, in br_cc_ccm_tx_parse() 379 int br_cfm_parse(struct net_bridge *br, struct net_bridge_port *p, in br_cfm_parse() 455 int br_cfm_config_fill_info(struct sk_buff *skb, struct net_bridge *br) in br_cfm_config_fill_info() [all …]
|
A D | br_mrp.c | 36 static struct net_bridge_port *br_mrp_get_port(struct net_bridge *br, in br_mrp_get_port() 52 static struct br_mrp *br_mrp_find_id(struct net_bridge *br, u32 ring_id) in br_mrp_find_id() 84 static bool br_mrp_unique_ifindex(struct net_bridge *br, u32 ifindex) in br_mrp_unique_ifindex() 108 static struct br_mrp *br_mrp_find_port(struct net_bridge *br, in br_mrp_find_port() 649 int br_mrp_set_ring_state(struct net_bridge *br, in br_mrp_set_ring_state() 671 int br_mrp_set_ring_role(struct net_bridge *br, in br_mrp_set_ring_role() 702 int br_mrp_start_test(struct net_bridge *br, in br_mrp_start_test() 840 int br_mrp_start_in_test(struct net_bridge *br, in br_mrp_start_in_test() 945 struct net_bridge *br, in br_mrp_test_better_than_own() 1079 struct net_bridge *br; in br_mrp_rcv() local [all …]
|
A D | br_vlan.c | 230 struct net_bridge *br; in __vlan_add() local 637 struct net_bridge *br = p->br; in br_should_learn() local 779 void br_vlan_flush(struct net_bridge *br) in br_vlan_flush() 864 struct net_bridge *br = netdev_priv(dev); in br_vlan_enabled() local 872 struct net_bridge *br = netdev_priv(dev); in br_vlan_get_proto() local 1151 int br_vlan_init(struct net_bridge *br) in br_vlan_init() 1597 struct net_bridge *br = netdev_priv(dev); in br_vlan_upper_change() local 1612 struct net_bridge *br; member 1627 struct net_bridge *br) in br_vlan_link_state_change() 1885 struct net_bridge *br; in br_vlan_dump_dev() local [all …]
|
A D | br_mrp_netlink.c | 31 static int br_mrp_instance_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_instance_parse() 134 static int br_mrp_ring_state_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_ring_state_parse() 168 static int br_mrp_ring_role_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_ring_role_parse() 205 static int br_mrp_start_test_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_start_test_parse() 248 static int br_mrp_in_state_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_in_state_parse() 284 static int br_mrp_in_role_parse(struct net_bridge *br, struct nlattr *attr, in br_mrp_in_role_parse() 324 static int br_mrp_start_in_test_parse(struct net_bridge *br, in br_mrp_start_in_test_parse() 356 int br_mrp_parse(struct net_bridge *br, struct net_bridge_port *p, in br_mrp_parse() 447 int br_mrp_fill_info(struct sk_buff *skb, struct net_bridge *br) in br_mrp_fill_info()
|
A D | br.c | 34 struct net_bridge *br; in br_device_event() local 155 struct net_bridge *br; in br_switchdev_event() local 256 int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on, in br_boolopt_toggle() 277 int br_boolopt_get(const struct net_bridge *br, enum br_boolopt_id opt) in br_boolopt_get() 293 int br_boolopt_multi_toggle(struct net_bridge *br, in br_boolopt_multi_toggle() 315 void br_boolopt_multi_get(const struct net_bridge *br, in br_boolopt_multi_get() 329 void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on) in br_opt_toggle()
|
A D | br_multicast.c | 86 br_sg_port_find(struct net_bridge *br, in br_sg_port_find() 147 struct net_bridge *br = brmctx->br; in br_mdb_get() local 611 struct net_bridge *br = mp->br; in br_multicast_del_mdb_entry() local 623 struct net_bridge *br = mp->br; in br_multicast_group_expired() local 1187 struct net_bridge *br = src->br; in br_multicast_group_src_expired() local 1883 struct net_bridge *br = port->br; in br_multicast_del_port() local 1930 struct net_bridge *br = port->br; in br_multicast_enable_port() local 4032 struct net_bridge *br; in br_multicast_toggle_one_vlan() local 4577 struct net_bridge *br; in br_multicast_list_adjacent() local 4625 struct net_bridge *br; in br_multicast_has_querier_anywhere() local [all …]
|
A D | br_private.h | 118 struct net_bridge *br; member 198 struct net_bridge *br; member 300 struct net_bridge *br; member 334 struct net_bridge *br; member 347 struct net_bridge *br; member 978 #define mlock_dereference(X, br) \ argument 1468 const struct net_bridge *br) in br_vlan_group() 1480 const struct net_bridge *br) in br_vlan_group_rcu() 1643 const struct net_bridge *br) in br_vlan_group() 1655 const struct net_bridge *br) in br_vlan_group_rcu() [all …]
|
A D | br_ioctl.c | 38 static void get_port_ifindices(struct net_bridge *br, int *ifindices, int num) in get_port_ifindices() 55 static int get_fdb_entries(struct net_bridge *br, void __user *userbuf, in get_fdb_entries() 84 static int add_del_if(struct net_bridge *br, int ifindex, int isadd) in add_del_if() 112 struct net_bridge *br = netdev_priv(dev); in br_dev_siocdevprivate() local 371 int br_ioctl_stub(struct net *net, struct net_bridge *br, unsigned int cmd, in br_ioctl_stub()
|
A D | br_netlink.c | 98 struct net_bridge *br = NULL; in br_get_link_af_size_filtered() local 439 struct net_bridge *br; in br_fill_ifinfo() local 576 void br_info_notify(int event, const struct net_bridge *br, in br_info_notify() 685 int br_process_vlan_info(struct net_bridge *br, in br_process_vlan_info() 755 static int br_afspec(struct net_bridge *br, in br_afspec() 1101 struct net_bridge *br = netdev_priv(brdev); in br_port_slave_changelink() local 1170 struct net_bridge *br = netdev_priv(brdev); in br_changelink() local 1440 struct net_bridge *br = netdev_priv(dev); in br_dev_newlink() local 1518 struct net_bridge *br = netdev_priv(brdev); in br_fill_info() local 1644 struct net_bridge *br; in br_get_linkxstats_size() local [all …]
|
A D | br_arp_nd_proxy.c | 27 void br_recalculate_neigh_suppress_enabled(struct net_bridge *br) in br_recalculate_neigh_suppress_enabled() 43 static void br_arp_send(struct net_bridge *br, struct net_bridge_port *p, in br_arp_send() 125 void br_do_proxy_suppress_arp(struct sk_buff *skb, struct net_bridge *br, in br_do_proxy_suppress_arp() 249 static void br_nd_send(struct net_bridge *br, struct net_bridge_port *p, in br_nd_send() 399 void br_do_suppress_nd(struct sk_buff *skb, struct net_bridge *br, in br_do_suppress_nd()
|
A D | br_switchdev.c | 126 static void br_switchdev_fdb_populate(struct net_bridge *br, in br_switchdev_fdb_populate() 143 br_switchdev_fdb_notify(struct net_bridge *br, in br_switchdev_fdb_notify() 188 struct net_bridge *br = joining->br; in nbp_switchdev_hwdom_set() local 211 struct net_bridge *br = leaving->br; in nbp_switchdev_hwdom_put() local 285 br_switchdev_fdb_replay_one(struct net_bridge *br, struct notifier_block *nb, in br_switchdev_fdb_replay_one() 303 struct net_bridge *br; in br_switchdev_fdb_replay() local 363 struct net_bridge *br; in br_switchdev_vlan_replay() local 434 struct net_bridge *br = port->br; in br_switchdev_mdb_complete() local 590 struct net_bridge *br; in br_switchdev_mdb_replay() local
|
A D | br_vlan_options.c | 83 struct net_bridge *br; in br_vlan_modify_state() local 176 static int br_vlan_process_one_opts(const struct net_bridge *br, in br_vlan_process_one_opts() 215 int br_vlan_process_options(const struct net_bridge *br, in br_vlan_process_options() 416 static void br_vlan_global_opts_notify(const struct net_bridge *br, in br_vlan_global_opts_notify() 458 static int br_vlan_process_global_one_opts(const struct net_bridge *br, in br_vlan_process_global_one_opts() 592 struct net_bridge *br; in br_vlan_rtm_process_global_options() local
|
A D | br_input.c | 36 struct net_bridge *br = netdev_priv(brdev); in br_pass_frame_up() local 77 struct net_bridge *br; in br_handle_frame_finish() local 398 void br_add_frame(struct net_bridge *br, struct br_frame_type *ft) in br_add_frame() 403 void br_del_frame(struct net_bridge *br, struct br_frame_type *ft) in br_del_frame()
|
/linux/drivers/clk/qcom/ |
A D | clk-branch.c | 16 static bool clk_branch_in_hwcg_mode(const struct clk_branch *br) in clk_branch_in_hwcg_mode() 28 static bool clk_branch_check_halt(const struct clk_branch *br, bool enabling) in clk_branch_check_halt() 47 static bool clk_branch2_check_halt(const struct clk_branch *br, bool enabling) in clk_branch2_check_halt() 66 static int clk_branch_wait(const struct clk_branch *br, bool enabling, in clk_branch_wait() 101 struct clk_branch *br = to_clk_branch(hw); in clk_branch_toggle() local
|
/linux/drivers/base/regmap/ |
A D | regmap-spi-avmm.c | 184 static int br_trans_tx_prepare(struct spi_avmm_bridge *br, bool is_read, u32 reg, in br_trans_tx_prepare() 253 static int br_pkt_phy_tx_prepare(struct spi_avmm_bridge *br) in br_pkt_phy_tx_prepare() 345 static int br_do_tx(struct spi_avmm_bridge *br) in br_do_tx() 365 static int br_do_rx_and_pkt_phy_parse(struct spi_avmm_bridge *br) in br_do_rx_and_pkt_phy_parse() 506 static int br_rd_trans_rx_parse(struct spi_avmm_bridge *br, in br_rd_trans_rx_parse() 526 static int br_wr_trans_rx_parse(struct spi_avmm_bridge *br, in br_wr_trans_rx_parse() 555 struct spi_avmm_bridge *br = context; in do_reg_access() local 625 struct spi_avmm_bridge *br; in spi_avmm_bridge_ctx_gen() local
|
/linux/drivers/hid/ |
A D | hid-led.c | 189 static int riso_kagaku_write(struct led_classdev *cdev, enum led_brightness br) in riso_kagaku_write() 200 static int dream_cheeky_write(struct led_classdev *cdev, enum led_brightness br) in dream_cheeky_write() 229 static int _thingm_write(struct led_classdev *cdev, enum led_brightness br, in _thingm_write() 243 static int thingm_write_v1(struct led_classdev *cdev, enum led_brightness br) in thingm_write_v1() 248 static int thingm_write(struct led_classdev *cdev, enum led_brightness br) in thingm_write() 309 static int delcom_write(struct led_classdev *cdev, enum led_brightness br) in delcom_write() 341 static int luxafor_write(struct led_classdev *cdev, enum led_brightness br) in luxafor_write()
|