Lines Matching refs:nasid

26 static void bridge_platform_create(nasid_t nasid, int widget, int masterwid)  in bridge_platform_create()  argument
34 offset = NODE_OFFSET(nasid); in bridge_platform_create()
68 bd->bridge_addr = RAW_NODE_SWIN_BASE(nasid, widget); in bridge_platform_create()
70 bd->nasid = nasid; in bridge_platform_create()
87 pr_info("xtalk:n%d/%x bridge widget\n", nasid, widget); in bridge_platform_create()
91 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); in bridge_platform_create()
94 static int probe_one_port(nasid_t nasid, int widget, int masterwid) in probe_one_port() argument
100 (RAW_NODE_SWIN_BASE(nasid, widget) + WIDGET_ID); in probe_one_port()
106 bridge_platform_create(nasid, widget, masterwid); in probe_one_port()
110 nasid, widget, partnum); in probe_one_port()
117 static int xbow_probe(nasid_t nasid) in xbow_probe() argument
127 brd = find_lboard((lboard_t *)KL_CONFIG_INFO(nasid), KLTYPE_MIDPLANE8); in xbow_probe()
156 if (nasid != XBOW_PORT_NASID(xbow_p, i)) in xbow_probe()
162 probe_one_port(nasid, i, masterwid); in xbow_probe()
168 static void xtalk_probe_node(nasid_t nasid) in xtalk_probe_node() argument
174 hubreg = REMOTE_HUB_L(nasid, IIO_LLP_CSR); in xtalk_probe_node()
181 (RAW_NODE_SWIN_BASE(nasid, 0x0) + WIDGET_ID); in xtalk_probe_node()
186 bridge_platform_create(nasid, 0x8, 0xa); in xtalk_probe_node()
190 pr_info("xtalk:n%d/0 xbow widget\n", nasid); in xtalk_probe_node()
191 xbow_probe(nasid); in xtalk_probe_node()
194 pr_info("xtalk:n%d/0 unknown widget (0x%x)\n", nasid, partnum); in xtalk_probe_node()
201 nasid_t nasid; in xtalk_init() local
203 for_each_online_node(nasid) in xtalk_init()
204 xtalk_probe_node(nasid); in xtalk_init()