Home
last modified time | relevance | path

Searched full:ports (Results 1 – 25 of 2558) sorted by relevance

12345678910>>...103

/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.h172 * @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 Dlan966x_mdb.c11 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 Dhi3660-coresight.dtsi22 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 Dhi6220-coresight.dtsi19 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 Ddevlink_port_split.py15 # 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 Dhip04.dtsi277 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 Dice_adapter.h18 * struct ice_port_list - data used to store the list of adapter ports
20 * This structure contains data used to maintain a list of adapter ports
22 * @ports: list of ports
23 * @lock: protect access to the ports list member
26 struct list_head ports;
27 /* To synchronize the ports list operations */
40 * @ports: Ports list
53 struct ice_port_list ports;
46 struct ice_port_list ports; global() member
[all...]
/linux/Documentation/networking/dsa/
H A Dconfiguration.rst100 # 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 Dxen-hcd.c72 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 …]
/linux/sound/core/seq/
H A Dseq_dummy.c34 The number of ports to be created can be specified via the module
35 parameter "ports". For example, to create four ports, add the
38 option snd-seq-dummy ports=4
41 In duplex mode, a pair of ports are created instead of single port,
42 and events are tunneled between pair-ports. For example, input to
54 static int ports = 1; variable
57 module_param(ports, int, 0444);
58 MODULE_PARM_DESC(ports, "number of ports t
[all...]
H A Dseq_midi.c10 - automatic opening of midi ports on first received event or subscription
58 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES];
301 unsigned int p, ports; in snd_seq_midisynth_probe()
323 ports = output_count; in snd_seq_midisynth_probe()
324 if (ports < input_count) in snd_seq_midisynth_probe()
325 ports = input_count; in snd_seq_midisynth_probe()
326 if (ports == 0) in snd_seq_midisynth_probe()
328 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
329 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe()
348 msynth = kzalloc_objs(struct seq_midisynth, ports); in snd_seq_midisynth_probe()
55 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES]; global() member
274 unsigned int p, ports; snd_seq_midisynth_probe() local
421 int device = dev->device, p, ports; snd_seq_midisynth_remove() local
[all...]
/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dsharedbuffer_configuration.py249 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 Dxdp_flowtable.c48 static bool xdp_flowtable_offload_check_tcp_state(void *ports, void *data_end, in xdp_flowtable_offload_check_tcp_state()
52 struct tcphdr *tcph = ports; in xdp_flowtable_offload_check_tcp_state()
79 struct flow_ports___local *ports; in xdp_flowtable_do_lookup()
89 ports = (struct flow_ports___local *)(iph + 1); in xdp_flowtable_do_lookup()
90 if (ports + 1 > data_end) in xdp_flowtable_do_lookup()
97 if (!xdp_flowtable_offload_check_tcp_state(ports, data_end, in xdp_flowtable_do_lookup()
107 tuple.sport = ports->source; in xdp_flowtable_do_lookup()
108 tuple.dport = ports->dest; in xdp_flowtable_do_lookup()
116 ports = (struct flow_ports___local *)(ip6h + 1); in xdp_flowtable_do_lookup()
117 if (ports in xdp_flowtable_do_lookup()
45 xdp_flowtable_offload_check_tcp_state(void * ports,void * data_end,u8 proto) xdp_flowtable_offload_check_tcp_state() argument
76 struct flow_ports___local *ports; xdp_flowtable_do_lookup() local
[all...]
/linux/drivers/bus/
H A Darm-cci.c113 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/drivers/tty/serial/
H A DKconfig162 properly when DMA is enabled. Make sure that ports where
228 these ports, depending on how the serial port pins are configured.
237 Select the number of available UART ports for the Samsung S3C
246 Allow selection of the S3C24XX on-board serial ports for use as
263 provide all of these ports, depending on how the serial port
368 for serial ports in newer DECstation systems. These include the
427 can enable its onboard serial ports by enabling this option.
534 int "Maximum number of uartlite serial ports"
541 If maximum number of uartlite serial ports is more than 4, then the
556 This driver supports the Zilog8530 serial ports foun
[all...]
/linux/Documentation/leds/
H A Dledtrig-usbport.rst9 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 Dcore-topology.c30 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_inde in build_tree()
[all...]
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
H A Dgpio.txt4 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 Dmscc,ocelot.yaml31 - 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/Documentation/devicetree/bindings/pinctrl/
H A Dabilis,tb10x-iomux.txt25 - 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/sound/soc/generic/
H A Daudio-graph-card2.c22 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 {
247 struct device_node *ports = of_get_parent(port); port_to_ports() local
1118 struct device_node *ports = port_to_ports(lnk); graph_counter() local
[all...]
/linux/drivers/infiniband/core/
H A Dcma_configfs.c54 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 in make_cma_ports()
[all...]
/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper.c54 * 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 i in cvmx_helper_interface_enumerate()
[all...]
/linux/include/uapi/linux/netfilter/
H A Dxt_multiport.h18 __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
/linux/drivers/media/cec/usb/extron-da-hd-4k-plus/
H A Dcec-splitter.c48 /* Transmit Active Source messages from all output ports to the sinks */
54 cec_port_out_active_source(splitter->ports[i]); in cec_out_active_source()
70 /* Transmit Standby messages from all output ports to the sinks */
76 cec_port_out_standby(splitter->ports[i]); in cec_out_standby()
94 /* Transmit Image/Text View On messages from all output ports to the sinks */
100 cec_port_out_wakeup(splitter->ports[i], opcode); in cec_out_wakeup()
144 /* Pass the in_msg on to all output ports */
151 struct cec_splitter_port *p = splitter->ports[i]; in cec_out_passthrough()
165 * See if all output ports received the Report Current Latency message,
177 struct cec_splitter_port *p = splitter->ports[i]; in cec_out_report_current_latency()
[all …]

12345678910>>...103