netcp_device 33 drivers/net/ethernet/ti/netcp.h struct netcp_device; netcp_device 36 drivers/net/ethernet/ti/netcp.h struct netcp_device *netcp_device; netcp_device 119 drivers/net/ethernet/ti/netcp.h struct netcp_device *netcp_device; netcp_device 193 drivers/net/ethernet/ti/netcp.h int (*probe)(struct netcp_device *netcp_device, netcp_device 196 drivers/net/ethernet/ti/netcp.h int (*remove)(struct netcp_device *netcp_device, void *inst_priv); netcp_device 222 drivers/net/ethernet/ti/netcp.h struct netcp_device *netcp_device, netcp_device 236 drivers/net/ethernet/ti/netcp.h void *netcp_device_find_module(struct netcp_device *netcp_device, netcp_device 66 drivers/net/ethernet/ti/netcp_core.c #define for_each_netcp_device_module(netcp_device, inst_modpriv) \ netcp_device 68 drivers/net/ethernet/ti/netcp_core.c &((netcp_device)->modpriv_head), inst_list) netcp_device 82 drivers/net/ethernet/ti/netcp_core.c struct netcp_device *netcp_device; netcp_device 231 drivers/net/ethernet/ti/netcp_core.c static int netcp_module_probe(struct netcp_device *netcp_device, netcp_device 234 drivers/net/ethernet/ti/netcp_core.c struct device *dev = netcp_device->device; netcp_device 275 drivers/net/ethernet/ti/netcp_core.c inst_modpriv->netcp_device = netcp_device; netcp_device 277 drivers/net/ethernet/ti/netcp_core.c list_add_tail(&inst_modpriv->inst_list, &netcp_device->modpriv_head); netcp_device 279 drivers/net/ethernet/ti/netcp_core.c ret = module->probe(netcp_device, dev, child, netcp_device 300 drivers/net/ethernet/ti/netcp_core.c list_for_each_entry(netcp_intf, &netcp_device->interface_head, netcp_device 337 drivers/net/ethernet/ti/netcp_core.c &netcp_device->interface_head, netcp_device 351 drivers/net/ethernet/ti/netcp_core.c struct netcp_device *netcp_device; netcp_device 375 drivers/net/ethernet/ti/netcp_core.c list_for_each_entry(netcp_device, &netcp_devices, device_list) { netcp_device 376 drivers/net/ethernet/ti/netcp_core.c ret = netcp_module_probe(netcp_device, module); netcp_device 390 drivers/net/ethernet/ti/netcp_core.c static void netcp_release_module(struct netcp_device *netcp_device, netcp_device 395 drivers/net/ethernet/ti/netcp_core.c struct device *dev = netcp_device->device; netcp_device 399 drivers/net/ethernet/ti/netcp_core.c &netcp_device->interface_head, netcp_device 417 drivers/net/ethernet/ti/netcp_core.c &netcp_device->modpriv_head, inst_list) { netcp_device 419 drivers/net/ethernet/ti/netcp_core.c module->remove(netcp_device, netcp_device 430 drivers/net/ethernet/ti/netcp_core.c struct netcp_device *netcp_device; netcp_device 435 drivers/net/ethernet/ti/netcp_core.c list_for_each_entry(netcp_device, &netcp_devices, device_list) { netcp_device 436 drivers/net/ethernet/ti/netcp_core.c netcp_release_module(netcp_device, module); netcp_device 1329 drivers/net/ethernet/ti/netcp_core.c struct device *dev = tx_pipe->netcp_device->device; netcp_device 1371 drivers/net/ethernet/ti/netcp_core.c struct netcp_device *netcp_device, netcp_device 1375 drivers/net/ethernet/ti/netcp_core.c tx_pipe->netcp_device = netcp_device; netcp_device 1680 drivers/net/ethernet/ti/netcp_core.c netcp->rx_channel = knav_dma_open_channel(netcp->netcp_device->device, netcp_device 1958 drivers/net/ethernet/ti/netcp_core.c static int netcp_create_interface(struct netcp_device *netcp_device, netcp_device 1961 drivers/net/ethernet/ti/netcp_core.c struct device *dev = netcp_device->device; netcp_device 1997 drivers/net/ethernet/ti/netcp_core.c netcp->netcp_device = netcp_device; netcp_device 1998 drivers/net/ethernet/ti/netcp_core.c netcp->dev = netcp_device->device; netcp_device 2111 drivers/net/ethernet/ti/netcp_core.c list_add_tail(&netcp->interface_list, &netcp_device->interface_head); netcp_device 2119 drivers/net/ethernet/ti/netcp_core.c static void netcp_delete_interface(struct netcp_device *netcp_device, netcp_device 2126 drivers/net/ethernet/ti/netcp_core.c dev_dbg(netcp_device->device, "Removing interface \"%s\"\n", netcp_device 2133 drivers/net/ethernet/ti/netcp_core.c dev_dbg(netcp_device->device, "Releasing module \"%s\"\n", netcp_device 2154 drivers/net/ethernet/ti/netcp_core.c struct netcp_device *netcp_device; netcp_device 2169 drivers/net/ethernet/ti/netcp_core.c netcp_device = devm_kzalloc(dev, sizeof(*netcp_device), GFP_KERNEL); netcp_device 2170 drivers/net/ethernet/ti/netcp_core.c if (!netcp_device) netcp_device 2182 drivers/net/ethernet/ti/netcp_core.c INIT_LIST_HEAD(&netcp_device->interface_head); netcp_device 2183 drivers/net/ethernet/ti/netcp_core.c INIT_LIST_HEAD(&netcp_device->modpriv_head); netcp_device 2184 drivers/net/ethernet/ti/netcp_core.c netcp_device->device = dev; netcp_device 2185 drivers/net/ethernet/ti/netcp_core.c platform_set_drvdata(pdev, netcp_device); netcp_device 2196 drivers/net/ethernet/ti/netcp_core.c ret = netcp_create_interface(netcp_device, child); netcp_device 2207 drivers/net/ethernet/ti/netcp_core.c list_add_tail(&netcp_device->device_list, &netcp_devices); netcp_device 2212 drivers/net/ethernet/ti/netcp_core.c ret = netcp_module_probe(netcp_device, module); netcp_device 2221 drivers/net/ethernet/ti/netcp_core.c &netcp_device->interface_head, netcp_device 2223 drivers/net/ethernet/ti/netcp_core.c netcp_delete_interface(netcp_device, netcp_intf->ndev); netcp_device 2237 drivers/net/ethernet/ti/netcp_core.c struct netcp_device *netcp_device = platform_get_drvdata(pdev); netcp_device 2242 drivers/net/ethernet/ti/netcp_core.c list_for_each_entry_safe(inst_modpriv, tmp, &netcp_device->modpriv_head, netcp_device 2246 drivers/net/ethernet/ti/netcp_core.c module->remove(netcp_device, inst_modpriv->module_priv); netcp_device 2252 drivers/net/ethernet/ti/netcp_core.c &netcp_device->interface_head, netcp_device 2254 drivers/net/ethernet/ti/netcp_core.c netcp_delete_interface(netcp_device, netcp_intf->ndev); netcp_device 2257 drivers/net/ethernet/ti/netcp_core.c WARN(!list_empty(&netcp_device->interface_head), netcp_device 711 drivers/net/ethernet/ti/netcp_ethss.c struct netcp_device *netcp_device; netcp_device 3554 drivers/net/ethernet/ti/netcp_ethss.c static int gbe_probe(struct netcp_device *netcp_device, struct device *dev, netcp_device 3590 drivers/net/ethernet/ti/netcp_ethss.c gbe_dev->netcp_device = netcp_device; netcp_device 3650 drivers/net/ethernet/ti/netcp_ethss.c ret = netcp_txpipe_init(&gbe_dev->tx_pipe, netcp_device, netcp_device 3808 drivers/net/ethernet/ti/netcp_ethss.c static int gbe_remove(struct netcp_device *netcp_device, void *inst_priv)