/arch/powerpc/platforms/8xx/ |
D | micropatch.c | 333 out_be16(&cp->cp_rccr, 0); in cpm_load_patch() 346 out_be16(&iip->iic_rpbase, rpbase); in cpm_load_patch() 350 out_be16(&spp->rpbase, (rpbase + sizeof(iic_t) + 31) & ~31); in cpm_load_patch() 356 out_be16(&smp->smc_rpbase, 0x1FC0); in cpm_load_patch() 375 out_be16(&smp->smc_rpbase, 0x1ec0); in cpm_load_patch() 377 out_be16(&smp->smc_rpbase, 0x1fc0); in cpm_load_patch() 380 out_be16(&cp->cp_cpmcr1, patch_params.cpmcr1); in cpm_load_patch() 381 out_be16(&cp->cp_cpmcr2, patch_params.cpmcr2); in cpm_load_patch() 382 out_be16(&cp->cp_cpmcr3, patch_params.cpmcr3); in cpm_load_patch() 383 out_be16(&cp->cp_cpmcr4, patch_params.cpmcr4); in cpm_load_patch() [all …]
|
D | cpm1.c | 94 out_be16(&cpic_reg->cpic_civr, 1); in cpm_get_irq() 202 out_be16(&cpmp->cp_cpcr, CPM_CR_RST | CPM_CR_FLG); in cpm_reset() 242 out_be16(&cpmp->cp_cpcr, command | CPM_CR_FLG | (opcode << 8)); in cpm_command() 562 out_be16(&iop->dat, cpm1_gc->cpdata); in __cpm1_gpio16_set()
|
D | m8xx_setup.c | 150 out_be16(&sys_tmr2->sit_tbscr, ((1 << (7 - (irq/2))) << 8) | in mpc8xx_calibrate_decr()
|
/arch/powerpc/boot/ |
D | cpm-serial.c | 93 out_be16(cpcr, (op << 8) | cpm_cmd | 1); in cpm1_cmd() 113 out_be16(&smc->smcmr, in_be16(&smc->smcmr) & ~3); in smc_disable_port() 124 out_be16(&smc->smcmr, in_be16(&smc->smcmr) | 3); in smc_enable_port() 140 out_be16(¶m->mrblr, 1); in cpm_serial_open() 141 out_be16(¶m->maxidl, 0); in cpm_serial_open() 142 out_be16(¶m->brkec, 0); in cpm_serial_open() 143 out_be16(¶m->brkln, 0); in cpm_serial_open() 144 out_be16(¶m->brkcr, 0); in cpm_serial_open() 157 out_be16(¶m->rbase, cbd_offset); in cpm_serial_open() 158 out_be16(¶m->tbase, cbd_offset + sizeof(struct cpm_bd)); in cpm_serial_open() [all …]
|
D | io.h | 52 static inline void out_be16(volatile u16 *addr, int val) in out_be16() function
|
/arch/powerpc/platforms/52xx/ |
D | lite5200_pm.c | 144 out_be16(&cdm->fd_counters, scdm.fd_counters); in lite5200_restore_regs() 150 out_be16(&cdm->mclken_div_psc1, scdm.mclken_div_psc1); in lite5200_restore_regs() 151 out_be16(&cdm->mclken_div_psc2, scdm.mclken_div_psc2); in lite5200_restore_regs() 152 out_be16(&cdm->mclken_div_psc3, scdm.mclken_div_psc3); in lite5200_restore_regs() 153 out_be16(&cdm->mclken_div_psc6, scdm.mclken_div_psc6); in lite5200_restore_regs() 164 out_be16(&bes->PtdCntrl, sbes.PtdCntrl); in lite5200_restore_regs() 182 out_be16(&bes->tcr[i], sbes.tcr[i]); in lite5200_restore_regs()
|
D | lite5200.c | 72 out_be16(&cdm->fd_counters, 0x0001); in lite5200_fix_clock_config() 74 out_be16(&cdm->fd_counters, 0x5555); in lite5200_fix_clock_config()
|
D | mpc52xx_pm.c | 51 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/ |
D | fsl_gtm.c | 215 out_be16(tmr->gtpsr, psr); in gtm_set_ref_timer16() 218 out_be16(tmr->gtcnr, 0); in gtm_set_ref_timer16() 219 out_be16(tmr->gtrfr, reference_value); in gtm_set_ref_timer16() 220 out_be16(tmr->gtevr, 0xFFFF); in gtm_set_ref_timer16() 311 out_be16(tmr->gtevr, 0xFFFF); in gtm_stop_timer16() 328 out_be16(tmr->gtevr, events); in gtm_ack_timer16()
|
D | cpm2_pic.c | 259 out_be16(&cpm2_intctl->ic_sicr, 0); in cpm2_pic_init()
|
D | fsl_lbc.c | 169 out_be16(io_base, 0x0); in fsl_upm_run_pattern()
|
D | fsl_rio.c | 276 out_be16((u16 *) data, val); in fsl_rio_config_write()
|
/arch/m68k/include/asm/ |
D | raw_io.h | 31 #define out_be16(addr,w) (void)((*(__force volatile u16 *) (unsigned long)(addr)) = (w)) macro 44 #define raw_outw(val,port) out_be16((port),(val)) 47 #define __raw_writew(val,addr) out_be16((addr),(val))
|
D | ide.h | 53 #define writew(val, port) out_be16(port, val)
|
D | io_mm.h | 207 #define isa_outw(val,port) (ISA_SEX ? out_be16(isa_itw(port),(val)) : out_le16(isa_itw(port),(val))) 216 (ISA_SEX ? out_be16(isa_mtw((unsigned long)(p)),(val)) \
|
/arch/microblaze/include/asm/ |
D | io.h | 41 #define out_be16(a, v) __raw_writew((v), (a)) macro
|
/arch/powerpc/include/asm/ |
D | io.h | 146 DEF_MMIO_OUT_D(out_be16, 16, sth); 156 DEF_MMIO_OUT_X(out_be16, 16, sthbrx); 529 #define __do_writew_be(val, addr) out_be16(PCI_FIX_ADDR(addr), val) 998 #define setbits16(_addr, _v) out_be16((_addr), in_be16(_addr) | (_v)) 999 #define clrbits16(_addr, _v) out_be16((_addr), in_be16(_addr) & ~(_v))
|
/arch/powerpc/platforms/maple/ |
D | pci.c | 244 out_be16(addr, val); in u3_ht_root_write_config()
|
/arch/powerpc/platforms/powermac/ |
D | pci.c | 367 swap ? out_le16(addr, val) : out_be16(addr, val); in u3_ht_write_config()
|