Home
last modified time | relevance | path

Searched refs:can_ml (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/net/can/
H A Dproc.c325 struct can_ml_priv *can_ml = can_get_ml_priv(dev); in can_rcvlist_proc_show() local
327 if (can_ml) in can_rcvlist_proc_show()
329 &can_ml->dev_rcv_lists); in can_rcvlist_proc_show()
381 struct can_ml_priv *can_ml = can_get_ml_priv(dev); in can_rcvlist_sff_proc_show() local
383 if (can_ml) { in can_rcvlist_sff_proc_show()
384 dev_rcv_lists = &can_ml->dev_rcv_lists; in can_rcvlist_sff_proc_show()
414 struct can_ml_priv *can_ml = can_get_ml_priv(dev); in can_rcvlist_eff_proc_show() local
416 if (can_ml) { in can_rcvlist_eff_proc_show()
417 dev_rcv_lists = &can_ml->dev_rcv_lists; in can_rcvlist_eff_proc_show()
H A Daf_can.c307 struct can_ml_priv *can_ml = can_get_ml_priv(dev); in can_dev_rcv_lists_find() local
308 return &can_ml->dev_rcv_lists; in can_dev_rcv_lists_find()
/OK3568_Linux_fs/kernel/net/can/j1939/
H A Dmain.c150 struct can_ml_priv *can_ml = can_get_ml_priv(ndev); in j1939_priv_set() local
152 can_ml->j1939_priv = priv; in j1939_priv_set()
225 struct can_ml_priv *can_ml = can_get_ml_priv(ndev); in j1939_ndev_to_priv() local
227 return can_ml->j1939_priv; in j1939_ndev_to_priv()
362 struct can_ml_priv *can_ml = can_get_ml_priv(ndev); in j1939_netdev_notify() local
365 if (!can_ml) in j1939_netdev_notify()
H A Dsocket.c463 struct can_ml_priv *can_ml; in j1939_sk_bind() local
472 can_ml = can_get_ml_priv(ndev); in j1939_sk_bind()
473 if (!can_ml) { in j1939_sk_bind()
/OK3568_Linux_fs/kernel/drivers/net/can/
H A Dvxcan.c144 struct can_ml_priv *can_ml; in vxcan_setup() local
155 can_ml = netdev_priv(dev) + ALIGN(sizeof(struct vxcan_priv), NETDEV_ALIGN); in vxcan_setup()
156 can_set_ml_priv(dev, can_ml); in vxcan_setup()
H A Dslcan.c519 struct can_ml_priv *can_ml; in slc_alloc() local
542 can_ml = (void *)sl + ALIGN(sizeof(*sl), NETDEV_ALIGN); in slc_alloc()
543 can_set_ml_priv(dev, can_ml); in slc_alloc()
/OK3568_Linux_fs/kernel/drivers/net/can/dev/
H A Ddev.c750 struct can_ml_priv *can_ml; in alloc_candev_mqs() local
782 can_ml = (void *)priv + ALIGN(sizeof_priv, NETDEV_ALIGN); in alloc_candev_mqs()
783 can_set_ml_priv(dev, can_ml); in alloc_candev_mqs()