Searched refs:in_be16 (Results 1 – 14 of 14) sorted by relevance
/arch/powerpc/boot/ |
D | mpc52xx-psc.c | 37 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()
|
D | cpm-serial.c | 89 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()
|
D | io.h | 36 static inline unsigned in_be16(const volatile u16 *addr) in in_be16() function
|
/arch/powerpc/sysdev/qe_lib/ |
D | ucc_fast.c | 40 &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/ |
D | raw_io.h | 34 #define in_be16(addr) \ macro 50 #define raw_inw in_be16 53 #define __raw_readw in_be16
|
D | ide.h | 48 #define readw in_be16
|
D | io_mm.h | 246 #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/ |
D | cpm1.c | 95 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/ |
D | io.h | 54 #define in_be16(a) __raw_readw(a) macro
|
/arch/powerpc/include/asm/ |
D | io.h | 172 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))
|
D | eeh.h | 395 u16 val = in_be16(addr); in eeh_readw_be()
|
/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pm.c | 47 tmp = in_be16(&gpiow->wkup_itype); in mpc52xx_set_wakeup_gpio()
|
/arch/powerpc/platforms/maple/ |
D | pci.c | 222 *val = in_be16(addr); in u3_ht_root_read_config()
|
/arch/powerpc/platforms/powermac/ |
D | pci.c | 328 *val = swap ? in_le16(addr) : in_be16(addr); in u3_ht_read_config()
|