Home
last modified time | relevance | path

Searched refs:out_be16 (Results 1 – 20 of 20) sorted by relevance

/arch/powerpc/platforms/8xx/
Dmicropatch.c333 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 …]
Dcpm1.c94 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()
Dm8xx_setup.c150 out_be16(&sys_tmr2->sit_tbscr, ((1 << (7 - (irq/2))) << 8) | in mpc8xx_calibrate_decr()
/arch/powerpc/boot/
Dcpm-serial.c93 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(&param->mrblr, 1); in cpm_serial_open()
141 out_be16(&param->maxidl, 0); in cpm_serial_open()
142 out_be16(&param->brkec, 0); in cpm_serial_open()
143 out_be16(&param->brkln, 0); in cpm_serial_open()
144 out_be16(&param->brkcr, 0); in cpm_serial_open()
157 out_be16(&param->rbase, cbd_offset); in cpm_serial_open()
158 out_be16(&param->tbase, cbd_offset + sizeof(struct cpm_bd)); in cpm_serial_open()
[all …]
Dio.h52 static inline void out_be16(volatile u16 *addr, int val) in out_be16() function
/arch/powerpc/platforms/52xx/
Dlite5200_pm.c144 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()
Dlite5200.c72 out_be16(&cdm->fd_counters, 0x0001); in lite5200_fix_clock_config()
74 out_be16(&cdm->fd_counters, 0x5555); in lite5200_fix_clock_config()
Dmpc52xx_pm.c51 out_be16(&gpiow->wkup_itype, tmp); in mpc52xx_set_wakeup_gpio()
Dmpc52xx_common.c197 out_be16(reg, mclken_div); in mpc52xx_set_psc_clkdiv()
/arch/powerpc/sysdev/
Dfsl_gtm.c215 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()
Dcpm2_pic.c259 out_be16(&cpm2_intctl->ic_sicr, 0); in cpm2_pic_init()
Dfsl_lbc.c169 out_be16(io_base, 0x0); in fsl_upm_run_pattern()
Dfsl_rio.c276 out_be16((u16 *) data, val); in fsl_rio_config_write()
/arch/m68k/include/asm/
Draw_io.h31 #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))
Dide.h53 #define writew(val, port) out_be16(port, val)
Dio_mm.h207 #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/
Dio.h41 #define out_be16(a, v) __raw_writew((v), (a)) macro
/arch/powerpc/include/asm/
Dio.h146 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/
Dpci.c244 out_be16(addr, val); in u3_ht_root_write_config()
/arch/powerpc/platforms/powermac/
Dpci.c367 swap ? out_le16(addr, val) : out_be16(addr, val); in u3_ht_write_config()