Lines Matching refs:bcsr_read
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()
455 if (bcsr_read(BCSR_SIGSTAT) & BCSR_INT_SD1INSERT) in pb1200_mmc1_cd_setup()
493 return (bcsr_read(BCSR_STATUS) & BCSR_STATUS_SD1WP) ? 1 : 0; in pb1200_mmc1_card_readonly()
498 return (bcsr_read(BCSR_SIGSTAT) & BCSR_INT_SD1INSERT) ? 1 : 0; in pb1200_mmc1_card_inserted()
594 return (bcsr_read(BCSR_SWITCHES) >> 8) & 0x0f; in db1200fb_panel_index()
778 if (BCSR_WHOAMI_CPLD(bcsr_read(BCSR_WHOAMI)) <= 3) { in pb1200_res_fixup()
806 bid = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1200_dev_setup()
871 sw = bcsr_read(BCSR_SWITCHES); in db1200_dev_setup()
932 swapped = bcsr_read(BCSR_STATUS) & BCSR_STATUS_DB1200_SWAPBOOT; in db1200_dev_setup()