| /linux/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| H A D | nfp_nsp.h | 172 * @max_index: max of @index fields of all @ports 173 * @ports: table of ports 175 * @ports.eth_index: port index according to legacy ethX numbering 176 * @ports.index: chip-wide first channel index 177 * @ports.nbi: NBI index 178 * @ports.base: first channel index (within NBI) 179 * @ports.lanes: number of channels 180 * @ports.speed: interface speed (in Mbps) 181 * @ports.interface: interface (module) plugged in 182 * @ports.media: media type of the @interface [all …]
|
| /linux/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() 163 ports &= ~BIT(port->chip_port); in lan966x_mdb_ip_del() [all …]
|
| /linux/arch/arm64/boot/dts/hisilicon/ |
| H A D | hi3660-coresight.dtsi | 22 out-ports { 40 out-ports { 58 out-ports { 76 out-ports { 92 out-ports { 101 in-ports { 141 in-ports { 150 out-ports { 169 out-ports { 187 out-ports { [all …]
|
| H A D | hi6220-coresight.dtsi | 19 out-ports { 28 in-ports { 44 in-ports { 53 out-ports { 68 in-ports { 77 out-ports { 105 in-ports { 121 in-ports { 137 out-ports { 146 in-ports { [all …]
|
| /linux/tools/testing/selftests/drivers/net/hw/ |
| H A D | devlink_port_split.py | 15 # First, check that all the ports with 1 lane fail to split. 16 # Second, check that all the ports with more than 1 lane can be split 45 Class that holds information on the devlink ports, required to the tests; 46 if_names: A list of interfaces in the devlink ports. 51 Get a list of physical devlink ports. 60 ports = json.loads(stdout)['port'] 62 validate_devlink_output(ports, 'flavour') 64 for port in ports: 66 if ports[port]['flavour'] == 'physical': 67 arr.append(Port(bus_info=port, name=ports[port]['netdev'])) [all …]
|
| /linux/arch/arm/boot/dts/hisilicon/ |
| H A D | hip04.dtsi | 277 in-ports { 292 in-ports { 307 in-ports { 322 in-ports { 337 in-ports { 352 out-ports { 356 /* replicator output ports */ 372 in-ports { 387 out-ports { 391 /* replicator output ports */ [all …]
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_adapter.h | 15 * struct ice_port_list - data used to store the list of adapter ports 17 * This structure contains data used to maintain a list of adapter ports 19 * @ports: list of ports 20 * @lock: protect access to the ports list 23 struct list_head ports; member 24 /* To synchronize the ports list operations */ 35 * @ports: Ports list 46 struct ice_port_list ports; member
|
| /linux/Documentation/networking/dsa/ |
| H A D | configuration.rst | 100 # brought up manually before the user ports. 112 # brought up manually before the user ports. 123 # add ports to bridge 138 # brought up manually before the user ports. 152 # add ports to bridge 182 # brought up manually before the user ports. 199 # add ports to bridges 204 # tag traffic on ports 225 # brought up manually before the user ports. 240 # add ports to bridge [all …]
|
| /linux/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[port].c_connection = true; in xenhcd_rhport_connect() [all …]
|
| H A D | xhci-hub.c | 257 struct usb_hub_descriptor *desc, int ports) in xhci_common_hub_descriptor() argument 263 desc->bNbrPorts = ports; in xhci_common_hub_descriptor() 273 /* Bits 6:5 - no TTs in root ports */ in xhci_common_hub_descriptor() 282 int ports; in xhci_usb2_hub_descriptor() local 290 ports = rhub->num_ports; in xhci_usb2_hub_descriptor() 291 xhci_common_hub_descriptor(xhci, desc, ports); in xhci_usb2_hub_descriptor() 293 temp = 1 + (ports / 8); in xhci_usb2_hub_descriptor() 301 for (i = 0; i < ports; i++) { in xhci_usb2_hub_descriptor() 302 portsc = xhci_portsc_readl(rhub->ports[i]); in xhci_usb2_hub_descriptor() 314 * ports on it. The USB 2.0 specification says that there are two in xhci_usb2_hub_descriptor() [all …]
|
| /linux/sound/core/seq/ |
| H A D | seq_dummy.c | 33 The number of ports to be created can be specified via the module 34 parameter "ports". For example, to create four ports, add the 37 option snd-seq-dummy ports=4 40 In duplex mode, a pair of ports are created instead of single port, 41 and events are tunneled between pair-ports. For example, input to 53 static int ports = 1; variable 56 module_param(ports, int, 0444); 57 MODULE_PARM_DESC(ports, "number of ports to be created"); 59 MODULE_PARM_DESC(duplex, "create DUPLEX ports"); 155 * register client and create ports [all …]
|
| 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 274 unsigned int p, ports; in snd_seq_midisynth_probe() local 296 ports = output_count; in snd_seq_midisynth_probe() 297 if (ports < input_count) in snd_seq_midisynth_probe() 298 ports = input_count; in snd_seq_midisynth_probe() 299 if (ports == 0) in snd_seq_midisynth_probe() 301 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe() 302 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe() 321 msynth = kzalloc_objs(struct seq_midisynth, ports); in snd_seq_midisynth_probe() [all …]
|
| /linux/tools/testing/selftests/drivers/net/mlxsw/ |
| H A D | sharedbuffer_configuration.py | 249 def get_tcbinds(ports, verify_existence=False): argument 252 for port in ports: 264 def do_check_tcbind(ports, tcbinds, vp): argument 266 pre_tcbinds = get_tcbinds(ports) 272 post_tcbinds = get_tcbinds(ports) 290 def check_tcbind(dlname, ports, pools): argument 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_existence=False): argument [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | xdp_flowtable.c | 45 static bool xdp_flowtable_offload_check_tcp_state(void *ports, void *data_end, in xdp_flowtable_offload_check_tcp_state() argument 49 struct tcphdr *tcph = ports; in xdp_flowtable_offload_check_tcp_state() 76 struct flow_ports___local *ports; in xdp_flowtable_do_lookup() local 86 ports = (struct flow_ports___local *)(iph + 1); in xdp_flowtable_do_lookup() 87 if (ports + 1 > data_end) in xdp_flowtable_do_lookup() 94 if (!xdp_flowtable_offload_check_tcp_state(ports, data_end, in xdp_flowtable_do_lookup() 104 tuple.sport = ports->source; in xdp_flowtable_do_lookup() 105 tuple.dport = ports->dest; in xdp_flowtable_do_lookup() 113 ports = (struct flow_ports___local *)(ip6h + 1); in xdp_flowtable_do_lookup() 114 if (ports + 1 > data_end) in xdp_flowtable_do_lookup() [all …]
|
| /linux/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[index] \n" in cci_enable_port_for_self() [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | it87.rst | 10 Addresses scanned: from Super I/O config space (8 I/O ports) 18 Addresses scanned: from Super I/O config space (8 I/O ports) 24 Addresses scanned: from Super I/O config space (8 I/O ports) 32 Addresses scanned: from Super I/O config space (8 I/O ports) 40 Addresses scanned: from Super I/O config space (8 I/O ports) 48 Addresses scanned: from Super I/O config space (8 I/O ports) 56 Addresses scanned: from Super I/O config space (8 I/O ports) 64 Addresses scanned: from Super I/O config space (8 I/O ports) 72 Addresses scanned: from Super I/O config space (8 I/O ports) 80 Addresses scanned: from Super I/O config space (8 I/O ports) [all …]
|
| /linux/Documentation/leds/ |
| H A D | ledtrig-usbport.rst | 9 It requires selecting USB ports that should be observed. All available ones are 10 listed as separated entries in a "ports" subdirectory. Selecting is handled by 13 Please note that this trigger allows selecting multiple USB ports for a single 18 1) Device with single USB LED and few physical ports 29 only one LED user will most likely want to assign ports from all 3 hubs. 43 echo 1 > ports/usb1-port1 44 echo 1 > ports/usb2-port1 45 cat ports/usb1-port1 46 echo 0 > ports/usb1-port1
|
| /linux/drivers/firewire/ |
| H A D | core-topology.c | 30 node = kzalloc_flex(*node, ports, port_count, GFP_ATOMIC); in fw_node_create() 69 if (node->ports[i] == NULL) in update_hop_count() 72 if (node->ports[i]->max_hops > max_child_hops) in update_hop_count() 73 max_child_hops = node->ports[i]->max_hops; in update_hop_count() 75 if (node->ports[i]->max_depth > depths[0]) { in update_hop_count() 77 depths[0] = node->ports[i]->max_depth; in update_hop_count() 78 } else if (node->ports[i]->max_depth > depths[1]) in update_hop_count() 79 depths[1] = node->ports[i]->max_depth; in update_hop_count() 204 // the node->ports array where the parent node should be. Later, in build_tree() 211 node->ports[port_index] = child; in build_tree() [all …]
|
| /linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/ |
| H A D | gpio.txt | 4 On CPM1 devices, all ports are using slightly different register layouts. 5 Ports A, C and D are 16bit ports and Ports B and E are 32bit ports. 7 On CPM2 devices, all ports are 32bit ports and use a common register layout. 18 on CPM1), this item tells which ports have an associated interrupt (ports are
|
| /linux/Documentation/devicetree/bindings/net/dsa/ |
| H A D | mscc,ocelot.yaml | 31 - phy-mode = "internal": on ports 8 and 9 32 - phy-mode = "sgmii": on ports 0, 1, 2, 3, 4, 5, 6, 7 33 - phy-mode = "qsgmii": on ports 0, 1, 2, 3, 4, 5, 6, 7 34 - phy-mode = "1000base-x": on ports 0, 1, 2, 3, 4, 5, 6, 7 50 - phy-mode = "internal": on ports 4 and 5 51 - phy-mode = "sgmii": on ports 0, 1, 2, 3 52 - phy-mode = "qsgmii": on ports 0, 1, 2, 3 53 - phy-mode = "usxgmii": on ports 0, 1, 2, 3 54 - phy-mode = "1000base-x": on ports 0, 1, 2, 3 55 - phy-mode = "2500base-x": on ports 0, 1, 2, 3 [all …]
|
| /linux/sound/soc/generic/ |
| H A D | audio-graph-card2.c | 22 ports { 36 You can set daifmt at ports/port/endpoint. 99 ports@0 { 104 ports@1 { 113 ports { 122 ports { 156 ports@0 { 162 ports@1 { 171 ports { 181 ports { [all …]
|
| /linux/Documentation/devicetree/bindings/pinctrl/ |
| H A D | abilis,tb10x-iomux.txt | 25 - GPIO ports: gpioa, gpiob, gpioc, gpiod, gpioe, gpiof, gpiog, 27 - Serial TS input ports: mis0, mis1, mis2, mis3, mis4, mis5, mis6, mis7 28 - Parallel TS input ports: mip1, mip3, mip5, mip7 29 - Serial TS output ports: mos0, mos1, mos2, mos3 33 - Smart card ports: stc0, stc1 34 - UART ports: uart0, uart1 35 - SPI ports: spi1, spi3 38 All other ports of the chip are not multiplexed and thus not managed by this 45 The named pin groups of GPIO ports can be used to define GPIO ranges as
|
| /linux/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 = kzalloc_objs(*cma_dev_group->ports, ports_num); in make_cma_ports() 215 if (!ports) in make_cma_ports() 221 ports[i].port_num = i + 1; in make_cma_ports() 223 ports[i].cma_dev_group = cma_dev_group; in make_cma_ports() 224 config_group_init_type_name(&ports[i].group, in make_cma_ports() 227 configfs_add_default_group(&ports[i].group, in make_cma_ports() 231 cma_dev_group->ports = ports; in make_cma_ports() 254 kfree(cma_dev_group->ports); in release_cma_ports_group() [all …]
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-helper.c | 54 * may have multiple ports. Most chips support two interfaces, 80 * Return the number of ports on an interface. Depending on the 86 * Returns Number of ports on interface. Can be Zero. 416 * the ports will be performed later. 425 /* These types don't support ports to IPD/PKO */ in cvmx_helper_interface_enumerate() 437 * functions refer to these ports as RGMII. in cvmx_helper_interface_enumerate() 445 * SPI4 can have 1-16 ports depending on the device at in cvmx_helper_interface_enumerate() 453 * SGMII can have 1-4 ports depending on how many are in cvmx_helper_interface_enumerate() 467 * Special loopback only ports. These are not the same in cvmx_helper_interface_enumerate() 468 * as other ports in loopback mode. in cvmx_helper_interface_enumerate() [all …]
|
| /linux/include/uapi/linux/netfilter/ |
| H A D | xt_multiport.h | 18 __u8 count; /* Number of ports */ 19 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member 24 __u8 count; /* Number of ports */ 25 __u16 ports[XT_MULTI_PORTS]; /* Ports */ member
|