Searched refs:int_port (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dint_port.h38 struct mlx5e_tc_int_port *int_port);
40 u32 mlx5e_tc_int_port_get_metadata(struct mlx5e_tc_int_port *int_port);
41 u32 mlx5e_tc_int_port_get_metadata_for_match(struct mlx5e_tc_int_port *int_port);
42 int mlx5e_tc_int_port_get_flow_source(struct mlx5e_tc_int_port *int_port);
45 mlx5e_tc_int_port_get_metadata_for_match(struct mlx5e_tc_int_port *int_port) argument
51 mlx5e_tc_int_port_get_flow_source(struct mlx5e_tc_int_port *int_port) argument
H A Dint_port.c6 #include "en/tc/int_port.h"
37 u32 mlx5e_tc_int_port_get_metadata(struct mlx5e_tc_int_port *int_port) argument
39 return int_port->match_metadata;
42 int mlx5e_tc_int_port_get_flow_source(struct mlx5e_tc_int_port *int_port) argument
50 return int_port->type == MLX5E_TC_INT_PORT_EGRESS ?
55 u32 mlx5e_tc_int_port_get_metadata_for_match(struct mlx5e_tc_int_port *int_port) argument
57 return int_port->match_metadata << (32 - ESW_SOURCE_PORT_METADATA_BITS);
62 struct mlx5e_tc_int_port *int_port,
78 mlx5e_tc_int_port_get_metadata_for_match(int_port));
91 flow_context->flow_tag = int_port
61 mlx5e_int_port_create_rx_rule(struct mlx5_eswitch *esw, struct mlx5e_tc_int_port *int_port, struct mlx5_flow_destination *dest) argument
109 struct mlx5e_tc_int_port *int_port; local
157 struct mlx5e_tc_int_port *int_port; local
227 mlx5e_int_port_remove(struct mlx5e_tc_int_port_priv *priv, struct mlx5e_tc_int_port *int_port) argument
254 struct mlx5e_tc_int_port *int_port; local
268 struct mlx5e_tc_int_port *int_port; local
295 mlx5e_tc_int_port_put(struct mlx5e_tc_int_port_priv *priv, struct mlx5e_tc_int_port *int_port) argument
384 struct mlx5e_tc_int_port *int_port; local
414 struct mlx5e_tc_int_port *int_port; local
[all...]
/linux-master/sound/soc/fsl/
H A Deukrea-tlv320.c87 int int_port = 0, ext_port; local
116 ret = of_property_read_u32(np, "fsl,mux-int-port", &int_port);
133 int_port--;
170 imx_audmux_v2_configure_port(int_port,
180 IMX_AUDMUX_V2_PDCR_RXDSEL(int_port)
H A Dimx-es8328.c95 u32 int_port, ext_port; local
99 ret = of_property_read_u32(np, "mux-int-port", &int_port);
104 if (int_port > MUX_PORT_MAX || int_port == 0) {
127 int_port--;
129 ret = imx_audmux_v2_configure_port(int_port,
142 IMX_AUDMUX_V2_PDCR_RXDSEL(int_port));
H A Dimx-sgtl5000.c59 int int_port, ext_port; local
62 ret = of_property_read_u32(np, "mux-int-port", &int_port);
77 int_port--;
79 ret = imx_audmux_v2_configure_port(int_port,
92 IMX_AUDMUX_V2_PDCR_RXDSEL(int_port));
H A Dfsl-asoc-card.c344 int int_port, ext_port; local
347 ret = of_property_read_u32(np, "mux-int-port", &int_port);
362 int_port--;
386 ext_ptcr = IMX_AUDMUX_V2_PTCR_RFSEL(8 | int_port) |
387 IMX_AUDMUX_V2_PTCR_TFSEL(int_port) |
396 ext_ptcr = IMX_AUDMUX_V2_PTCR_RCSEL(8 | int_port) |
397 IMX_AUDMUX_V2_PTCR_TCSEL(int_port) |
402 ext_ptcr = IMX_AUDMUX_V2_PTCR_RFSEL(8 | int_port) |
403 IMX_AUDMUX_V2_PTCR_RCSEL(8 | int_port) |
404 IMX_AUDMUX_V2_PTCR_TFSEL(int_port) |
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c721 struct mlx5e_tc_int_port *int_port; local
754 int_port = mlx5e_tc_int_port_get(mlx5e_get_int_port_priv(priv),
757 if (IS_ERR(int_port)) {
758 err = PTR_ERR(int_port);
761 esw_attr->int_port = int_port;
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads_termtbl.c225 (!mlx5_eswitch_offload_is_uplink_port(esw, spec) && !esw_attr->int_port))
H A DMakefile49 en/tc/post_act.o en/tc/int_port.o en/tc/meter.o \
H A Den_tc.c1832 if (!attr->chain && esw_attr->int_port &&
1861 struct mlx5e_tc_int_port *int_port; local
1877 int_port = mlx5e_tc_int_port_get(mlx5e_get_int_port_priv(priv),
1882 if (IS_ERR(int_port)) {
1883 err = PTR_ERR(int_port);
1887 esw_attr->int_port = int_port;
4307 if (esw_attr->int_port)
4309 esw_attr->int_port);
H A Deswitch.h518 struct mlx5e_tc_int_port *int_port; member in struct:mlx5_esw_flow_attr
H A Deswitch_offloads.c90 if (attr->int_port) {
91 spec->flow_context.flow_source = mlx5e_tc_int_port_get_flow_source(attr->int_port);
140 if (!attr->chain && esw_attr && esw_attr->int_port)
142 mlx5e_tc_int_port_get_metadata_for_match(esw_attr->int_port);
2059 * So return the total of vport and int_port as rule index.

Completed in 373 milliseconds