Home
last modified time | relevance | path

Searched refs:switch_id (Results 1 – 25 of 31) sorted by relevance

12

/linux/net/dsa/
A Dtag_sja1105.c84 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 Dtag_ocelot_8021q.c57 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 Dtag_8021q.c576 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 Ddsa2.c513 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 Dfifo_monitor_private.h34 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 Dfifo_monitor.c510 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 Ddevlink_port.c47 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 Dfifo_monitor_public.h35 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 Ddevlink.c30 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 Ddev.c1380 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 Dnetdevsim.h253 struct netdev_phys_item_id switch_id; member
/linux/drivers/net/ethernet/marvell/prestera/
A Dprestera_devlink.c429 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 D8021q.h37 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id);
/linux/drivers/net/ethernet/intel/iavf/
A Diavf_adminq_cmd.h333 __le16 switch_id; /* 12bit id combined with flags below */ member
449 __le16 switch_id; member
/linux/drivers/net/dsa/
A Dqca8k.c946 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 Dqca8k.h283 u8 switch_id; member
/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_devlink.c372 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 Dam65-cpsw-nuss.h144 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member
A Dam65-cpsw-nuss.c2463 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 Dcore.h231 const unsigned char *switch_id,
236 const unsigned char *switch_id,
A Dcore.c2755 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 Di40e_debugfs.c391 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 Di40e_adminq_cmd.h755 __le16 switch_id; /* 12bit id combined with flags below */ member
886 __le16 switch_id; member
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_devlink.c1210 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 Docelot_net.c169 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()

Completed in 82 milliseconds

12