Lines Matching defs:ops

1881 	const struct niu_phy_ops *ops = np->phy_ops;
1885 if (ops->xcvr_init)
1886 err = ops->xcvr_init(np);
1893 const struct niu_phy_ops *ops = np->phy_ops;
1897 if (ops->serdes_init)
1898 err = ops->serdes_init(np);
2216 const struct niu_phy_ops *ops = np->phy_ops;
2220 if (ops->link_status)
2221 err = ops->link_status(np, link_up_p);
2306 const struct niu_phy_ops *ops;
2311 .ops = &phy_ops_10g_fiber_niu,
2316 .ops = &phy_ops_10g_serdes_niu,
2321 .ops = &phy_ops_1g_serdes_niu,
2326 .ops = &phy_ops_10g_fiber,
2331 .ops = &phy_ops_10g_fiber_hotplug,
2336 .ops = &phy_ops_niu_10g_hotplug,
2341 .ops = &phy_ops_10g_copper,
2346 .ops = &phy_ops_1g_fiber,
2351 .ops = &phy_ops_1g_copper,
2356 .ops = &phy_ops_1g_rgmii,
2361 .ops = &phy_ops_10g_serdes,
2598 np->phy_ops = tp->ops;
3337 addr = np->ops->map_page(np->device, page, 0,
3405 np->ops->unmap_page(np->device, page->index,
3474 np->ops->unmap_page(np->device, page->index,
3543 np->ops->unmap_page(np->device, base, PAGE_SIZE,
3575 np->ops->unmap_single(np->device, tb->mapping,
3590 np->ops->unmap_page(np->device, tb->mapping,
4258 np->ops->free_coherent(np->device,
4264 np->ops->free_coherent(np->device,
4274 np->ops->free_coherent(np->device,
4288 np->ops->free_coherent(np->device,
4301 np->ops->free_coherent(np->device,
4349 rp->mbox = np->ops->alloc_coherent(np->device,
4360 rp->rcr = np->ops->alloc_coherent(np->device,
4373 rp->rbr = np->ops->alloc_coherent(np->device,
4407 rp->mbox = np->ops->alloc_coherent(np->device,
4418 rp->descr = np->ops->alloc_coherent(np->device,
6673 mapping = np->ops->map_single(np->device, skb->data,
6713 mapping = np->ops->map_page(np->device, skb_frag_page(frag),
9659 const struct niu_ops *ops, u8 port)
9675 np->ops = ops;