Searched refs:ops_ptr (Results 1 – 2 of 2) sorted by relevance
2010 static void sxgbe_get_ops(struct sxgbe_ops * const ops_ptr) in sxgbe_get_ops() argument2012 ops_ptr->mac = sxgbe_get_core_ops(); in sxgbe_get_ops()2013 ops_ptr->desc = sxgbe_get_desc_ops(); in sxgbe_get_ops()2014 ops_ptr->dma = sxgbe_get_dma_ops(); in sxgbe_get_ops()2015 ops_ptr->mtl = sxgbe_get_mtl_ops(); in sxgbe_get_ops()2018 ops_ptr->mii.addr = SXGBE_MDIO_SCMD_ADD_REG; in sxgbe_get_ops()2019 ops_ptr->mii.data = SXGBE_MDIO_SCMD_DATA_REG; in sxgbe_get_ops()2025 ops_ptr->link.port = 0; in sxgbe_get_ops()2026 ops_ptr->link.duplex = 0; in sxgbe_get_ops()2027 ops_ptr->link.speed = SXGBE_SPEED_10G; in sxgbe_get_ops()
859 static int nf_hook_cmp(struct nf_queue_entry *entry, unsigned long ops_ptr) in nf_hook_cmp() argument861 return entry->elem == (struct nf_hook_ops *)ops_ptr; in nf_hook_cmp()