Home
last modified time | relevance | path

Searched refs:widget (Results 1 – 7 of 7) sorted by relevance

/arch/mips/sgi-ip27/
Dip27-xtalk.c26 static void bridge_platform_create(nasid_t nasid, int widget, int masterwid) in bridge_platform_create() argument
39 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); in bridge_platform_create()
44 offset + (widget << SWIN_SIZE_BITS)); in bridge_platform_create()
47 w1_res.start = offset + (widget << SWIN_SIZE_BITS) + in bridge_platform_create()
54 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); in bridge_platform_create()
58 pr_warn("xtalk:n%d/%x bridge failed to add platform resources.\n", nasid, widget); in bridge_platform_create()
62 pr_warn("xtalk:n%d/%x bridge failed to add platform data.\n", nasid, widget); in bridge_platform_create()
66 pr_warn("xtalk:n%d/%x bridge failed to add platform device.\n", nasid, widget); in bridge_platform_create()
74 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); in bridge_platform_create()
79 pr_warn("xtalk:n%d/%x bridge create out of memory\n", nasid, widget); in bridge_platform_create()
[all …]
Dip27-hubio.c30 unsigned long hub_pio_map(nasid_t nasid, xwidgetnum_t widget, in hub_pio_map() argument
37 return NODE_SWIN_BASE(nasid, widget) + (xtalk_addr % SWIN_SIZE); in hub_pio_map()
42 nasid, widget, xtalk_addr, size); in hub_pio_map()
66 IIO_ITTE_PUT(nasid, i, HUB_PIO_MAP_TO_MEM, widget, xtalk_addr); in hub_pio_map()
69 return NODE_BWIN_BASE(nasid, widget) + (xtalk_addr % BWIN_SIZE); in hub_pio_map()
74 nasid, widget, xtalk_addr); in hub_pio_map()
/arch/mips/sgi-ip30/
Dip30-xtalk.c18 #define IP30_SWIN_BASE(widget) \ argument
19 (0x0000000010000000 | (((unsigned long)(widget)) << 24))
21 #define IP30_RAW_SWIN_BASE(widget) (IO_BASE + IP30_SWIN_BASE(widget)) argument
39 static void bridge_platform_create(int widget, int masterwid) in bridge_platform_create() argument
51 IP30_SWIN_BASE(widget)); in bridge_platform_create()
54 w1_res.start = IP30_SWIN_BASE(widget) + in bridge_platform_create()
77 bd->bridge_addr = IP30_RAW_SWIN_BASE(widget); in bridge_platform_create()
83 bd->mem.start = IP30_SWIN_BASE(widget) + BRIDGE_DEVIO0; in bridge_platform_create()
84 bd->mem.end = IP30_SWIN_BASE(widget) + IP30_SWIN_SIZE - 1; in bridge_platform_create()
86 bd->mem_offset = IP30_SWIN_BASE(widget); in bridge_platform_create()
[all …]
/arch/mips/include/asm/sn/sn0/
Daddrs.h89 #define NODE_SWIN_BASE(nasid, widget) \ argument
90 ((widget == 0) ? NODE_BWIN_BASE((nasid), SWIN0_BIGWIN) \
91 : RAW_NODE_SWIN_BASE(nasid, widget))
93 #define NODE_SWIN_BASE(nasid, widget) \ argument
94 (NODE_IO_BASE(nasid) + (UINT64_CAST(widget) << SWIN_SIZE_BITS))
Dhubio.h130 #define IIO_IGFX_INIT(widget, node, cpu, valid) (\ argument
131 (((widget) & IIO_IGFX_W_NUM_MASK) << IIO_IGFX_W_NUM_SHIFT) | \
/arch/mips/include/asm/sn/
Dio.h36 #define IIO_ITTE_PUT(nasid, bigwin, io_or_mem, widget, addr) \ argument
41 (((widget) & IIO_ITTE_WIDGET_MASK) << IIO_ITTE_WIDGET_SHIFT)))
Daddrs.h73 #define RAW_NODE_SWIN_BASE(nasid, widget) \ argument
74 (NODE_IO_BASE(nasid) + (UINT64_CAST(widget) << SWIN_SIZE_BITS))