Lines Matching defs:ops

1862 	const struct niu_phy_ops *ops = np->phy_ops;
1866 if (ops->xcvr_init)
1867 err = ops->xcvr_init(np);
1874 const struct niu_phy_ops *ops = np->phy_ops;
1878 if (ops->serdes_init)
1879 err = ops->serdes_init(np);
2197 const struct niu_phy_ops *ops = np->phy_ops;
2201 if (ops->link_status)
2202 err = ops->link_status(np, link_up_p);
2287 const struct niu_phy_ops *ops;
2292 .ops = &phy_ops_10g_fiber_niu,
2297 .ops = &phy_ops_10g_serdes_niu,
2302 .ops = &phy_ops_1g_serdes_niu,
2307 .ops = &phy_ops_10g_fiber,
2312 .ops = &phy_ops_10g_fiber_hotplug,
2317 .ops = &phy_ops_niu_10g_hotplug,
2322 .ops = &phy_ops_10g_copper,
2327 .ops = &phy_ops_1g_fiber,
2332 .ops = &phy_ops_1g_copper,
2337 .ops = &phy_ops_1g_rgmii,
2342 .ops = &phy_ops_10g_serdes,
2579 np->phy_ops = tp->ops;
3318 addr = np->ops->map_page(np->device, page, 0,
3386 np->ops->unmap_page(np->device, page->index,
3455 np->ops->unmap_page(np->device, page->index,
3524 np->ops->unmap_page(np->device, base, PAGE_SIZE,
3556 np->ops->unmap_single(np->device, tb->mapping,
3571 np->ops->unmap_page(np->device, tb->mapping,
4239 np->ops->free_coherent(np->device,
4245 np->ops->free_coherent(np->device,
4255 np->ops->free_coherent(np->device,
4269 np->ops->free_coherent(np->device,
4282 np->ops->free_coherent(np->device,
4330 rp->mbox = np->ops->alloc_coherent(np->device,
4341 rp->rcr = np->ops->alloc_coherent(np->device,
4354 rp->rbr = np->ops->alloc_coherent(np->device,
4388 rp->mbox = np->ops->alloc_coherent(np->device,
4399 rp->descr = np->ops->alloc_coherent(np->device,
6655 mapping = np->ops->map_single(np->device, skb->data,
6695 mapping = np->ops->map_page(np->device, skb_frag_page(frag),
9635 const struct niu_ops *ops, u8 port)
9651 np->ops = ops;