/kernel/linux/linux-5.10/net/hsr/ |
D | hsr_device.c | 62 hsr_for_each_port(master->hsr, port) { in hsr_check_carrier() 77 struct hsr_priv *hsr; in hsr_check_announce() local 79 hsr = netdev_priv(hsr_dev); in hsr_check_announce() 83 hsr->announce_count = 0; in hsr_check_announce() 84 mod_timer(&hsr->announce_timer, in hsr_check_announce() 90 del_timer(&hsr->announce_timer); in hsr_check_announce() 93 void hsr_check_carrier_and_operstate(struct hsr_priv *hsr) in hsr_check_carrier_and_operstate() argument 99 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_check_carrier_and_operstate() 109 int hsr_get_max_mtu(struct hsr_priv *hsr) in hsr_get_max_mtu() argument 115 hsr_for_each_port(hsr, port) in hsr_get_max_mtu() [all …]
|
D | hsr_framereg.c | 41 bool hsr_addr_is_self(struct hsr_priv *hsr, unsigned char *addr) in hsr_addr_is_self() argument 45 node = list_first_or_null_rcu(&hsr->self_node_db, struct hsr_node, in hsr_addr_is_self() 78 int hsr_create_self_node(struct hsr_priv *hsr, in hsr_create_self_node() argument 82 struct list_head *self_node_db = &hsr->self_node_db; in hsr_create_self_node() 92 spin_lock_bh(&hsr->list_lock); in hsr_create_self_node() 97 spin_unlock_bh(&hsr->list_lock); in hsr_create_self_node() 101 spin_unlock_bh(&hsr->list_lock); in hsr_create_self_node() 107 void hsr_del_self_node(struct hsr_priv *hsr) in hsr_del_self_node() argument 109 struct list_head *self_node_db = &hsr->self_node_db; in hsr_del_self_node() 112 spin_lock_bh(&hsr->list_lock); in hsr_del_self_node() [all …]
|
D | hsr_slave.c | 28 struct hsr_priv *hsr; in hsr_handle_frame() local 43 hsr = port->hsr; in hsr_handle_frame() 45 if (hsr_addr_is_self(port->hsr, eth_hdr(skb)->h_source)) { in hsr_handle_frame() 56 if (hsr->proto_ops->invalid_dan_ingress_frame && in hsr_handle_frame() 57 hsr->proto_ops->invalid_dan_ingress_frame(protocol)) in hsr_handle_frame() 62 if ((!hsr->prot_version && protocol == htons(ETH_P_PRP)) || in hsr_handle_frame() 123 static int hsr_portdev_setup(struct hsr_priv *hsr, struct net_device *dev, in hsr_portdev_setup() argument 136 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_portdev_setup() 157 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev, in hsr_add_port() argument 169 port = hsr_port_get_hsr(hsr, type); in hsr_add_port() [all …]
|
D | hsr_main.c | 21 static bool hsr_slave_empty(struct hsr_priv *hsr) in hsr_slave_empty() argument 25 hsr_for_each_port(hsr, port) in hsr_slave_empty() 36 struct hsr_priv *hsr; in hsr_netdev_notify() local 46 hsr = netdev_priv(dev); in hsr_netdev_notify() 47 port = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_netdev_notify() 53 hsr = port->hsr; in hsr_netdev_notify() 60 hsr_check_carrier_and_operstate(hsr); in hsr_netdev_notify() 75 master = hsr_port_get_hsr(hsr, HSR_PT_MASTER); in hsr_netdev_notify() 84 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_netdev_notify() 85 res = hsr_create_self_node(hsr, in hsr_netdev_notify() [all …]
|
D | hsr_netlink.c | 107 struct hsr_priv *hsr = netdev_priv(dev); in hsr_dellink() local 109 del_timer_sync(&hsr->prune_timer); in hsr_dellink() 110 del_timer_sync(&hsr->announce_timer); in hsr_dellink() 112 hsr_debugfs_term(hsr); in hsr_dellink() 113 hsr_del_ports(hsr); in hsr_dellink() 115 hsr_del_self_node(hsr); in hsr_dellink() 116 hsr_del_nodes(&hsr->node_db); in hsr_dellink() 123 struct hsr_priv *hsr = netdev_priv(dev); in hsr_fill_info() local 127 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_A); in hsr_fill_info() 133 port = hsr_port_get_hsr(hsr, HSR_PT_SLAVE_B); in hsr_fill_info() [all …]
|
D | hsr_forward.c | 35 static bool is_supervision_frame(struct hsr_priv *hsr, struct sk_buff *skb) in is_supervision_frame() argument 46 hsr->sup_multicast_addr)) in is_supervision_frame() 57 if (hsr_V1_hdr->hsr.encap_proto != htons(ETH_P_PRP)) in is_supervision_frame() 159 lane_id |= port->hsr->net_id; in prp_set_lan_id() 274 return hsr_fill_tag(skb, frame, port, port->hsr->prot_version); in hsr_create_tagged_frame() 361 hsr_for_each_port(frame->port_rcv->hsr, port) { in hsr_forward_do() 362 struct hsr_priv *hsr = port->hsr; in hsr_forward_do() local 391 if (hsr->proto_ops->drop_frame && in hsr_forward_do() 392 hsr->proto_ops->drop_frame(frame, port)) in hsr_forward_do() 396 skb = hsr->proto_ops->create_tagged_frame(frame, port); in hsr_forward_do() [all …]
|
D | hsr_framereg.h | 31 void hsr_del_self_node(struct hsr_priv *hsr); 37 bool hsr_addr_is_self(struct hsr_priv *hsr, unsigned char *addr); 50 int hsr_create_self_node(struct hsr_priv *hsr, 54 void *hsr_get_next_node(struct hsr_priv *hsr, void *_pos, 57 int hsr_get_node_data(struct hsr_priv *hsr,
|
D | Makefile | 6 obj-$(CONFIG_HSR) += hsr.o 8 hsr-y := hsr_main.o hsr_framereg.o hsr_device.o \ 10 hsr-$(CONFIG_DEBUG_FS) += hsr_debugfs.o
|
D | hsr_device.h | 16 void hsr_del_ports(struct hsr_priv *hsr); 21 void hsr_check_carrier_and_operstate(struct hsr_priv *hsr); 23 int hsr_get_max_mtu(struct hsr_priv *hsr);
|
D | hsr_main.h | 127 struct hsr_tag hsr; member 171 struct hsr_priv *hsr; member 227 #define hsr_for_each_port(hsr, port) \ argument 228 list_for_each_entry_rcu((port), &(hsr)->ports, port_list) 230 struct hsr_port *hsr_port_get_hsr(struct hsr_priv *hsr, enum hsr_port_type pt);
|
D | hsr_netlink.h | 23 void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN], 25 void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]);
|
D | hsr_slave.h | 17 int hsr_add_port(struct hsr_priv *hsr, struct net_device *dev,
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
D | trace_handle_exit.h | 142 TP_PROTO(unsigned long hsr), 143 TP_ARGS(hsr), 146 __field(unsigned long, hsr) 150 __entry->hsr = hsr; 153 TP_printk("HSR 0x%08lx", __entry->hsr)
|
D | trace_arm.h | 53 TP_PROTO(unsigned long vcpu_pc, unsigned long hsr, 56 TP_ARGS(vcpu_pc, hsr, hxfar, ipa), 60 __field( unsigned long, hsr ) 67 __entry->hsr = hsr; 73 __entry->ipa, __entry->hsr,
|
D | handle_exit.c | 126 run->debug.arch.hsr = esr; in kvm_handle_guest_debug()
|
/kernel/linux/linux-5.10/net/ |
D | Makefile | 83 obj-$(CONFIG_HSR) += hsr/
|
D | Kconfig | 242 source "net/hsr/Kconfig"
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/asm-arm64/asm/ |
D | kvm.h | 76 __u32 hsr; member
|
/kernel/linux/linux-5.10/arch/arm64/include/uapi/asm/ |
D | kvm.h | 143 __u32 hsr; member
|
/kernel/linux/linux-5.10/tools/arch/arm64/include/uapi/asm/ |
D | kvm.h | 143 __u32 hsr; member
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-arm64/asm/ |
D | kvm.h | 92 __u32 hsr; member
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/calcs/ |
D | dce_calcs.c | 470 data->hsr[i] = data->hsr_after_stereo; in calculate_bandwidth() 506 if (bw_neq(data->hsr[i], bw_int_to_fixed(1))) { in calculate_bandwidth() 507 if (bw_mtn(data->hsr[i], bw_int_to_fixed(4))) { in calculate_bandwidth() 511 if (bw_mtn(data->hsr[i], data->h_taps[i])) { in calculate_bandwidth() 515 … (dceip->pre_downscaler_enabled == 1 && bw_mtn(data->hsr[i], bw_int_to_fixed(1)) && bw_leq(data->h… in calculate_bandwidth() 541 if ((dceip->pre_downscaler_enabled && bw_mtn(data->hsr[i], bw_int_to_fixed(1)))) { in calculate_bandwidth() 542 data->source_width_in_lb = bw_div(data->source_width_pixels[i], data->hsr[i]); in calculate_bandwidth() 842 …data->source_width_pixels[i], bw_int_to_fixed(dceip->chunk_width))), data->hsr[i]))), bw_int_to_fi… in calculate_bandwidth() 1183 …data->active_time[i] = bw_div(bw_div(data->source_width_rounded_up_to_chunks[i], data->hsr[i]), da… in calculate_bandwidth() 1243 if (dceip->pre_downscaler_enabled && bw_mtn(data->hsr[i], bw_int_to_fixed(1))) { in calculate_bandwidth() [all …]
|
D | calcs_logger.h | 438 DC_LOG_BANDWIDTH_CALCS(" [bw_fixed] hsr[%d]:%d", i, bw_fixed_to_int(data->hsr[i])); in print_bw_calcs_data()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/inc/ |
D | dce_calcs.h | 402 struct bw_fixed hsr[maximum_number_of_surfaces]; member
|
/kernel/linux/linux-5.10/sound/pci/asihpi/ |
D | hpi6205.c | 712 u32 hsr = 0; in adapter_irq_query_and_clear() local 714 hsr = ioread32(phw->prHSR); in adapter_irq_query_and_clear() 715 if (hsr & C6205_HSR_INTSRC) { in adapter_irq_query_and_clear()
|