1 /* SPDX-License-Identifier: GPL-2.0 */
6 typedef u64 gct6_handle
;
8 typedef struct __gct6_node
{
14 gct6_handle active_user
;
21 gct6_handle saved_owner
;
31 u32 magic
; /* 'GLXY' */
37 void (*callout
)(gct6_node
*);
40 #define GCT_NODE_MAGIC 0x59584c47 /* 'GLXY' */
45 #define GCT_TYPE_HOSE 0x0E
50 #define GCT_SUBTYPE_IO_PORT_MODULE 0x2C
52 #define GCT_NODE_PTR(off) ((gct6_node *)((char *)hwrpb + \
53 hwrpb->frut_offset + \
54 (gct6_handle)(off))) \
56 int gct6_find_nodes(gct6_node *, gct6_search_struct *);
58 #endif /* __ALPHA_GCT_H */