Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/usb/renesas_usbhs/
Dmod_gadget.c36 struct usbhsg_gpriv *gpriv; member
81 #define usbhsg_for_each_uep(pos, gpriv, i) \ argument
82 __usbhsg_for_each_uep(1, pos, gpriv, i)
84 #define usbhsg_for_each_uep_with_dcp(pos, gpriv, i) \ argument
85 __usbhsg_for_each_uep(0, pos, gpriv, i)
98 #define usbhsg_uep_to_gpriv(u) ((u)->gpriv)
101 #define usbhsg_is_dcp(u) ((u) == usbhsg_gpriv_to_dcp((u)->gpriv))
122 struct usbhsg_gpriv *gpriv = usbhsg_uep_to_gpriv(uep); in __usbhsg_queue_pop() local
124 struct device *dev = usbhsg_gpriv_to_dev(gpriv); in __usbhsg_queue_pop()
125 struct usbhs_priv *priv = usbhsg_gpriv_to_priv(gpriv); in __usbhsg_queue_pop()
[all …]
/kernel/linux/linux-5.10/drivers/net/can/rcar/
Drcar_canfd.c83 #define RCANFD_GERFL_ERR(gpriv, x) ((x) & (RCANFD_GERFL_EEF1 |\ argument
85 (gpriv->fdmode ?\
496 struct rcar_canfd_global *gpriv; /* Controller reference */ member
623 static int rcar_canfd_reset_controller(struct rcar_canfd_global *gpriv) in rcar_canfd_reset_controller() argument
631 err = readl_poll_timeout((gpriv->base + RCANFD_GSTS), sts, in rcar_canfd_reset_controller()
634 dev_dbg(&gpriv->pdev->dev, "global raminit failed\n"); in rcar_canfd_reset_controller()
639 rcar_canfd_clear_bit(gpriv->base, RCANFD_GCTR, RCANFD_GCTR_GSLPR); in rcar_canfd_reset_controller()
640 rcar_canfd_update_bit(gpriv->base, RCANFD_GCTR, in rcar_canfd_reset_controller()
644 err = readl_poll_timeout((gpriv->base + RCANFD_GSTS), sts, in rcar_canfd_reset_controller()
647 dev_dbg(&gpriv->pdev->dev, "global reset failed\n"); in rcar_canfd_reset_controller()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/seeq/
Dsgiseeq.c246 static struct sgiseeq_private *gpriv; variable
252 struct sgiseeq_rx_desc *r = gpriv->rx_desc; in sgiseeq_dump_rings()
253 struct sgiseeq_tx_desc *t = gpriv->tx_desc; in sgiseeq_dump_rings()
254 struct hpc3_ethregs *hregs = gpriv->hregs; in sgiseeq_dump_rings()
280 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old); in sgiseeq_dump_rings()
770 gpriv = sp; in sgiseeq_probe()