linux/drivers/net/ethernet/fungible/funcore/fun_hci.h

/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */

#ifndef __FUN_HCI_H
#define __FUN_HCI_H

enum {};

enum fun_admin_op {};

enum {};

struct fun_admin_req_common {};

#define FUN_ADMIN_REQ_COMMON_INIT(_op, _len8, _flags, _suboff8, _cid)

#define FUN_ADMIN_REQ_COMMON_INIT2(_op, _len)

struct fun_admin_rsp_common {};

struct fun_admin_write48_req {};

#define FUN_ADMIN_WRITE48_REQ_KEY_S
#define FUN_ADMIN_WRITE48_REQ_KEY_M
#define FUN_ADMIN_WRITE48_REQ_KEY_P_NOSWAP(x)

#define FUN_ADMIN_WRITE48_REQ_DATA_S
#define FUN_ADMIN_WRITE48_REQ_DATA_M
#define FUN_ADMIN_WRITE48_REQ_DATA_P_NOSWAP(x)

#define FUN_ADMIN_WRITE48_REQ_INIT(key, data)

struct fun_admin_write48_rsp {};

struct fun_admin_read48_req {};

#define FUN_ADMIN_READ48_REQ_KEY_S
#define FUN_ADMIN_READ48_REQ_KEY_M
#define FUN_ADMIN_READ48_REQ_KEY_P_NOSWAP(x)

#define FUN_ADMIN_READ48_REQ_INIT(key)

struct fun_admin_read48_rsp {};

#define FUN_ADMIN_READ48_RSP_KEY_S
#define FUN_ADMIN_READ48_RSP_KEY_M
#define FUN_ADMIN_READ48_RSP_KEY_G(x)

#define FUN_ADMIN_READ48_RSP_RET_S
#define FUN_ADMIN_READ48_RSP_RET_M
#define FUN_ADMIN_READ48_RSP_RET_G(x)

#define FUN_ADMIN_READ48_RSP_DATA_S
#define FUN_ADMIN_READ48_RSP_DATA_M
#define FUN_ADMIN_READ48_RSP_DATA_G(x)

enum fun_admin_bind_type {};

struct fun_admin_bind_entry {};

#define FUN_ADMIN_BIND_ENTRY_INIT(_type, _id)

struct fun_admin_bind_req {};

struct fun_admin_bind_rsp {};

struct fun_admin_simple_subop {};

#define FUN_ADMIN_SIMPLE_SUBOP_INIT(_subop, _flags, _data)

enum fun_admin_subop {};

enum {};

struct fun_admin_generic_destroy_req {};

struct fun_admin_generic_create_rsp {};

struct fun_admin_res_count_req {};

struct fun_admin_res_count_rsp {};

enum {};

struct fun_admin_epcq_req {};

#define FUN_ADMIN_EPCQ_CREATE_REQ_INIT(                                      \
	_subop, _flags, _id, _epsqid, _entry_size_log2, _nentries, _address, \
	_tailroom, _headroom, _intcoal_kbytes, _intcoal_holdoff_nentries,    \
	_intcoal_holdoff_usecs, _intid, _scan_start_id, _scan_end_id,        \
	_tph_cpuid)

#define FUN_ADMIN_EPCQ_MODIFY_REQ_INIT(_subop, _flags, _id, _headroom)

enum {};

struct fun_admin_epsq_req {};

#define FUN_ADMIN_EPSQ_CREATE_REQ_INIT(                                      \
	_subop, _flags, _id, _epcqid, _entry_size_log2, _nentries, _address, \
	_intcoal_kbytes, _intcoal_holdoff_nentries, _intcoal_holdoff_usecs,  \
	_intid, _scan_start_id, _scan_end_id, _tph_cpuid, _buf_size_log2,    \
	_head_wb_size_log2, _head_wb_address)

enum {};

enum fun_port_brkout_mode {};

enum {};

enum fun_port_duplex_mode {};

enum {};

enum fun_port_link_status {};

enum fun_port_led_type {};

enum {};

enum {};

enum fun_port_lane_attr {};

enum fun_admin_port_subop {};

enum fun_admin_port_key {};

struct fun_subop_imm {};

enum fun_subop_sgl_flags {};

enum fun_data_op {};

struct fun_dataop_gl {};

static inline void fun_dataop_gl_init(struct fun_dataop_gl *s, u8 flags,
				      u16 sgl_off, u32 sgl_len, u64 sgl_data)
{}

struct fun_dataop_imm {};

struct fun_subop_sgl {};

#define FUN_SUBOP_SGL_INIT(_subop, _flags, _nsgl, _sgl_len, _sgl_data)

struct fun_dataop_rqbuf {};

struct fun_dataop_hdr {};

#define FUN_DATAOP_HDR_INIT(_nsgl, _flags, _ngather, _nscatter, _total_len)

