Switchtec Userspace
PROJECT_NUMBER = 4.2
Loading...
Searching...
No Matches
inc
switchtec
inject.h
1
/*
2
* Microsemi Switchtec(tm) PCIe Management Library
3
* Copyright (c) 2025, Microsemi Corporation
4
*
5
* Permission is hereby granted, free of charge, to any person obtaining a
6
* copy of this software and associated documentation files (the "Software"),
7
* to deal in the Software without restriction, including without limitation
8
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
* and/or sell copies of the Software, and to permit persons to whom the
10
* Software is furnished to do so, subject to the following conditions:
11
*
12
* The above copyright notice and this permission notice shall be included
13
* in all copies or substantial portions of the Software.
14
*
15
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
16
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
19
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21
* OTHER DEALINGS IN THE SOFTWARE.
22
*
23
*/
24
25
#include <
switchtec/switchtec.h
>
26
#include <stdint.h>
27
28
struct
switchtec_lnkerr_dllp_in
{
29
uint8_t subcmd;
30
uint8_t phys_port_id;
31
uint8_t resvd[2];
32
uint32_t data;
33
};
34
35
struct
switchtec_lnkerr_dllp_crc_in
{
36
uint8_t subcmd;
37
uint8_t phys_port_id;
38
uint8_t enable;
39
uint8_t resvd1;
40
uint16_t rate;
41
uint8_t resvd2[2];
42
};
43
44
struct
switchtec_lnkerr_tlp_lcrc_gen5_in
{
45
uint8_t subcmd;
46
uint8_t phys_port_id;
47
uint8_t enable;
48
uint8_t resvd1;
49
uint8_t rate;
50
uint8_t resvd[3];
51
};
52
53
struct
switchtec_lnkerr_tlp_lcrc_gen4_in
{
54
uint8_t subcmd;
55
uint8_t phys_port_id;
56
uint8_t enable;
57
uint8_t rate;
58
};
59
60
struct
switchtec_lnkerr_tlp_seqn_in
{
61
uint8_t subcmd;
62
uint8_t phys_port_id;
63
uint8_t resvd[2];
64
};
65
66
struct
switchtec_lnkerr_ack_nack_in
{
67
uint8_t subcmd;
68
uint8_t phys_port_id;
69
uint8_t resvd1[2];
70
uint16_t seq_num;
71
uint8_t count;
72
uint8_t resvd2;
73
};
74
75
struct
switchtec_lnkerr_cto_in
{
76
uint8_t subcmd;
77
uint8_t phys_port_id;
78
uint8_t resvd[2];
79
};
switchtec_lnkerr_ack_nack_in
Definition
inject.h:66
switchtec_lnkerr_cto_in
Definition
inject.h:75
switchtec_lnkerr_dllp_crc_in
Definition
inject.h:35
switchtec_lnkerr_dllp_in
Definition
inject.h:28
switchtec_lnkerr_tlp_lcrc_gen4_in
Definition
inject.h:53
switchtec_lnkerr_tlp_lcrc_gen5_in
Definition
inject.h:44
switchtec_lnkerr_tlp_seqn_in
Definition
inject.h:60
switchtec.h
Main Switchtec header.
Generated by
1.15.0