Switchtec Userspace PROJECT_NUMBER = 4.2
Loading...
Searching...
No Matches
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
29 uint8_t subcmd;
30 uint8_t phys_port_id;
31 uint8_t resvd[2];
32 uint32_t data;
33};
34
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
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
54 uint8_t subcmd;
55 uint8_t phys_port_id;
56 uint8_t enable;
57 uint8_t rate;
58};
59
61 uint8_t subcmd;
62 uint8_t phys_port_id;
63 uint8_t resvd[2];
64};
65
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
76 uint8_t subcmd;
77 uint8_t phys_port_id;
78 uint8_t resvd[2];
79};
Main Switchtec header.