/kernel/linux/linux-5.10/drivers/video/fbdev/ |
D | hpfb.c | 98 out_be16(fb_regs + 0x60ba, 0xff); in hpfb_setcolreg() 100 out_be16(fb_regs + 0x60b2, _red); in hpfb_setcolreg() 101 out_be16(fb_regs + 0x60b4, _green); in hpfb_setcolreg() 102 out_be16(fb_regs + 0x60b6, _blue); in hpfb_setcolreg() 103 out_be16(fb_regs + 0x60b8, ~_regno); in hpfb_setcolreg() 104 out_be16(fb_regs + 0x60f0, 0xff); in hpfb_setcolreg() 109 out_be16(fb_regs + 0x60b2, 0); in hpfb_setcolreg() 110 out_be16(fb_regs + 0x60b4, 0); in hpfb_setcolreg() 111 out_be16(fb_regs + 0x60b6, 0); in hpfb_setcolreg() 112 out_be16(fb_regs + 0x60b8, 0); in hpfb_setcolreg() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/host/ |
D | fhci-tds.c | 214 out_be16(&td->status, 0); in fhci_create_ep() 215 out_be16(&td->length, 0); in fhci_create_ep() 216 out_be16(&td->extra, 0); in fhci_create_ep() 220 out_be16(&td->status, TD_W); /* for last TD set Wrap bit */ in fhci_create_ep() 221 out_be16(&td->length, 0); in fhci_create_ep() 248 out_be16(&usb->fhci->regs->usb_usep[0], in fhci_init_ep_registers() 250 out_be16(&usb->fhci->pram->ep_ptr[0], in fhci_init_ep_registers() 260 out_be16(&ep->ep_pram_ptr->rx_buff_len, 1028); in fhci_init_ep_registers() 261 out_be16(&ep->ep_pram_ptr->rx_base, 0); in fhci_init_ep_registers() 262 out_be16(&ep->ep_pram_ptr->tx_base, cpm_muram_offset(ep->td_base)); in fhci_init_ep_registers() [all …]
|
D | fhci-hcd.c | 39 out_be16(&fhci->pram->frame_num, 0); in fhci_start_sof_timer() 41 out_be16(&fhci->regs->usb_ussft, 0); in fhci_start_sof_timer() 89 out_be16(&usb->fhci->regs->usb_usber, 0xffff); in fhci_usb_enable_interrupt() 90 out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); in fhci_usb_enable_interrupt() 110 out_be16(&usb->fhci->regs->usb_usbmr, 0); in fhci_usb_disable_interrupt() 120 out_be16(&usb->fhci->regs->usb_usber, 0xffff); in fhci_usb_enable() 121 out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); in fhci_usb_enable() 275 out_be16(&fhci->pram->frame_num, 0); in fhci_usb_init() 289 out_be16(&usb->fhci->regs->usb_usbmr, 0); in fhci_usb_init() 292 out_be16(&usb->fhci->regs->usb_usber, 0xffff); in fhci_usb_init() [all …]
|
D | fhci-hub.c | 96 out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); in fhci_port_disable() 162 out_be16(&fhci->regs->usb_usbmr, mask & (~USB_E_IDLE_MASK)); in fhci_port_reset() 167 out_be16(&fhci->regs->usb_usbmr, mask); in fhci_port_reset()
|
D | fhci-sched.c | 146 out_be16(&usb->fhci->regs->usb_usber, 0xffff); in fhci_flush_all_transmissions() 412 out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); in sof_interrupt() 438 out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); in fhci_device_disconnected_interrupt() 557 out_be16(&usb->fhci->regs->usb_usber, usb_er); in fhci_irq() 571 out_be16(&usb->fhci->regs->usb_usber, in fhci_irq() 609 out_be16(&usb->fhci->regs->usb_usbmr, in fhci_irq()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_core.c | 373 out_be16(&sccp->scc_scce, events); in cpm_uart_int() 406 out_be16(&pinfo->smcup->smc_rbptr, in cpm_uart_startup() 408 out_be16(&pinfo->smcup->smc_tbptr, in cpm_uart_startup() 474 out_be16(&pinfo->smcup->smc_brkcr, 0); in cpm_uart_shutdown() 477 out_be16(&pinfo->sccup->scc_brkcr, 0); in cpm_uart_shutdown() 616 out_be16(&pinfo->smcup->smc_mrblr, pinfo->rx_fifosize); in cpm_uart_set_termios() 617 out_be16(&pinfo->smcup->smc_maxidl, maxidl); in cpm_uart_set_termios() 626 out_be16(&smcp->smc_smcmr, smcr_mk_clen(bits) | cval | in cpm_uart_set_termios() 629 out_be16(&pinfo->sccup->scc_genscc.scc_mrblr, pinfo->rx_fifosize); in cpm_uart_set_termios() 630 out_be16(&pinfo->sccup->scc_maxidl, maxidl); in cpm_uart_set_termios() [all …]
|
/kernel/linux/linux-5.10/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
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spi-fsl-cpm.c | 59 out_be16(&mspi->pram->rbptr, in fsl_spi_cpm_reinit_txrx() 62 out_be16(&mspi->pram->tbptr, in fsl_spi_cpm_reinit_txrx() 85 out_be16(&rx_bd->cbd_datlen, 0); in fsl_spi_cpm_bufs_start() 86 out_be16(&rx_bd->cbd_sc, BD_SC_EMPTY | BD_SC_INTRPT | BD_SC_WRAP); in fsl_spi_cpm_bufs_start() 92 out_be16(&tx_bd->cbd_datlen, xfer_len); in fsl_spi_cpm_bufs_start() 93 out_be16(&tx_bd->cbd_sc, BD_SC_READY | BD_SC_INTRPT | BD_SC_WRAP | in fsl_spi_cpm_bufs_start() 268 out_be16(spi_base, pram_ofs); in fsl_spi_cpm_get_pram() 354 out_be16(&mspi->pram->tbase, cpm_muram_offset(mspi->tx_bd)); in fsl_spi_cpm_init() 355 out_be16(&mspi->pram->rbase, cpm_muram_offset(mspi->rx_bd)); in fsl_spi_cpm_init() 358 out_be16(&mspi->pram->mrblr, SPI_MRBLR); in fsl_spi_cpm_init() [all …]
|
D | spi-mpc52xx-psc.c | 107 out_be16((u16 __iomem *)&psc->ccr, ccr); in mpc52xx_psc_spi_activate_cs() 178 out_be16(&fifo->rfalarm, rfalarm); in mpc52xx_psc_spi_transfer_rxtx() 180 out_be16(&psc->mpc52xx_psc_imr, MPC52xx_PSC_IMR_RXRDY); in mpc52xx_psc_spi_transfer_rxtx() 326 out_be16(&psc->mpc52xx_psc_imr, 0); in mpc52xx_psc_spi_port_config() 334 out_be16((u16 __iomem *)&psc->ccr, 0x070F); /* default SPI Clk 1MHz */ in mpc52xx_psc_spi_port_config() 352 out_be16(&psc->mpc52xx_psc_imr, 0); in mpc52xx_psc_spi_isr()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/i2c/busses/ |
D | i2c-cpm.c | 143 out_be16(&i2c_ram->tbase, (u8 __iomem *)cpm->tbase - DPRAM_BASE); in cpm_reset_i2c_params() 144 out_be16(&i2c_ram->rbase, (u8 __iomem *)cpm->rbase - DPRAM_BASE); in cpm_reset_i2c_params() 154 out_be16(&i2c_ram->mrblr, CPM_MAX_READ); in cpm_reset_i2c_params() 158 out_be16(&i2c_ram->rbptr, 0); in cpm_reset_i2c_params() 159 out_be16(&i2c_ram->rbc, 0); in cpm_reset_i2c_params() 163 out_be16(&i2c_ram->tbptr, 0); in cpm_reset_i2c_params() 164 out_be16(&i2c_ram->tbc, 0); in cpm_reset_i2c_params() 204 out_be16(&tbdf->cbd_datlen, pmsg->len + 1); in cpm_i2c_parse_message() 205 out_be16(&tbdf->cbd_sc, 0); in cpm_i2c_parse_message() 222 out_be16(&rbdf->cbd_datlen, 0); in cpm_i2c_parse_message() [all …]
|
/kernel/linux/linux-5.10/include/linux/fsl/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/can/mscan/ |
D | mscan.c | 235 out_be16(®s->tx.idr3_2, can_id); in mscan_start_xmit() 247 out_be16(®s->tx.idr1_0, can_id); in mscan_start_xmit() 254 out_be16(data, *payload++); in mscan_start_xmit() 639 out_be16(®s->canidar1_0, 0); in register_mscandev() 640 out_be16(®s->canidar3_2, 0); in register_mscandev() 641 out_be16(®s->canidar5_4, 0); in register_mscandev() 642 out_be16(®s->canidar7_6, 0); in register_mscandev() 644 out_be16(®s->canidmr1_0, 0xffff); in register_mscandev() 645 out_be16(®s->canidmr3_2, 0xffff); in register_mscandev() 646 out_be16(®s->canidmr5_4, 0xffff); in register_mscandev() [all …]
|
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/ |
D | fsl_qe_udc.c | 155 out_be16(&udc->usb_regs->usb_usep[epnum], tem_usep); in qe_eprx_stall_change() 172 out_be16(&udc->usb_regs->usb_usep[epnum], tem_usep); in qe_eptx_stall_change() 214 out_be16(&udc->usb_regs->usb_usber, in qe_eprx_normal() 260 out_be16(&udc->ep_param[i]->tbptr, in_be16(&udc->ep_param[i]->tbase)); in qe_ep_flushtxfifo() 262 out_be16(&udc->ep_param[i]->tbcnt, 0); in qe_ep_flushtxfifo() 334 out_be16(&udc->usb_regs->usb_usep[pipe_num], tmpusep); in qe_ep_reset() 368 out_be16(&epparam->rbase, (u16)tmp_addr); in qe_ep_bd_init() 369 out_be16(&epparam->tbase, (u16)(tmp_addr + in qe_ep_bd_init() 372 out_be16(&epparam->rbptr, in_be16(&epparam->rbase)); in qe_ep_bd_init() 373 out_be16(&epparam->tbptr, in_be16(&epparam->tbase)); in qe_ep_bd_init() [all …]
|
/kernel/linux/linux-5.10/sound/soc/fsl/ |
D | mpc5200_dma.c | 187 out_be16(®s->isr_imr.imr, psc_dma->imr | imr); in psc_dma_trigger() 262 out_be16(&psc_dma->psc_regs->isr_imr.imr, psc_dma->imr); in psc_dma_close() 431 out_be16(&psc_dma->psc_regs->isr_imr.imr, psc_dma->imr); in mpc5200_audio_dma_create() 449 out_be16(&psc_dma->fifo_regs->rfalarm, 0x100); in mpc5200_audio_dma_create() 451 out_be16(&psc_dma->fifo_regs->tfalarm, 0x100); in mpc5200_audio_dma_create()
|
/kernel/linux/linux-5.10/drivers/tty/serial/ |
D | mpc52xx_uart.c | 126 out_be16(&psc->mpc52xx_psc_clock_select, prescaler); in mpc52xx_set_divisor() 171 out_be16(&psc->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_enable_ms() 181 out_be16(&PSC(port)->mpc52xx_psc_imr, val); in mpc52xx_psc_set_imr() 198 out_be16(&fifo->rfalarm, 0x1ff); in mpc52xx_psc_fifo_init() 200 out_be16(&fifo->tfalarm, 0x80); in mpc52xx_psc_fifo_init() 203 out_be16(&psc->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_fifo_init() 243 out_be16(&PSC(port)->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_start_tx() 249 out_be16(&PSC(port)->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_stop_tx() 255 out_be16(&PSC(port)->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_stop_rx() 278 out_be16(&PSC(port)->mpc52xx_psc_imr, 0); in mpc52xx_psc_cw_disable_ints() [all …]
|
/kernel/linux/linux-5.10/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))
|
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/ |
D | mvme147.c | 147 out_be16(lp->base + LANCE_RAP, value); in m147lance_writerap() 152 out_be16(lp->base + LANCE_RDP, value); in m147lance_writerdp()
|
D | hplance.c | 174 out_be16(lp->base + HPLANCE_REGOFF + LANCE_RAP, value); in hplance_writerap() 182 out_be16(lp->base + HPLANCE_REGOFF + LANCE_RDP, value); in hplance_writerdp()
|
/kernel/linux/linux-5.10/drivers/watchdog/ |
D | mpc8xxx_wdt.c | 76 out_be16(&ddata->base->swsrr, 0x556c); in mpc8xxx_wdt_keepalive() 77 out_be16(&ddata->base->swsrr, 0xaa39); in mpc8xxx_wdt_keepalive()
|
/kernel/linux/linux-5.10/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); 514 #define __do_writew_be(val, addr) out_be16(PCI_FIX_ADDR(addr), val) 853 #define setbits16(_addr, _v) out_be16((_addr), in_be16(_addr) | (_v)) 854 #define clrbits16(_addr, _v) out_be16((_addr), in_be16(_addr) & ~(_v))
|