Searched refs:sa_info (Results 1 – 2 of 2) sorted by relevance
34 struct sa_info { struct134 static void sa1100_destroy(struct sa_info *info, struct flash_platform_data *plat) in sa1100_destroy()152 static struct sa_info *sa1100_setup_mtd(struct platform_device *pdev, in sa1100_setup_mtd()155 struct sa_info *info; in sa1100_setup_mtd()170 size = sizeof(struct sa_info) + sizeof(struct sa_subdev_info) * nr; in sa1100_setup_mtd()263 struct sa_info *info; in sa1100_mtd_probe()290 struct sa_info *info = platform_get_drvdata(pdev); in sa1100_mtd_remove()
1276 static void set_address(struct set_address_info *sa_info, char *addr) in set_address() argument1278 unsigned int ioaddr = sa_info->ioaddr; in set_address()1282 if (sa_info->reg_nr > 15) { in set_address()1283 sa_info->reg_nr = 8; in set_address()1284 sa_info->page_nr++; in set_address()1285 SelectPage(sa_info->page_nr); in set_address()1287 if (sa_info->mohawk) in set_address()1288 PutByte(sa_info->reg_nr++, addr[5 - i]); in set_address()1290 PutByte(sa_info->reg_nr++, addr[i]); in set_address()1304 struct set_address_info sa_info; in set_addresses() local[all …]