Searched refs:bcsr_read (Results 1 – 8 of 8) sorted by relevance
105 if (BCSR_WHOAMI_DB1200 == BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI))) { in db1200_detect_board()106 unsigned short t = bcsr_read(BCSR_HEXLEDS); in db1200_detect_board()108 if (bcsr_read(BCSR_HEXLEDS) != t) { in db1200_detect_board()117 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1200_detect_board()120 unsigned short t = bcsr_read(BCSR_HEXLEDS); in db1200_detect_board()122 if (bcsr_read(BCSR_HEXLEDS) != t) { in db1200_detect_board()138 whoami = bcsr_read(BCSR_WHOAMI); in db1200_board_setup()389 if (bcsr_read(BCSR_SIGSTAT) & BCSR_INT_SD0INSERT) in db1200_mmc_cd_setup()414 return (bcsr_read(BCSR_STATUS) & BCSR_STATUS_SD0WP) ? 1 : 0; in db1200_mmc_card_readonly()419 return (bcsr_read(BCSR_SIGSTAT) & BCSR_INT_SD0INSERT) ? 1 : 0; in db1200_mmc_card_inserted()[all …]
21 switch (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI))) { in board_type_str()84 int id = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1xxx_arch_init()100 switch (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI))) { in db1xxx_dev_init()
43 #define F_SWAPPED (bcsr_read(BCSR_STATUS) & BCSR_STATUS_DB1000_SWAPBOOT)53 switch (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI))) { in db1000_board_setup()190 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc_cd_setup()208 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc1_cd_setup()225 return (bcsr_read(BCSR_STATUS) & BCSR_STATUS_SD0WP) ? 0 : 1; in db1100_mmc_card_readonly()237 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc_set_power()263 return (bcsr_read(BCSR_BOARD) & BCSR_BOARD_SD1WP) ? 1 : 0; in db1100_mmc1_card_readonly()275 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc1_set_power()497 int board = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1000_dev_setup()
47 unsigned short bcsr_read(enum bcsr_id reg) in bcsr_read() function57 EXPORT_SYMBOL_GPL(bcsr_read);
62 whoami = bcsr_read(BCSR_WHOAMI); /* PB1550 hexled offset differs */ in db1550_board_setup()219 ((bcsr_read(BCSR_STATUS) >> 6) & 0x1); in pb1550_nand_setup()577 id = (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) != BCSR_WHOAMI_DB1550); in db1550_dev_setup()614 swapped = bcsr_read(BCSR_STATUS) & in db1550_dev_setup()
34 hasint = bcsr_read(BCSR_WHOAMI); in db1x_pm_enter()39 bcsrs[i] = bcsr_read(i); in db1x_pm_enter()
475 return bcsr_read(BCSR_STATUS) & BCSR_STATUS_SD0WP; in db1300_mmc_card_readonly()480 return bcsr_read(BCSR_SIGSTAT) & (1 << 12); /* insertion irq signal */ in db1300_mmc_card_inserted()835 swapped = bcsr_read(BCSR_STATUS) & BCSR_STATUS_DB1200_SWAPBOOT; in db1300_dev_setup()849 whoami = bcsr_read(BCSR_WHOAMI); in db1300_board_setup()
249 unsigned short bcsr_read(enum bcsr_id reg);