Lines Matching refs:index
89 #define __R8A7791_SCIF(scif_type, index, baseaddr, irq) \ argument
90 static struct plat_sci_port scif##index##_platform_data = { \
96 static struct resource scif##index##_resources[] = { \
101 #define R8A7791_SCIF(index, baseaddr, irq) \ argument
102 __R8A7791_SCIF(PORT_SCIF, index, baseaddr, irq)
104 #define R8A7791_SCIFA(index, baseaddr, irq) \ argument
105 __R8A7791_SCIF(PORT_SCIFA, index, baseaddr, irq)
107 #define R8A7791_SCIFB(index, baseaddr, irq) \ argument
108 __R8A7791_SCIF(PORT_SCIFB, index, baseaddr, irq)
126 #define r8a7791_register_scif(index) \ argument
127 platform_device_register_resndata(NULL, "sh-sci", index, \
128 scif##index##_resources, \
129 ARRAY_SIZE(scif##index##_resources), \
130 &scif##index##_platform_data, \
131 sizeof(scif##index##_platform_data))