Home
last modified time | relevance | path

Searched refs:gpriv (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/usb/renesas_usbhs/
Dmod_gadget.c35 struct usbhsg_gpriv *gpriv; member
80 #define usbhsg_for_each_uep(pos, gpriv, i) \ argument
81 __usbhsg_for_each_uep(1, pos, gpriv, i)
83 #define usbhsg_for_each_uep_with_dcp(pos, gpriv, i) \ argument
84 __usbhsg_for_each_uep(0, pos, gpriv, i)
97 #define usbhsg_uep_to_gpriv(u) ((u)->gpriv)
100 #define usbhsg_is_dcp(u) ((u) == usbhsg_gpriv_to_dcp((u)->gpriv))
121 struct usbhsg_gpriv *gpriv = usbhsg_uep_to_gpriv(uep); in __usbhsg_queue_pop() local
123 struct device *dev = usbhsg_gpriv_to_dev(gpriv); in __usbhsg_queue_pop()
124 struct usbhs_priv *priv = usbhsg_gpriv_to_priv(gpriv); in __usbhsg_queue_pop()
[all …]
/Linux-v4.19/drivers/net/can/rcar/
Drcar_canfd.c87 #define RCANFD_GERFL_ERR(gpriv, x) ((x) & (RCANFD_GERFL_EEF1 |\ argument
89 (gpriv->fdmode ?\
500 struct rcar_canfd_global *gpriv; /* Controller reference */ member
627 static int rcar_canfd_reset_controller(struct rcar_canfd_global *gpriv) in rcar_canfd_reset_controller() argument
635 err = readl_poll_timeout((gpriv->base + RCANFD_GSTS), sts, in rcar_canfd_reset_controller()
638 dev_dbg(&gpriv->pdev->dev, "global raminit failed\n"); in rcar_canfd_reset_controller()
643 rcar_canfd_clear_bit(gpriv->base, RCANFD_GCTR, RCANFD_GCTR_GSLPR); in rcar_canfd_reset_controller()
644 rcar_canfd_update_bit(gpriv->base, RCANFD_GCTR, in rcar_canfd_reset_controller()
648 err = readl_poll_timeout((gpriv->base + RCANFD_GSTS), sts, in rcar_canfd_reset_controller()
651 dev_dbg(&gpriv->pdev->dev, "global reset failed\n"); in rcar_canfd_reset_controller()
[all …]
/Linux-v4.19/drivers/net/ethernet/seeq/
Dsgiseeq.c241 static struct sgiseeq_private *gpriv; variable
247 struct sgiseeq_rx_desc *r = gpriv->rx_desc; in sgiseeq_dump_rings()
248 struct sgiseeq_tx_desc *t = gpriv->tx_desc; in sgiseeq_dump_rings()
249 struct hpc3_ethregs *hregs = gpriv->hregs; in sgiseeq_dump_rings()
275 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old); in sgiseeq_dump_rings()
760 gpriv = sp; in sgiseeq_probe()