Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/ti/
Dnetcp_core.c65 #define for_each_netcp_device_module(netcp_device, inst_modpriv) \ argument
66 list_for_each_entry(inst_modpriv, \
236 struct netcp_inst_modpriv *inst_modpriv; in netcp_module_probe() local
268 inst_modpriv = devm_kzalloc(dev, sizeof(*inst_modpriv), GFP_KERNEL); in netcp_module_probe()
269 if (!inst_modpriv) { in netcp_module_probe()
274 inst_modpriv->netcp_device = netcp_device; in netcp_module_probe()
275 inst_modpriv->netcp_module = module; in netcp_module_probe()
276 list_add_tail(&inst_modpriv->inst_list, &netcp_device->modpriv_head); in netcp_module_probe()
279 &inst_modpriv->module_priv); in netcp_module_probe()
284 list_del(&inst_modpriv->inst_list); in netcp_module_probe()
[all …]