Home
last modified time | relevance | path

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

12

/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/
A Dfifo_monitor_private.h25 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 Dfifo_monitor.c501 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 Ddevlink_port.c41 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 Dfifo_monitor_public.h26 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 Ddevlink.c63 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 Ddev.c1426 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 Dnetdevsim.h316 struct netdev_phys_item_id switch_id; member
/drivers/net/ethernet/intel/iavf/
A Diavf_adminq_cmd.h254 __le16 switch_id; /* 12bit id combined with flags below */ member
370 __le16 switch_id; member
/drivers/net/ethernet/marvell/prestera/
A Dprestera_devlink.c424 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 Dnfp_devlink.c356 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 Dqca8k-8xxx.c1118 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 Dqca8k.h445 u8 switch_id; member
/drivers/net/ethernet/ti/
A Dam65-cpsw-nuss.h190 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member
A Dam65-cpsw-nuss.c3290 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 Di40e_devlink.c215 i40e_devlink_set_switch_id(pf, &attrs.switch_id); in i40e_devlink_create_port()
A Di40e_debugfs.c375 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 Di40e_adminq_cmd.h607 __le16 switch_id; /* 12bit id combined with flags below */ member
738 __le16 switch_id; member
A Di40e_prototype.h146 u16 veb_seid, u16 *switch_id, bool *floating,
/drivers/net/ethernet/intel/ice/devlink/
A Dport.c353 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 Dcore.h270 const unsigned char *switch_id,
275 const unsigned char *switch_id,
A Dcore.c3063 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 Dicssg_prueth.h349 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member
/drivers/net/ethernet/intel/ixgbe/devlink/
A Ddevlink.c547 ixgbe_devlink_set_switch_id(adapter, &attrs.switch_id); in ixgbe_devlink_register_port()
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_devlink.c1308 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 Docelot_net.c180 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()

Completed in 79 milliseconds

12