/linux-6.1.9/drivers/usb/host/ |
D | fhci-tds.c | 85 u16 td_status = in_be16(&ep->empty_td->status); in fhci_push_dummy_bd() 294 td_status = in_be16(&td->status); in fhci_td_transaction_confirm() 295 td_length = in_be16(&td->length); in fhci_td_transaction_confirm() 297 extra_data = in_be16(&td->extra); in fhci_td_transaction_confirm() 393 td_status = in_be16(&td->status); in fhci_host_transaction() 395 if (td_status & TD_R && in_be16(&td->length)) { in fhci_host_transaction() 476 td_status = in_be16(&td->status); in fhci_flush_bds() 478 in_be16(&td->extra); in fhci_flush_bds() 502 } while (!(in_be16(&td->status) & TD_W)); in fhci_flush_bds() 509 in_be16(&ep->ep_pram_ptr->tx_base)); in fhci_flush_bds() [all …]
|
D | fhci-dbg.c | 50 in_8(®s->usb_uscom), in_be16(®s->usb_usep[0]), in fhci_dfs_regs_show() 51 in_be16(®s->usb_usber), in_be16(®s->usb_usbmr), in fhci_dfs_regs_show() 52 in_8(®s->usb_usbs), in_be16(®s->usb_ussft), in fhci_dfs_regs_show() 53 in_be16(®s->usb_usfrn), in fhci_dfs_regs_show()
|
D | fhci-sched.c | 340 if ((((in_be16(&fhci->pram->frame_num) & 0x07ff) - in rotate_frames() 348 usb->actual_frame->frame_num = in_be16(&fhci->pram->frame_num) & 0x7ff; in rotate_frames() 553 usb_er |= in_be16(&usb->fhci->regs->usb_usber) & in fhci_irq() 554 in_be16(&usb->fhci->regs->usb_usbmr); in fhci_irq()
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-cpm.c | 261 in_be16(&tbdf->cbd_sc), in_be16(&rbdf->cbd_sc)); in cpm_i2c_check_message() 263 if (in_be16(&tbdf->cbd_sc) & BD_SC_NAK) { in cpm_i2c_check_message() 267 if (in_be16(&rbdf->cbd_sc) & BD_SC_EMPTY) { in cpm_i2c_check_message() 272 if (in_be16(&rbdf->cbd_sc) & BD_SC_OV) { in cpm_i2c_check_message() 279 in_be16(&tbdf->cbd_sc)); in cpm_i2c_check_message() 281 if (in_be16(&tbdf->cbd_sc) & BD_SC_NAK) { in cpm_i2c_check_message() 285 if (in_be16(&tbdf->cbd_sc) & BD_SC_UN) { in cpm_i2c_check_message() 289 if (in_be16(&tbdf->cbd_sc) & BD_SC_CL) { in cpm_i2c_check_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.1.9/arch/powerpc/boot/ |
D | mpc52xx-psc.c | 38 while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_TXRDY)) ; in psc_putc() 44 return (in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY) != 0; in psc_tstc() 49 while (!(in_be16(psc + MPC52xx_PSC_SR) & MPC52xx_PSC_SR_RXRDY)) ; in psc_getc()
|
D | cpm-serial.c | 90 while (in_be16(cpcr) & 1) in cpm1_cmd() 95 while (in_be16(cpcr) & 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()
|
D | io.h | 37 static inline unsigned in_be16(const volatile u16 *addr) in in_be16() function
|
/linux-6.1.9/include/linux/fsl/bestcomm/ |
D | bestcomm_priv.h | 256 regval = in_be16(&bcom_eng->regs->PtdCntrl); in bcom_disable_prefetch() 264 reg = in_be16(&bcom_eng->regs->tcr[task]); in bcom_enable_task() 271 u16 reg = in_be16(&bcom_eng->regs->tcr[task]); 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.1.9/drivers/tty/serial/cpm_uart/ |
D | cpm_uart_core.c | 70 if (in_be16(&bdp->cbd_sc) & BD_SC_READY) in cpm_uart_tx_empty() 73 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) { in cpm_uart_tx_empty() 160 if (in_be16(&sccp->scc_sccm) & UART_SCCM_TX) in cpm_uart_start_tx() 251 status = in_be16(&bdp->cbd_sc); in cpm_uart_int_rx() 257 i = in_be16(&bdp->cbd_datlen); in cpm_uart_int_rx() 297 if (in_be16(&bdp->cbd_sc) & BD_SC_WRAP) in cpm_uart_int_rx() 372 events = in_be16(&sccp->scc_scce); in cpm_uart_int() 407 in_be16(&pinfo->smcup->smc_rbase)); in cpm_uart_startup() 409 in_be16(&pinfo->smcup->smc_tbase)); in cpm_uart_startup() 590 prev_mode = in_be16(&smcp->smc_smcmr) & (SMCMR_REN | SMCMR_TEN); in cpm_uart_set_termios() [all …]
|
/linux-6.1.9/sound/soc/fsl/ |
D | mpc5200_psc_ac97.c | 38 status = spin_event_timeout(!(in_be16(&psc_dma->psc_regs->sr_csr.status) & in psc_ac97_read() 53 status = spin_event_timeout((in_be16(&psc_dma->psc_regs->sr_csr.status) & in psc_ac97_read() 57 in_be16(&psc_dma->psc_regs->sr_csr.status)); in psc_ac97_read() 82 status = spin_event_timeout(!(in_be16(&psc_dma->psc_regs->sr_csr.status) & in psc_ac97_write()
|
/linux-6.1.9/drivers/spi/ |
D | spi-fsl-cpm.c | 60 in_be16(&mspi->pram->rbase)); in fsl_spi_cpm_reinit_txrx() 63 in_be16(&mspi->pram->tbase)); in fsl_spi_cpm_reinit_txrx() 185 in_be16(&mspi->rx_bd->cbd_datlen), mspi->count); in fsl_spi_cpm_irq() 187 len = in_be16(&mspi->rx_bd->cbd_datlen); in fsl_spi_cpm_irq()
|
D | spi-mpc52xx-psc.c | 96 ccr = in_be16((u16 __iomem *)&psc->ccr); in mpc52xx_psc_spi_activate_cs() 177 recv_at_once = in_be16(&fifo->rfnum); in mpc52xx_psc_spi_transfer_rxtx() 308 if (in_be16(&psc->mpc52xx_psc_isr) & MPC52xx_PSC_IMR_RXRDY) { in mpc52xx_psc_spi_isr()
|
/linux-6.1.9/arch/m68k/include/asm/ |
D | raw_io.h | 21 #define in_be16(addr) \ macro 37 #define raw_inw in_be16 40 #define __raw_readw in_be16
|
D | ide.h | 49 #define readw in_be16
|
/linux-6.1.9/drivers/usb/gadget/udc/ |
D | fsl_qe_udc.c | 148 tem_usep = in_be16(&udc->usb_regs->usb_usep[epnum]); in qe_eprx_stall_change() 165 tem_usep = in_be16(&udc->usb_regs->usb_usep[epnum]); in qe_eptx_stall_change() 260 out_be16(&udc->ep_param[i]->tbptr, in_be16(&udc->ep_param[i]->tbase)); in qe_ep_flushtxfifo() 317 tmpusep = in_be16(&udc->usb_regs->usb_usep[pipe_num]); in qe_ep_reset() 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() 760 ((in_be16(&udc->ep_param[epnum]->rbptr) - in ep_recycle_rxbds() 761 in_be16(&udc->ep_param[epnum]->rbase)) in ep_recycle_rxbds() 776 if (in_be16(&udc->usb_regs->usb_usber) & USB_E_BSY_MASK) in ep_recycle_rxbds() 1038 ucoffs = (u16)((in_be16(&udc->ep_param[ep->epnum]->rbptr) - in qe_ep_rx() [all …]
|
/linux-6.1.9/drivers/video/fbdev/ |
D | hpfb.c | 96 while (in_be16(fb_regs + 0x6002) & 0x4) udelay(1); in hpfb_setcolreg() 108 while (in_be16(fb_regs + 0x6002) & 0x4) udelay(1); in hpfb_setcolreg() 226 while (in_be16(fb_regs+0x4800) & 1) in hpfb_init_one()
|
/linux-6.1.9/arch/powerpc/platforms/8xx/ |
D | cpm1.c | 66 while (in_be16(&cpmp->cp_cpcr) & CPM_CR_FLG); in cpm_reset() 105 if ((in_be16(&cpmp->cp_cpcr) & CPM_CR_FLG) == 0) in cpm_command() 398 cpm1_gc->cpdata = in_be16(&iop->dat); in cpm1_gpio16_save_regs() 409 return !!(in_be16(&iop->dat) & pin_mask); in cpm1_gpio16_get()
|
D | cpm1-ic.c | 59 cpm_vec = in_be16(&data->reg->cpic_civr); in cpm_get_irq()
|
/linux-6.1.9/arch/microblaze/include/asm/ |
D | io.h | 42 #define in_be16(a) __raw_readw(a) macro
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | io.h | 138 DEF_MMIO_IN_D(in_be16, 16, lhz); 148 DEF_MMIO_IN_X(in_be16, 16, lhbrx); 543 #define __do_readw_be(addr) in_be16(PCI_FIX_ADDR(addr)) 993 #define setbits16(_addr, _v) out_be16((_addr), in_be16(_addr) | (_v)) 994 #define clrbits16(_addr, _v) out_be16((_addr), in_be16(_addr) & ~(_v))
|
/linux-6.1.9/drivers/mmc/host/ |
D | sdhci-pltfm.h | 43 return in_be16(host->ioaddr + (reg ^ 0x2)); in sdhci_be32bs_readw()
|
/linux-6.1.9/drivers/tty/serial/ |
D | mpc52xx_uart.c | 135 return in_be16(&PSC(port)->mpc52xx_psc_status); in mpc52xx_psc_get_status() 210 return in_be16(&PSC(port)->mpc52xx_psc_status) in mpc52xx_psc_raw_rx_rdy() 216 return in_be16(&PSC(port)->mpc52xx_psc_status) in mpc52xx_psc_raw_tx_rdy() 223 return in_be16(&PSC(port)->mpc52xx_psc_isr) in mpc52xx_psc_rx_rdy() 230 return in_be16(&PSC(port)->mpc52xx_psc_isr) in mpc52xx_psc_tx_rdy() 237 u16 sts = in_be16(&PSC(port)->mpc52xx_psc_status); in mpc52xx_psc_tx_empty() 909 return in_be16(&PSC_5125(port)->mpc52xx_psc_status); in mpc5125_psc_get_status()
|
/linux-6.1.9/drivers/net/ethernet/freescale/ |
D | ucc_geth.c | 564 hardware_statistics->txcf = in_be16(&ug_regs->txcf); in get_statistics() 639 in_be16(&ugeth->ug_regs->uescr)); in dump_regs() 663 in_be16(&ugeth->ug_regs->txcf)); in dump_regs() 732 in_be16(&ugeth->p_tx_glbl_pram->temoder)); in dump_regs() 808 in_be16(&ugeth->p_rx_glbl_pram->typeorlen)); in dump_regs() 823 in_be16(&ugeth->p_rx_glbl_pram->mrblr)); in dump_regs() 829 in_be16(&ugeth->p_rx_glbl_pram->mflr)); in dump_regs() 832 in_be16(&ugeth->p_rx_glbl_pram->minflr)); in dump_regs() 835 in_be16(&ugeth->p_rx_glbl_pram->maxd1)); in dump_regs() 838 in_be16(&ugeth->p_rx_glbl_pram->maxd2)); in dump_regs() [all …]
|
/linux-6.1.9/drivers/net/can/mscan/ |
D | mscan.c | 300 can_id = in_be16(®s->rx.idr1_0); in mscan_get_rx_frame() 303 can_id = ((can_id << 16) | in_be16(®s->rx.idr3_2)); in mscan_get_rx_frame() 322 *payload++ = in_be16(data); in mscan_get_rx_frame()
|
/linux-6.1.9/drivers/net/ethernet/amd/ |
D | mvme147.c | 156 return in_be16(lp->base + LANCE_RDP); in m147lance_readrdp()
|