/linux-3.4.99/drivers/video/ |
D | hpfb.c | 97 out_be16(fb_regs + 0x60ba, 0xff); in hpfb_setcolreg() 99 out_be16(fb_regs + 0x60b2, _red); in hpfb_setcolreg() 100 out_be16(fb_regs + 0x60b4, _green); in hpfb_setcolreg() 101 out_be16(fb_regs + 0x60b6, _blue); in hpfb_setcolreg() 102 out_be16(fb_regs + 0x60b8, ~_regno); in hpfb_setcolreg() 103 out_be16(fb_regs + 0x60f0, 0xff); in hpfb_setcolreg() 108 out_be16(fb_regs + 0x60b2, 0); in hpfb_setcolreg() 109 out_be16(fb_regs + 0x60b4, 0); in hpfb_setcolreg() 110 out_be16(fb_regs + 0x60b6, 0); in hpfb_setcolreg() 111 out_be16(fb_regs + 0x60b8, 0); in hpfb_setcolreg() [all …]
|
/linux-3.4.99/drivers/usb/host/ |
D | fhci-tds.c | 218 out_be16(&td->status, 0); in fhci_create_ep() 219 out_be16(&td->length, 0); in fhci_create_ep() 220 out_be16(&td->extra, 0); in fhci_create_ep() 224 out_be16(&td->status, TD_W); /* for last TD set Wrap bit */ in fhci_create_ep() 225 out_be16(&td->length, 0); in fhci_create_ep() 252 out_be16(&usb->fhci->regs->usb_ep[0], in fhci_init_ep_registers() 254 out_be16(&usb->fhci->pram->ep_ptr[0], in fhci_init_ep_registers() 264 out_be16(&ep->ep_pram_ptr->rx_buff_len, 1028); in fhci_init_ep_registers() 265 out_be16(&ep->ep_pram_ptr->rx_base, 0); in fhci_init_ep_registers() 266 out_be16(&ep->ep_pram_ptr->tx_base, cpm_muram_offset(ep->td_base)); in fhci_init_ep_registers() [all …]
|
D | fhci-hcd.c | 41 out_be16(&fhci->pram->frame_num, 0); in fhci_start_sof_timer() 43 out_be16(&fhci->regs->usb_sof_tmr, 0); in fhci_start_sof_timer() 91 out_be16(&usb->fhci->regs->usb_event, 0xffff); in fhci_usb_enable_interrupt() 92 out_be16(&usb->fhci->regs->usb_mask, usb->saved_msk); in fhci_usb_enable_interrupt() 112 out_be16(&usb->fhci->regs->usb_mask, 0); in fhci_usb_disable_interrupt() 122 out_be16(&usb->fhci->regs->usb_event, 0xffff); in fhci_usb_enable() 123 out_be16(&usb->fhci->regs->usb_mask, usb->saved_msk); in fhci_usb_enable() 277 out_be16(&fhci->pram->frame_num, 0); in fhci_usb_init() 291 out_be16(&usb->fhci->regs->usb_mask, 0); in fhci_usb_init() 294 out_be16(&usb->fhci->regs->usb_event, 0xffff); in fhci_usb_init() [all …]
|
D | fhci-hub.c | 100 out_be16(&usb->fhci->regs->usb_mask, usb->saved_msk); in fhci_port_disable() 166 out_be16(&fhci->regs->usb_mask, mask & (~USB_E_IDLE_MASK)); in fhci_port_reset() 171 out_be16(&fhci->regs->usb_mask, mask); in fhci_port_reset()
|
/linux-3.4.99/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_core.c | 392 out_be16(&sccp->scc_scce, events); in cpm_uart_int() 481 out_be16(&pinfo->smcup->smc_brkcr, 0); in cpm_uart_shutdown() 484 out_be16(&pinfo->sccup->scc_brkcr, 0); in cpm_uart_shutdown() 612 out_be16(&pinfo->smcup->smc_mrblr, pinfo->rx_fifosize); in cpm_uart_set_termios() 621 out_be16(&smcp->smc_smcmr, smcr_mk_clen(bits) | cval | in cpm_uart_set_termios() 624 out_be16(&pinfo->sccup->scc_genscc.scc_mrblr, pinfo->rx_fifosize); in cpm_uart_set_termios() 625 out_be16(&sccp->scc_psmr, (sbits << 12) | scval); in cpm_uart_set_termios() 681 out_be16(&bdp->cbd_datlen, 1); in cpm_uart_tx_pump() 715 out_be16(&bdp->cbd_datlen, count); in cpm_uart_tx_pump() 755 out_be16(&bdp->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT); in cpm_uart_initbd() [all …]
|
/linux-3.4.99/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
|
/linux-3.4.99/drivers/tty/serial/ |
D | ucc_uart.c | 345 out_be16(&bdp->length, 1); in qe_uart_tx_pump() 380 out_be16(&bdp->length, count); in qe_uart_tx_pump() 582 out_be16(&uccp->ucce, events); in qe_uart_int() 613 out_be16(&bdp->status, BD_SC_EMPTY | BD_SC_INTRPT); in qe_uart_initbd() 615 out_be16(&bdp->length, 0); in qe_uart_initbd() 621 out_be16(&bdp->status, BD_SC_WRAP | BD_SC_EMPTY | BD_SC_INTRPT); in qe_uart_initbd() 623 out_be16(&bdp->length, 0); in qe_uart_initbd() 634 out_be16(&bdp->status, BD_SC_INTRPT); in qe_uart_initbd() 636 out_be16(&bdp->length, 0); in qe_uart_initbd() 646 out_be16(&bdp->status, BD_SC_WRAP | BD_SC_INTRPT); in qe_uart_initbd() [all …]
|
D | mpc52xx_uart.c | 132 out_be16(&psc->mpc52xx_psc_clock_select, prescaler); in mpc52xx_set_divisor() 145 out_be16(&fifo->rfalarm, 0x1ff); in mpc52xx_psc_fifo_init() 147 out_be16(&fifo->tfalarm, 0x80); in mpc52xx_psc_fifo_init() 150 out_be16(&psc->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_fifo_init() 189 out_be16(&PSC(port)->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_start_tx() 195 out_be16(&PSC(port)->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_stop_tx() 201 out_be16(&PSC(port)->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_stop_rx() 224 out_be16(&PSC(port)->mpc52xx_psc_imr, 0); in mpc52xx_psc_cw_disable_ints() 229 out_be16(&PSC(port)->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_cw_restore_ints() 350 out_be16(&PSC(port)->mpc52xx_psc_clock_select, 0xdd00); in mpc512x_psc_fifo_init() [all …]
|
/linux-3.4.99/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()
|
/linux-3.4.99/drivers/i2c/busses/ |
D | i2c-cpm.c | 153 out_be16(&i2c_ram->tbase, (u8 __iomem *)cpm->tbase - DPRAM_BASE); in cpm_reset_i2c_params() 154 out_be16(&i2c_ram->rbase, (u8 __iomem *)cpm->rbase - DPRAM_BASE); in cpm_reset_i2c_params() 164 out_be16(&i2c_ram->mrblr, CPM_MAX_READ); in cpm_reset_i2c_params() 168 out_be16(&i2c_ram->rbptr, 0); in cpm_reset_i2c_params() 169 out_be16(&i2c_ram->rbc, 0); in cpm_reset_i2c_params() 173 out_be16(&i2c_ram->tbptr, 0); in cpm_reset_i2c_params() 174 out_be16(&i2c_ram->tbc, 0); in cpm_reset_i2c_params() 216 out_be16(&tbdf->cbd_datlen, pmsg->len + 1); in cpm_i2c_parse_message() 217 out_be16(&tbdf->cbd_sc, 0); in cpm_i2c_parse_message() 234 out_be16(&rbdf->cbd_datlen, 0); in cpm_i2c_parse_message() [all …]
|
/linux-3.4.99/arch/powerpc/sysdev/bestcomm/ |
D | bestcomm_priv.h | 257 out_be16(&bcom_eng->regs->PtdCntrl, regval | 1); in bcom_disable_prefetch() 265 out_be16(&bcom_eng->regs->tcr[task], reg | TASK_ENABLE); in bcom_enable_task() 272 out_be16(&bcom_eng->regs->tcr[task], reg & ~TASK_ENABLE); in bcom_disable_task() 338 out_be16(tcr, (in_be16(tcr) & ~0xff) | 0x00c0 | next_task); in bcom_set_task_auto_start() 345 out_be16(tcr, (in_be16(tcr) & ~0x1f00) | ((initiator & 0x1f) << 8)); in bcom_set_tcr_initiator()
|
/linux-3.4.99/arch/powerpc/sysdev/qe_lib/ |
D | ucc_fast.c | 93 out_be16(&uccf->uf_regs->utodr, UCC_FAST_TOD); in ucc_fast_transmit_on_demand() 294 out_be16(&uf_regs->urfs, uf_info->urfs); in ucc_fast_init() 295 out_be16(&uf_regs->urfet, uf_info->urfet); in ucc_fast_init() 296 out_be16(&uf_regs->urfset, uf_info->urfset); in ucc_fast_init() 297 out_be16(&uf_regs->utfs, uf_info->utfs); in ucc_fast_init() 298 out_be16(&uf_regs->utfet, uf_info->utfet); in ucc_fast_init() 299 out_be16(&uf_regs->utftt, uf_info->utftt); in ucc_fast_init()
|
D | ucc_slow.c | 49 out_be16(&uccs->us_regs->utodr, UCC_SLOW_TOD); in ucc_slow_poll_transmitter_now() 211 out_be16(&uccs->us_pram->mrblr, us_info->max_rx_buf_length); in ucc_slow_init() 305 out_be16(&uccs->us_pram->rbase, uccs->rx_base_offset); in ucc_slow_init() 306 out_be16(&uccs->us_pram->tbase, uccs->tx_base_offset); in ucc_slow_init() 336 out_be16(&us_regs->uccm, us_info->uccm_mask); in ucc_slow_init() 343 out_be16(&us_regs->ucce, 0xffff); in ucc_slow_init()
|
/linux-3.4.99/arch/powerpc/sysdev/ |
D | fsl_gtm.c | 217 out_be16(tmr->gtpsr, psr); in gtm_set_ref_timer16() 220 out_be16(tmr->gtcnr, 0); in gtm_set_ref_timer16() 221 out_be16(tmr->gtrfr, reference_value); in gtm_set_ref_timer16() 222 out_be16(tmr->gtevr, 0xFFFF); in gtm_set_ref_timer16() 313 out_be16(tmr->gtevr, 0xFFFF); in gtm_stop_timer16() 330 out_be16(tmr->gtevr, events); in gtm_ack_timer16()
|
/linux-3.4.99/drivers/net/can/mscan/ |
D | mscan.c | 246 out_be16(®s->tx.idr3_2, can_id); in mscan_start_xmit() 258 out_be16(®s->tx.idr1_0, can_id); in mscan_start_xmit() 265 out_be16(data, *payload++); in mscan_start_xmit() 663 out_be16(®s->canidar1_0, 0); in register_mscandev() 664 out_be16(®s->canidar3_2, 0); in register_mscandev() 665 out_be16(®s->canidar5_4, 0); in register_mscandev() 666 out_be16(®s->canidar7_6, 0); in register_mscandev() 668 out_be16(®s->canidmr1_0, 0xffff); in register_mscandev() 669 out_be16(®s->canidmr3_2, 0xffff); in register_mscandev() 670 out_be16(®s->canidmr5_4, 0xffff); in register_mscandev() [all …]
|
/linux-3.4.99/drivers/spi/ |
D | spi-fsl-spi.c | 128 out_be16(&mspi->pram->rbptr, in fsl_spi_change_mode() 130 out_be16(&mspi->pram->tbptr, in fsl_spi_change_mode() 312 out_be16(&rx_bd->cbd_datlen, 0); in fsl_spi_cpm_bufs_start() 313 out_be16(&rx_bd->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT | BD_SC_WRAP); in fsl_spi_cpm_bufs_start() 319 out_be16(&tx_bd->cbd_datlen, xfer_len); in fsl_spi_cpm_bufs_start() 320 out_be16(&tx_bd->cbd_sc, BD_SC_READY | BD_SC_INTRPT | BD_SC_WRAP | in fsl_spi_cpm_bufs_start() 713 out_be16(spi_base, pram_ofs); in fsl_spi_cpm_get_pram() 723 out_be16(spi_base, pram_ofs); in fsl_spi_cpm_get_pram() 797 out_be16(&mspi->pram->tbase, cpm_muram_offset(mspi->tx_bd)); in fsl_spi_cpm_init() 798 out_be16(&mspi->pram->rbase, cpm_muram_offset(mspi->rx_bd)); in fsl_spi_cpm_init() [all …]
|
D | spi-mpc52xx-psc.c | 113 out_be16((u16 __iomem *)&psc->ccr, ccr); in mpc52xx_psc_spi_activate_cs() 184 out_be16(&fifo->rfalarm, rfalarm); in mpc52xx_psc_spi_transfer_rxtx() 186 out_be16(&psc->mpc52xx_psc_imr, MPC52xx_PSC_IMR_RXRDY); in mpc52xx_psc_spi_transfer_rxtx() 332 out_be16(&psc->mpc52xx_psc_imr, 0); in mpc52xx_psc_spi_port_config() 340 out_be16((u16 __iomem *)&psc->ccr, 0x070F); /* default SPI Clk 1MHz */ in mpc52xx_psc_spi_port_config() 358 out_be16(&psc->mpc52xx_psc_imr, 0); in mpc52xx_psc_spi_isr()
|
/linux-3.4.99/arch/m68k/include/asm/ |
D | raw_io.h | 44 #define out_be16(addr,w) (void)((*(__force volatile u16 *) (addr)) = (w)) macro 57 #define raw_outw(val,port) out_be16((port),(val)) 60 #define __raw_writew(val,addr) out_be16((addr),(val))
|
/linux-3.4.99/drivers/usb/gadget/ |
D | fsl_qe_udc.c | 165 out_be16(&udc->usb_regs->usb_usep[epnum], tem_usep); in qe_eprx_stall_change() 182 out_be16(&udc->usb_regs->usb_usep[epnum], tem_usep); in qe_eptx_stall_change() 224 out_be16(&udc->usb_regs->usb_usber, in qe_eprx_normal() 270 out_be16(&udc->ep_param[i]->tbptr, in_be16(&udc->ep_param[i]->tbase)); in qe_ep_flushtxfifo() 272 out_be16(&udc->ep_param[i]->tbcnt, 0); in qe_ep_flushtxfifo() 344 out_be16(&udc->usb_regs->usb_usep[pipe_num], tmpusep); in qe_ep_reset() 378 out_be16(&epparam->rbase, (u16)tmp_addr); in qe_ep_bd_init() 379 out_be16(&epparam->tbase, (u16)(tmp_addr + in qe_ep_bd_init() 382 out_be16(&epparam->rbptr, in_be16(&epparam->rbase)); in qe_ep_bd_init() 383 out_be16(&epparam->tbptr, in_be16(&epparam->tbase)); in qe_ep_bd_init() [all …]
|
/linux-3.4.99/sound/soc/fsl/ |
D | mpc5200_dma.c | 181 out_be16(®s->isr_imr.imr, psc_dma->imr | imr); in psc_dma_trigger() 258 out_be16(&psc_dma->psc_regs->isr_imr.imr, psc_dma->imr); in psc_dma_close() 435 out_be16(&psc_dma->psc_regs->isr_imr.imr, psc_dma->imr); in mpc5200_hpcd_probe() 453 out_be16(&psc_dma->fifo_regs->rfalarm, 0x100); in mpc5200_hpcd_probe() 455 out_be16(&psc_dma->fifo_regs->tfalarm, 0x100); in mpc5200_hpcd_probe()
|
/linux-3.4.99/drivers/net/ethernet/amd/ |
D | mvme147.c | 149 out_be16(lp->base + LANCE_RAP, value); in m147lance_writerap() 154 out_be16(lp->base + LANCE_RDP, value); in m147lance_writerdp()
|
D | hplance.c | 177 out_be16(lp->base + HPLANCE_REGOFF + LANCE_RAP, value); in hplance_writerap() 185 out_be16(lp->base + HPLANCE_REGOFF + LANCE_RDP, value); in hplance_writerdp()
|
/linux-3.4.99/drivers/watchdog/ |
D | mpc8xxx_wdt.c | 84 out_be16(&wd_base->swsrr, 0x556c); in mpc8xxx_wdt_keepalive() 85 out_be16(&wd_base->swsrr, 0xaa39); in mpc8xxx_wdt_keepalive()
|