/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/ |
H A D | fifo_monitor_public.h | 28 \param switch_id[in] fifo switch identifier 31 \return none, fifo_switch[switch_id].sel = sel 35 const fifo_switch_t switch_id, 41 \param switch_id[in] fifo switch identifier 43 \return fifo_switch[switch_id].sel 47 const fifo_switch_t switch_id); 76 \param switch_id[in] fifo switch identifier 79 \return none, state = fifo_switch[switch_id].state 83 const fifo_switch_t switch_id,
|
/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | fifo_monitor_private.h | 34 const fifo_switch_t switch_id, 39 assert(switch_id < N_FIFO_SWITCH); 42 gp_device_reg_store(GP_DEVICE0_ID, FIFO_SWITCH_ADDR[switch_id], sel); 49 const fifo_switch_t switch_id) 53 assert(switch_id < N_FIFO_SWITCH); 56 return gp_device_reg_load(GP_DEVICE0_ID, FIFO_SWITCH_ADDR[switch_id]); 32 fifo_switch_set( const fifo_monitor_ID_t ID, const fifo_switch_t switch_id, const hrt_data sel) argument
|
H A D | fifo_monitor.c | 510 const fifo_switch_t switch_id, 516 assert(switch_id < N_FIFO_SWITCH); 521 data = gp_device_reg_load(GP_DEVICE0_ID, FIFO_SWITCH_ADDR[switch_id]); 508 fifo_switch_get_state( const fifo_monitor_ID_t ID, const fifo_switch_t switch_id, fifo_switch_state_t *state) argument
|
/linux-master/net/dsa/ |
H A D | tag_8021q.h | 16 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id,
|
H A D | tag_sja1105.c | 99 u64 switch_id; member in struct:sja1105_meta 121 packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); 476 * @switch_id and strip the header. Otherwise set @vid and keep it in the 480 int *switch_id, int *vbid, u16 *vid) 491 return dsa_8021q_rcv(skb, source_port, switch_id, vbid); 500 int source_port = -1, switch_id = -1, vbid = -1; local 517 switch_id = hdr->h_dest[4]; 521 switch_id = meta.switch_id; 543 if (vbid == 0 && switch_id 479 sja1105_vlan_rcv(struct sk_buff *skb, int *source_port, int *switch_id, int *vbid, u16 *vid) argument 573 int switch_id = SJA1110_RX_HEADER_SWITCH_ID(rx_header); local 612 sja1110_rcv_inband_control_extension(struct sk_buff *skb, int *source_port, int *switch_id, bool *host_only) argument 680 int source_port = -1, switch_id = -1, vbid = -1; local [all...] |
H A D | tag_ocelot_8021q.c | 82 int src_port, switch_id; local 84 dsa_8021q_rcv(skb, &src_port, &switch_id, NULL); 86 skb->dev = dsa_conduit_find_user(netdev, switch_id, src_port);
|
H A D | devlink.c | 315 memcpy(attrs.switch_id.id, id, len); 316 attrs.switch_id.id_len = len;
|
H A D | tag_8021q.c | 500 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id, argument 517 *switch_id = dsa_8021q_rx_switch_id(vid);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | devlink_port.c | 41 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); 42 dl_port->attrs.switch_id.id_len = ppid.id_len; 45 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); 46 dl_port->attrs.switch_id.id_len = ppid.id_len; 50 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); 51 dl_port->attrs.switch_id.id_len = ppid.id_len; 113 memcpy(dl_port->attrs.switch_id.id, &ppid.id[0], ppid.id_len); 114 dl_port->attrs.switch_id.id_len = ppid.id_len;
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | devlink.c | 63 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); 64 attrs.switch_id.id_len = ppid.id_len;
|
/linux-master/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_devlink.c | 424 attrs.switch_id.id_len = sizeof(sw->id); 425 memcpy(attrs.switch_id.id, &sw->id, attrs.switch_id.id_len);
|
/linux-master/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_devlink.c | 215 i40e_devlink_set_switch_id(pf, &attrs.switch_id);
|
H A D | i40e_debugfs.c | 372 " info: valid_sections = 0x%04x, switch_id = 0x%04x\n", 373 vsi->info.valid_sections, vsi->info.switch_id); 1023 u16 switch_id; local 1034 switch_id = 1035 le16_to_cpu(vsi->info.switch_id) & 1039 switch_id,
|
/linux-master/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-nuss.h | 160 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member in struct:am65_cpsw_common
|
H A D | am65-cpsw-nuss.c | 2744 attrs.switch_id.id_len = sizeof(resource_size_t); 2745 memcpy(attrs.switch_id.id, common->switch_id, attrs.switch_id.id_len); 2984 memcpy(common->switch_id, &id_temp, sizeof(res->start));
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_devlink.c | 355 memcpy(attrs.switch_id.id, serial, serial_len); 356 attrs.switch_id.id_len = serial_len;
|
/linux-master/drivers/net/netdevsim/ |
H A D | dev.c | 1378 memcpy(attrs.switch_id.id, nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); 1379 attrs.switch_id.id_len = nsim_dev->switch_id.id_len; 1537 nsim_dev->switch_id.id_len = sizeof(nsim_dev->switch_id.id); 1538 get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len);
|
H A D | netdevsim.h | 300 struct netdev_phys_item_id switch_id; member in struct:nsim_dev
|
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_adminq_cmd.h | 333 __le16 switch_id; /* 12bit id combined with flags below */ member in struct:iavf_aqc_vsi_properties_data 449 __le16 switch_id; member in struct:iavf_aqc_get_veb_parameters_completion
|
/linux-master/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 1118 if (priv->switch_id == QCA8K_ID_QCA8327) { 1226 if (priv->switch_id == QCA8K_ID_QCA8327) { 1377 if (priv->switch_id == QCA8K_ID_QCA8337) 1590 if (priv->switch_id == QCA8K_ID_QCA8327 || 1591 priv->switch_id == QCA8K_ID_QCA8337) 1962 if (priv->switch_id == QCA8K_ID_QCA8337) 1967 if (priv->switch_id == QCA8K_ID_QCA8327) {
|
H A D | qca8k.h | 445 u8 switch_id; member in struct:qca8k_priv
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core.h | 263 const unsigned char *switch_id, 268 const unsigned char *switch_id,
|
H A D | core.c | 3064 const unsigned char *switch_id, 3080 memcpy(attrs.switch_id.id, switch_id, switch_id_len); 3081 attrs.switch_id.id_len = switch_id_len; 3114 const unsigned char *switch_id, 3123 switch_id, switch_id_len); 3142 const unsigned char *switch_id, 3152 switch_id, switch_id_len); 3059 __mlxsw_core_port_init(struct mlxsw_core *mlxsw_core, u16 local_port, enum devlink_port_flavour flavour, u8 slot_index, u32 port_number, bool split, u32 split_port_subnumber, bool splittable, u32 lanes, const unsigned char *switch_id, unsigned char switch_id_len) argument 3110 mlxsw_core_port_init(struct mlxsw_core *mlxsw_core, u16 local_port, u8 slot_index, u32 port_number, bool split, u32 split_port_subnumber, bool splittable, u32 lanes, const unsigned char *switch_id, unsigned char switch_id_len) argument 3140 mlxsw_core_cpu_port_init(struct mlxsw_core *mlxsw_core, void *port_driver_priv, const unsigned char *switch_id, unsigned char switch_id_len) argument
|
/linux-master/net/devlink/ |
H A D | port.c | 1290 if (attrs->switch_id.id_len) { 1292 if (WARN_ON(attrs->switch_id.id_len > MAX_PHYS_ITEM_ID_LEN)) 1293 attrs->switch_id.id_len = MAX_PHYS_ITEM_ID_LEN; 1564 memcpy(ppid, &devlink_port->attrs.switch_id, sizeof(*ppid));
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_devlink.c | 1255 memcpy(attrs.switch_id.id, bp->dsn, sizeof(bp->dsn)); 1256 attrs.switch_id.id_len = sizeof(bp->dsn);
|