/linux/net/dsa/ |
A D | tag_sja1105.c | 84 u64 switch_id; member 458 int *switch_id, u16 *vid) in sja1105_vlan_rcv() argument 478 int source_port = -1, switch_id = -1; in sja1105_rcv() local 498 switch_id = hdr->h_dest[4]; in sja1105_rcv() 505 switch_id = meta.switch_id; in sja1105_rcv() 510 if (source_port == -1 || switch_id == -1) in sja1105_rcv() 577 master->name, switch_id); in sja1110_rcv_meta() 602 int *switch_id, in sja1110_rcv_inband_control_extension() argument 667 int source_port = -1, switch_id = -1; in sja1110_rcv() local 673 &switch_id, in sja1110_rcv() [all …]
|
A D | tag_ocelot_8021q.c | 57 int src_port, switch_id; in ocelot_rcv() local 59 dsa_8021q_rcv(skb, &src_port, &switch_id); in ocelot_rcv() 61 skb->dev = dsa_master_find_slave(netdev, switch_id, src_port); in ocelot_rcv()
|
A D | tag_8021q.c | 576 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id) in dsa_8021q_rcv() argument 592 *switch_id = dsa_8021q_rx_switch_id(vid); in dsa_8021q_rcv()
|
A D | dsa2.c | 513 memcpy(attrs.switch_id.id, id, len); in dsa_port_devlink_setup() 514 attrs.switch_id.id_len = len; in dsa_port_devlink_setup()
|
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
A D | fifo_monitor_private.h | 34 const fifo_switch_t switch_id, in fifo_switch_set() argument 39 assert(switch_id < N_FIFO_SWITCH); in fifo_switch_set() 42 gp_device_reg_store(GP_DEVICE0_ID, FIFO_SWITCH_ADDR[switch_id], sel); in fifo_switch_set() 49 const fifo_switch_t switch_id) in fifo_switch_get() argument 53 assert(switch_id < N_FIFO_SWITCH); in fifo_switch_get() 56 return gp_device_reg_load(GP_DEVICE0_ID, FIFO_SWITCH_ADDR[switch_id]); in fifo_switch_get()
|
A D | fifo_monitor.c | 510 const fifo_switch_t switch_id, in fifo_switch_get_state() argument 516 assert(switch_id < N_FIFO_SWITCH); in fifo_switch_get_state() 521 data = gp_device_reg_load(GP_DEVICE0_ID, FIFO_SWITCH_ADDR[switch_id]); in fifo_switch_get_state()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
A D | devlink_port.c | 47 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 48 attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 51 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 52 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 55 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 56 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 154 memcpy(dl_port->attrs.switch_id.id, &ppid.id[0], ppid.id_len); in mlx5_esw_devlink_sf_port_register() 155 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_devlink_sf_port_register()
|
/linux/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
A D | fifo_monitor_public.h | 35 const fifo_switch_t switch_id, 47 const fifo_switch_t switch_id); 83 const fifo_switch_t switch_id,
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
A D | devlink.c | 30 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5e_devlink_port_register() 31 attrs.switch_id.id_len = ppid.id_len; in mlx5e_devlink_port_register()
|
/linux/drivers/net/netdevsim/ |
A D | dev.c | 1380 memcpy(attrs.switch_id.id, nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in __nsim_dev_port_add() 1381 attrs.switch_id.id_len = nsim_dev->switch_id.id_len; in __nsim_dev_port_add() 1537 nsim_dev->switch_id.id_len = sizeof(nsim_dev->switch_id.id); in nsim_drv_probe() 1538 get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in nsim_drv_probe()
|
A D | netdevsim.h | 253 struct netdev_phys_item_id switch_id; member
|
/linux/drivers/net/ethernet/marvell/prestera/ |
A D | prestera_devlink.c | 429 attrs.switch_id.id_len = sizeof(sw->id); in prestera_devlink_port_register() 430 memcpy(attrs.switch_id.id, &sw->id, attrs.switch_id.id_len); in prestera_devlink_port_register()
|
/linux/include/linux/dsa/ |
A D | 8021q.h | 37 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id);
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_adminq_cmd.h | 333 __le16 switch_id; /* 12bit id combined with flags below */ member 449 __le16 switch_id; member
|
/linux/drivers/net/dsa/ |
A D | qca8k.c | 946 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_setup_of_pws_reg() 1056 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_parse_port_config() 1219 if (priv->switch_id == QCA8K_ID_QCA8337) { in qca8k_setup() 1268 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_setup() 1396 if (priv->switch_id == QCA8K_ID_QCA8337) in qca8k_phylink_mac_config() 1449 if (priv->switch_id == QCA8K_ID_QCA8327 || in qca8k_phylink_mac_config() 1450 priv->switch_id == QCA8K_ID_QCA8337) in qca8k_phylink_mac_config() 2050 priv->switch_id = id; in qca8k_read_switch_id()
|
A D | qca8k.h | 283 u8 switch_id; member
|
/linux/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_devlink.c | 372 memcpy(attrs.switch_id.id, serial, serial_len); in nfp_devlink_port_register() 373 attrs.switch_id.id_len = serial_len; in nfp_devlink_port_register()
|
/linux/drivers/net/ethernet/ti/ |
A D | am65-cpsw-nuss.h | 144 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member
|
A D | am65-cpsw-nuss.c | 2463 attrs.switch_id.id_len = sizeof(resource_size_t); in am65_cpsw_nuss_register_devlink() 2464 memcpy(attrs.switch_id.id, common->switch_id, attrs.switch_id.id_len); in am65_cpsw_nuss_register_devlink() 2666 memcpy(common->switch_id, &id_temp, sizeof(res->start)); in am65_cpsw_nuss_probe()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | core.h | 231 const unsigned char *switch_id, 236 const unsigned char *switch_id,
|
A D | core.c | 2755 const unsigned char *switch_id, in __mlxsw_core_port_init() argument 2771 memcpy(attrs.switch_id.id, switch_id, switch_id_len); in __mlxsw_core_port_init() 2772 attrs.switch_id.id_len = switch_id_len; in __mlxsw_core_port_init() 2795 const unsigned char *switch_id, in mlxsw_core_port_init() argument 2804 switch_id, switch_id_len); in mlxsw_core_port_init() 2823 const unsigned char *switch_id, in mlxsw_core_cpu_port_init() argument 2833 switch_id, switch_id_len); in mlxsw_core_cpu_port_init()
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_debugfs.c | 391 vsi->info.valid_sections, vsi->info.switch_id); in i40e_dbg_dump_vsi_seid() 1043 u16 switch_id; in i40e_dbg_command_write() local 1054 switch_id = in i40e_dbg_command_write() 1055 le16_to_cpu(vsi->info.switch_id) & in i40e_dbg_command_write() 1059 switch_id, in i40e_dbg_command_write()
|
A D | i40e_adminq_cmd.h | 755 __le16 switch_id; /* 12bit id combined with flags below */ member 886 __le16 switch_id; member
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_devlink.c | 1210 memcpy(attrs.switch_id.id, bp->dsn, sizeof(bp->dsn)); in bnxt_dl_register() 1211 attrs.switch_id.id_len = sizeof(bp->dsn); in bnxt_dl_register()
|
/linux/drivers/net/ethernet/mscc/ |
A D | ocelot_net.c | 169 memcpy(attrs.switch_id.id, &ocelot->base_mac, id_len); in ocelot_port_devlink_init() 170 attrs.switch_id.id_len = id_len; in ocelot_port_devlink_init()
|