/linux-6.12.1/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
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()
|
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-6.12.1/net/dsa/ |
D | tag_sja1105.c | 99 u64 switch_id; member 121 packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack() 478 int source_port = -1, switch_id = -1, vbid = -1, vid = -1; in sja1105_rcv() local 494 switch_id = hdr->h_dest[4]; in sja1105_rcv() 498 switch_id = meta.switch_id; in sja1105_rcv() 505 dsa_8021q_rcv(skb, &source_port, &switch_id, &vbid, &vid); in sja1105_rcv() 506 else if (source_port == -1 && switch_id == -1) in sja1105_rcv() 512 skb->dev = dsa_tag_8021q_find_user(netdev, source_port, switch_id, in sja1105_rcv() 529 int switch_id = SJA1110_RX_HEADER_SWITCH_ID(rx_header); in sja1110_rcv_meta() local 538 ds = dsa_switch_find(cpu_dp->dst->index, switch_id); in sja1110_rcv_meta() [all …]
|
D | tag_vsc73xx_8021q.c | 38 int src_port = -1, switch_id = -1, vbid = -1, vid = -1; in vsc73xx_rcv() local 40 dsa_8021q_rcv(skb, &src_port, &switch_id, &vbid, &vid); in vsc73xx_rcv() 42 skb->dev = dsa_tag_8021q_find_user(netdev, src_port, switch_id, in vsc73xx_rcv()
|
D | tag_8021q.h | 16 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id, 20 int source_port, int switch_id,
|
D | tag_ocelot_8021q.c | 82 int src_port, switch_id; in ocelot_rcv() local 84 dsa_8021q_rcv(skb, &src_port, &switch_id, NULL, NULL); in ocelot_rcv() 86 skb->dev = dsa_conduit_find_user(netdev, switch_id, src_port); in ocelot_rcv()
|
D | tag_8021q.c | 503 int source_port, int switch_id, in dsa_tag_8021q_find_user() argument 507 if (source_port != -1 && switch_id != -1) in dsa_tag_8021q_find_user() 508 return dsa_conduit_find_user(conduit, switch_id, source_port); in dsa_tag_8021q_find_user() 532 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id, in dsa_8021q_rcv() argument 579 if (tmp_vbid == 0 && *switch_id == -1) in dsa_8021q_rcv() 580 *switch_id = tmp_switch_id; in dsa_8021q_rcv()
|
D | devlink.c | 316 memcpy(attrs.switch_id.id, id, len); in dsa_port_devlink_setup() 317 attrs.switch_id.id_len = len; in dsa_port_devlink_setup()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | devlink_port.c | 41 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 42 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 45 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 46 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 50 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 51 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_offloads_pf_vf_devlink_port_attrs_set() 115 memcpy(dl_port->attrs.switch_id.id, &ppid.id[0], ppid.id_len); in mlx5_esw_offloads_sf_devlink_port_attrs_set() 116 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_offloads_sf_devlink_port_attrs_set()
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | devlink.c | 63 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5e_devlink_port_register() 64 attrs.switch_id.id_len = ppid.id_len; in mlx5e_devlink_port_register()
|
/linux-6.12.1/drivers/net/netdevsim/ |
D | dev.c | 1381 memcpy(attrs.switch_id.id, nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in __nsim_dev_port_add() 1382 attrs.switch_id.id_len = nsim_dev->switch_id.id_len; in __nsim_dev_port_add() 1540 nsim_dev->switch_id.id_len = sizeof(nsim_dev->switch_id.id); in nsim_drv_probe() 1541 get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in nsim_drv_probe()
|
D | netdevsim.h | 310 struct netdev_phys_item_id switch_id; member
|
/linux-6.12.1/drivers/net/ethernet/marvell/prestera/ |
D | prestera_devlink.c | 424 attrs.switch_id.id_len = sizeof(sw->id); in prestera_devlink_port_register() 425 memcpy(attrs.switch_id.id, &sw->id, attrs.switch_id.id_len); in prestera_devlink_port_register()
|
/linux-6.12.1/drivers/net/ethernet/intel/iavf/ |
D | iavf_adminq_cmd.h | 333 __le16 switch_id; /* 12bit id combined with flags below */ member 449 __le16 switch_id; member
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/ |
D | nfp_devlink.c | 356 memcpy(attrs.switch_id.id, serial, serial_len); in nfp_devlink_port_register() 357 attrs.switch_id.id_len = serial_len; in nfp_devlink_port_register()
|
/linux-6.12.1/drivers/net/dsa/qca/ |
D | qca8k-8xxx.c | 1118 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_setup_of_pws_reg() 1226 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_parse_port_config() 1384 if (priv->switch_id == QCA8K_ID_QCA8337) in qca8k_phylink_mac_config() 1601 if (priv->switch_id == QCA8K_ID_QCA8327 || in qca8k_pcs_config() 1602 priv->switch_id == QCA8K_ID_QCA8337) in qca8k_pcs_config() 1973 if (priv->switch_id == QCA8K_ID_QCA8337) in qca8k_setup() 1978 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_setup()
|
/linux-6.12.1/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.h | 182 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member
|
/linux-6.12.1/drivers/net/ethernet/intel/i40e/ |
D | i40e_devlink.c | 215 i40e_devlink_set_switch_id(pf, &attrs.switch_id); in i40e_devlink_create_port()
|
D | i40e_debugfs.c | 375 vsi->info.valid_sections, vsi->info.switch_id); in i40e_dbg_dump_vsi_seid() 1026 u16 switch_id; in i40e_dbg_command_write() local 1037 switch_id = in i40e_dbg_command_write() 1038 le16_to_cpu(vsi->info.switch_id) & in i40e_dbg_command_write() 1042 switch_id, in i40e_dbg_command_write()
|
/linux-6.12.1/net/devlink/ |
D | port.c | 1343 if (attrs->switch_id.id_len) { in __devlink_port_attrs_set() 1345 if (WARN_ON(attrs->switch_id.id_len > MAX_PHYS_ITEM_ID_LEN)) in __devlink_port_attrs_set() 1346 attrs->switch_id.id_len = MAX_PHYS_ITEM_ID_LEN; in __devlink_port_attrs_set() 1617 memcpy(ppid, &devlink_port->attrs.switch_id, sizeof(*ppid)); in devlink_compat_switch_id_get()
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.h | 263 const unsigned char *switch_id, 268 const unsigned char *switch_id,
|
D | core.c | 3064 const unsigned char *switch_id, in __mlxsw_core_port_init() argument 3080 memcpy(attrs.switch_id.id, switch_id, switch_id_len); in __mlxsw_core_port_init() 3081 attrs.switch_id.id_len = switch_id_len; in __mlxsw_core_port_init() 3114 const unsigned char *switch_id, in mlxsw_core_port_init() argument 3123 switch_id, switch_id_len); in mlxsw_core_port_init() 3142 const unsigned char *switch_id, in mlxsw_core_cpu_port_init() argument 3152 switch_id, switch_id_len); in mlxsw_core_cpu_port_init()
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/devlink/ |
D | devlink_port.c | 351 ice_devlink_set_switch_id(pf, &attrs.switch_id); in ice_devlink_create_pf_port() 464 ice_devlink_set_switch_id(pf, &attrs.switch_id); in ice_devlink_create_vf_port()
|
/linux-6.12.1/drivers/net/ethernet/ti/icssg/ |
D | icssg_prueth.h | 297 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member
|