• Home
  • Raw
  • Download

Lines Matching refs:general_params

752 	struct sja1105_general_params_entry *general_params;  in sja1110_select_tdmaconfigidx()  local
763 general_params = table->entries; in sja1110_select_tdmaconfigidx()
788 general_params->tdmaconfigidx = tdmaconfigidx; in sja1110_select_tdmaconfigidx()
792 struct sja1105_general_params_entry *general_params) in sja1105_init_topology() argument
801 general_params->host_port = ds->num_ports; in sja1105_init_topology()
814 general_params->casc_port = ds->num_ports; in sja1105_init_topology()
824 if (general_params->host_port == ds->num_ports) { in sja1105_init_topology()
825 general_params->host_port = port; in sja1105_init_topology()
829 general_params->host_port, port); in sja1105_init_topology()
837 general_params->casc_port |= BIT(port); in sja1105_init_topology()
838 } else if (general_params->casc_port == ds->num_ports) { in sja1105_init_topology()
839 general_params->casc_port = port; in sja1105_init_topology()
843 general_params->casc_port, port); in sja1105_init_topology()
849 if (general_params->host_port == ds->num_ports) { in sja1105_init_topology()
893 struct sja1105_general_params_entry *general_params; in sja1105_init_general_params() local
915 general_params = table->entries; in sja1105_init_general_params()
918 general_params[0] = default_general_params; in sja1105_init_general_params()
2443 struct sja1105_general_params_entry *general_params; in sja1105_vlan_filtering() local
2469 general_params = table->entries; in sja1105_vlan_filtering()
2471 general_params->tpid = tpid; in sja1105_vlan_filtering()
2473 general_params->tpid2 = tpid2; in sja1105_vlan_filtering()
2851 struct sja1105_general_params_entry *general_params; in sja1105_mirror_apply() local
2860 general_params = table->entries; in sja1105_mirror_apply()
2864 already_enabled = (general_params->mirr_port != ds->num_ports); in sja1105_mirror_apply()
2865 if (already_enabled && enabled && general_params->mirr_port != to) { in sja1105_mirror_apply()
2868 general_params->mirr_port); in sja1105_mirror_apply()
2888 if (new_mirr_port != general_params->mirr_port) { in sja1105_mirror_apply()
2889 general_params->mirr_port = new_mirr_port; in sja1105_mirror_apply()
2892 0, general_params, true); in sja1105_mirror_apply()