Home
last modified time | relevance | path

Searched refs:usbhs_read (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/usb/renesas_usbhs/
Dmod.c36 return VBSTS & usbhs_read(priv, INTSTS0); in usbhsm_autonomy_get_vbus()
211 state->intsts0 = usbhs_read(priv, INTSTS0); in usbhs_status_get_each_irq()
212 intenb0 = usbhs_read(priv, INTENB0); in usbhs_status_get_each_irq()
215 state->intsts1 = usbhs_read(priv, INTSTS1); in usbhs_status_get_each_irq()
216 intenb1 = usbhs_read(priv, INTENB1); in usbhs_status_get_each_irq()
223 state->brdysts = usbhs_read(priv, BRDYSTS); in usbhs_status_get_each_irq()
224 state->nrdysts = usbhs_read(priv, NRDYSTS); in usbhs_status_get_each_irq()
225 state->bempsts = usbhs_read(priv, BEMPSTS); in usbhs_status_get_each_irq()
Dcommon.c68 u16 usbhs_read(struct usbhs_priv *priv, u32 reg) in usbhs_read() function
80 u16 val = usbhs_read(priv, reg); in usbhs_bset()
150 return usbhs_read(priv, FRMNUM) & FRNM_MASK; in usbhs_frame_get_num()
160 val = usbhs_read(priv, USBREQ); in usbhs_usbreq_get_val()
164 req->wValue = usbhs_read(priv, USBVAL); in usbhs_usbreq_get_val()
165 req->wIndex = usbhs_read(priv, USBINDX); in usbhs_usbreq_get_val()
166 req->wLength = usbhs_read(priv, USBLENG); in usbhs_usbreq_get_val()
184 u16 status = usbhs_read(priv, DVSTCTR) & (USBRST | UACT); in usbhs_bus_send_sof_enable()
201 u16 dvstctr = usbhs_read(priv, DVSTCTR); in usbhs_bus_get_speed()
Dpipe.c67 return usbhs_read(priv, DCPCTR); in usbhsp_pipectrl_get()
69 return usbhs_read(priv, PIPEnCTR + offset); in usbhsp_pipectrl_get()
93 return usbhs_read(priv, dcp_reg); in __usbhsp_pipe_xxx_get()
95 return usbhs_read(priv, pipe_reg); in __usbhsp_pipe_xxx_get()
Dcommon.h285 u16 usbhs_read(struct usbhs_priv *priv, u32 reg);
Dfifo.c259 if (usbhs_read(priv, fifo->ctr) & FRDY) in usbhsf_fifo_barrier()
294 return usbhs_read(priv, fifo->ctr) & DTLN_MASK; in usbhsf_fifo_rcv_len()
335 if (base == (mask & usbhs_read(priv, fifo->sel))) { in usbhsf_fifo_select()
/Linux-v4.19/drivers/mfd/
Domap-usb-host.c127 static inline u32 usbhs_read(void __iomem *base, u32 reg) in usbhs_read() function
455 reg = usbhs_read(omap->uhh_base, OMAP_UHH_HOSTCONFIG); in omap_usbhs_init()
596 omap->usbhs_rev = usbhs_read(omap->uhh_base, OMAP_UHH_REVISION); in usbhs_omap_probe()