Searched refs:inst_modpriv (Results 1 – 1 of 1) sorted by relevance
66 #define for_each_netcp_device_module(netcp_device, inst_modpriv) \ argument67 list_for_each_entry(inst_modpriv, \237 struct netcp_inst_modpriv *inst_modpriv; in netcp_module_probe() local269 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 …]