Searched refs:gpriv (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/net/can/rcar/ |
H A D | rcar_canfd.c | 84 #define RCANFD_GERFL_ERR(gpriv, x) \ argument 85 ((x) & (reg_gen4(gpriv, RCANFD_GERFL_EEF0_7, \ 88 ((gpriv)->fdmode ? RCANFD_GERFL_CMPOF : 0))) 93 #define RCANFD_GAFLCFG_SETRNC(gpriv, n, x) \ argument 94 (((x) & reg_gen4(gpriv, 0x1ff, 0xff)) << \ 95 (reg_gen4(gpriv, 16, 24) - ((n) & 1) * reg_gen4(gpriv, 16, 8))) 97 #define RCANFD_GAFLCFG_GETRNC(gpriv, n, x) \ argument 98 (((x) >> (reg_gen4(gpriv, 16, 24) - ((n) & 1) * reg_gen4(gpriv, 16, 8))) & \ 99 reg_gen4(gpriv, 0x1ff, 0xff)) 103 #define RCANFD_GAFLECTR_AFLPN(gpriv, x) ((x) & reg_gen4(gpriv, 0x7f, 0x1f)) argument [all …]
|
/openbmc/linux/drivers/usb/renesas_usbhs/ |
H A D | mod_gadget.c | 36 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 …]
|
/openbmc/linux/drivers/net/ethernet/seeq/ |
H A D | sgiseeq.c | 246 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()
|