Home
last modified time | relevance | path

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

/openbmc/linux/drivers/memory/
H A Datmel-ebi.c297 int reg_cells) in atmel_ebi_dev_setup() argument
309 reg_cells * sizeof(u32)); in atmel_ebi_dev_setup()
311 ret = of_property_read_u32_index(np, "reg", i * reg_cells, in atmel_ebi_dev_setup()
520 int ret, reg_cells; in atmel_ebi_probe() local
590 reg_cells = val; in atmel_ebi_probe()
598 reg_cells += val; in atmel_ebi_probe()
604 ret = atmel_ebi_dev_setup(ebi, child, reg_cells); in atmel_ebi_probe()
/openbmc/linux/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c1624 int reg_cells) in atmel_nand_create() argument
1631 reg_cells * sizeof(u32)); in atmel_nand_create()
1666 ret = of_property_read_u32_index(np, "reg", i * reg_cells, in atmel_nand_create()
1853 int ret, reg_cells; in atmel_nand_controller_add_nands() local
1868 reg_cells = val; in atmel_nand_controller_add_nands()
1876 reg_cells += val; in atmel_nand_controller_add_nands()
1881 nand = atmel_nand_create(nc, nand_np, reg_cells); in atmel_nand_controller_add_nands()