/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | test.c | 54 size = (sw->config.max_port_number + 1) * sizeof(*sw->ports); in alloc_switch() 55 sw->ports = kunit_kzalloc(test, size, GFP_KERNEL); in alloc_switch() 56 if (!sw->ports) in alloc_switch() 60 sw->ports[i].sw = sw; in alloc_switch() 61 sw->ports[i].port = i; in alloc_switch() 62 sw->ports[i].config.port_number = i; in alloc_switch() 64 kunit_ida_init(test, &sw->ports[i].in_hopids); in alloc_switch() 65 kunit_ida_init(test, &sw->ports[i].out_hopids); in alloc_switch() 83 sw->ports[0].config.type = TB_TYPE_PORT; in alloc_host() 84 sw->ports[ in alloc_host() [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | test.c | 54 size = (sw->config.max_port_number + 1) * sizeof(*sw->ports); in alloc_switch() 55 sw->ports = kunit_kzalloc(test, size, GFP_KERNEL); in alloc_switch() 56 if (!sw->ports) in alloc_switch() 60 sw->ports[i].sw = sw; in alloc_switch() 61 sw->ports[i].port = i; in alloc_switch() 62 sw->ports[i].config.port_number = i; in alloc_switch() 64 kunit_ida_init(test, &sw->ports[i].in_hopids); in alloc_switch() 65 kunit_ida_init(test, &sw->ports[i].out_hopids); in alloc_switch() 83 sw->ports[0].config.type = TB_TYPE_PORT; in alloc_host() 84 sw->ports[ in alloc_host() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_mdb.c | 11 u16 ports; member 18 u16 ports; member 97 mac[1] = mdb_entry->ports >> 8; in lan966x_mdb_encode_mac() 98 mac[2] = mdb_entry->ports & 0xff; in lan966x_mdb_encode_mac() 100 mac[0] = mdb_entry->ports >> 8; in lan966x_mdb_encode_mac() 101 mac[1] = mdb_entry->ports & 0xff; in lan966x_mdb_encode_mac() 128 mdb_entry->ports |= BIT(port->chip_port); in lan966x_mdb_ip_add() 148 u16 ports; in lan966x_mdb_ip_del() local 154 ports = mdb_entry->ports; in lan966x_mdb_ip_del() 183 lan966x_pgid_entry_add(struct lan966x *lan966x, int index, u16 ports) lan966x_pgid_entry_add() argument 306 u16 ports; lan966x_mdb_l2_del() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | xen-hcd.c | 72 struct rhport_status ports[XENUSB_MAX_PORTNR]; member 153 if (info->ports[port].status & USB_PORT_STAT_POWER) { in xenhcd_set_connect_state() 156 info->ports[port].status &= in xenhcd_set_connect_state() 164 info->ports[port].status |= USB_PORT_STAT_CONNECTION; in xenhcd_set_connect_state() 165 info->ports[port].status |= USB_PORT_STAT_LOW_SPEED; in xenhcd_set_connect_state() 168 info->ports[port].status |= USB_PORT_STAT_CONNECTION; in xenhcd_set_connect_state() 171 info->ports[port].status |= USB_PORT_STAT_CONNECTION; in xenhcd_set_connect_state() 172 info->ports[port].status |= USB_PORT_STAT_HIGH_SPEED; in xenhcd_set_connect_state() 177 info->ports[port].status |= (USB_PORT_STAT_C_CONNECTION << 16); in xenhcd_set_connect_state() 207 info->ports[por in xenhcd_rhport_connect() 316 int i, ports; xenhcd_bus_suspend() local 339 int i, ports; xenhcd_bus_resume() local 361 int ports = info->rh_numports; xenhcd_hub_descriptor() local 397 int ports; xenhcd_hub_status_data() local 430 int ports = info->rh_numports; xenhcd_hub_control() local [all...] |
/kernel/linux/linux-5.10/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dss-of.c | 28 struct device_node *ports; in omapdss_of_get_next_port() local 31 * within this node or within an optional 'ports' node. in omapdss_of_get_next_port() 33 ports = of_get_child_by_name(parent, "ports"); in omapdss_of_get_next_port() 34 if (ports) in omapdss_of_get_next_port() 35 parent = ports; in omapdss_of_get_next_port() 39 /* release the 'ports' node */ in omapdss_of_get_next_port() 40 of_node_put(ports); in omapdss_of_get_next_port() 42 struct device_node *ports; in omapdss_of_get_next_port() local 44 ports in omapdss_of_get_next_port() [all...] |
/kernel/linux/linux-6.6/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dss-of.c | 28 struct device_node *ports; in omapdss_of_get_next_port() local 31 * within this node or within an optional 'ports' node. in omapdss_of_get_next_port() 33 ports = of_get_child_by_name(parent, "ports"); in omapdss_of_get_next_port() 34 if (ports) in omapdss_of_get_next_port() 35 parent = ports; in omapdss_of_get_next_port() 39 /* release the 'ports' node */ in omapdss_of_get_next_port() 40 of_node_put(ports); in omapdss_of_get_next_port() 42 struct device_node *ports; in omapdss_of_get_next_port() local 44 ports in omapdss_of_get_next_port() [all...] |
/kernel/linux/linux-5.10/drivers/bus/ |
H A D | arm-cci.c | 113 static struct cci_ace_port *ports; variable 124 * Code disabling CCI cpu ports runs with D-cache invalidated 169 ace_match = ports[i].type == type; in __cci_ace_get_port() 170 if (ace_match && cci_portn == ports[i].dn) in __cci_ace_get_port() 188 * Port index look-up speeds up the function disabling ports by CPU, in cci_ace_init_ports() 235 void __iomem *base = ports[port].base; in cci_port_control() 257 * controlling that CPU cluster. Code disabling CPU CCI ports 330 /* Use matched port index to look up the corresponding ports entry */ in cci_enable_port_for_self() 335 " ldr r0, [r0, r2] @ *(&ports) \n" in cci_enable_port_for_self() 337 " mla r0, r2, r3, r0 @ &ports[inde in cci_enable_port_for_self() [all...] |
/kernel/linux/linux-6.6/drivers/bus/ |
H A D | arm-cci.c | 113 static struct cci_ace_port *ports; variable 124 * Code disabling CCI cpu ports runs with D-cache invalidated 169 ace_match = ports[i].type == type; in __cci_ace_get_port() 170 if (ace_match && cci_portn == ports[i].dn) in __cci_ace_get_port() 188 * Port index look-up speeds up the function disabling ports by CPU, in cci_ace_init_ports() 235 void __iomem *base = ports[port].base; in cci_port_control() 257 * controlling that CPU cluster. Code disabling CPU CCI ports 330 /* Use matched port index to look up the corresponding ports entry */ in cci_enable_port_for_self() 335 " ldr r0, [r0, r2] @ *(&ports) \n" in cci_enable_port_for_self() 337 " mla r0, r2, r3, r0 @ &ports[inde in cci_enable_port_for_self() [all...] |
/kernel/linux/linux-5.10/drivers/firewire/ |
H A D | core-topology.c | 103 node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); in fw_node_create() 141 if (node->ports[i] == NULL) in update_hop_count() 144 if (node->ports[i]->max_hops > max_child_hops) in update_hop_count() 145 max_child_hops = node->ports[i]->max_hops; in update_hop_count() 147 if (node->ports[i]->max_depth > depths[0]) { in update_hop_count() 149 depths[0] = node->ports[i]->max_depth; in update_hop_count() 150 } else if (node->ports[i]->max_depth > depths[1]) in update_hop_count() 151 depths[1] = node->ports[i]->max_depth; in update_hop_count() 244 * node->ports array where the parent in build_tree() 254 node->ports[ in build_tree() [all...] |
/kernel/linux/linux-6.6/drivers/firewire/ |
H A D | core-topology.c | 104 node = kzalloc(struct_size(node, ports, port_count), GFP_ATOMIC); in fw_node_create() 142 if (node->ports[i] == NULL) in update_hop_count() 145 if (node->ports[i]->max_hops > max_child_hops) in update_hop_count() 146 max_child_hops = node->ports[i]->max_hops; in update_hop_count() 148 if (node->ports[i]->max_depth > depths[0]) { in update_hop_count() 150 depths[0] = node->ports[i]->max_depth; in update_hop_count() 151 } else if (node->ports[i]->max_depth > depths[1]) in update_hop_count() 152 depths[1] = node->ports[i]->max_depth; in update_hop_count() 245 * node->ports array where the parent in build_tree() 255 node->ports[ in build_tree() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sharedbuffer_configuration.py | 249 def get_tcbinds(ports, verify_existence=False): 252 for port in ports: 264 def do_check_tcbind(ports, tcbinds, vp): 266 pre_tcbinds = get_tcbinds(ports) 272 post_tcbinds = get_tcbinds(ports) 290 def check_tcbind(dlname, ports, pools): 291 tcbinds = get_tcbinds(ports, verify_existence=True) 298 do_check_tcbind(ports, tcbinds, RandomValuePicker(pools)) 301 do_check_tcbind(ports, tcbinds, record_vp) 321 def get_portpools(ports, verify_existenc [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | sharedbuffer_configuration.py | 249 def get_tcbinds(ports, verify_existence=False): 252 for port in ports: 264 def do_check_tcbind(ports, tcbinds, vp): 266 pre_tcbinds = get_tcbinds(ports) 272 post_tcbinds = get_tcbinds(ports) 290 def check_tcbind(dlname, ports, pools): 291 tcbinds = get_tcbinds(ports, verify_existence=True) 298 do_check_tcbind(ports, tcbinds, RandomValuePicker(pools)) 301 do_check_tcbind(ports, tcbinds, record_vp) 321 def get_portpools(ports, verify_existenc [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | lag.c | 75 mlx5_infer_tx_enabled(&ldev->tracker, ldev->ports, enabled_ports, in lag_active_port_bits() 83 static int mlx5_cmd_create_lag(struct mlx5_core_dev *dev, u8 *ports, int mode, in mlx5_cmd_create_lag() argument 98 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_1, ports[0]); in mlx5_cmd_create_lag() 99 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_2, ports[1]); in mlx5_cmd_create_lag() 117 u8 *ports) in mlx5_cmd_modify_lag() 125 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_1, ports[0]); in mlx5_cmd_modify_lag() 126 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_2, ports[1]); in mlx5_cmd_modify_lag() 152 u8 *ports, int *num_disabled) in mlx5_infer_tx_disabled() 160 ports[(*num_disabled)++] = i; in mlx5_infer_tx_disabled() 165 u8 *ports, in in mlx5_infer_tx_enabled() 116 mlx5_cmd_modify_lag(struct mlx5_core_dev *dev, u8 num_ports, u8 *ports) mlx5_cmd_modify_lag() argument 151 mlx5_infer_tx_disabled(struct lag_tracker *tracker, u8 num_ports, u8 *ports, int *num_disabled) mlx5_infer_tx_disabled() argument 164 mlx5_infer_tx_enabled(struct lag_tracker *tracker, u8 num_ports, u8 *ports, int *num_enabled) mlx5_infer_tx_enabled() argument 312 mlx5_infer_tx_affinity_mapping(struct lag_tracker *tracker, u8 num_ports, u8 buckets, u8 *ports) mlx5_infer_tx_affinity_mapping() argument 414 mlx5_cmd_modify_active_port(struct mlx5_core_dev *dev, u8 ports) mlx5_cmd_modify_active_port() argument 429 _mlx5_modify_lag(struct mlx5_lag *ldev, u8 *ports) _mlx5_modify_lag() argument 451 u8 ports[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS] = {}; mlx5_modify_lag() local [all...] |
H A D | debugfs.c | 104 u8 ports[MLX5_MAX_PORTS] = {}; in mapping_show() local 116 mlx5_infer_tx_enabled(&ldev->tracker, ldev->ports, ports, in mapping_show() 120 for (i = 0; i < ldev->ports; i++) in mapping_show() 121 ports[i] = ldev->v2p_map[i]; in mapping_show() 122 num_ports = ldev->ports; in mapping_show() 131 seq_printf(file, "%d\n", ports[i] + 1); in mapping_show() 133 seq_printf(file, "%d:%d\n", i + 1, ports[i]); in mapping_show() 147 for (i = 0; i < ldev->ports; i++) { in members_show()
|
H A D | port_sel.c | 40 u8 *ports) in mlx5_lag_create_port_sel_table() 51 ft_attr.max_fte = ldev->ports * ldev->buckets; in mlx5_lag_create_port_sel_table() 77 for (i = 0; i < ldev->ports; i++) { in mlx5_lag_create_port_sel_table() 82 affinity = ports[idx]; in mlx5_lag_create_port_sel_table() 292 enum mlx5_traffic_types tt, bool tunnel, u8 *ports) in mlx5_lag_create_definer() 320 err = mlx5_lag_create_port_sel_table(ldev, lag_definer, ports); in mlx5_lag_create_definer() 345 for (i = 0; i < ldev->ports; i++) { in mlx5_lag_destroy_definer() 374 u8 *ports) in mlx5_lag_create_definers() 382 false, ports); in mlx5_lag_create_definers() 394 true, ports); in mlx5_lag_create_definers() 38 mlx5_lag_create_port_sel_table(struct mlx5_lag *ldev, struct mlx5_lag_definer *lag_definer, u8 *ports) mlx5_lag_create_port_sel_table() argument 291 mlx5_lag_create_definer(struct mlx5_lag *ldev, enum netdev_lag_hash hash, enum mlx5_traffic_types tt, bool tunnel, u8 *ports) mlx5_lag_create_definer() argument 372 mlx5_lag_create_definers(struct mlx5_lag *ldev, enum netdev_lag_hash hash_type, u8 *ports) mlx5_lag_create_definers() argument 530 mlx5_lag_port_sel_create(struct mlx5_lag *ldev, enum netdev_lag_hash hash_type, u8 *ports) mlx5_lag_port_sel_create() argument 561 __mlx5_lag_modify_definers_destinations(struct mlx5_lag *ldev, struct mlx5_lag_definer *def, u8 *ports) __mlx5_lag_modify_definers_destinations() argument 592 mlx5_lag_modify_definers_destinations(struct mlx5_lag *ldev, struct mlx5_lag_definer **definers, u8 *ports) mlx5_lag_modify_definers_destinations() argument 609 mlx5_lag_port_sel_modify(struct mlx5_lag *ldev, u8 *ports) mlx5_lag_port_sel_modify() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | cma_configfs.c | 55 struct cma_dev_port_group *ports; member 206 struct cma_dev_port_group *ports; in make_cma_ports() local 215 ports = kcalloc(ports_num, sizeof(*cma_dev_group->ports), in make_cma_ports() 218 if (!ports) { in make_cma_ports() 226 ports[i].port_num = i + 1; in make_cma_ports() 228 ports[i].cma_dev_group = cma_dev_group; in make_cma_ports() 229 config_group_init_type_name(&ports[i].group, in make_cma_ports() 232 configfs_add_default_group(&ports[i].group, in make_cma_ports() 236 cma_dev_group->ports in make_cma_ports() [all...] |
/kernel/linux/linux-5.10/sound/core/seq/ |
H A D | seq_midi.c | 10 - automatic opening of midi ports on first received event or subscription 54 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES]; member 267 unsigned int p, ports; in snd_seq_midisynth_probe() local 287 ports = output_count; in snd_seq_midisynth_probe() 288 if (ports < input_count) in snd_seq_midisynth_probe() 289 ports = input_count; in snd_seq_midisynth_probe() 290 if (ports == 0) { in snd_seq_midisynth_probe() 294 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe() 295 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe() 319 msynth = kcalloc(ports, sizeo in snd_seq_midisynth_probe() 419 int device = dev->device, p, ports; snd_seq_midisynth_remove() local [all...] |
/kernel/linux/linux-6.6/sound/core/seq/ |
H A D | seq_midi.c | 10 - automatic opening of midi ports on first received event or subscription 55 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES]; member 277 unsigned int p, ports; in snd_seq_midisynth_probe() local 297 ports = output_count; in snd_seq_midisynth_probe() 298 if (ports < input_count) in snd_seq_midisynth_probe() 299 ports = input_count; in snd_seq_midisynth_probe() 300 if (ports == 0) { in snd_seq_midisynth_probe() 304 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe() 305 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe() 329 msynth = kcalloc(ports, sizeo in snd_seq_midisynth_probe() 434 int device = dev->device, p, ports; snd_seq_midisynth_remove() local [all...] |
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
H A D | udp_tunnels.c | 25 if (ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_set_port() 29 ns->udp_ports.ports[table][entry] = in nsim_udp_tunnel_set_port() 55 if (val == ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_unset_port() 56 ns->udp_ports.ports[table][entry] = 0; in nsim_udp_tunnel_unset_port() 59 val, ns->udp_ports.ports[table][entry]); in nsim_udp_tunnel_unset_port() 83 ns->udp_ports.ports[table][i] = in nsim_udp_tunnel_sync_table() 115 memset(ns->udp_ports.ports, 0, sizeof(ns->udp_ports.__ports)); in nsim_udp_tunnels_info_reset_write() 143 ns->udp_ports.ports = ns->udp_ports.__ports; in nsim_udp_tunnels_info_create() 145 ns->udp_ports.ports = nsim_dev->udp_ports.__ports; in nsim_udp_tunnels_info_create() 151 ns->udp_ports.dfs_ports[0].array = ns->udp_ports.ports[ in nsim_udp_tunnels_info_create() [all...] |
/kernel/linux/linux-6.6/drivers/net/netdevsim/ |
H A D | udp_tunnels.c | 25 if (ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_set_port() 29 ns->udp_ports.ports[table][entry] = in nsim_udp_tunnel_set_port() 55 if (val == ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_unset_port() 56 ns->udp_ports.ports[table][entry] = 0; in nsim_udp_tunnel_unset_port() 59 val, ns->udp_ports.ports[table][entry]); in nsim_udp_tunnel_unset_port() 83 ns->udp_ports.ports[table][i] = in nsim_udp_tunnel_sync_table() 115 memset(ns->udp_ports.ports, 0, sizeof(ns->udp_ports.__ports)); in nsim_udp_tunnels_info_reset_write() 143 ns->udp_ports.ports = ns->udp_ports.__ports; in nsim_udp_tunnels_info_create() 145 ns->udp_ports.ports = nsim_dev->udp_ports.__ports; in nsim_udp_tunnels_info_create() 151 ns->udp_ports.dfs_ports[0].array = ns->udp_ports.ports[ in nsim_udp_tunnels_info_create() [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | cma_configfs.c | 54 struct cma_dev_port_group *ports; member 202 struct cma_dev_port_group *ports; in make_cma_ports() local 213 ports = kcalloc(ports_num, sizeof(*cma_dev_group->ports), in make_cma_ports() 216 if (!ports) in make_cma_ports() 222 ports[i].port_num = i + 1; in make_cma_ports() 224 ports[i].cma_dev_group = cma_dev_group; in make_cma_ports() 225 config_group_init_type_name(&ports[i].group, in make_cma_ports() 228 configfs_add_default_group(&ports[i].group, in make_cma_ports() 232 cma_dev_group->ports in make_cma_ports() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_encoder.c | 29 struct device_node *ports; in rcar_du_encoder_count_ports() local 33 ports = of_get_child_by_name(node, "ports"); in rcar_du_encoder_count_ports() 34 if (!ports) in rcar_du_encoder_count_ports() 35 ports = of_node_get(node); in rcar_du_encoder_count_ports() 37 for_each_child_of_node(ports, port) { in rcar_du_encoder_count_ports() 42 of_node_put(ports); in rcar_du_encoder_count_ports()
|
/kernel/linux/linux-5.10/sound/usb/ |
H A D | mixer_scarlett_gen2.c | 220 struct scarlett2_ports ports[SCARLETT2_PORT_TYPE_COUNT]; member 263 .ports = { 319 .ports = { 389 .ports = { 439 static int scarlett2_get_port_start_num(const struct scarlett2_ports *ports, in scarlett2_get_port_start_num() argument 445 num += ports[i].num[direction]; in scarlett2_get_port_start_num() 803 info->ports[SCARLETT2_PORT_TYPE_MIX].num[SCARLETT2_PORT_OUT]; in scarlett2_usb_set_mix() 817 /* Convert a port number index (per info->ports) to a hardware ID */ 818 static u32 scarlett2_mux_src_num_to_id(const struct scarlett2_ports *ports, in scarlett2_mux_src_num_to_id() argument 826 if (num < ports[port_typ in scarlett2_mux_src_num_to_id() 840 const struct scarlett2_ports *ports = info->ports; scarlett2_usb_set_mux() local 989 const struct scarlett2_ports *ports = private->info->ports; scarlett2_update_volumes() local 1380 const struct scarlett2_ports *ports = info->ports; scarlett2_add_line_out_ctls() local 1506 const struct scarlett2_ports *ports = info->ports; scarlett2_mixer_ctl_put() local 1550 const struct scarlett2_ports *ports = private->info->ports; scarlett2_add_mixer_ctls() local 1580 const struct scarlett2_ports *ports = private->info->ports; scarlett2_mux_src_enum_ctl_info() local 1656 const struct scarlett2_ports *ports = private->info->ports; scarlett2_add_mux_enums() local 1751 scarlett2_count_mux_srcs(const struct scarlett2_ports *ports) scarlett2_count_mux_srcs() argument 1766 scarlett2_init_routing(u8 *mux, const struct scarlett2_ports *ports) scarlett2_init_routing() argument 1849 const struct scarlett2_ports *ports = info->ports; scarlett2_read_configs() local 1915 const struct scarlett2_ports *ports = private->info->ports; scarlett2_mixer_interrupt_vol_change() local [all...] |
/kernel/linux/linux-5.10/net/dsa/ |
H A D | dsa2.c | 33 list_for_each_entry(dp, &dst->ports, list) { in dsa_switch_find() 68 INIT_LIST_HEAD(&dst->ports); in dsa_tree_alloc() 138 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_port_by_node() 203 list_for_each_entry(dp, &dst->ports, list) { in dsa_tree_setup_routing_table() 218 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_find_first_cpu() 235 /* Assign the default CPU port to all ports of the fabric */ in dsa_tree_setup_default_cpu() 236 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_setup_default_cpu() 247 list_for_each_entry(dp, &dst->ports, list) in dsa_tree_teardown_default_cpu() 441 * setup() can register regions etc, against the ports in dsa_switch_setup() 443 list_for_each_entry(dp, &ds->dst->ports, lis in dsa_switch_setup() 785 struct device_node *ports, *port; dsa_switch_parse_ports_of() local [all...] |
/kernel/linux/linux-5.10/arch/alpha/kernel/ |
H A D | err_marvel.c | 820 if (!io7->ports[i].enabled) in marvel_find_io7_with_error() 822 err_sum |= io7->ports[i].csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error() 857 io7_ioport_csrs *csrs = io7->ports[i].csrs; in marvel_find_io7_with_error() 859 if (!io7->ports[i].enabled) in marvel_find_io7_with_error() 862 io->ports[i].pox_err_sum = csrs->POx_ERR_SUM.csr; in marvel_find_io7_with_error() 863 io->ports[i].pox_tlb_err = csrs->POx_TLB_ERR.csr; in marvel_find_io7_with_error() 864 io->ports[i].pox_spl_cmplt = csrs->POx_SPL_COMPLT.csr; in marvel_find_io7_with_error() 865 io->ports[i].pox_trans_sum = csrs->POx_TRANS_SUM.csr; in marvel_find_io7_with_error() 866 io->ports[i].pox_first_err = csrs->POx_FIRST_ERR.csr; in marvel_find_io7_with_error() 867 io->ports[ in marvel_find_io7_with_error() [all...] |