Searched refs:ports (Results 76 - 100 of 615) sorted by relevance

1234567891011>>

/linux-master/net/ethtool/
H A Dtunnels.c87 struct nlattr *ports, *table, *entry; local
94 ports = nla_nest_start(skb, ETHTOOL_A_TUNNEL_INFO_UDP_PORTS);
95 if (!ports)
152 nla_nest_end(skb, ports);
161 nla_nest_cancel(skb, ports);
/linux-master/arch/um/drivers/
H A Dport_kern.c126 static LIST_HEAD(ports);
135 list_for_each(ele, &ports) {
166 list_for_each(ele, &ports) {
200 list_add(&port->list, &ports);
296 list_for_each(ele, &ports) {
/linux-master/drivers/platform/chrome/
H A Dcros_typec_switch.c33 struct cros_typec_port *ports[EC_USB_PD_MAX_PORTS]; member in struct:cros_typec_switch_data
173 if (!sdata->ports[i])
175 typec_retimer_unregister(sdata->ports[i]->retimer);
176 typec_mux_unregister(sdata->ports[i]->mode_switch);
252 sdata->ports[index] = port;
/linux-master/include/net/
H A Dflow.h51 } ports; member in union:flowi_uli
85 #define fl4_sport uli.ports.sport
86 #define fl4_dport uli.ports.dport
145 #define fl6_sport uli.ports.sport
146 #define fl6_dport uli.ports.dport
/linux-master/net/netfilter/ipvs/
H A Dip_vs_sh.c279 __be16 _ports[2], *ports; local
283 * bytes, let's just grab the ports. Fortunately they're in the
290 ports = skb_header_pointer(skb, iph->len, sizeof(_ports),
292 if (unlikely(!ports))
296 return ports[0];
298 return ports[1];
/linux-master/drivers/phy/tegra/
H A Dxusb.c454 struct device_node *ports, *np; local
457 ports = of_get_child_by_name(padctl->dev->of_node, "ports");
458 if (!ports)
463 of_node_put(ports);
466 np = of_get_child_by_name(ports, name);
468 of_node_put(ports);
484 list_for_each_entry(port, &padctl->ports, list) {
790 * USB2 ports don't require additional properties, but if the port is
807 usb2->base.ops = padctl->soc->ports
[all...]
/linux-master/net/dsa/
H A Ddsa.c109 list_for_each_entry(dp, &dst->ports, list)
121 list_for_each_entry(dp, &dst->ports, list)
188 list_for_each_entry(dp, &dst->ports, list) {
223 INIT_LIST_HEAD(&dst->ports);
280 list_for_each_entry(dp, &dst->ports, list)
345 list_for_each_entry(dp, &dst->ports, list) {
360 list_for_each_entry(dp, &dst->ports, list)
381 /* Assign the default CPU port (the first one in the tree) to all ports of the
394 list_for_each_entry(dp, &dst->ports, list) {
423 /* Perform initial assignment of CPU ports t
1267 struct device_node *ports, *port; local
[all...]
/linux-master/drivers/platform/x86/
H A Duv_sysfs.c115 struct uv_port **ports; member in struct:uv_hub
375 sz = hub_buf[j].ports * sizeof(*port_buf[j]);
390 uv_hubs[j]->ports = kcalloc(hub_buf[j].ports,
391 sizeof(*uv_hubs[j]->ports), GFP_KERNEL);
392 if (!uv_hubs[j]->ports) {
399 for (k = 0; k < hub_buf[j].ports; k++) {
400 uv_hubs[j]->ports[k] = kzalloc(sizeof(*uv_hubs[j]->ports[k]), GFP_KERNEL);
401 if (!uv_hubs[j]->ports[
[all...]
/linux-master/drivers/scsi/
H A Dfdomain_isa.c30 static unsigned short ports[] = { 0x140, 0x150, 0x160, 0x170 }; variable
31 #define PORT_COUNT ARRAY_SIZE(ports)
123 } else /* scan supported I/O ports */
124 base = ports[ndev - ADDRESS_COUNT];
/linux-master/drivers/soc/qcom/
H A Dpmic_glink_altmode.c104 struct pmic_glink_altmode_port ports[PMIC_GLINK_MAX_PORTS]; member in struct:pmic_glink_altmode
288 if (port >= ARRAY_SIZE(altmode->ports) || !altmode->ports[port].altmode) {
293 alt_port = &altmode->ports[port];
331 if (port >= ARRAY_SIZE(altmode->ports) || !altmode->ports[port].altmode) {
336 alt_port = &altmode->ports[port];
441 if (port >= ARRAY_SIZE(altmode->ports)) {
446 if (altmode->ports[port].altmode) {
452 alt_port = &altmode->ports[por
[all...]
/linux-master/drivers/net/ethernet/cisco/enic/
H A Denic_clsf.c40 data.u.ipv4.src_port = ntohs(keys->ports.src);
41 data.u.ipv4.dst_port = ntohs(keys->ports.dst);
164 tpos->keys.ports.ports == k->ports.ports &&
/linux-master/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_netdev.c294 if (sparx5->ports[portno]) {
295 err = register_netdev(sparx5->ports[portno]->ndev);
302 sparx5_port_inj_timer_setup(sparx5->ports[portno]);
313 port = sparx5->ports[portno];
331 if (sparx5->ports[portno])
332 unregister_netdev(sparx5->ports[portno]->ndev);
/linux-master/drivers/usb/core/
H A Dledtrig-usbport.c18 struct list_head ports; member in struct:usbport_trig_data
48 list_for_each_entry(port, &usbport_data->ports, list) {
118 .name = "ports",
123 * Adding & removing ports
223 list_add_tail(&port->list, &usbport_data->ports);
265 list_for_each_entry_safe(port, tmp, &usbport_data->ports, list) {
312 /* List of ports */
313 INIT_LIST_HEAD(&usbport_data->ports);
336 list_for_each_entry_safe(port, tmp, &usbport_data->ports, list) {
/linux-master/tools/testing/selftests/bpf/
H A Dxdp_synproxy.c73 fprintf(stderr, "Usage: %s [--iface <iface>|--prog <prog_id>] [--mss4 <mss ipv4> --mss6 <mss ipv6> --wscale <wscale> --ttl <ttl>] [--ports <port1>,<port2>,...] [--single] [--tc]\n",
92 __u64 *tcpipopts, char **ports, bool *single, bool *tc)
102 { "ports", required_argument, NULL, 'p' },
117 *ports = NULL;
159 *ports = optarg;
367 char *ports; local
372 parse_options(argc, argv, &ifindex, &prog_id, &tcpipopts, &ports,
396 if (ports) {
399 char *p = ports;
401 fprintf(stderr, "Replacing allowed ports\
91 parse_options(int argc, char *argv[], unsigned int *ifindex, __u32 *prog_id, __u64 *tcpipopts, char **ports, bool *single, bool *tc) argument
[all...]
/linux-master/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_xdp.c114 if (!lan966x->ports[p])
117 if (lan966x_xdp_port_present(lan966x->ports[p]))
/linux-master/arch/mips/alchemy/common/
H A Dplatform.c106 struct plat_serial8250_port *ports; local
118 ports = kcalloc(s, (c + 1), GFP_KERNEL);
119 if (!ports) {
123 memcpy(ports, au1x00_uart_data[ctype], s * c);
124 au1xx0_uart_device.dev.platform_data = ports;
128 ports[s].uartclk = uartclk;
129 if (au_platform_setup(&ports[s]) < 0) {
130 kfree(ports);
/linux-master/drivers/net/ethernet/mscc/
H A Docelot.h56 * For a switch with 9 user ports, there are 512 possible port masks, but the
62 unsigned long ports; member in struct:ocelot_pgid
73 u16 ports; member in struct:ocelot_multicast
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/engine/
H A Dfalcon.h41 u8 ports; member in struct:nvkm_falcon::__anon136
48 u8 ports; member in struct:nvkm_falcon::__anon137
/linux-master/drivers/gpu/drm/i915/
H A Dvlv_sideband.h28 void vlv_iosf_sb_get(struct drm_i915_private *i915, unsigned long ports);
29 void vlv_iosf_sb_put(struct drm_i915_private *i915, unsigned long ports);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_dsi.h54 /* bit mask of ports (vlv dsi) or phys (icl dsi) being driven */
56 u16 ports; /* VLV DSI */ member in union:intel_dsi::__anon400
159 return enc_to_intel_dsi(encoder)->ports;
/linux-master/sound/drivers/
H A Dmtpav.c32 * - hwports is between 1 and 8, which specifies the number of hardware ports.
33 * The three global ports, computer, adat and broadcast ports, are created
34 * always after h/w and remote ports.
66 static int hwports = MTPAV_MAX_PORTS; /* use hardware ports 1-8 */
77 MODULE_PARM_DESC(hwports, "Hardware ports # for MotuMTPAV MIDI.");
132 int num_ports; /* number of hw ports (1-8) */
133 struct mtpav_port ports[NUMPORTS]; /* all ports including computer, adat and bc */ member in struct:mtpav
143 * possible hardware ports (selecte
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dminimal.c35 struct mlxsw_m_port **ports; member in struct:mlxsw_m
227 return mlxsw_m->ports[local_port];
284 mlxsw_m->ports[local_port] = mlxsw_m_port;
295 mlxsw_m->ports[local_port] = NULL;
305 struct mlxsw_m_port *mlxsw_m_port = mlxsw_m->ports[local_port];
308 mlxsw_m->ports[local_port] = NULL;
386 mlxsw_m->ports = kcalloc(max_ports, sizeof(*mlxsw_m->ports),
388 if (!mlxsw_m->ports)
422 kfree(mlxsw_m->ports);
[all...]
/linux-master/drivers/xen/
H A Dprivcmd.c1118 struct ioreq_port ports[] __counted_by(vcpus);
1176 struct ioreq_port *ports = kioreq->ports; local
1184 unbind_from_irqhandler(irq_from_evtchn(ports[i].port), &ports[i]); local
1196 unsigned int *ports; local
1201 size = struct_size(kioreq, ports, ioeventfd->vcpus);
1226 ports = memdup_array_user(u64_to_user_ptr(ioeventfd->ports),
1227 kioreq->vcpus, sizeof(*ports));
[all...]
/linux-master/drivers/gpio/
H A Dgpio-tegra186.c83 const struct tegra_gpio_port *ports; member in struct:tegra_gpio_soc
116 const struct tegra_gpio_port *port = &gpio->soc->ports[i];
451 pin += gpio->soc->ports[j].pins;
483 offset += gpio->soc->ports[i].pins;
637 const struct tegra_gpio_port *port = &gpio->soc->ports[i];
644 /* skip ports that are not associated with this bank */
688 offset += gpio->soc->ports[i].pins;
732 if (offset < gpio->soc->ports[i].pins)
735 offset -= gpio->soc->ports[i].pins;
755 const struct tegra_gpio_port *port = &gpio->soc->ports[
[all...]
/linux-master/net/openvswitch/
H A Ddp_notify.c47 hlist_for_each_entry_safe(vport, n, &dp->ports[i], dp_hash_node) {

Completed in 228 milliseconds

1234567891011>>