/Linux-v6.6/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-v6.6/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() 480 int *switch_id, int *vbid, u16 *vid) in sja1105_vlan_rcv() argument 491 return dsa_8021q_rcv(skb, source_port, switch_id, vbid); in sja1105_vlan_rcv() 500 int source_port = -1, switch_id = -1, vbid = -1; in sja1105_rcv() local 517 switch_id = hdr->h_dest[4]; in sja1105_rcv() 521 switch_id = meta.switch_id; in sja1105_rcv() 543 if (vbid == 0 && switch_id == -1) in sja1105_rcv() 544 switch_id = tmp_switch_id; in sja1105_rcv() 545 } else if (source_port == -1 && switch_id == -1) { in sja1105_rcv() [all …]
|
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); in ocelot_rcv() 86 skb->dev = dsa_master_find_slave(netdev, switch_id, src_port); in ocelot_rcv()
|
D | tag_8021q.h | 16 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id,
|
D | tag_8021q.c | 500 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id, in dsa_8021q_rcv() argument 517 *switch_id = dsa_8021q_rx_switch_id(vid); in dsa_8021q_rcv()
|
D | devlink.c | 315 memcpy(attrs.switch_id.id, id, len); in dsa_port_devlink_setup() 316 attrs.switch_id.id_len = len; in dsa_port_devlink_setup()
|
/Linux-v6.6/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() 113 memcpy(dl_port->attrs.switch_id.id, &ppid.id[0], ppid.id_len); in mlx5_esw_offloads_sf_devlink_port_attrs_set() 114 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_offloads_sf_devlink_port_attrs_set()
|
/Linux-v6.6/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-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | devlink.c | 55 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5e_devlink_port_register() 56 attrs.switch_id.id_len = ppid.id_len; in mlx5e_devlink_port_register()
|
/Linux-v6.6/drivers/net/netdevsim/ |
D | dev.c | 1378 memcpy(attrs.switch_id.id, nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in __nsim_dev_port_add() 1379 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()
|
D | netdevsim.h | 297 struct netdev_phys_item_id switch_id; member
|
/Linux-v6.6/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-v6.6/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-v6.6/drivers/net/ethernet/netronome/nfp/ |
D | nfp_devlink.c | 351 memcpy(attrs.switch_id.id, serial, serial_len); in nfp_devlink_port_register() 352 attrs.switch_id.id_len = serial_len; in nfp_devlink_port_register()
|
/Linux-v6.6/drivers/net/dsa/qca/ |
D | qca8k-8xxx.c | 1106 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_setup_of_pws_reg() 1214 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_parse_port_config() 1365 if (priv->switch_id == QCA8K_ID_QCA8337) in qca8k_phylink_mac_config() 1578 if (priv->switch_id == QCA8K_ID_QCA8327 || in qca8k_pcs_config() 1579 priv->switch_id == QCA8K_ID_QCA8337) in qca8k_pcs_config() 1950 if (priv->switch_id == QCA8K_ID_QCA8337) in qca8k_setup() 1955 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_setup()
|
D | qca8k.h | 445 u8 switch_id; member
|
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.h | 155 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member
|
D | am65-cpsw-nuss.c | 2666 attrs.switch_id.id_len = sizeof(resource_size_t); in am65_cpsw_nuss_register_devlink() 2667 memcpy(attrs.switch_id.id, common->switch_id, attrs.switch_id.id_len); in am65_cpsw_nuss_register_devlink() 2888 memcpy(common->switch_id, &id_temp, sizeof(res->start)); in am65_cpsw_nuss_probe()
|
/Linux-v6.6/net/devlink/ |
D | port.c | 1282 if (attrs->switch_id.id_len) { in __devlink_port_attrs_set() 1284 if (WARN_ON(attrs->switch_id.id_len > MAX_PHYS_ITEM_ID_LEN)) in __devlink_port_attrs_set() 1285 attrs->switch_id.id_len = MAX_PHYS_ITEM_ID_LEN; in __devlink_port_attrs_set() 1512 memcpy(ppid, &devlink_port->attrs.switch_id, sizeof(*ppid)); in devlink_compat_switch_id_get()
|
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.h | 259 const unsigned char *switch_id, 264 const unsigned char *switch_id,
|
D | core.c | 3127 const unsigned char *switch_id, in __mlxsw_core_port_init() argument 3143 memcpy(attrs.switch_id.id, switch_id, switch_id_len); in __mlxsw_core_port_init() 3144 attrs.switch_id.id_len = switch_id_len; in __mlxsw_core_port_init() 3177 const unsigned char *switch_id, in mlxsw_core_port_init() argument 3186 switch_id, switch_id_len); in mlxsw_core_port_init() 3205 const unsigned char *switch_id, in mlxsw_core_cpu_port_init() argument 3215 switch_id, switch_id_len); in mlxsw_core_cpu_port_init()
|
/Linux-v6.6/drivers/net/ethernet/intel/i40e/ |
D | i40e_debugfs.c | 391 vsi->info.valid_sections, vsi->info.switch_id); in i40e_dbg_dump_vsi_seid() 1041 u16 switch_id; in i40e_dbg_command_write() local 1052 switch_id = in i40e_dbg_command_write() 1053 le16_to_cpu(vsi->info.switch_id) & in i40e_dbg_command_write() 1057 switch_id, in i40e_dbg_command_write()
|
D | i40e_adminq_cmd.h | 755 __le16 switch_id; /* 12bit id combined with flags below */ member 886 __le16 switch_id; member
|
/Linux-v6.6/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_devlink.c | 1293 memcpy(attrs.switch_id.id, bp->dsn, sizeof(bp->dsn)); in bnxt_dl_register() 1294 attrs.switch_id.id_len = sizeof(bp->dsn); in bnxt_dl_register()
|