Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/usb/renesas_usbhs/
Dmod.c28 return VBSTS & usbhs_read(priv, INTSTS0); in usbhsm_autonomy_get_vbus()
200 state->intsts0 = usbhs_read(priv, INTSTS0); in usbhs_status_get_each_irq()
201 intenb0 = usbhs_read(priv, INTENB0); in usbhs_status_get_each_irq()
204 state->intsts1 = usbhs_read(priv, INTSTS1); in usbhs_status_get_each_irq()
205 intenb1 = usbhs_read(priv, INTENB1); in usbhs_status_get_each_irq()
212 state->brdysts = usbhs_read(priv, BRDYSTS); in usbhs_status_get_each_irq()
213 state->nrdysts = usbhs_read(priv, NRDYSTS); in usbhs_status_get_each_irq()
214 state->bempsts = usbhs_read(priv, BEMPSTS); in usbhs_status_get_each_irq()
Dcommon.c61 u16 usbhs_read(struct usbhs_priv *priv, u32 reg) in usbhs_read() function
73 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 = cpu_to_le16(usbhs_read(priv, USBVAL)); in usbhs_usbreq_get_val()
165 req->wIndex = cpu_to_le16(usbhs_read(priv, USBINDX)); in usbhs_usbreq_get_val()
166 req->wLength = cpu_to_le16(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.h289 u16 usbhs_read(struct usbhs_priv *priv, u32 reg);
Dfifo.c269 if (usbhs_read(priv, fifo->ctr) & FRDY) in usbhsf_fifo_barrier()
304 return usbhs_read(priv, fifo->ctr) & DTLN_MASK; in usbhsf_fifo_rcv_len()
342 if (base == (mask & usbhs_read(priv, fifo->sel))) { in usbhsf_fifo_select()
/linux-5.19.10/drivers/mfd/
Domap-usb-host.c116 static inline u32 usbhs_read(void __iomem *base, u32 reg) in usbhs_read() function
444 reg = usbhs_read(omap->uhh_base, OMAP_UHH_HOSTCONFIG); in omap_usbhs_init()
587 omap->usbhs_rev = usbhs_read(omap->uhh_base, OMAP_UHH_REVISION); in usbhs_omap_probe()