Home
last modified time | relevance | path

Searched refs:ports (Results 1 – 25 of 1140) sorted by relevance

12345678910>>...46

/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/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...]
H A Dsock_iter_batch.c27 volatile const __u16 ports[2]; variable
52 if (sk->sk_num == ports[0]) in iter_tcp_soreuse()
54 else if (sk->sk_num == ports[1]) in iter_tcp_soreuse()
56 else if (!ports[0] && !ports[1]) in iter_tcp_soreuse()
115 if (sk->sk_num == ports[0]) in iter_udp_soreuse()
117 else if (sk->sk_num == ports[1]) in iter_udp_soreuse()
119 else if (!ports[0] && !ports[1]) in iter_udp_soreuse()
/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/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/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/bus/
H A Darm-cci.c113 static struct cci_ace_port *ports; variable
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()
235 void __iomem *base = ports[port].base; in cci_port_control()
417 if (port >= nb_cci_ports || ports[port].type == ACE_INVALID_PORT) in __cci_control_port_by_index()
425 if (ports[port].type == ACE_PORT) in __cci_control_port_by_index()
454 ports = kzalloc_objs(*ports, nb_cci_ports); in cci_probe_ports()
455 if (!ports) in cci_probe_ports()
482 ports[i].base = ioremap(res.start, resource_size(&res)); in cci_probe_ports()
483 ports[i].phys = res.start; in cci_probe_ports()
[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_midi.c10 - automatic opening of midi ports on first received event or subscription
60 struct seq_midisynth *ports[SNDRV_RAWMIDI_DEVICES];
324 unsigned int p, ports; in snd_seq_midisynth_probe()
346 ports = output_count; in snd_seq_midisynth_probe()
347 if (ports < input_count) in snd_seq_midisynth_probe()
348 ports = input_count; in snd_seq_midisynth_probe()
349 if (ports == 0) in snd_seq_midisynth_probe()
351 if (ports > (256 / SNDRV_RAWMIDI_DEVICES)) in snd_seq_midisynth_probe()
352 ports = 256 / SNDRV_RAWMIDI_DEVICES; in snd_seq_midisynth_probe()
371 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/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/net/netdevsim/
H A Dudp_tunnels.c22 if (ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_set_port()
26 ns->udp_ports.ports[table][entry] = in nsim_udp_tunnel_set_port()
50 if (val == ns->udp_ports.ports[table][entry]) { in nsim_udp_tunnel_unset_port()
51 ns->udp_ports.ports[table][entry] = 0; in nsim_udp_tunnel_unset_port()
54 val, ns->udp_ports.ports[table][entry]); in nsim_udp_tunnel_unset_port()
78 ns->udp_ports.ports[table][i] = in nsim_udp_tunnel_sync_table()
111 memset(ns->udp_ports.ports, 0, sizeof(ns->udp_ports.__ports)); in nsim_udp_tunnels_info_reset_write()
138 ns->udp_ports.ports = ns->udp_ports.__ports; in nsim_udp_tunnels_info_create()
140 ns->udp_ports.ports = nsim_dev->udp_ports.__ports; in nsim_udp_tunnels_info_create()
148 ns->udp_ports.dfs_ports[0].array = ns->udp_ports.ports[0]; in nsim_udp_tunnels_info_create()
[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/arch/alpha/kernel/
H A Derr_marvel.c820 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[i].pox_mult_err = csrs->POx_MULT_ERR.csr; in marvel_find_io7_with_error()
[all …]
/linux/tools/testing/selftests/drivers/net/hw/
H A Ddevlink_port_split.py60 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']))
150 def exists_and_lanes(ports, lanes, dev): argument
157 for port in ports:
276 ports = devlink_ports(dev)
279 for port in ports.if_names:
/linux/arch/arm64/boot/dts/sprd/
H A Dsc9836.dtsi52 in-ports {
67 out-ports {
75 in-ports {
113 /* Other input ports aren't connected to anyone */
124 out-ports {
140 out-ports {
156 out-ports {
172 out-ports {
188 out-ports {
/linux/drivers/input/serio/
H A Dps2mult.c37 struct ps2mult_port ports[PS2MULT_NUM_PORTS]; member
137 serio->port_data = &psm->ports[i]; in ps2mult_create_port()
139 psm->ports[i].serio = serio; in ps2mult_create_port()
151 ps2mult_select_port(psm, &psm->ports[PS2MULT_KBD_PORT]); in ps2mult_reset()
171 psm->ports[i].sel = ps2mult_controls[i]; in ps2mult_connect()
177 psm->in_port = psm->out_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_connect()
187 struct serio *s = psm->ports[i].serio; in ps2mult_connect()
197 kfree(psm->ports[i].serio); in ps2mult_connect()
262 psm->in_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_interrupt()
267 psm->in_port = &psm->ports[PS2MULT_MOUSE_PORT]; in ps2mult_interrupt()
/linux/drivers/net/wan/
H A Dn2.c116 port_t ports[2]; member
135 #define get_port(card, port) ((card)->ports[port].valid ? \
136 &(card)->ports[port] : NULL)
290 if (card->ports[cnt].card) { in n2_destroy_card()
291 struct net_device *dev = port_to_dev(&card->ports[cnt]); in n2_destroy_card()
306 if (card->ports[0].dev) in n2_destroy_card()
307 free_netdev(card->ports[0].dev); in n2_destroy_card()
308 if (card->ports[1].dev) in n2_destroy_card()
309 free_netdev(card->ports[1].dev); in n2_destroy_card()
347 card->ports[0].dev = alloc_hdlcdev(&card->ports[0]); in n2_run()
[all …]
H A Dwanxl.c77 struct port ports[]; /* 1 - 4 port structures follow */ member
201 struct port *port = &card->ports[desc->stat & in wanxl_rx_intr()
253 wanxl_tx_intr(&card->ports[i]); in wanxl_intr()
255 wanxl_cable_intr(&card->ports[i]); in wanxl_intr()
492 unregister_hdlc_device(card->ports[i].dev); in wanxl_pci_remove_one()
493 free_netdev(card->ports[i].dev); in wanxl_pci_remove_one()
542 int i, ports; in wanxl_pci_init_one() local
576 ports = 1; in wanxl_pci_init_one()
579 ports = 2; in wanxl_pci_init_one()
582 ports = 4; in wanxl_pci_init_one()
[all …]
/linux/drivers/slimbus/
H A Dstream.c211 if (rt->ports) { in slim_stream_prepare()
217 rt->ports = kzalloc_objs(*port, num_ports); in slim_stream_prepare()
218 if (!rt->ports) in slim_stream_prepare()
250 port = &rt->ports[i]; in slim_stream_prepare()
372 stream->ports[i].ch.state = SLIM_CH_STATE_ACTIVE; in slim_stream_enable()
383 struct slim_port *port = &stream->ports[i]; in slim_stream_enable()
390 struct slim_port *port = &stream->ports[i]; in slim_stream_enable()
419 if (!stream->ports || !stream->num_ports) in slim_stream_disable()
430 slim_deactivate_remove_channel(stream, &stream->ports[i]); in slim_stream_disable()
453 if (!stream->ports || !stream->num_ports) in slim_stream_unprepare()
[all …]
/linux/tools/perf/Documentation/
H A Dperf-iostat.txt12 'perf iostat' <ports> \-- <command> [<options>]
32 List all PCIe root ports.
34 <ports>::
35 Select the root ports for monitoring. Comma-separated list is supported.
40 1. List all PCIe root ports (example for 2-S platform):
52 2. Collect metrics for all PCIe root ports:
71 3. Collect metrics for comma-separated list of PCIe root ports:
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dport_sel.h33 int mlx5_lag_port_sel_modify(struct mlx5_lag *ldev, u8 *ports);
36 enum netdev_lag_hash hash_type, u8 *ports);
41 u8 *ports) in mlx5_lag_port_sel_create() argument
46 static inline int mlx5_lag_port_sel_modify(struct mlx5_lag *ldev, u8 *ports) in mlx5_lag_port_sel_modify() argument
/linux/arch/arm64/boot/dts/arm/
H A Djuno-cs-r1r2.dtsi10 out-ports {
17 in-ports {
33 in-ports {
40 out-ports {
56 out-ports {
64 in-ports {
/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/drivers/char/ipmi/
H A Dipmi_si_hardcode.c21 static unsigned int ports[SI_MAX_PARMS]; variable
40 module_param_hw_array(ports, uint, ioport, &num_ports, 0);
41 MODULE_PARM_DESC(ports,
117 if (i < num_ports && ports[i]) in ipmi_hardcode_init()
118 ipmi_hardcode_init_one(si_type[i], i, ports[i], in ipmi_hardcode_init()
142 if (ports[i] == addr) in ipmi_si_hardcode_match()

12345678910>>...46