/arch/powerpc/boot/ |
D | cpm-serial.c | 92 out_be16(cpcr, (op << 8) | cpm_cmd | 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() 139 out_be16(¶m->mrblr, 1); in cpm_serial_open() 140 out_be16(¶m->maxidl, 0); in cpm_serial_open() 141 out_be16(¶m->brkec, 0); in cpm_serial_open() 142 out_be16(¶m->brkln, 0); in cpm_serial_open() 143 out_be16(¶m->brkcr, 0); in cpm_serial_open() 156 out_be16(¶m->rbase, cbd_offset); in cpm_serial_open() 157 out_be16(¶m->tbase, cbd_offset + sizeof(struct cpm_bd)); in cpm_serial_open() [all …]
|
D | io.h | 51 static inline void out_be16(volatile u16 *addr, int val) in out_be16() function
|
/arch/powerpc/platforms/52xx/ |
D | lite5200_pm.c | 143 out_be16(&cdm->fd_counters, scdm.fd_counters); in lite5200_restore_regs() 149 out_be16(&cdm->mclken_div_psc1, scdm.mclken_div_psc1); in lite5200_restore_regs() 150 out_be16(&cdm->mclken_div_psc2, scdm.mclken_div_psc2); in lite5200_restore_regs() 151 out_be16(&cdm->mclken_div_psc3, scdm.mclken_div_psc3); in lite5200_restore_regs() 152 out_be16(&cdm->mclken_div_psc6, scdm.mclken_div_psc6); in lite5200_restore_regs() 163 out_be16(&bes->PtdCntrl, sbes.PtdCntrl); in lite5200_restore_regs() 181 out_be16(&bes->tcr[i], sbes.tcr[i]); in lite5200_restore_regs()
|
D | lite5200.c | 75 out_be16(&cdm->fd_counters, 0x0001); in lite5200_fix_clock_config() 77 out_be16(&cdm->fd_counters, 0x5555); in lite5200_fix_clock_config()
|
D | mpc52xx_pm.c | 50 out_be16(&gpiow->wkup_itype, tmp); in mpc52xx_set_wakeup_gpio()
|
D | mpc52xx_common.c | 197 out_be16(reg, mclken_div); in mpc52xx_set_psc_clkdiv()
|
/arch/powerpc/sysdev/qe_lib/ |
D | ucc_fast.c | 92 out_be16(&uccf->uf_regs->utodr, UCC_FAST_TOD); in ucc_fast_transmit_on_demand() 293 out_be16(&uf_regs->urfs, uf_info->urfs); in ucc_fast_init() 294 out_be16(&uf_regs->urfet, uf_info->urfet); in ucc_fast_init() 295 out_be16(&uf_regs->urfset, uf_info->urfset); in ucc_fast_init() 296 out_be16(&uf_regs->utfs, uf_info->utfs); in ucc_fast_init() 297 out_be16(&uf_regs->utfet, uf_info->utfet); in ucc_fast_init() 298 out_be16(&uf_regs->utftt, uf_info->utftt); in ucc_fast_init()
|
D | ucc_slow.c | 205 out_be16(&uccs->us_pram->mrblr, us_info->max_rx_buf_length); in ucc_slow_init() 299 out_be16(&uccs->us_pram->rbase, uccs->rx_base_offset); in ucc_slow_init() 300 out_be16(&uccs->us_pram->tbase, uccs->tx_base_offset); in ucc_slow_init() 330 out_be16(&us_regs->uccm, us_info->uccm_mask); in ucc_slow_init() 337 out_be16(&us_regs->ucce, 0xffff); in ucc_slow_init()
|
/arch/powerpc/sysdev/ |
D | fsl_gtm.c | 219 out_be16(tmr->gtpsr, psr); in gtm_set_ref_timer16() 222 out_be16(tmr->gtcnr, 0); in gtm_set_ref_timer16() 223 out_be16(tmr->gtrfr, reference_value); in gtm_set_ref_timer16() 224 out_be16(tmr->gtevr, 0xFFFF); in gtm_set_ref_timer16() 315 out_be16(tmr->gtevr, 0xFFFF); in gtm_stop_timer16() 332 out_be16(tmr->gtevr, events); in gtm_ack_timer16()
|
D | cpm1.c | 94 out_be16(&cpic_reg->cpic_civr, 1); in cpm_get_irq() 213 out_be16(&cpmp->cp_cpcr, CPM_CR_RST | CPM_CR_FLG); in cpm_reset() 252 out_be16(&cpmp->cp_cpcr, command | CPM_CR_FLG | (opcode << 8)); in cpm_command() 568 out_be16(&iop->dat, cpm1_gc->cpdata); in __cpm1_gpio16_set()
|
D | cpm2_pic.c | 259 out_be16(&cpm2_intctl->ic_sicr, 0); in cpm2_pic_init()
|
D | fsl_lbc.c | 172 out_be16(io_base, 0x0); in fsl_upm_run_pattern()
|
D | fsl_rio.c | 270 out_be16((u16 *) data, val); in fsl_rio_config_write()
|
/arch/m68k/include/asm/ |
D | raw_io.h | 44 #define out_be16(addr,w) (void)((*(__force volatile u16 *) (unsigned long)(addr)) = (w)) macro 57 #define raw_outw(val,port) out_be16((port),(val)) 60 #define __raw_writew(val,addr) out_be16((addr),(val))
|
D | ide.h | 52 #define writew(val, port) out_be16(port, val)
|
D | io_mm.h | 249 #define isa_outw(val,port) (ISA_SEX ? out_be16(isa_itw(port),(val)) : out_le16(isa_itw(port),(val))) 258 (ISA_SEX ? out_be16(isa_mtw((unsigned long)(p)),(val)) \
|
/arch/microblaze/include/asm/ |
D | io.h | 51 #define out_be16(a, v) __raw_writew((v), (a)) macro
|
/arch/powerpc/include/asm/ |
D | io.h | 177 DEF_MMIO_OUT_D(out_be16, 16, sth); 187 DEF_MMIO_OUT_X(out_be16, 16, sthbrx); 479 #define __do_writew_be(val, addr) out_be16(PCI_FIX_ADDR(addr), val) 830 #define setbits16(_addr, _v) out_be16((_addr), in_be16(_addr) | (_v)) 831 #define clrbits16(_addr, _v) out_be16((_addr), in_be16(_addr) & ~(_v))
|
/arch/powerpc/platforms/8xx/ |
D | m8xx_setup.c | 154 out_be16(&sys_tmr2->sit_tbscr, ((1 << (7 - (irq/2))) << 8) | in mpc8xx_calibrate_decr()
|
/arch/powerpc/platforms/maple/ |
D | pci.c | 247 out_be16(addr, val); in u3_ht_root_write_config()
|
/arch/powerpc/platforms/powermac/ |
D | pci.c | 371 swap ? out_le16(addr, val) : out_be16(addr, val); in u3_ht_write_config()
|