Home
last modified time | relevance | path

Searched refs:in_be16 (Results 1 – 14 of 14) sorted by relevance

/arch/powerpc/boot/
Dmpc52xx-psc.c37 while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_TXRDY)) ; in psc_putc()
43 return (in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY) != 0; in psc_tstc()
48 while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY)) ; in psc_getc()
Dcpm-serial.c89 while (in_be16(cpcr) & 1) in cpm1_cmd()
94 while (in_be16(cpcr) & 1) in cpm1_cmd()
112 out_be16(&smc->smcmr, in_be16(&smc->smcmr) & ~3); in smc_disable_port()
123 out_be16(&smc->smcmr, in_be16(&smc->smcmr) | 3); in smc_enable_port()
Dio.h36 static inline unsigned in_be16(const volatile u16 *addr) in in_be16() function
/arch/powerpc/sysdev/qe_lib/
Ducc_fast.c40 &uccf->uf_regs->utodr, in_be16(&uccf->uf_regs->utodr)); in ucc_fast_dump_regs()
42 &uccf->uf_regs->udsr, in_be16(&uccf->uf_regs->udsr)); in ucc_fast_dump_regs()
52 &uccf->uf_regs->urfs, in_be16(&uccf->uf_regs->urfs)); in ucc_fast_dump_regs()
54 &uccf->uf_regs->urfet, in_be16(&uccf->uf_regs->urfet)); in ucc_fast_dump_regs()
56 &uccf->uf_regs->urfset, in_be16(&uccf->uf_regs->urfset)); in ucc_fast_dump_regs()
60 &uccf->uf_regs->utfs, in_be16(&uccf->uf_regs->utfs)); in ucc_fast_dump_regs()
62 &uccf->uf_regs->utfet, in_be16(&uccf->uf_regs->utfet)); in ucc_fast_dump_regs()
64 &uccf->uf_regs->utftt, in_be16(&uccf->uf_regs->utftt)); in ucc_fast_dump_regs()
66 &uccf->uf_regs->utpt, in_be16(&uccf->uf_regs->utpt)); in ucc_fast_dump_regs()
/arch/m68k/include/asm/
Draw_io.h34 #define in_be16(addr) \ macro
50 #define raw_inw in_be16
53 #define __raw_readw in_be16
Dide.h48 #define readw in_be16
Dio_mm.h246 #define isa_inw(port) (ISA_SEX ? in_be16(isa_itw(port)) : in_le16(isa_itw(port)))
254 (ISA_SEX ? in_be16(isa_mtw((unsigned long)(p))) \
/arch/powerpc/sysdev/
Dcpm1.c95 cpm_vec = in_be16(&cpic_reg->cpic_civr); in cpm_get_irq()
217 while (in_be16(&cpmp->cp_cpcr) & CPM_CR_FLG); in cpm_reset()
254 if ((in_be16(&cpmp->cp_cpcr) & CPM_CR_FLG) == 0) in cpm_command()
543 cpm1_gc->cpdata = in_be16(&iop->dat); in cpm1_gpio16_save_regs()
554 return !!(in_be16(&iop->dat) & pin_mask); in cpm1_gpio16_get()
/arch/microblaze/include/asm/
Dio.h54 #define in_be16(a) __raw_readw(a) macro
/arch/powerpc/include/asm/
Dio.h172 DEF_MMIO_IN_D(in_be16, 16, lhz);
182 DEF_MMIO_IN_X(in_be16, 16, lhbrx);
496 #define __do_readw_be(addr) in_be16(PCI_FIX_ADDR(addr))
830 #define setbits16(_addr, _v) out_be16((_addr), in_be16(_addr) | (_v))
831 #define clrbits16(_addr, _v) out_be16((_addr), in_be16(_addr) & ~(_v))
Deeh.h395 u16 val = in_be16(addr); in eeh_readw_be()
/arch/powerpc/platforms/52xx/
Dmpc52xx_pm.c47 tmp = in_be16(&gpiow->wkup_itype); in mpc52xx_set_wakeup_gpio()
/arch/powerpc/platforms/maple/
Dpci.c222 *val = in_be16(addr); in u3_ht_root_read_config()
/arch/powerpc/platforms/powermac/
Dpci.c328 *val = swap ? in_le16(addr) : in_be16(addr); in u3_ht_read_config()