Lines Matching defs:res
69 #define I2C_DEV_BUILDER(bus_id, res, data) \
73 .num_resources = ARRAY_SIZE(res), \
74 .resource = (res), \
129 struct resource *res;
132 res = pdev->resource;
133 res[0].start = OMAP1_I2C_BASE;
134 res[0].end = res[0].start + OMAP_I2C_SIZE;
135 res[1].start = INT_I2C;
148 struct resource *res;
151 res = pdev->resource;
159 res[0].start = OMAP2_I2C_BASE1;
160 res[0].end = res[0].start + OMAP_I2C_SIZE;
163 res[1].start = irq[bus_id - 1];