/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()
|
/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
D | devlink_port.c | 47 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 48 attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 51 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 52 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 55 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 56 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 154 memcpy(dl_port->attrs.switch_id.id, &ppid.id[0], ppid.id_len); in mlx5_esw_devlink_sf_port_register() 155 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_devlink_sf_port_register()
|
/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,
|
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | devlink.c | 30 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5e_devlink_port_register() 31 attrs.switch_id.id_len = ppid.id_len; in mlx5e_devlink_port_register()
|
/drivers/net/netdevsim/ |
D | dev.c | 1300 memcpy(attrs.switch_id.id, nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in __nsim_dev_port_add() 1301 attrs.switch_id.id_len = nsim_dev->switch_id.id_len; in __nsim_dev_port_add() 1457 nsim_dev->switch_id.id_len = sizeof(nsim_dev->switch_id.id); in nsim_dev_probe() 1458 get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in nsim_dev_probe()
|
D | netdevsim.h | 236 struct netdev_phys_item_id switch_id; member
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_devlink.c | 453 attrs.switch_id.id_len = sizeof(sw->id); in prestera_devlink_port_register() 454 memcpy(attrs.switch_id.id, &sw->id, attrs.switch_id.id_len); in prestera_devlink_port_register()
|
D | prestera_hw.c | 203 u8 switch_id; member 691 sw->id = resp.switch_id; in prestera_hw_switch_init()
|
/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
|
/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()
|
/drivers/net/ethernet/ti/ |
D | am65-cpsw-nuss.h | 145 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member
|
D | am65-cpsw-nuss.c | 2472 attrs.switch_id.id_len = sizeof(resource_size_t); in am65_cpsw_nuss_register_devlink() 2473 memcpy(attrs.switch_id.id, common->switch_id, attrs.switch_id.id_len); in am65_cpsw_nuss_register_devlink() 2681 memcpy(common->switch_id, &id_temp, sizeof(res->start)); in am65_cpsw_nuss_probe()
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | core.h | 231 const unsigned char *switch_id, 236 const unsigned char *switch_id,
|
D | core.c | 2772 const unsigned char *switch_id, in __mlxsw_core_port_init() argument 2788 memcpy(attrs.switch_id.id, switch_id, switch_id_len); in __mlxsw_core_port_init() 2789 attrs.switch_id.id_len = switch_id_len; in __mlxsw_core_port_init() 2812 const unsigned char *switch_id, in mlxsw_core_port_init() argument 2821 switch_id, switch_id_len); in mlxsw_core_port_init() 2840 const unsigned char *switch_id, in mlxsw_core_cpu_port_init() argument 2850 switch_id, switch_id_len); in mlxsw_core_cpu_port_init()
|
/drivers/net/dsa/ |
D | qca8k.h | 254 u8 switch_id; member
|
D | qca8k.c | 1074 if (priv->switch_id == QCA8K_ID_QCA8337) { in qca8k_setup() 1114 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_setup() 1206 if (priv->switch_id == QCA8K_ID_QCA8337) in qca8k_phylink_mac_config() 1838 priv->switch_id = id; in qca8k_read_switch_id()
|
/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 | 130 u16 veb_seid, u16 *switch_id, bool *floating,
|
D | i40e_common.c | 2444 u16 veb_seid, u16 *switch_id, in i40e_aq_get_veb_parameters() argument 2466 if (switch_id) in i40e_aq_get_veb_parameters() 2467 *switch_id = le16_to_cpu(cmd_resp->switch_id); in i40e_aq_get_veb_parameters()
|
D | i40e_main.c | 6260 ctxt.info.switch_id = in i40e_add_channel() 10270 ctxt.info.switch_id |= cpu_to_le16(I40E_AQ_VSI_SW_ID_FLAG_ALLOW_LB); in i40e_enable_pf_switch_lb() 10306 ctxt.info.switch_id &= ~cpu_to_le16(I40E_AQ_VSI_SW_ID_FLAG_ALLOW_LB); in i40e_disable_pf_switch_lb() 13925 ctxt.info.switch_id = in i40e_add_vsi() 13992 ctxt.info.switch_id = in i40e_add_vsi() 14011 ctxt.info.switch_id = in i40e_add_vsi() 14032 ctxt.info.switch_id = in i40e_add_vsi()
|
/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_devlink.c | 819 memcpy(attrs.switch_id.id, bp->dsn, sizeof(bp->dsn)); in bnxt_dl_register() 820 attrs.switch_id.id_len = sizeof(bp->dsn); in bnxt_dl_register()
|
/drivers/net/ethernet/mscc/ |
D | ocelot_net.c | 169 memcpy(attrs.switch_id.id, &ocelot->base_mac, id_len); in ocelot_port_devlink_init() 170 attrs.switch_id.id_len = id_len; in ocelot_port_devlink_init()
|