Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/video/fbdev/
A Dhpfb.c98 out_be16(fb_regs + 0x60ba, 0xff); in hpfb_setcolreg()
100 out_be16(fb_regs + 0x60b2, _red); 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()
139 out_be16(fb_regs + DEST_X, x1); in topcat_blit()
140 out_be16(fb_regs + DEST_Y, y1); in topcat_blit()
141 out_be16(fb_regs + WWIDTH, w); in topcat_blit()
[all …]
A Ddnfb.c258 out_be16(AP_WRITE_ENABLE, 0x0); in dnfb_probe()
262 out_be16(AP_ROP_1, SWAP(0x3)); in dnfb_probe()
/linux-6.3-rc2/drivers/usb/host/
A Dfhci-tds.c214 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()
221 out_be16(&td->length, 0); in fhci_create_ep()
308 out_be16(&td->length, 0); in fhci_td_transaction_confirm()
310 out_be16(&td->extra, 0); in fhci_td_transaction_confirm()
497 out_be16(&td->status, 0); in fhci_flush_bds()
498 out_be16(&td->length, 0); in fhci_flush_bds()
500 out_be16(&td->extra, 0); in fhci_flush_bds()
504 out_be16(&td->length, 0); in fhci_flush_bds()
[all …]
A Dfhci-hcd.c39 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()
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()
727 out_be16(&fhci->regs->usb_usber, 0xffff); in of_fhci_probe()
[all …]
A Dfhci-hub.c95 out_be16(&usb->fhci->regs->usb_usbmr, usb->saved_msk); in fhci_port_disable()
161 out_be16(&fhci->regs->usb_usbmr, mask & (~USB_E_IDLE_MASK)); in fhci_port_reset()
166 out_be16(&fhci->regs->usb_usbmr, mask); in fhci_port_reset()
A Dfhci-sched.c146 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()
/linux-6.3-rc2/drivers/tty/serial/cpm_uart/
A Dcpm_uart_core.c779 out_be16(&sup->scc_brkcr, 1); in cpm_uart_init_scc()
780 out_be16(&sup->scc_parec, 0); in cpm_uart_init_scc()
781 out_be16(&sup->scc_frmec, 0); in cpm_uart_init_scc()
782 out_be16(&sup->scc_nosec, 0); in cpm_uart_init_scc()
783 out_be16(&sup->scc_brkec, 0); in cpm_uart_init_scc()
786 out_be16(&sup->scc_toseq, 0); in cpm_uart_init_scc()
809 out_be16(&scp->scc_sccm, 0); in cpm_uart_init_scc()
841 out_be16(&up->smc_brkec, 0); in cpm_uart_init_smc()
851 out_be16(&up->smc_brklen, 0); in cpm_uart_init_smc()
852 out_be16(&up->smc_brkec, 0); in cpm_uart_init_smc()
[all …]
/linux-6.3-rc2/arch/powerpc/platforms/8xx/
A 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 …]
/linux-6.3-rc2/arch/powerpc/boot/
A 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 …]
A Dio.h52 static inline void out_be16(volatile u16 *addr, int val) in out_be16() function
/linux-6.3-rc2/drivers/spi/
A Dspi-fsl-cpm.c59 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()
92 out_be16(&tx_bd->cbd_datlen, xfer_len); 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()
358 out_be16(&mspi->pram->mrblr, SPI_MRBLR); in fsl_spi_cpm_init()
361 out_be16(&mspi->pram->rbptr, 0); in fsl_spi_cpm_init()
362 out_be16(&mspi->pram->rbc, 0); in fsl_spi_cpm_init()
366 out_be16(&mspi->pram->tbptr, 0); in fsl_spi_cpm_init()
[all …]
A Dspi-mpc52xx-psc.c102 out_be16((u16 __iomem *)&psc->ccr, ccr); in mpc52xx_psc_spi_activate_cs()
173 out_be16(&fifo->rfalarm, rfalarm); in mpc52xx_psc_spi_transfer_rxtx()
175 out_be16(&psc->mpc52xx_psc_imr, MPC52xx_PSC_IMR_RXRDY); in mpc52xx_psc_spi_transfer_rxtx()
283 out_be16(&psc->mpc52xx_psc_imr, 0); in mpc52xx_psc_spi_port_config()
291 out_be16((u16 __iomem *)&psc->ccr, 0x070F); /* default SPI Clk 1MHz */ in mpc52xx_psc_spi_port_config()
309 out_be16(&psc->mpc52xx_psc_imr, 0); in mpc52xx_psc_spi_isr()
/linux-6.3-rc2/arch/powerpc/platforms/52xx/
A Dlite5200_pm.c146 out_be16(&cdm->fd_counters, scdm.fd_counters); in lite5200_restore_regs()
152 out_be16(&cdm->mclken_div_psc1, scdm.mclken_div_psc1); in lite5200_restore_regs()
153 out_be16(&cdm->mclken_div_psc2, scdm.mclken_div_psc2); in lite5200_restore_regs()
154 out_be16(&cdm->mclken_div_psc3, scdm.mclken_div_psc3); in lite5200_restore_regs()
155 out_be16(&cdm->mclken_div_psc6, scdm.mclken_div_psc6); in lite5200_restore_regs()
166 out_be16(&bes->PtdCntrl, sbes.PtdCntrl); in lite5200_restore_regs()
184 out_be16(&bes->tcr[i], sbes.tcr[i]); in lite5200_restore_regs()
A Dlite5200.c71 out_be16(&cdm->fd_counters, 0x0001); in lite5200_fix_clock_config()
73 out_be16(&cdm->fd_counters, 0x5555); in lite5200_fix_clock_config()
/linux-6.3-rc2/drivers/i2c/busses/
A Di2c-cpm.c154 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()
310 out_be16(&i2c_ram->rbptr, in_be16(&i2c_ram->rbase)); in cpm_i2c_xfer()
311 out_be16(&i2c_ram->tbptr, in_be16(&i2c_ram->tbase)); in cpm_i2c_xfer()
[all …]
/linux-6.3-rc2/include/linux/fsl/bestcomm/
A Dbestcomm_priv.h257 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-6.3-rc2/arch/powerpc/sysdev/
A 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()
/linux-6.3-rc2/drivers/net/can/mscan/
A Dmscan.c235 out_be16(&regs->tx.idr3_2, can_id); in mscan_start_xmit()
247 out_be16(&regs->tx.idr1_0, can_id); in mscan_start_xmit()
254 out_be16(data, *payload++); in mscan_start_xmit()
645 out_be16(&regs->canidar1_0, 0); in register_mscandev()
646 out_be16(&regs->canidar3_2, 0); in register_mscandev()
647 out_be16(&regs->canidar5_4, 0); in register_mscandev()
648 out_be16(&regs->canidar7_6, 0); in register_mscandev()
650 out_be16(&regs->canidmr1_0, 0xffff); in register_mscandev()
651 out_be16(&regs->canidmr3_2, 0xffff); in register_mscandev()
652 out_be16(&regs->canidmr5_4, 0xffff); in register_mscandev()
[all …]
/linux-6.3-rc2/drivers/usb/gadget/udc/
A Dfsl_qe_udc.c214 out_be16(&udc->usb_regs->usb_usber, in qe_eprx_normal()
262 out_be16(&udc->ep_param[i]->tbcnt, 0); in qe_ep_flushtxfifo()
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()
515 out_be16(&epparam->mrblr, tmp); in qe_ep_register_init()
1081 out_be16(&udc->usb_regs->usb_usbmr, in qe_ep_tx()
2232 out_be16(&udc->usb_regs->usb_usber, irq_src); in qe_udc_irq()
2295 out_be16(&udc->usb_regs->usb_usber, 0xffff); in fsl_qe_start()
2356 out_be16(&usbpram->frame_n, 0); in qe_udc_config()
2366 out_be16(&usbpram->epptr[i], (u16)tmp_addr); in qe_udc_config()
[all …]
/linux-6.3-rc2/drivers/tty/serial/
A Dmpc52xx_uart.c128 out_be16(&psc->mpc52xx_psc_clock_select, prescaler); in mpc52xx_set_divisor()
173 out_be16(&psc->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_enable_ms()
183 out_be16(&PSC(port)->mpc52xx_psc_imr, val); in mpc52xx_psc_set_imr()
200 out_be16(&fifo->rfalarm, 0x1ff); in mpc52xx_psc_fifo_init()
202 out_be16(&fifo->tfalarm, 0x80); in mpc52xx_psc_fifo_init()
205 out_be16(&psc->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_fifo_init()
245 out_be16(&PSC(port)->mpc52xx_psc_imr, port->read_status_mask); in mpc52xx_psc_start_tx()
280 out_be16(&PSC(port)->mpc52xx_psc_imr, 0); in mpc52xx_psc_cw_disable_ints()
425 out_be16(&PSC(port)->mpc52xx_psc_clock_select, 0xdd00); in mpc512x_psc_fifo_init()
946 out_be16(&psc->mpc52xx_psc_imr, port->read_status_mask); in mpc5125_psc_enable_ms()
[all …]
/linux-6.3-rc2/sound/soc/fsl/
A Dmpc5200_dma.c180 out_be16(&regs->isr_imr.imr, psc_dma->imr | imr); in psc_dma_trigger()
255 out_be16(&psc_dma->psc_regs->isr_imr.imr, psc_dma->imr); in psc_dma_close()
372 out_be16(&psc_dma->psc_regs->isr_imr.imr, psc_dma->imr); in mpc5200_audio_dma_create()
390 out_be16(&psc_dma->fifo_regs->rfalarm, 0x100); in mpc5200_audio_dma_create()
392 out_be16(&psc_dma->fifo_regs->tfalarm, 0x100); in mpc5200_audio_dma_create()
/linux-6.3-rc2/arch/m68k/include/asm/
A 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))
/linux-6.3-rc2/drivers/net/ethernet/amd/
A Dmvme147.c146 out_be16(lp->base + LANCE_RAP, value); in m147lance_writerap()
151 out_be16(lp->base + LANCE_RDP, value); in m147lance_writerdp()
A Dhplance.c177 out_be16(lp->base + HPLANCE_REGOFF + LANCE_RAP, value); in hplance_writerap()
186 out_be16(lp->base + HPLANCE_REGOFF + LANCE_RDP, value); in hplance_writerdp()
/linux-6.3-rc2/drivers/watchdog/
A Dmpc8xxx_wdt.c76 out_be16(&ddata->base->swsrr, 0x556c); in mpc8xxx_wdt_keepalive()
77 out_be16(&ddata->base->swsrr, 0xaa39); in mpc8xxx_wdt_keepalive()

Completed in 70 milliseconds

123