Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/ti/
Dnetcp_core.c66 #define for_each_netcp_device_module(netcp_device, inst_modpriv) \ argument
67 list_for_each_entry(inst_modpriv, \
237 struct netcp_inst_modpriv *inst_modpriv; in netcp_module_probe() local
269 inst_modpriv = devm_kzalloc(dev, sizeof(*inst_modpriv), GFP_KERNEL); in netcp_module_probe()
270 if (!inst_modpriv) { in netcp_module_probe()
275 inst_modpriv->netcp_device = netcp_device; in netcp_module_probe()
276 inst_modpriv->netcp_module = module; in netcp_module_probe()
277 list_add_tail(&inst_modpriv->inst_list, &netcp_device->modpriv_head); in netcp_module_probe()
280 &inst_modpriv->module_priv); in netcp_module_probe()
285 list_del(&inst_modpriv->inst_list); in netcp_module_probe()
[all …]