Lines Matching refs:xswitch_info

49     xswitch_info_t          xswitch_info;  in xwidget_to_provider_fns()  local
55 xswitch_info = xswitch_info_get(busv); in xwidget_to_provider_fns()
56 ASSERT(xswitch_info != NULL); in xwidget_to_provider_fns()
58 provider_fns = xswitch_info->xswitch_fns; in xwidget_to_provider_fns()
84 xswitch_info_t xswitch_info; in xswitch_info_get() local
86 xswitch_info = (xswitch_info_t) in xswitch_info_get()
89 return (xswitch_info); in xswitch_info_get()
93 xswitch_info_vhdl_set(xswitch_info_t xswitch_info, in xswitch_info_vhdl_set() argument
104 xswitch_info->vhdl[port - XSWITCH_CENSUS_PORT_MIN] = xwidget; in xswitch_info_vhdl_set()
108 xswitch_info_vhdl_get(xswitch_info_t xswitch_info, in xswitch_info_vhdl_get() argument
118 return xswitch_info->vhdl[port - XSWITCH_CENSUS_PORT_MIN]; in xswitch_info_vhdl_get()
127 xswitch_info_master_assignment_set(xswitch_info_t xswitch_info, in xswitch_info_master_assignment_set() argument
138 xswitch_info->master_vhdl[port - XSWITCH_CENSUS_PORT_MIN] = master_vhdl; in xswitch_info_master_assignment_set()
142 xswitch_info_master_assignment_get(xswitch_info_t xswitch_info, in xswitch_info_master_assignment_get() argument
152 return xswitch_info->master_vhdl[port - XSWITCH_CENSUS_PORT_MIN]; in xswitch_info_master_assignment_get()
156 xswitch_info_set(vertex_hdl_t xwidget, xswitch_info_t xswitch_info) in xswitch_info_set() argument
158 xswitch_info->fingerprint = xswitch_info_fingerprint; in xswitch_info_set()
159 hwgraph_fastinfo_set(xwidget, (arbitrary_info_t) xswitch_info); in xswitch_info_set()
165 xswitch_info_t xswitch_info; in xswitch_info_new() local
167 xswitch_info = xswitch_info_get(xwidget); in xswitch_info_new()
168 if (xswitch_info == NULL) { in xswitch_info_new()
171 NEW(xswitch_info); in xswitch_info_new()
172 xswitch_info->census = 0; in xswitch_info_new()
176 xswitch_info_vhdl_set(xswitch_info, port, in xswitch_info_new()
179 xswitch_info_master_assignment_set(xswitch_info, in xswitch_info_new()
183 xswitch_info_set(xwidget, xswitch_info); in xswitch_info_new()
185 return xswitch_info; in xswitch_info_new()
192 xswitch_info_t xswitch_info = xswitch_info_get(busv); in xswitch_provider_register() local
194 ASSERT(xswitch_info); in xswitch_provider_register()
195 xswitch_info->xswitch_fns = xswitch_fns; in xswitch_provider_register()
199 xswitch_info_link_is_ok(xswitch_info_t xswitch_info, xwidgetnum_t port) in xswitch_info_link_is_ok() argument
201 xswitch_info->census |= XSWITCH_CENSUS_BIT(port); in xswitch_info_link_is_ok()
205 xswitch_info_link_ok(xswitch_info_t xswitch_info, xwidgetnum_t port) in xswitch_info_link_ok() argument
215 return (xswitch_info->census & XSWITCH_CENSUS_BIT(port)); in xswitch_info_link_ok()