Searched refs:bcsr_read (Results 1 – 9 of 9) sorted by relevance
90 if (BCSR_WHOAMI_DB1200 == BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI))) { in db1200_detect_board()91 unsigned short t = bcsr_read(BCSR_HEXLEDS); in db1200_detect_board()93 if (bcsr_read(BCSR_HEXLEDS) != t) { in db1200_detect_board()102 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1200_detect_board()105 unsigned short t = bcsr_read(BCSR_HEXLEDS); in db1200_detect_board()107 if (bcsr_read(BCSR_HEXLEDS) != t) { in db1200_detect_board()123 whoami = bcsr_read(BCSR_WHOAMI); in db1200_board_setup()371 if (bcsr_read(BCSR_SIGSTAT) & BCSR_INT_SD0INSERT) in db1200_mmc_cd_setup()396 return (bcsr_read(BCSR_STATUS) & BCSR_STATUS_SD0WP) ? 1 : 0; in db1200_mmc_card_readonly()401 return (bcsr_read(BCSR_SIGSTAT) & BCSR_INT_SD0INSERT) ? 1 : 0; in db1200_mmc_card_inserted()[all …]
32 #define F_SWAPPED (bcsr_read(BCSR_STATUS) & BCSR_STATUS_DB1000_SWAPBOOT)42 switch (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI))) { in db1000_board_setup()179 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc_cd_setup()197 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc1_cd_setup()214 return (bcsr_read(BCSR_STATUS) & BCSR_STATUS_SD0WP) ? 0 : 1; in db1100_mmc_card_readonly()226 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc_set_power()252 return (bcsr_read(BCSR_BOARD) & BCSR_BOARD_SD1WP) ? 1 : 0; in db1100_mmc1_card_readonly()264 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc1_set_power()452 int board = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1000_dev_setup()
23 switch (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI))) { in board_type_str()86 int id = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1xxx_arch_init()103 switch (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI))) { in db1xxx_dev_init()
63 whoami = bcsr_read(BCSR_WHOAMI); /* PB1550 hexled offset differs */ in db1550_board_setup()222 ((bcsr_read(BCSR_STATUS) >> 6) & 0x1); in pb1550_nand_setup()587 id = (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) != BCSR_WHOAMI_DB1550); in db1550_dev_setup()624 swapped = bcsr_read(BCSR_STATUS) & in db1550_dev_setup()
50 unsigned short bcsr_read(enum bcsr_id reg) in bcsr_read() function60 EXPORT_SYMBOL_GPL(bcsr_read);
35 hasint = bcsr_read(BCSR_WHOAMI); in db1x_pm_enter()40 bcsrs[i] = bcsr_read(i); in db1x_pm_enter()
476 return bcsr_read(BCSR_STATUS) & BCSR_STATUS_SD0WP; in db1300_mmc_card_readonly()481 return bcsr_read(BCSR_SIGSTAT) & (1 << 12); /* insertion irq signal */ in db1300_mmc_card_inserted()848 swapped = bcsr_read(BCSR_STATUS) & BCSR_STATUS_DB1200_SWAPBOOT; in db1300_dev_setup()862 whoami = bcsr_read(BCSR_WHOAMI); in db1300_board_setup()
73 return bcsr_read(BCSR_SIGSTAT) & (1 << 8); in db1300_card_inserted()81 sigstat = bcsr_read(BCSR_SIGSTAT); in db1200_card_inserted()347 cr = bcsr_read(BCSR_PCMCIA); in db1x_pcmcia_get_status()348 sr = bcsr_read(BCSR_STATUS); in db1x_pcmcia_get_status()436 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1x_pcmcia_socket_probe()
250 unsigned short bcsr_read(enum bcsr_id reg);