Home
last modified time | relevance | path

Searched refs:msg_obj_num (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/net/can/c_can/
H A Dc_can_ethtool.c21 ring->rx_max_pending = priv->msg_obj_num; in c_can_get_ringparam()
22 ring->tx_max_pending = priv->msg_obj_num; in c_can_get_ringparam()
H A Dc_can_pci.c35 unsigned int msg_obj_num; member
152 dev = alloc_c_can_dev(c_can_pci_data->msg_obj_num); in c_can_pci_probe()
255 .msg_obj_num = 32,
263 .msg_obj_num = 32,
H A Dc_can.h163 unsigned int msg_obj_num; member
192 unsigned int msg_obj_num; member
216 struct net_device *alloc_c_can_dev(int msg_obj_num);
H A Dc_can_platform.c196 .msg_obj_num = 32,
201 .msg_obj_num = 32,
211 .msg_obj_num = 64,
224 .msg_obj_num = 64,
300 dev = alloc_c_can_dev(drvdata->msg_obj_num); in c_can_plat_probe()
H A Dc_can_main.c553 for (i = priv->msg_obj_rx_first; i <= priv->msg_obj_num; i++) in c_can_configure_msg_objects()
1216 struct net_device *alloc_c_can_dev(int msg_obj_num) in alloc_c_can_dev() argument
1220 int msg_obj_tx_num = msg_obj_num / 2; in alloc_c_can_dev()
1227 priv->msg_obj_num = msg_obj_num; in alloc_c_can_dev()
1228 priv->msg_obj_rx_num = msg_obj_num - msg_obj_tx_num; in alloc_c_can_dev()