Home
last modified time | relevance | path

Searched refs:mbase (Results 1 – 25 of 31) sorted by relevance

12

/linux-6.3-rc2/drivers/usb/mtu3/
A Dmtu3_core.c178 void __iomem *mbase = mtu->mac_base; in mtu3_intr_status_clear() local
181 mtu3_writel(mbase, U3D_EPISR, ~0x0); in mtu3_intr_status_clear()
189 mtu3_writel(mbase, U3D_QISAR0, ~0x0); in mtu3_intr_status_clear()
205 void __iomem *mbase = mtu->mac_base; in mtu3_intr_enable() local
234 void __iomem *mbase = mtu->mac_base; in mtu3_set_speed() local
274 void __iomem *mbase = mtu->mac_base; in mtu3_csr_init() local
311 void __iomem *mbase = mtu->mac_base; in mtu3_ep_stall_set() local
355 void __iomem *mbase = mtu->mac_base; in mtu3_start() local
407 void __iomem *mbase = mtu->mac_base; in mtu3_config_ep() local
508 void __iomem *mbase = mtu->mac_base; in mtu3_deconfig_ep() local
[all …]
A Dmtu3_qmu.c192 void __iomem *mbase = mtu->mac_base; in mtu3_qmu_resume() local
333 void __iomem *mbase = mtu->mac_base; in mtu3_qmu_start() local
343 mtu3_writel(mbase, U3D_TQERRIESR0, in mtu3_qmu_start()
359 mtu3_writel(mbase, U3D_RQERRIESR0, in mtu3_qmu_start()
377 void __iomem *mbase = mtu->mac_base; in mtu3_qmu_stop() local
389 mtu3_writel(mbase, qcsr, QMU_Q_STOP); in mtu3_qmu_stop()
428 void __iomem *mbase = mtu->mac_base; in qmu_tx_zlp_error_handler() local
480 void __iomem *mbase = mtu->mac_base; in qmu_done_tx() local
520 void __iomem *mbase = mtu->mac_base; in qmu_done_rx() local
568 void __iomem *mbase = mtu->mac_base; in qmu_exception_isr() local
[all …]
A Dmtu3_gadget_ep0.c138 void __iomem *mbase = mtu->mac_base; in ep0_stall_set() local
158 void __iomem *mbase = mtu->mac_base; in ep0_do_status_stage() local
278 void __iomem *mbase = mtu->mac_base; in handle_test_mode() local
328 void __iomem *mbase = mtu->mac_base; in ep0_handle_feature_dev() local
443 void __iomem *mbase = mtu->mac_base; in handle_standard_request() local
513 void __iomem *mbase = mtu->mac_base; in ep0_rx_state() local
554 mtu3_writel(mbase, U3D_EP0CSR, csr); in ep0_rx_state()
698 void __iomem *mbase = mtu->mac_base; in mtu3_ep0_isr() local
717 csr = mtu3_readl(mbase, U3D_EP0CSR); in mtu3_ep0_isr()
724 csr = mtu3_readl(mbase, U3D_EP0CSR); in mtu3_ep0_isr()
[all …]
A Dmtu3_debugfs.c82 void __iomem *mbase = mtu->mac_base; in mtu3_link_state_show() local
85 mtu3_readl(mbase, U3D_USB20_OPSTATE), in mtu3_link_state_show()
86 LTSSM_STATE(mtu3_readl(mbase, U3D_LINK_STATE_MACHINE))); in mtu3_link_state_show()
/linux-6.3-rc2/drivers/usb/musb/
A Dmusbhsdma.c19 musb_readl(mbase, \
23 musb_writel(mbase, \
28 musb_readl(mbase, \
32 musb_writel(mbase, \
176 musb_writew(mbase, in configure_channel()
239 csr = musb_readw(mbase, offset); in dma_channel_abort()
241 musb_writew(mbase, offset, csr); in dma_channel_abort()
243 musb_writew(mbase, offset, csr); in dma_channel_abort()
255 musb_writew(mbase, in dma_channel_abort()
316 csr = musb_readw(mbase, in dma_controller_irq()
[all …]
A Dmusb_virthub.c54 void __iomem *mbase = musb->mregs; in musb_port_suspend() local
64 power = musb_readb(mbase, MUSB_POWER); in musb_port_suspend()
73 musb_writeb(mbase, MUSB_POWER, power); in musb_port_suspend()
76 power = musb_readb(mbase, MUSB_POWER); in musb_port_suspend()
111 musb_writeb(mbase, MUSB_POWER, power); in musb_port_suspend()
125 void __iomem *mbase = musb->mregs; in musb_port_reset() local
139 power = musb_readb(mbase, MUSB_POWER); in musb_port_reset()
158 musb_writeb(mbase, MUSB_POWER, in musb_port_reset()
168 musb_writeb(mbase, MUSB_POWER, in musb_port_reset()
178 musb_writeb(mbase, MUSB_POWER, in musb_port_reset()
[all …]
A Dmusb_gadget_ep0.c54 void __iomem *mbase = musb->mregs; in service_tx_status_request() local
109 musb_ep_select(mbase, epnum); in service_tx_status_request()
116 musb_ep_select(mbase, 0); in service_tx_status_request()
185 void __iomem *mbase = musb->mregs; in musb_try_b_hnp_enable() local
210 void __iomem *mbase = musb->mregs; in service_zero_data_request() local
264 musb_ep_select(mbase, epnum); in service_zero_data_request()
290 musb_ep_select(mbase, 0); in service_zero_data_request()
419 musb_ep_select(mbase, epnum); in service_zero_data_request()
438 musb_ep_select(mbase, 0); in service_zero_data_request()
645 void __iomem *mbase = musb->mregs; in musb_g_ep0_irq() local
[all …]
A Dmusb_dsps.c976 void __iomem *mbase; in dsps_suspend() local
991 mbase = musb->ctrl_base; in dsps_suspend()
992 glue->context.control = musb_readl(mbase, wrp->control); in dsps_suspend()
996 glue->context.mode = musb_readl(mbase, wrp->mode); in dsps_suspend()
997 glue->context.tx_mode = musb_readl(mbase, wrp->tx_mode); in dsps_suspend()
998 glue->context.rx_mode = musb_readl(mbase, wrp->rx_mode); in dsps_suspend()
1010 void __iomem *mbase; in dsps_resume() local
1017 mbase = musb->ctrl_base; in dsps_resume()
1018 musb_writel(mbase, wrp->control, glue->context.control); in dsps_resume()
1022 musb_writel(mbase, wrp->mode, glue->context.mode); in dsps_resume()
[all …]
A Dmusb_core.c630 void __iomem *mbase = musb->mregs; in musb_hnp_stop() local
730 void __iomem *mbase = musb->mregs; in musb_handle_intr_sessreq() local
1152 void __iomem *mbase = musb->mregs; in musb_disable_interrupts() local
1162 musb_clearb(mbase, MUSB_INTRUSB); in musb_disable_interrupts()
1163 musb_clearw(mbase, MUSB_INTRTX); in musb_disable_interrupts()
1164 musb_clearw(mbase, MUSB_INTRRX); in musb_disable_interrupts()
1382 void __iomem *mbase = musb->mregs; in fifo_setup() local
1555 musb_ep_select(mbase, epnum); in ep_config_from_hw()
1680 hw_ep->conf = mbase + 0x400 + in musb_core_init()
2160 musb->mregs = mbase; in allocate_instance()
[all …]
A Dmusb_gadget.c416 musb_ep_select(mbase, epnum); in musb_g_tx()
806 musb_ep_select(mbase, epnum); in musb_g_rx()
892 musb_ep_select(mbase, epnum); in musb_g_rx()
916 void __iomem *mbase; in musb_gadget_enable() local
929 mbase = musb->mregs; in musb_gadget_enable()
969 musb_ep_select(mbase, epnum); in musb_gadget_enable()
1334 void __iomem *mbase; in musb_gadget_set_halt() local
1342 mbase = musb->mregs; in musb_gadget_set_halt()
1351 musb_ep_select(mbase, epnum); in musb_gadget_set_halt()
1455 void __iomem *mbase; in musb_gadget_fifo_flush() local
[all …]
A Dmusb_host.c686 musb_ep_select(mbase, epnum); in musb_ep_program()
904 musb_ep_select(mbase, ep->epnum); in musb_bulk_nak_timeout()
1063 musb_ep_select(mbase, 0); in musb_h_ep0_irq()
1205 musb_ep_select(mbase, epnum); in musb_host_tx()
1249 musb_ep_select(mbase, epnum); in musb_host_tx()
1275 musb_ep_select(mbase, epnum); in musb_host_tx()
1451 musb_ep_select(mbase, epnum); in musb_host_tx()
1739 musb_ep_select(mbase, epnum); in musb_host_rx()
1804 musb_ep_select(mbase, epnum); in musb_host_rx()
1865 musb_ep_select(mbase, epnum); in musb_host_rx()
[all …]
A Dmusb_regs.h276 static inline u8 musb_read_configdata(void __iomem *mbase) in musb_read_configdata() argument
278 musb_writeb(mbase, MUSB_INDEX, 0); in musb_read_configdata()
279 return musb_readb(mbase, 0x10 + MUSB_CONFIGDATA); in musb_read_configdata()
A Dmusb_core.h165 void (*ep_select)(void __iomem *mbase, u8 epnum);
457 void __iomem *mbase = musb->mregs; in musb_read_fifosize() local
461 reg = musb_readb(mbase, musb->io.ep_offset(epnum, MUSB_FIFOSIZE)); in musb_read_fifosize()
A Dtusb6010_omap.c106 void __iomem *mbase = musb->mregs; in tusb_omap_dma_cb() local
170 musb_ep_select(mbase, chdat->epnum); in tusb_omap_dma_cb()
189 void __iomem *mbase = musb->mregs; in tusb_omap_dma_program() local
326 musb_ep_select(mbase, chdat->epnum); in tusb_omap_dma_program()
A Dmusb_io.h30 void (*ep_select)(void __iomem *mbase, u8 epnum);
/linux-6.3-rc2/arch/powerpc/platforms/4xx/
A Dpci.c1237 void __iomem *mbase; in ppc460sx_pciex_check_link() local
1243 if (mbase == NULL) { in ppc460sx_pciex_check_link()
1256 iounmap(mbase); in ppc460sx_pciex_check_link()
1380 if (mbase == NULL) { in ppc_476fpe_pciex_check_link()
1400 iounmap(mbase); in ppc_476fpe_pciex_check_link()
1908 out_le16(mbase + PCI_COMMAND, in ppc4xx_configure_pciex_PIMs()
1974 if (mbase == NULL) { in ppc4xx_pciex_port_setup_hose()
1979 hose->cfg_addr = mbase; in ppc4xx_pciex_port_setup_hose()
2035 out_le16(mbase + 0x200, val); in ppc4xx_pciex_port_setup_hose()
2072 if (mbase) in ppc4xx_pciex_port_setup_hose()
[all …]
/linux-6.3-rc2/drivers/edac/
A Di10nm_base.c175 if (!imc->mbase) in enable_retry_rd_err_log()
220 if (!imc->mbase) in show_retry_rd_err_log()
664 void __iomem *mbase; in i10nm_get_ddr_munits() local
709 if (!mbase) { in i10nm_get_ddr_munits()
715 d->imc[i].mbase = mbase; in i10nm_get_ddr_munits()
737 void __iomem *mbase; in i10nm_get_hbm_munits() local
785 if (!mbase) { in i10nm_get_hbm_munits()
794 d->imc[lmc].mbase = mbase; in i10nm_get_hbm_munits()
799 iounmap(d->imc[lmc].mbase); in i10nm_get_hbm_munits()
800 d->imc[lmc].mbase = NULL; in i10nm_get_hbm_munits()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A Dmbox.c144 mdev->mbase = mbox->hwbase + (devid * MBOX_SIZE); in otx2_mbox_init()
145 mdev->hwbase = mdev->mbase; in otx2_mbox_init()
173 mdev->mbase = hwbase[devid]; in otx2_mbox_regions_init()
226 if (mdev->mbase != hw_mbase) in otx2_mbox_msg_send()
228 mdev->mbase + mbox->tx_start + msgs_offset, in otx2_mbox_msg_send()
281 msghdr = mdev->mbase + mbox->tx_start + msgs_offset + mdev->msg_size; in otx2_mbox_alloc_msg_rsp()
311 struct mbox_msghdr *pmsg = mdev->mbase + imsg; in otx2_mbox_get_rsp()
312 struct mbox_msghdr *prsp = mdev->mbase + irsp; in otx2_mbox_get_rsp()
345 struct mbox_msghdr *preq = mdev->mbase + ireq; in otx2_mbox_check_rsp_msgs()
346 struct mbox_msghdr *prsp = mdev->mbase + irsp; in otx2_mbox_check_rsp_msgs()
/linux-6.3-rc2/arch/powerpc/sysdev/
A Dindirect_pci.c163 void __iomem *mbase; in setup_indirect_pci() local
165 mbase = ioremap(base, PAGE_SIZE); in setup_indirect_pci()
166 hose->cfg_addr = mbase + (cfg_addr & ~PAGE_MASK); in setup_indirect_pci()
168 mbase = ioremap(cfg_data & PAGE_MASK, PAGE_SIZE); in setup_indirect_pci()
169 hose->cfg_data = mbase + (cfg_data & ~PAGE_MASK); in setup_indirect_pci()
/linux-6.3-rc2/drivers/crypto/marvell/octeontx2/
A Dotx2_cptvf_mbox.c23 mdev->mbase = cptvf->bbuf_base; in otx2_cpt_mbox_bbuf_init()
36 if (mdev->mbase == hw_mbase) in otx2_cpt_sync_mbox_bbuf()
46 memcpy(mdev->mbase + mbox->rx_start, in otx2_cpt_sync_mbox_bbuf()
153 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + pfvf_mbox->rx_start); in otx2_cptvf_pfvf_mbox_handler()
159 msg = (struct mbox_msghdr *)(mdev->mbase + pfvf_mbox->rx_start + in otx2_cptvf_pfvf_mbox_handler()
A Dotx2_cptpf_mbox.c195 req_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2_cptpf_vfpf_mbox_handler()
199 msg = (struct mbox_msghdr *)(mdev->mbase + offset); in otx2_cptpf_vfpf_mbox_handler()
349 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + afpf_mbox->rx_start); in otx2_cptpf_afpf_mbox_handler()
353 msg = (struct mbox_msghdr *)(mdev->mbase + afpf_mbox->rx_start + in otx2_cptpf_afpf_mbox_handler()
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/nic/
A Dotx2_vf.c100 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_handler()
106 msg = (struct mbox_msghdr *)(mdev->mbase + offset); in otx2vf_vfaf_mbox_handler()
164 rsp_hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_up_handler()
171 msg = (struct mbox_msghdr *)(mdev->mbase + offset); in otx2vf_vfaf_mbox_up_handler()
199 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_intr_handler()
212 hdr = (struct mbox_hdr *)(mdev->mbase + mbox->rx_start); in otx2vf_vfaf_mbox_intr_handler()
A Dotx2_pf.c311 hdr = mdev->mbase + mbox->rx_start; in otx2_queue_work()
334 hdr = mdev->mbase + mbox->rx_start; in otx2_queue_work()
362 src_mdev->mbase = bbuf_base; in otx2_forward_msg_pfvf()
394 dst_mdev->mbase = src_mdev->mbase; in otx2_forward_vf_mbox_msgs()
407 dst_mdev->mbase = pf->mbox.bbuf_base; in otx2_forward_vf_mbox_msgs()
415 req_hdr = (struct mbox_hdr *)(dst_mdev->mbase + in otx2_forward_vf_mbox_msgs()
425 req_hdr = (struct mbox_hdr *)(src_mdev->mbase + in otx2_forward_vf_mbox_msgs()
437 dst_mdev->mbase = src_mdev->mbase; in otx2_forward_vf_mbox_msgs()
520 msg = mdev->mbase + offset; in otx2_pfvf_mbox_up_handler()
835 msg = (struct mbox_msghdr *)(mdev->mbase + offset); in otx2_pfaf_mbox_handler()
[all …]
A Dotx2_common.h644 mdev->mbase = mbox->bbuf_base; in otx2_mbox_bbuf_init()
648 mdev->mbase = mbox->bbuf_base; in otx2_mbox_bbuf_init()
660 if (mdev->mbase == hw_mbase) in otx2_sync_mbox_bbuf()
670 memcpy(mdev->mbase + mbox->rx_start, in otx2_sync_mbox_bbuf()
/linux-6.3-rc2/arch/powerpc/kernel/
A Dfadump.c1127 u64 mbase, msize; in fadump_create_elfcore_headers() local
1129 mbase = crash_mrange_info.mem_ranges[i].base; in fadump_create_elfcore_headers()
1138 phdr->p_offset = mbase; in fadump_create_elfcore_headers()
1140 if (mbase == raddr) { in fadump_create_elfcore_headers()
1153 phdr->p_paddr = mbase; in fadump_create_elfcore_headers()
1154 phdr->p_vaddr = (unsigned long)__va(mbase); in fadump_create_elfcore_headers()

Completed in 64 milliseconds

12