ts78xx_fpga        40 arch/arm/mach-orion5x/ts78xx-setup.c static struct ts78xx_fpga_data ts78xx_fpga = {
ts78xx_fpga       100 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.supports.ts_rtc.init == 0) {
ts78xx_fpga       103 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_rtc.init = 1;
ts78xx_fpga       268 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.supports.ts_nand.init == 0) {
ts78xx_fpga       271 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_nand.init = 1;
ts78xx_fpga       311 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.supports.ts_rng.init == 0) {
ts78xx_fpga       314 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_rng.init = 1;
ts78xx_fpga       333 arch/arm/mach-orion5x/ts78xx-setup.c 	ts78xx_fpga.supports.ts_rtc.init = 0;
ts78xx_fpga       334 arch/arm/mach-orion5x/ts78xx-setup.c 	ts78xx_fpga.supports.ts_nand.init = 0;
ts78xx_fpga       335 arch/arm/mach-orion5x/ts78xx-setup.c 	ts78xx_fpga.supports.ts_rng.init = 0;
ts78xx_fpga       341 arch/arm/mach-orion5x/ts78xx-setup.c 	switch (ts78xx_fpga.id) {
ts78xx_fpga       351 arch/arm/mach-orion5x/ts78xx-setup.c 		ts78xx_fpga.supports.ts_rtc.present = 1;
ts78xx_fpga       352 arch/arm/mach-orion5x/ts78xx-setup.c 		ts78xx_fpga.supports.ts_nand.present = 1;
ts78xx_fpga       353 arch/arm/mach-orion5x/ts78xx-setup.c 		ts78xx_fpga.supports.ts_rng.present = 1;
ts78xx_fpga       357 arch/arm/mach-orion5x/ts78xx-setup.c 		switch ((ts78xx_fpga.id >> 8) & 0xffffff) {
ts78xx_fpga       360 arch/arm/mach-orion5x/ts78xx-setup.c 				ts78xx_fpga.id & 0xff);
ts78xx_fpga       361 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_rtc.present = 1;
ts78xx_fpga       362 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_nand.present = 1;
ts78xx_fpga       363 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_rng.present = 1;
ts78xx_fpga       366 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_rtc.present = 0;
ts78xx_fpga       367 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_nand.present = 0;
ts78xx_fpga       368 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_rng.present = 0;
ts78xx_fpga       377 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.supports.ts_rtc.present == 1) {
ts78xx_fpga       380 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_rtc.present = 0;
ts78xx_fpga       383 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.supports.ts_nand.present == 1) {
ts78xx_fpga       386 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_nand.present = 0;
ts78xx_fpga       389 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.supports.ts_rng.present == 1) {
ts78xx_fpga       392 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.supports.ts_rng.present = 0;
ts78xx_fpga       403 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.supports.ts_rtc.present == 1)
ts78xx_fpga       405 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.supports.ts_nand.present == 1)
ts78xx_fpga       407 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.supports.ts_rng.present == 1)
ts78xx_fpga       415 arch/arm/mach-orion5x/ts78xx-setup.c 	ts78xx_fpga.id = readl(TS78XX_FPGA_REGS_VIRT_BASE);
ts78xx_fpga       418 arch/arm/mach-orion5x/ts78xx-setup.c 			(ts78xx_fpga.id >> 8) & 0xffffff,
ts78xx_fpga       419 arch/arm/mach-orion5x/ts78xx-setup.c 			ts78xx_fpga.id & 0xff);
ts78xx_fpga       424 arch/arm/mach-orion5x/ts78xx-setup.c 		ts78xx_fpga.state = -1;
ts78xx_fpga       444 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.id != fpga_id) {
ts78xx_fpga       447 arch/arm/mach-orion5x/ts78xx-setup.c 			(ts78xx_fpga.id >> 8) & 0xffffff, ts78xx_fpga.id & 0xff,
ts78xx_fpga       449 arch/arm/mach-orion5x/ts78xx-setup.c 		ts78xx_fpga.state = -1;
ts78xx_fpga       454 arch/arm/mach-orion5x/ts78xx-setup.c 		ts78xx_fpga.state = -1;
ts78xx_fpga       464 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.state < 0)
ts78xx_fpga       467 arch/arm/mach-orion5x/ts78xx-setup.c 	return sprintf(buf, "%s\n", (ts78xx_fpga.state) ? "online" : "offline");
ts78xx_fpga       475 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.state < 0) {
ts78xx_fpga       487 arch/arm/mach-orion5x/ts78xx-setup.c 	if (ts78xx_fpga.state == value)
ts78xx_fpga       490 arch/arm/mach-orion5x/ts78xx-setup.c 	ret = (ts78xx_fpga.state == 0)
ts78xx_fpga       495 arch/arm/mach-orion5x/ts78xx-setup.c 		ts78xx_fpga.state = value;
ts78xx_fpga       501 arch/arm/mach-orion5x/ts78xx-setup.c 	__ATTR(ts78xx_fpga, 0644, ts78xx_fpga_show, ts78xx_fpga_store);