Home
last modified time | relevance | path

Searched refs:bcsr_read (Results 1 – 9 of 9) sorted by relevance

/linux-5.19.10/arch/mips/alchemy/devboards/
Ddb1200.c91 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()
[all …]
Ddb1000.c32 #define F_SWAPPED (bcsr_read(BCSR_STATUS) & BCSR_STATUS_DB1000_SWAPBOOT)
42 switch (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI))) { in db1000_board_setup()
183 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc_cd_setup()
201 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc1_cd_setup()
218 return (bcsr_read(BCSR_STATUS) & BCSR_STATUS_SD0WP) ? 0 : 1; in db1100_mmc_card_readonly()
230 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc_set_power()
256 return (bcsr_read(BCSR_BOARD) & BCSR_BOARD_SD1WP) ? 1 : 0; in db1100_mmc1_card_readonly()
268 if (BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)) == BCSR_WHOAMI_DB1100) in db1100_mmc1_set_power()
447 int board = BCSR_WHOAMI_BOARD(bcsr_read(BCSR_WHOAMI)); in db1000_dev_setup()
Ddb1xxx.c23 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()
Ddb1550.c63 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()
Dbcsr.c50 unsigned short bcsr_read(enum bcsr_id reg) in bcsr_read() function
60 EXPORT_SYMBOL_GPL(bcsr_read);
Dpm.c35 hasint = bcsr_read(BCSR_WHOAMI); in db1x_pm_enter()
40 bcsrs[i] = bcsr_read(i); in db1x_pm_enter()
Ddb1300.c483 return bcsr_read(BCSR_STATUS) & BCSR_STATUS_SD0WP; in db1300_mmc_card_readonly()
488 return bcsr_read(BCSR_SIGSTAT) & (1 << 12); /* insertion irq signal */ in db1300_mmc_card_inserted()
852 swapped = bcsr_read(BCSR_STATUS) & BCSR_STATUS_DB1200_SWAPBOOT; in db1300_dev_setup()
866 whoami = bcsr_read(BCSR_WHOAMI); in db1300_board_setup()
/linux-5.19.10/drivers/pcmcia/
Ddb1xxx_ss.c73 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()
/linux-5.19.10/arch/mips/include/asm/mach-db1x00/
Dbcsr.h250 unsigned short bcsr_read(enum bcsr_id reg);