Lines Matching refs:readl

61 	writel(readl(ptr) | val, ptr);  in __orr32()
66 writel(readl(ptr) & ~val, ptr); in __bic32()
112 u32 gsintmsk = readl(hsotg->regs + GINTMSK); in s3c_hsotg_en_gsint()
130 u32 gsintmsk = readl(hsotg->regs + GINTMSK); in s3c_hsotg_disable_gsint()
161 daint = readl(hsotg->regs + DAINTMSK); in s3c_hsotg_ctrl_epint()
229 val = readl(hsotg->regs + GRSTCTL); in s3c_hsotg_init_fifo()
322 u32 gnptxsts = readl(hsotg->regs + GNPTXSTS); in s3c_hsotg_write_fifo()
337 u32 epsize = readl(hsotg->regs + DIEPTSIZ(hs_ep->index)); in s3c_hsotg_write_fifo()
378 can_write = readl(hsotg->regs + DTXFSTS(hs_ep->index)); in s3c_hsotg_write_fifo()
555 __func__, readl(hsotg->regs + epctrl_reg), index, in s3c_hsotg_start_req()
559 ctrl = readl(hsotg->regs + epctrl_reg); in s3c_hsotg_start_req()
681 if (!(readl(hsotg->regs + epctrl_reg) & DXEPCTL_EPENA)) in s3c_hsotg_start_req()
684 index, readl(hsotg->regs + epctrl_reg)); in s3c_hsotg_start_req()
687 __func__, readl(hsotg->regs + epctrl_reg)); in s3c_hsotg_start_req()
899 int dctl = readl(hsotg->regs + DCTL); in s3c_hsotg_set_test_mode()
1172 ctrl = readl(hsotg->regs + reg); in s3c_hsotg_stall_ep0()
1179 ctrl, reg, readl(hsotg->regs + reg)); in s3c_hsotg_stall_ep0()
1223 dcfg = readl(hsotg->regs + DCFG); in s3c_hsotg_process_control()
1349 ctrl = readl(hsotg->regs + epctl_reg); in s3c_hsotg_program_zlp()
1447 u32 epctl = readl(hsotg->regs + DOEPCTL(ep_idx)); in s3c_hsotg_rx_data()
1456 (void)readl(fifo); in s3c_hsotg_rx_data()
1521 u32 epsize = readl(hsotg->regs + DOEPTSIZ(epnum)); in s3c_hsotg_handle_outdone()
1593 dsts = readl(hsotg->regs + DSTS); in s3c_hsotg_read_frameno()
1618 u32 grxstsr = readl(hsotg->regs + GRXSTSP); in s3c_hsotg_handle_rx()
1649 readl(hsotg->regs + DOEPCTL(0))); in s3c_hsotg_handle_rx()
1667 readl(hsotg->regs + DOEPCTL(0))); in s3c_hsotg_handle_rx()
1746 reg = readl(regs + DIEPCTL(ep)); in s3c_hsotg_set_ep_maxpacket()
1751 reg = readl(regs + DOEPCTL(ep)); in s3c_hsotg_set_ep_maxpacket()
1780 val = readl(hsotg->regs + GRSTCTL); in s3c_hsotg_txfifo_flush()
1841 u32 epsize = readl(hsotg->regs + DIEPTSIZ(hs_ep->index)); in s3c_hsotg_complete_in()
1932 ints = readl(hsotg->regs + epint_reg); in s3c_hsotg_epint()
1933 ctrl = readl(hsotg->regs + epctl_reg); in s3c_hsotg_epint()
1962 __func__, readl(hsotg->regs + epctl_reg), in s3c_hsotg_epint()
1963 readl(hsotg->regs + epsiz_reg)); in s3c_hsotg_epint()
1988 int epctl = readl(hsotg->regs + epctl_reg); in s3c_hsotg_epint()
1994 int dctl = readl(hsotg->regs + DCTL); in s3c_hsotg_epint()
2059 u32 dsts = readl(hsotg->regs + DSTS); in s3c_hsotg_irq_enumdone()
2126 readl(hsotg->regs + DIEPCTL0), in s3c_hsotg_irq_enumdone()
2127 readl(hsotg->regs + DOEPCTL0)); in s3c_hsotg_irq_enumdone()
2154 size = (readl(hsotg->regs + DTXFSTS(ep->index)) & 0xffff) * 4; in kill_all_requests()
2243 grstctl = readl(hsotg->regs + GRSTCTL); in s3c_hsotg_corereset()
2254 u32 grstctl = readl(hsotg->regs + GRSTCTL); in s3c_hsotg_corereset()
2353 readl(hsotg->regs + DIEPCTL0), in s3c_hsotg_core_init_disconnected()
2354 readl(hsotg->regs + DOEPCTL0)); in s3c_hsotg_core_init_disconnected()
2377 dev_dbg(hsotg->dev, "DCTL=0x%08x\n", readl(hsotg->regs + DCTL)); in s3c_hsotg_core_init_disconnected()
2400 readl(hsotg->regs + DIEPCTL0), in s3c_hsotg_core_init_disconnected()
2401 readl(hsotg->regs + DOEPCTL0)); in s3c_hsotg_core_init_disconnected()
2441 gintsts = readl(hsotg->regs + GINTSTS); in s3c_hsotg_irq()
2442 gintmsk = readl(hsotg->regs + GINTMSK); in s3c_hsotg_irq()
2456 u32 daint = readl(hsotg->regs + DAINT); in s3c_hsotg_irq()
2457 u32 daintmsk = readl(hsotg->regs + DAINTMSK); in s3c_hsotg_irq()
2482 u32 usb_status = readl(hsotg->regs + GOTGCTL); in s3c_hsotg_irq()
2486 readl(hsotg->regs + GNPTXSTS)); in s3c_hsotg_irq()
2619 epctrl = readl(hsotg->regs + epctrl_reg); in s3c_hsotg_ep_enable()
2703 val = readl(hsotg->regs + DPTXFSIZN(i)); in s3c_hsotg_ep_enable()
2734 __func__, readl(hsotg->regs + epctrl_reg)); in s3c_hsotg_ep_enable()
2773 ctrl = readl(hsotg->regs + epctrl_reg); in s3c_hsotg_ep_disable_force()
2866 epctl = readl(hs->regs + epreg); in s3c_hsotg_ep_sethalt()
2883 epctl = readl(hs->regs + epreg); in s3c_hsotg_ep_sethalt()
3001 readl(hsotg->regs + GRXFSIZ), in s3c_hsotg_init()
3002 readl(hsotg->regs + GNPTXFSIZ)); in s3c_hsotg_init()
3298 cfg = readl(hsotg->regs + GHWCFG2); in s3c_hsotg_hw_cfg()
3310 cfg = readl(hsotg->regs + GHWCFG1); in s3c_hsotg_hw_cfg()
3329 cfg = readl(hsotg->regs + GHWCFG3); in s3c_hsotg_hw_cfg()
3332 cfg = readl(hsotg->regs + GHWCFG4); in s3c_hsotg_hw_cfg()
3355 readl(regs + DCFG), readl(regs + DCTL), in s3c_hsotg_dump()
3356 readl(regs + DIEPMSK)); in s3c_hsotg_dump()
3359 readl(regs + GAHBCFG), readl(regs + GHWCFG1)); in s3c_hsotg_dump()
3362 readl(regs + GRXFSIZ), readl(regs + GNPTXFSIZ)); in s3c_hsotg_dump()
3367 val = readl(regs + DPTXFSIZN(idx)); in s3c_hsotg_dump()
3376 readl(regs + DIEPCTL(idx)), in s3c_hsotg_dump()
3377 readl(regs + DIEPTSIZ(idx)), in s3c_hsotg_dump()
3378 readl(regs + DIEPDMA(idx))); in s3c_hsotg_dump()
3380 val = readl(regs + DOEPCTL(idx)); in s3c_hsotg_dump()
3383 idx, readl(regs + DOEPCTL(idx)), in s3c_hsotg_dump()
3384 readl(regs + DOEPTSIZ(idx)), in s3c_hsotg_dump()
3385 readl(regs + DOEPDMA(idx))); in s3c_hsotg_dump()
3390 readl(regs + DVBUSDIS), readl(regs + DVBUSPULSE)); in s3c_hsotg_dump()
3446 dctl = readl(hsotg->regs + DCTL); in testmode_show()
3507 readl(regs + DCFG), in state_show()
3508 readl(regs + DCTL), in state_show()
3509 readl(regs + DSTS)); in state_show()
3512 readl(regs + DIEPMSK), readl(regs + DOEPMSK)); in state_show()
3515 readl(regs + GINTMSK), in state_show()
3516 readl(regs + GINTSTS)); in state_show()
3519 readl(regs + DAINTMSK), in state_show()
3520 readl(regs + DAINT)); in state_show()
3523 readl(regs + GNPTXSTS), in state_show()
3524 readl(regs + GRXSTSR)); in state_show()
3531 in = readl(regs + DIEPCTL(idx)); in state_show()
3532 out = readl(regs + DOEPCTL(idx)); in state_show()
3537 in = readl(regs + DIEPTSIZ(idx)); in state_show()
3538 out = readl(regs + DOEPTSIZ(idx)); in state_show()
3578 seq_printf(seq, "RXFIFO: Size %d\n", readl(regs + GRXFSIZ)); in fifo_show()
3580 val = readl(regs + GNPTXFSIZ); in fifo_show()
3588 val = readl(regs + DPTXFSIZN(idx)); in fifo_show()
3641 readl(regs + DIEPCTL(index)), in ep_show()
3642 readl(regs + DOEPCTL(index))); in ep_show()
3645 readl(regs + DIEPDMA(index)), in ep_show()
3646 readl(regs + DOEPDMA(index))); in ep_show()
3649 readl(regs + DIEPINT(index)), in ep_show()
3650 readl(regs + DOEPINT(index))); in ep_show()
3653 readl(regs + DIEPTSIZ(index)), in ep_show()
3654 readl(regs + DOEPTSIZ(index))); in ep_show()