/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | devlink_port.c | 48 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 49 attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 52 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 53 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 56 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 57 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/net/dsa/ |
D | tag_sja1105.c | 32 u64 switch_id; member 54 packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack() 283 int source_port, switch_id; in sja1105_rcv() local 315 switch_id = dsa_8021q_rx_switch_id(vid); in sja1105_rcv() 324 switch_id = hdr->h_dest[4]; in sja1105_rcv() 331 switch_id = meta.switch_id; in sja1105_rcv() 336 skb->dev = dsa_master_find_slave(netdev, switch_id, source_port); in sja1105_rcv()
|
D | dsa2.c | 326 memcpy(attrs.switch_id.id, id, len); in dsa_port_devlink_setup() 327 attrs.switch_id.id_len = len; in dsa_port_devlink_setup()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
D | prestera_devlink.c | 78 attrs.switch_id.id_len = sizeof(sw->id); in prestera_devlink_port_register() 79 memcpy(attrs.switch_id.id, &sw->id, attrs.switch_id.id_len); in prestera_devlink_port_register()
|
D | prestera_hw.c | 170 u8 switch_id; member 533 sw->id = resp.switch_id; in prestera_hw_switch_init()
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
D | dev.c | 925 memcpy(attrs.switch_id.id, nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in __nsim_dev_port_add() 926 attrs.switch_id.id_len = nsim_dev->switch_id.id_len; in __nsim_dev_port_add() 1065 nsim_dev->switch_id.id_len = sizeof(nsim_dev->switch_id.id); in nsim_dev_probe() 1066 get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in nsim_dev_probe()
|
D | netdevsim.h | 198 struct netdev_phys_item_id switch_id; member
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.h | 207 const unsigned char *switch_id, 212 const unsigned char *switch_id,
|
D | core.c | 2717 const unsigned char *switch_id, in __mlxsw_core_port_init() argument 2733 memcpy(attrs.switch_id.id, switch_id, switch_id_len); in __mlxsw_core_port_init() 2734 attrs.switch_id.id_len = switch_id_len; in __mlxsw_core_port_init() 2757 const unsigned char *switch_id, in mlxsw_core_port_init() argument 2764 switch_id, switch_id_len); in mlxsw_core_port_init() 2776 const unsigned char *switch_id, in mlxsw_core_cpu_port_init() argument 2786 switch_id, switch_id_len); in mlxsw_core_cpu_port_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_devlink.c | 780 memcpy(attrs.switch_id.id, bp->dsn, sizeof(bp->dsn)); in bnxt_dl_register() 781 attrs.switch_id.id_len = sizeof(bp->dsn); in bnxt_dl_register()
|
/kernel/linux/linux-5.10/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
|
D | i40e_prototype.h | 142 u16 veb_seid, u16 *switch_id, bool *floating,
|
D | i40e_common.c | 2701 u16 veb_seid, u16 *switch_id, in i40e_aq_get_veb_parameters() argument 2723 if (switch_id) in i40e_aq_get_veb_parameters() 2724 *switch_id = le16_to_cpu(cmd_resp->switch_id); in i40e_aq_get_veb_parameters()
|
D | i40e_main.c | 6083 ctxt.info.switch_id = in i40e_add_channel() 9673 ctxt.info.switch_id |= cpu_to_le16(I40E_AQ_VSI_SW_ID_FLAG_ALLOW_LB); in i40e_enable_pf_switch_lb() 9709 ctxt.info.switch_id &= ~cpu_to_le16(I40E_AQ_VSI_SW_ID_FLAG_ALLOW_LB); in i40e_disable_pf_switch_lb() 13302 ctxt.info.switch_id = in i40e_add_vsi() 13369 ctxt.info.switch_id = in i40e_add_vsi() 13388 ctxt.info.switch_id = in i40e_add_vsi() 13409 ctxt.info.switch_id = in i40e_add_vsi()
|
/kernel/linux/linux-5.10/include/net/ |
D | devlink.h | 111 struct netdev_phys_item_id switch_id; member
|
/kernel/linux/linux-5.10/net/core/ |
D | devlink.c | 8288 if (attrs->switch_id.id_len) { in __devlink_port_attrs_set() 8290 if (WARN_ON(attrs->switch_id.id_len > MAX_PHYS_ITEM_ID_LEN)) in __devlink_port_attrs_set() 8291 attrs->switch_id.id_len = MAX_PHYS_ITEM_ID_LEN; in __devlink_port_attrs_set() 10302 memcpy(ppid, &devlink_port->attrs.switch_id, sizeof(*ppid)); in devlink_compat_switch_id_get()
|