Searched refs:ports (Results 1 - 25 of 615) sorted by last modified time

1234567891011>>

/linux-master/sound/soc/codecs/
H A Dcs35l56-sdw.c265 struct sdw_dpn_prop *ports; local
267 ports = devm_kcalloc(cs35l56->base.dev, 2, sizeof(*ports), GFP_KERNEL);
268 if (!ports)
279 ports[0].num = CS35L56_SDW1_PLAYBACK_PORT;
280 ports[0].type = SDW_DPN_FULL;
281 ports[0].ch_prep_timeout = 10;
282 prop->sink_dpn_prop = &ports[0];
285 ports[1].num = CS35L56_SDW1_CAPTURE_PORT;
286 ports[
[all...]
/linux-master/sound/pci/hda/
H A Dpatch_realtek.c771 static int alc_subsystem_id(struct hda_codec *codec, const hda_nid_t *ports) argument
862 nid = ports[tmp];
872 * ports contains an array of 4 pin NIDs for port-A, E, D and I */
873 static void alc_ssid_check(struct hda_codec *codec, const hda_nid_t *ports) argument
875 if (!alc_subsystem_id(codec, ports)) {
/linux-master/net/ipv6/
H A Dudp.c458 /* Handler for tunnels with arbitrary destination ports: no socket lookup, go
487 * different destination ports on endpoints, in this case we won't be able to
491 * ports (e.g. FoU, GUE): there, the receiving socket is useless, as the port
1061 __portpair ports; local
1067 ports = INET_COMBINED_PORTS(rmt_port, hnum);
1071 inet6_match(net, sk, rmt_addr, loc_addr, ports, dif, sdif))
/linux-master/net/ipv4/
H A Dudp.c605 /* Handler for tunnels with arbitrary destination ports: no socket lookup, go
631 * different destination ports on endpoints, in this case we won't be able to
635 * ports (e.g. FoU, GUE): there, the receiving socket is useless, as the port
2525 __portpair ports; local
2531 ports = INET_COMBINED_PORTS(rmt_port, hnum);
2534 if (inet_match(net, sk, acookie, ports, dif, sdif))
H A Droute.c1942 hash_keys.ports.src = keys.ports.src;
1944 hash_keys.ports.dst = keys.ports.dst;
1992 hash_keys.ports.src = keys.ports.src;
1994 hash_keys.ports.dst = keys.ports.dst;
2029 hash_keys.ports.src = fl4->fl4_sport;
2031 hash_keys.ports
[all...]
/linux-master/net/bridge/
H A Dbr_forward.c210 /* Do not flood unicast traffic to ports that turn it off, nor
228 /* Do not flood to ports that enable proxy ARP */
295 p = rcu_dereference(mdst->ports);
H A Dbr_private.h371 struct net_bridge_port_group __rcu *ports; member in struct:net_bridge_mdb_entry
433 /* Identifier used to group ports that share the same switchdev
607 * forwarded by hardware to the other ports in the source hardware
/linux-master/drivers/net/vxlan/
H A Dvxlan_core.c3273 * supply the listening VXLAN udp ports. Callers are expected
4463 struct ifla_vxlan_port_range ports = { local
4538 if (nla_put(skb, IFLA_VXLAN_PORT_RANGE, sizeof(ports), &ports))
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c438 __be16 *ports; local
460 ports = (__be16 *)(skb->data + tp_offset);
466 skb, ports[0], ports[1], ip_proto);
498 n->tuple.src_port = ports[0];
499 n->tuple.dst_port = ports[1];
1430 __be16 *ports = (__be16 *)(header + ETH_HLEN + sizeof(struct iphdr)); local
1442 /* ports is weakly typed to suit both TCP and UDP ports */
1443 ports[
1477 __be16 *ports = (__be16 *)(header + ETH_HLEN + sizeof(struct ipv6hdr)); local
[all...]
/linux-master/drivers/net/dsa/mv88e6xxx/
H A Dchip.c515 u8 cmode = chip->ports[port].cmode;
534 u8 cmode = chip->ports[port].cmode;
554 /* higher interface modes are not needed here, since ports supporting
634 mv88e6xxx_translate_cmode(chip->ports[port].cmode, supported);
677 mv88e6xxx_translate_cmode(chip->ports[port].cmode, supported);
706 mv88e6xxx_translate_cmode(chip->ports[port].cmode, supported);
728 mv88e6xxx_translate_cmode(chip->ports[port].cmode, supported);
734 /* The C_Mode field is programmable on ports 9 and 10 */
751 /* For the 6x90X, ports 2-7 can be in automedia mode.
765 * on ports
[all...]
/linux-master/net/netfilter/ipvs/
H A Dip_vs_proto_sctp.c24 __be16 _ports[2], *ports = NULL; local
36 ports = &sh->source;
40 ports = skb_header_pointer(
44 if (!ports) {
51 &iph->daddr, ports[1]);
54 &iph->saddr, ports[0]);
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c90 struct mlxsw_core_port *ports; member in struct:mlxsw_core
145 /* Switch ports are numbered from 1 to queried value */
152 mlxsw_core->ports = kcalloc(mlxsw_core->max_ports,
154 if (!mlxsw_core->ports)
169 kfree(mlxsw_core->ports);
181 kfree(mlxsw_core->ports);
3069 &mlxsw_core->ports[local_port];
3103 &mlxsw_core->ports[local_port];
3146 &mlxsw_core->ports[MLXSW_PORT_CPU_PORT];
3171 &mlxsw_core->ports[local_por
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c254 .ports = {
267 .ports = {
280 .ports = {
5492 sizeof(fkeys->ports);
5501 sizeof(fkeys->ports);
5525 tuple4.ports = fkeys->ports;
5529 tuple6.ports = fkeys->ports;
5856 req->src_port = keys->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/drivers/usb/core/
H A Dport.c619 peer = peer_hub->ports[port1 - 1];
637 struct usb_port *port_dev = hub->ports[port1 - 1], *peer;
668 upstream = parent_hub->ports[hdev->portnum - 1];
683 peer = peer_hub->ports[port1 - 1];
746 hub->ports[port1 - 1] = port_dev;
833 struct usb_port *port_dev = hub->ports[port1 - 1];
/linux-master/drivers/tty/serial/
H A Dserial_core.c3 * Driver core for serial ports
1191 * This will claim the ports resources if
1987 * In time, we want to scrap the "opening nonpresent ports"
1989 * to set base addresses/ports/types. This will allow us to
2162 * @ports: ports to search in
2163 * @nr: number of @ports
2171 uart_get_console(struct uart_port *ports, int nr, struct console *co) argument
2175 if (idx < 0 || idx >= nr || (ports[idx].iobase == 0 &&
2176 ports[id
[all...]
/linux-master/drivers/thunderbolt/
H A Dtb.h115 * @ports: Ports in this switch
172 struct tb_port *ports; member in struct:tb_switch
221 * @ports: DP IN adapters belonging to this group are linked here
236 struct list_head ports; member in struct:tb_bandwidth_group
255 * @dual_link_port: If the switch is connected using two ports, points
260 * @list: Used to link ports to DP resources list
267 * @group_list: The adapter is linked to the group's list of ports through this
400 * struct tb_path - a unidirectional path between two ports
403 * @ingress_shared_buffer: Shared buffering used for ingress ports on the path
404 * @egress_shared_buffer: Shared buffering used for egress ports o
[all...]
H A Dtb.c590 * same ports only once (as that is reserved for all the
1247 * Downstream switch is reachable through two ports.
1367 list_for_each_entry(in, &group->ports, group_list) {
1449 if (!list_empty(&group->ports))
1472 if (list_empty(&group->ports))
1485 in = list_first_entry(&group->ports, struct tb_port, group_list);
1513 INIT_LIST_HEAD(&group->ports);
1526 list_add_tail(&in->group_list, &group->ports);
1538 if (list_empty(&group->ports))
1611 if (list_empty(&group->ports)) {
[all...]
H A Dswitch.c217 * go into D3cold because some root ports cannot trigger PME
576 * so skip other ports.
615 * Needed for USB4 but can be called for any CIO/USB4 ports. Makes the
730 * USB4 ports the buffers allocated for the control path
881 * dual link ports.
1294 * This is only needed for non-USB4 ports.
1630 * routers, resets all the downstream ports and cleans up path config
2263 kfree(sw->ports);
2286 /* Device is hub if it has any downstream ports */
2461 /* initialize ports */
[all...]
/linux-master/net/netfilter/
H A Dnf_flow_table_ip.c176 struct flow_ports *ports; local
219 ports = (struct flow_ports *)(skb_network_header(skb) + thoff);
220 tuple->src_port = ports->source;
221 tuple->dst_port = ports->dest;
579 struct flow_ports *ports; local
616 ports = (struct flow_ports *)(skb_network_header(skb) + thoff);
617 tuple->src_port = ports->source;
618 tuple->dst_port = ports->dest;
/linux-master/include/net/
H A Dsch_generic.h460 struct xarray ports; /* datapath accessible */ member in struct:tcf_block
/linux-master/drivers/net/ethernet/ti/
H A Dam65-cpsw-nuss.c471 struct am65_cpsw_port *port = &common->ports[port_idx];
493 /* default vlan cfg: create mask based on enabled ports */
1537 port = &common->ports[i];
2082 node = of_get_child_by_name(dev->of_node, "ethernet-ports");
2206 port = &common->ports[i];
2221 port = &common->ports[port_idx];
2344 port = &common->ports[i];
2608 dev_err(cpsw->dev, "Remove ports from bridge before disabling switch mode\n");
2617 struct net_device *sl_ndev = cpsw->ports[i].ndev;
2628 struct net_device *sl_ndev = cpsw->ports[
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.c75 mlx5_infer_tx_enabled(&ldev->tracker, ldev->ports, enabled_ports,
83 static int mlx5_cmd_create_lag(struct mlx5_core_dev *dev, u8 *ports, int mode, argument
98 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_1, ports[0]);
99 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_2, ports[1]);
117 u8 *ports)
125 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_1, ports[0]);
126 MLX5_SET(lagc, lag_ctx, tx_remap_affinity_2, ports[1]);
152 u8 *ports, int *num_disabled)
160 ports[(*num_disabled)++] = i;
165 u8 *ports, in
116 mlx5_cmd_modify_lag(struct mlx5_core_dev *dev, u8 num_ports, u8 *ports) argument
151 mlx5_infer_tx_disabled(struct lag_tracker *tracker, u8 num_ports, u8 *ports, int *num_disabled) argument
164 mlx5_infer_tx_enabled(struct lag_tracker *tracker, u8 num_ports, u8 *ports, int *num_enabled) argument
312 mlx5_infer_tx_affinity_mapping(struct lag_tracker *tracker, u8 num_ports, u8 buckets, u8 *ports) argument
414 mlx5_cmd_modify_active_port(struct mlx5_core_dev *dev, u8 ports) argument
429 _mlx5_modify_lag(struct mlx5_lag *ldev, u8 *ports) argument
451 u8 ports[MLX5_MAX_PORTS * MLX5_LAG_MAX_HASH_BUCKETS] = {}; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_arfs.c687 tuple->src_port = fk->ports.src;
688 tuple->dst_port = fk->ports.dst;
701 if (tuple->src_port != fk->ports.src || tuple->dst_port != fk->ports.dst)
722 head = arfs_hash_bucket(arfs_t, fk->ports.src, fk->ports.dst);
/linux-master/drivers/net/dsa/
H A Dmt7530.h249 /* Fallback Mode: Forward received frames with ingress ports that do
696 * @sgmii_pcs: Pointer to PCS instance for SerDes ports
770 * @ports: Holding the state among ports
780 * @active_cpu_ports: Holding the active CPU ports
798 struct mt7530_port ports[MT7530_NUM_PORTS]; member in struct:mt7530_priv

Completed in 719 milliseconds

1234567891011>>