enum fun_port_inetaddr_event_type {};

enum fun_port_inetaddr_addr_family {};

struct fun_admin_port_req {};

#define FUN_ADMIN_PORT_CREATE_REQ_INIT(_subop, _flags, _id)

#define FUN_ADMIN_PORT_WRITE_REQ_INIT(_subop, _flags, _id)

#define FUN_ADMIN_PORT_READ_REQ_INIT(_subop, _flags, _id)

#define FUN_ADMIN_PORT_XCVR_READ_REQ_INIT(_flags, _id, _bank, _page,   \
					  _offset, _length, _dev_addr)

struct fun_admin_port_rsp {};

struct fun_admin_port_xcvr_read_rsp {};

enum fun_xcvr_type {};

struct fun_admin_port_notif {};

enum fun_eth_rss_const {};

enum fun_eth_hash_alg {};

struct fun_admin_rss_req {};

#define FUN_ADMIN_RSS_CREATE_REQ_INIT(_subop, _flags, _id, _viid, _alg,    \
				      _keylen, _indir_nent, _key_off,      \
				      _indir_off)

struct fun_admin_vi_req {};

#define FUN_ADMIN_VI_CREATE_REQ_INIT(_subop, _flags, _id, _portid)

struct fun_admin_eth_req {};

#define FUN_ADMIN_ETH_CREATE_REQ_INIT(_subop, _flags, _id, _portid)

enum {};

enum fun_admin_swu_subop {};

struct fun_admin_swu_req {};

#define FUN_ADMIN_SWU_CREATE_REQ_INIT(_subop, _flags, _id)

#define FUN_ADMIN_SWU_UPGRADE_REQ_INIT(_subop, _flags, _id, _fourcc,    \
				       _image_size)

#define FUN_ADMIN_SWU_UPGRADE_DATA_REQ_INIT(_subop, _flags, _id, _offset, \
					    _size)

struct fun_admin_swu_rsp {};

enum fun_ktls_version {};

enum fun_ktls_cipher {};

enum fun_ktls_modify_flags {};

struct fun_admin_ktls_create_req {};

#define FUN_ADMIN_KTLS_CREATE_REQ_INIT(_subop, _flags, _id)

struct fun_admin_ktls_create_rsp {};

struct fun_admin_ktls_modify_req {};

#define FUN_ADMIN_KTLS_MODIFY_REQ_INIT(_subop, _flags, _id, _tlsid, _tcp_seq, \
				       _version, _cipher)

struct fun_admin_ktls_modify_rsp {};

struct fun_req_common {};

struct fun_rsp_common {};

struct fun_cqe_info {};

enum fun_eprq_def {};

struct fun_eprq_rqbuf {};

#define FUN_EPRQ_RQBUF_INIT(_bufaddr)

enum fun_eth_op {};

enum {};

struct fun_eth_offload {};

static inline void fun_eth_offload_init(struct fun_eth_offload *s, u16 flags,
					u16 mss, __be16 tcp_doff_flags,
					__be16 vlan, u16 inner_l3_off,
					u16 inner_l4_off, u16 outer_l3_off,
					u16 outer_l4_off)
{}

struct fun_eth_tls {};

enum {};

struct fun_eth_tx_req {};

struct fun_eth_rx_cv {};

#define FUN_ETH_RX_CV_IL4_PROT_S
#define FUN_ETH_RX_CV_IL4_PROT_M

#define FUN_ETH_RX_CV_IL3_PROT_S
#define FUN_ETH_RX_CV_IL3_PROT_M

#define FUN_ETH_RX_CV_OL4_PROT_S
#define FUN_ETH_RX_CV_OL4_PROT_M

#define FUN_ETH_RX_CV_ENCAP_TYPE_S
#define FUN_ETH_RX_CV_ENCAP_TYPE_M

#define FUN_ETH_RX_CV_OL3_PROT_S
#define FUN_ETH_RX_CV_OL3_PROT_M

#define FUN_ETH_RX_CV_VLAN_TYPE_S
#define FUN_ETH_RX_CV_VLAN_TYPE_M

#define FUN_ETH_RX_CV_L2_TYPE_S
#define FUN_ETH_RX_CV_L2_TYPE_M

enum fun_rx_cv {};

struct fun_eth_cqe {};

enum fun_admin_adi_attr {};

struct fun_adi_param {};

#define FUN_ADI_MAC_INIT(_addr)

#define FUN_ADI_VLAN_INIT(_eth_type, _tci)

#define FUN_ADI_RATE_INIT(_tx_mbps)

struct fun_admin_adi_req {};

#define FUN_ADMIN_ADI_WRITE_REQ_INIT(_subop, _attribute, _id)

#endif /* __FUN_HCI_H */