Home
last modified time | relevance | path

Searched refs:w1_res (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/arch/mips/sgi-ip30/
Dip30-xtalk.c44 struct resource w1_res; in bridge_platform_create() local
53 memset(&w1_res, 0, sizeof(w1_res)); in bridge_platform_create()
54 w1_res.start = IP30_SWIN_BASE(widget) + in bridge_platform_create()
56 w1_res.end = w1_res.start + 3; in bridge_platform_create()
57 w1_res.flags = IORESOURCE_MEM; in bridge_platform_create()
64 platform_device_add_resources(pdev, &w1_res, 1); in bridge_platform_create()
/Linux-v5.10/arch/mips/sgi-ip27/
Dip27-xtalk.c31 struct resource w1_res; in bridge_platform_create() local
43 memset(&w1_res, 0, sizeof(w1_res)); in bridge_platform_create()
44 w1_res.start = offset + (widget << SWIN_SIZE_BITS) + in bridge_platform_create()
46 w1_res.end = w1_res.start + 3; in bridge_platform_create()
47 w1_res.flags = IORESOURCE_MEM; in bridge_platform_create()
54 platform_device_add_resources(pdev, &w1_res, 1); in bridge_platform_create()