Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ti/
H A Dnetcp.h33 struct netcp_device;
36 struct netcp_device *netcp_device; member
119 struct netcp_device *netcp_device; member
193 int (*probe)(struct netcp_device *netcp_device,
196 int (*remove)(struct netcp_device *netcp_device, void *inst_priv);
222 struct netcp_device *netcp_device,
H A Dnetcp_core.c65 #define for_each_netcp_device_module(netcp_device, inst_modpriv) \ argument
67 &((netcp_device)->modpriv_head), inst_list)
73 struct netcp_device { struct
81 struct netcp_device *netcp_device; argument
230 static int netcp_module_probe(struct netcp_device *netcp_device, in netcp_module_probe() argument
233 struct device *dev = netcp_device->device; in netcp_module_probe()
274 inst_modpriv->netcp_device = netcp_device; in netcp_module_probe()
276 list_add_tail(&inst_modpriv->inst_list, &netcp_device->modpriv_head); in netcp_module_probe()
278 ret = module->probe(netcp_device, dev, child, in netcp_module_probe()
299 list_for_each_entry(netcp_intf, &netcp_device->interface_head, in netcp_module_probe()
[all …]
H A Dnetcp_ethss.c709 struct netcp_device *netcp_device; member
3544 static int gbe_probe(struct netcp_device *netcp_device, struct device *dev, in gbe_probe() argument
3580 gbe_dev->netcp_device = netcp_device; in gbe_probe()
3638 ret = netcp_txpipe_init(&gbe_dev->tx_pipe, netcp_device, in gbe_probe()
3800 static int gbe_remove(struct netcp_device *netcp_device, void *inst_priv) in gbe_remove() argument