Lines Matching refs:cells
101 * on to pass .pdata_size to cells.
148 struct mfd_cell *cells;
180 cells = kcalloc(TPS68470_WIN_MFD_CELL_COUNT, sizeof(*cells), GFP_KERNEL);
181 if (!cells)
185 * The order of the cells matters here! The clk must be first
190 cells[0].name = "tps68470-clk";
191 cells[0].platform_data = clk_pdata;
192 cells[0].pdata_size = struct_size(clk_pdata, consumers, n_consumers);
193 cells[1].name = "tps68470-regulator";
194 cells[1].platform_data = (void *)board_data->tps68470_regulator_pdata;
195 cells[1].pdata_size = sizeof(struct tps68470_regulator_platform_data);
196 cells[2].name = "tps68470-gpio";
202 cells, TPS68470_WIN_MFD_CELL_COUNT,
204 kfree(cells);