Searched refs:switch_id (Results 1 - 25 of 34) sorted by relevance

12

/linux-master/drivers/staging/media/atomisp/pci/hive_isp_css_include/host/
H A Dfifo_monitor_public.h28 \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 Dfifo_monitor_private.h34 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 Dfifo_monitor.c510 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 Dtag_8021q.h16 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id,
H A Dtag_sja1105.c99 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 Dtag_ocelot_8021q.c82 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 Ddevlink.c315 memcpy(attrs.switch_id.id, id, len);
316 attrs.switch_id.id_len = len;
H A Dtag_8021q.c500 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 Ddevlink_port.c41 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 Ddevlink.c63 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 Dprestera_devlink.c424 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 Di40e_devlink.c215 i40e_devlink_set_switch_id(pf, &attrs.switch_id);
H A Di40e_debugfs.c372 " 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 Dam65-cpsw-nuss.h160 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member in struct:am65_cpsw_common
H A Dam65-cpsw-nuss.c2744 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 Dnfp_devlink.c355 memcpy(attrs.switch_id.id, serial, serial_len);
356 attrs.switch_id.id_len = serial_len;
/linux-master/drivers/net/netdevsim/
H A Ddev.c1378 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 Dnetdevsim.h300 struct netdev_phys_item_id switch_id; member in struct:nsim_dev
/linux-master/drivers/net/ethernet/intel/iavf/
H A Diavf_adminq_cmd.h333 __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 Dqca8k-8xxx.c1118 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 Dqca8k.h445 u8 switch_id; member in struct:qca8k_priv
/linux-master/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.h263 const unsigned char *switch_id,
268 const unsigned char *switch_id,
H A Dcore.c3064 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 Dport.c1290 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 Dbnxt_devlink.c1255 memcpy(attrs.switch_id.id, bp->dsn, sizeof(bp->dsn));
1256 attrs.switch_id.id_len = sizeof(bp->dsn);

Completed in 300 milliseconds

12