Lines Matching refs:bcsr_read
91 if (BCSR_WHOAMI_DB1200 == BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI))) { in db1200_detect_board()
92 unsigned short t = bcsr_read(BCSR_HEXLEDS); in db1200_detect_board()
94 if (bcsr_read(BCSR_HEXLEDS) != t) { in db1200_detect_board()
103 bid = 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()
124 whoami = bcsr_read(BCSR_WHOAMI); in db1200_board_setup()
378 if (bcsr_read(BCSR_SIGSTAT) & BCSR_INT_SD0INSERT) in db1200_mmc_cd_setup()
403 return (bcsr_read(BCSR_STATUS) & BCSR_STATUS_SD0WP) ? 1 : 0; in db1200_mmc_card_readonly()
408 return (bcsr_read(BCSR_SIGSTAT) & BCSR_INT_SD0INSERT) ? 1 : 0; in db1200_mmc_card_inserted()
469 if (bcsr_read(BCSR_SIGSTAT) & BCSR_INT_SD1INSERT) in pb1200_mmc1_cd_setup()
507 return (bcsr_read(BCSR_STATUS) & BCSR_STATUS_SD1WP) ? 1 : 0; in pb1200_mmc1_card_readonly()
512 return (bcsr_read(BCSR_SIGSTAT) & BCSR_INT_SD1INSERT) ? 1 : 0; in pb1200_mmc1_card_inserted()
607 return (bcsr_read(BCSR_SWITCHES) >> 8) & 0x0f; in db1200fb_panel_index()
787 if (BCSR_WHOAMI_CPLD(bcsr_read(BCSR_WHOAMI)) <= 3) { in pb1200_res_fixup()
815 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1200_dev_setup()
880 sw = bcsr_read(BCSR_SWITCHES); in db1200_dev_setup()
941 swapped = bcsr_read(BCSR_STATUS) & BCSR_STATUS_DB1200_SWAPBOOT; in db1200_dev_setup()