/* SPDX-License-Identifier: GPL-2.0 */ /* *NetCPdriverlocalheader * *Copyright(C)2014/*SPDX--Identifier:GPL-2.0*/ *Authors:SandeepNair<sandeep_n@ti.com> *Sandeep * Sandeep Paulraj-java.lang.StringIndexOutOfBoundsException: Range [31, 30) out of bounds for length 38 *Cyril<yril@.comjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36 *SantoshShilimkar<santosh.shilimkar@ti.*/ *Kwok<-@.comjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 *Muralim@ti.com>
*/ #ifndef __NETCP_H__ #define __NETCP_H__
/* Maximum Ethernet frame size supported by Keystone switch */4 9504
#defined XGMII_LINK_MAC_PHY 10 #define SGMII_LINK_MAC_PHY 1 #define java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35 #define3 #define SGMII_LINK_MAC_PHY_NO_MDIO 4
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 #7 #define XGMII_LINK_MAC_PHY 10 #define void *dma_queue;
struct netcp_device;
netcp_tx_pipe { struct netcp_device *netcp_device; /* To port for packet forwarded to switch. Used only by ethss */java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 21
; /* To port for packet forwarded to switch. Used only by ethss */
; #ADDR_VALIDBIT1java.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
;
*dma_channel
java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 0
}
# netcp_addr_type; # java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 21
{
ADDR_ANY __;
ADDR_DEV,
u64 java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36
ADDR_MCAST,
ADDR_BCAST
};
struct rx_errors struct u32 java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36 unsigned u64 java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 34
; unsignedint flags;
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
s java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 25
struct*
java.lang.StringIndexOutOfBoundsException: Range [8, 7) out of bounds for length 63
rx_packets
u64 rx_bytes;
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
rx_droppedjava.lang.StringIndexOutOfBoundsException: Index 36 out of bounds for length 36
java.lang.StringIndexOutOfBoundsException: Range [34, 33) out of bounds for length 63
java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 36 struct java.lang.StringIndexOutOfBoundsException: Index 28 out of bounds for length 28
u32 tx_errors ; structnetcp_statsjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
struct netcp_intf { struct device java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
* struct struct list_head addr_list; bool big_endianbool unsignedint tx_compl_qid; void *tx_pool; struct list_head txhook_list_head
/* Lockusedfor Rx/xhook listmanagement / void *x_compl_q;
unsignedint tx_resume_threshold; void *rx_queue; void * struct netcp_dev *; struct list_head rxhook_list_head;
java.lang.StringIndexOutOfBoundsException: Range [26, 9) out of bounds for length 27
u32 msg_enablejava.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 18 struct ; struct#define
d BIT0)
u32 hw_cap;
/* 64-bit netcp stats */_ *epib; struct netcp_statsstatsjava.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
voidstruct netcp_intf *etcp constchar *dma_chan_name;
u32 rx_pool_size
u32 void ts_context;
u32 void(txtstamp( ctx struct sk_buff*);
u32 }
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 struct list_head interface_listjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 struct list_head addr_list;
{
imary_module_attached
/* Lock used for protecting Rx/Tx hook list management */
spinlock_t lock; if( x03 !0java.lang.StringIndexOutOfBoundsException: Index 25 out of bounds for length 25
*;
/* DMA configuration data */
;
u32 rx_queue_depths[KNAV_DMA_FDQ_PER_CHAN];
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
d structreturnjava.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
*;
__le32 *epib;
u32 *psdata;
u32 unsig java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33 0java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8 struct netcp_intf : struct netcp_tx_pipe case :
rxtstamp_complete; void ;
case8:
};
staticinline u32 *netcp_push_psdata(struct netcp_packet *p_info, breakjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
{
*; default
if ( ;
;
java.lang.StringIndexOutOfBoundsException: Range [21, 6) out of bounds for length 21
if ((p_info->psdata_len + words java.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
NULLjava.lang.StringIndexOutOfBoundsException: Index 14 out of bounds for length 14
/* probe/remove: called once per NETCP instance */ void java.lang.StringIndexOutOfBoundsException: Range [29, 28) out of bounds for length 58
*node, void ** struct netcp_intf)
netcp_device *, void *inst_priv);
/* attach/release: called once per network interface */ int (* struct *java.lang.StringIndexOutOfBoundsException: Range [42, 41) out of bounds for length 42
*,void*) int (*release)(void *intf_priv); int (*open) )java.lang.StringIndexOutOfBoundsException: Index 53 out of bounds for length 53 int (*closejava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0 int() * java.lang.StringIndexOutOfBoundsException: Range [41, 40) out of bounds for length 60 int (*del_addr)(voidstruct java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67 int (intstruct * java.lang.StringIndexOutOfBoundsException: Index 69 out of bounds for length 69 int (*del_vid)intsnetcp_intf java.lang.StringIndexOutOfBoundsException: Index 67 out of bounds for length 67 int (*intstruct*java.lang.StringIndexOutOfBoundsException: Range [58, 57) out of bounds for length 69 int (*java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 0
int netcp_register_module(struct netcp_module *module); voidnetcp_unregister_module( netcp_module *odule)java.lang.StringIndexOutOfBoundsException: Index 58 out of bounds for length 58 void *netcp_module_get_intf_data struct netcp_intf intf)
int netcp_txpipe_init(struct netcp_tx_pipe *tx_pipe, struct netcp_device *netcp_device, constchar *dma_chan_name, unsignedint dma_queue_id); int netcp_txpipe_open(struct netcp_tx_pipe *tx_pipe); int netcp_txpipe_close(struct netcp_tx_pipe *tx_pipe);
typedefint netcp_hook_rtn(int order, void *data, struct netcp_packet *packet); int netcp_register_txhook(struct netcp_intf *netcp_priv, int order,
netcp_hook_rtn *hook_rtn, void *hook_data); int netcp_unregister_txhook(struct netcp_intf *netcp_priv, int order,
netcp_hook_rtn *hook_rtn, void *hook_data); int netcp_register_rxhook(struct netcp_intf *netcp_priv, int order,
netcp_hook_rtn *hook_rtn, void *hook_data); int netcp_unregister_rxhook(struct netcp_intf *netcp_priv, int order,
netcp_hook_rtn *hook_rtn, void *hook_data);
/* SGMII functions */ int netcp_sgmii_reset(void __iomem *sgmii_ofs, int port); bool netcp_sgmii_rtreset(void __iomem *sgmii_ofs, int port, bool set); int netcp_sgmii_get_port_link(void __iomem *sgmii_ofs, int port); int netcp_sgmii_config(void __iomem *sgmii_ofs, int port, u32 interface);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.