| /drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
| A D | fifo_monitor_private.h | 25 const fifo_switch_t switch_id, in fifo_switch_set() argument 30 assert(switch_id < N_FIFO_SWITCH); in fifo_switch_set() 33 gp_device_reg_store(GP_DEVICE0_ID, FIFO_SWITCH_ADDR[switch_id], sel); in fifo_switch_set() 40 const fifo_switch_t switch_id) in fifo_switch_get() argument 44 assert(switch_id < N_FIFO_SWITCH); in fifo_switch_get() 47 return gp_device_reg_load(GP_DEVICE0_ID, FIFO_SWITCH_ADDR[switch_id]); in fifo_switch_get()
|
| A D | fifo_monitor.c | 501 const fifo_switch_t switch_id, in fifo_switch_get_state() argument 507 assert(switch_id < N_FIFO_SWITCH); in fifo_switch_get_state() 512 data = gp_device_reg_load(GP_DEVICE0_ID, FIFO_SWITCH_ADDR[switch_id]); in fifo_switch_get_state()
|
| /drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| A 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()
|
| /drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
| A D | fifo_monitor_public.h | 26 const fifo_switch_t switch_id, 38 const fifo_switch_t switch_id); 74 const fifo_switch_t switch_id,
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A 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()
|
| /drivers/net/netdevsim/ |
| A D | dev.c | 1426 memcpy(attrs.switch_id.id, nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in __nsim_dev_port_add() 1427 attrs.switch_id.id_len = nsim_dev->switch_id.id_len; in __nsim_dev_port_add() 1585 nsim_dev->switch_id.id_len = sizeof(nsim_dev->switch_id.id); in nsim_drv_probe() 1586 get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in nsim_drv_probe()
|
| A D | netdevsim.h | 316 struct netdev_phys_item_id switch_id; member
|
| /drivers/net/ethernet/intel/iavf/ |
| A D | iavf_adminq_cmd.h | 254 __le16 switch_id; /* 12bit id combined with flags below */ member 370 __le16 switch_id; member
|
| /drivers/net/ethernet/marvell/prestera/ |
| A 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()
|
| /drivers/net/ethernet/netronome/nfp/ |
| A 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()
|
| /drivers/net/dsa/qca/ |
| A 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() 1972 if (priv->switch_id == QCA8K_ID_QCA8337) in qca8k_setup() 1977 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_setup()
|
| A D | qca8k.h | 445 u8 switch_id; member
|
| /drivers/net/ethernet/ti/ |
| A D | am65-cpsw-nuss.h | 190 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member
|
| A D | am65-cpsw-nuss.c | 3290 attrs.switch_id.id_len = sizeof(resource_size_t); in am65_cpsw_nuss_register_devlink() 3291 memcpy(attrs.switch_id.id, common->switch_id, attrs.switch_id.id_len); in am65_cpsw_nuss_register_devlink() 3552 memcpy(common->switch_id, &id_temp, sizeof(res->start)); in am65_cpsw_nuss_probe()
|
| /drivers/net/ethernet/intel/i40e/ |
| A D | i40e_devlink.c | 215 i40e_devlink_set_switch_id(pf, &attrs.switch_id); in i40e_devlink_create_port()
|
| A 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()
|
| A D | i40e_adminq_cmd.h | 607 __le16 switch_id; /* 12bit id combined with flags below */ member 738 __le16 switch_id; member
|
| A D | i40e_prototype.h | 146 u16 veb_seid, u16 *switch_id, bool *floating,
|
| /drivers/net/ethernet/intel/ice/devlink/ |
| A D | port.c | 353 ice_devlink_set_switch_id(pf, &attrs.switch_id); in ice_devlink_create_pf_port() 466 ice_devlink_set_switch_id(pf, &attrs.switch_id); in ice_devlink_create_vf_port()
|
| /drivers/net/ethernet/mellanox/mlxsw/ |
| A D | core.h | 270 const unsigned char *switch_id, 275 const unsigned char *switch_id,
|
| A D | core.c | 3063 const unsigned char *switch_id, in __mlxsw_core_port_init() argument 3079 memcpy(attrs.switch_id.id, switch_id, switch_id_len); in __mlxsw_core_port_init() 3080 attrs.switch_id.id_len = switch_id_len; in __mlxsw_core_port_init() 3113 const unsigned char *switch_id, in mlxsw_core_port_init() argument 3122 switch_id, switch_id_len); in mlxsw_core_port_init() 3141 const unsigned char *switch_id, in mlxsw_core_cpu_port_init() argument 3151 switch_id, switch_id_len); in mlxsw_core_cpu_port_init()
|
| /drivers/net/ethernet/ti/icssg/ |
| A D | icssg_prueth.h | 349 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member
|
| /drivers/net/ethernet/intel/ixgbe/devlink/ |
| A D | devlink.c | 547 ixgbe_devlink_set_switch_id(adapter, &attrs.switch_id); in ixgbe_devlink_register_port()
|
| /drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_devlink.c | 1308 memcpy(attrs.switch_id.id, bp->dsn, sizeof(bp->dsn)); in bnxt_dl_register() 1309 attrs.switch_id.id_len = sizeof(bp->dsn); in bnxt_dl_register()
|
| /drivers/net/ethernet/mscc/ |
| A D | ocelot_net.c | 180 memcpy(attrs.switch_id.id, &ocelot->base_mac, id_len); in ocelot_port_devlink_init() 181 attrs.switch_id.id_len = id_len; in ocelot_port_devlink_init()
|