Home
last modified time | relevance | path

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

/arch/powerpc/boot/
Dcpm-serial.c92 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(&param->mrblr, 1); in cpm_serial_open()
140 out_be16(&param->maxidl, 0); in cpm_serial_open()
141 out_be16(&param->brkec, 0); in cpm_serial_open()
142 out_be16(&param->brkln, 0); in cpm_serial_open()
143 out_be16(&param->brkcr, 0); in cpm_serial_open()
156 out_be16(&param->rbase, cbd_offset); in cpm_serial_open()
157 out_be16(&param->tbase, cbd_offset + sizeof(struct cpm_bd)); in cpm_serial_open()
[all …]
Dio.h51 static inline void out_be16(volatile u16 *addr, int val) in out_be16() function
/arch/powerpc/platforms/52xx/
Dlite5200_pm.c143 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()
Dlite5200.c75 out_be16(&cdm->fd_counters, 0x0001); in lite5200_fix_clock_config()
77 out_be16(&cdm->fd_counters, 0x5555); in lite5200_fix_clock_config()
Dmpc52xx_pm.c50 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/qe_lib/
Ducc_fast.c92 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()
Ducc_slow.c205 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/
Dfsl_gtm.c219 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()
Dcpm1.c94 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()
Dcpm2_pic.c259 out_be16(&cpm2_intctl->ic_sicr, 0); in cpm2_pic_init()
Dfsl_lbc.c172 out_be16(io_base, 0x0); in fsl_upm_run_pattern()
Dfsl_rio.c270 out_be16((u16 *) data, val); in fsl_rio_config_write()
/arch/m68k/include/asm/
Draw_io.h44 #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))
Dide.h52 #define writew(val, port) out_be16(port, val)
Dio_mm.h249 #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/
Dio.h51 #define out_be16(a, v) __raw_writew((v), (a)) macro
/arch/powerpc/include/asm/
Dio.h177 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/
Dm8xx_setup.c154 out_be16(&sys_tmr2->sit_tbscr, ((1 << (7 - (irq/2))) << 8) | in mpc8xx_calibrate_decr()
/arch/powerpc/platforms/maple/
Dpci.c247 out_be16(addr, val); in u3_ht_root_write_config()
/arch/powerpc/platforms/powermac/
Dpci.c371 swap ? out_le16(addr, val) : out_be16(addr, val); in u3_ht_write_config()