/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | fifo_monitor_private.h | 34 const fifo_switch_t switch_id, in fifo_switch_set() 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) 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) fifo_switch_set() argument
|
H A D | fifo_monitor.c | 510 const fifo_switch_t switch_id, in fifo_switch_get_state() 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() 508 fifo_switch_get_state( const fifo_monitor_ID_t ID, const fifo_switch_t switch_id, fifo_switch_state_t *state) fifo_switch_get_state() argument
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hive_isp_css_common/host/ |
H A D | fifo_monitor_private.h | 34 const fifo_switch_t switch_id, in fifo_switch_set() 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) 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) fifo_switch_set() argument
|
H A D | fifo_monitor.c | 510 const fifo_switch_t switch_id, in fifo_switch_get_state() 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() 508 fifo_switch_get_state( const fifo_monitor_ID_t ID, const fifo_switch_t switch_id, fifo_switch_state_t *state) fifo_switch_get_state() argument
|
/kernel/linux/linux-6.6/net/dsa/ |
H A D | tag_sja1105.c | 99 u64 switch_id; member 121 packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack() 476 * @switch_id and strip the header. Otherwise set @vid and keep it in the 480 int *switch_id, int *vbid, u16 *vid) in sja1105_vlan_rcv() 491 return dsa_8021q_rcv(skb, source_port, switch_id, vbid); in sja1105_vlan_rcv() 500 int source_port = -1, switch_id = -1, vbid = -1; in sja1105_rcv() local 517 switch_id = hdr->h_dest[4]; in sja1105_rcv() 521 switch_id = meta.switch_id; in sja1105_rcv() 543 if (vbid == 0 && switch_id in sja1105_rcv() 479 sja1105_vlan_rcv(struct sk_buff *skb, int *source_port, int *switch_id, int *vbid, u16 *vid) sja1105_vlan_rcv() argument 573 int switch_id = SJA1110_RX_HEADER_SWITCH_ID(rx_header); sja1110_rcv_meta() local 612 sja1110_rcv_inband_control_extension(struct sk_buff *skb, int *source_port, int *switch_id, bool *host_only) sja1110_rcv_inband_control_extension() argument 680 int source_port = -1, switch_id = -1, vbid = -1; sja1110_rcv() local [all...] |
H A D | tag_ocelot_8021q.c | 82 int src_port, switch_id; in ocelot_rcv() local 84 dsa_8021q_rcv(skb, &src_port, &switch_id, NULL); in ocelot_rcv() 86 skb->dev = dsa_master_find_slave(netdev, switch_id, src_port); in ocelot_rcv()
|
H A D | tag_8021q.h | 16 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id,
|
H A D | devlink.c | 315 memcpy(attrs.switch_id.id, id, len); in dsa_port_devlink_setup() 316 attrs.switch_id.id_len = len; in dsa_port_devlink_setup()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | devlink_port.c | 48 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 49 attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 52 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 53 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc() 56 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5_esw_dl_port_alloc() 57 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_dl_port_alloc()
|
/kernel/linux/linux-6.6/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); 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() 113 memcpy(dl_port->attrs.switch_id.id, &ppid.id[0], ppid.id_len); in mlx5_esw_offloads_sf_devlink_port_attrs_set() 114 dl_port->attrs.switch_id.id_len = ppid.id_len; in mlx5_esw_offloads_sf_devlink_port_attrs_set()
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-6.6/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,
|
/kernel/linux/linux-5.10/net/dsa/ |
H A D | tag_sja1105.c | 32 u64 switch_id; member 54 packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack() 283 int source_port, switch_id; in sja1105_rcv() local 315 switch_id = dsa_8021q_rx_switch_id(vid); in sja1105_rcv() 324 switch_id = hdr->h_dest[4]; in sja1105_rcv() 331 switch_id = meta.switch_id; in sja1105_rcv() 336 skb->dev = dsa_master_find_slave(netdev, switch_id, source_port); in sja1105_rcv()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_devlink.c | 78 attrs.switch_id.id_len = sizeof(sw->id); in prestera_devlink_port_register() 79 memcpy(attrs.switch_id.id, &sw->id, attrs.switch_id.id_len); in prestera_devlink_port_register()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | devlink.c | 55 memcpy(attrs.switch_id.id, ppid.id, ppid.id_len); in mlx5e_devlink_port_register() 56 attrs.switch_id.id_len = ppid.id_len; in mlx5e_devlink_port_register()
|
/kernel/linux/linux-5.10/drivers/net/netdevsim/ |
H A D | dev.c | 922 memcpy(attrs.switch_id.id, nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in __nsim_dev_port_add() 923 attrs.switch_id.id_len = nsim_dev->switch_id.id_len; in __nsim_dev_port_add() 1062 nsim_dev->switch_id.id_len = sizeof(nsim_dev->switch_id.id); in nsim_dev_probe() 1063 get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in nsim_dev_probe()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/prestera/ |
H 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/ |
H A 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_devlink.c | 351 memcpy(attrs.switch_id.id, serial, serial_len); in nfp_devlink_port_register() 352 attrs.switch_id.id_len = serial_len; in nfp_devlink_port_register()
|
/kernel/linux/linux-6.6/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); in __nsim_dev_port_add() 1379 attrs.switch_id.id_len = nsim_dev->switch_id.id_len; in __nsim_dev_port_add() 1537 nsim_dev->switch_id.id_len = sizeof(nsim_dev->switch_id.id); in nsim_drv_probe() 1538 get_random_bytes(nsim_dev->switch_id.id, nsim_dev->switch_id.id_len); in nsim_drv_probe()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-nuss.h | 155 unsigned char switch_id[MAX_PHYS_ITEM_ID_LEN]; member
|
/kernel/linux/linux-6.6/drivers/net/dsa/qca/ |
H A D | qca8k-8xxx.c | 1117 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_setup_of_pws_reg() 1225 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_parse_port_config() 1376 if (priv->switch_id == QCA8K_ID_QCA8337) in qca8k_phylink_mac_config() 1589 if (priv->switch_id == QCA8K_ID_QCA8327 || in qca8k_pcs_config() 1590 priv->switch_id == QCA8K_ID_QCA8337) in qca8k_pcs_config() 1961 if (priv->switch_id == QCA8K_ID_QCA8337) in qca8k_setup() 1966 if (priv->switch_id == QCA8K_ID_QCA8327) { in qca8k_setup()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_adminq_cmd.h | 333 __le16 switch_id; /* 12bit id combined with flags below */ member 449 __le16 switch_id; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core.h | 207 const unsigned char *switch_id, 212 const unsigned char *switch_id,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_adminq_cmd.h | 333 __le16 switch_id; /* 12bit id combined with flags below */ member 449 __le16 switch_id; member
|