Searched refs:mcam_mod (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/brocade/bna/
H A Dbna_enet.c1813 bna_mcam_mod_init(struct bna_mcam_mod *mcam_mod, struct bna *bna, bna_mcam_mod_init() argument
1818 mcam_mod->mcmac = (struct bna_mac *) bna_mcam_mod_init()
1821 INIT_LIST_HEAD(&mcam_mod->free_q); bna_mcam_mod_init()
1823 list_add_tail(&mcam_mod->mcmac[i].qe, &mcam_mod->free_q); bna_mcam_mod_init()
1825 mcam_mod->mchandle = (struct bna_mcam_handle *) bna_mcam_mod_init()
1828 INIT_LIST_HEAD(&mcam_mod->free_handle_q); bna_mcam_mod_init()
1830 list_add_tail(&mcam_mod->mchandle[i].qe, bna_mcam_mod_init()
1831 &mcam_mod->free_handle_q); bna_mcam_mod_init()
1834 INIT_LIST_HEAD(&mcam_mod->del_q); bna_mcam_mod_init()
1836 list_add_tail(&mcam_mod->mcmac[i].qe, &mcam_mod->del_q); bna_mcam_mod_init()
1838 mcam_mod->bna = bna; bna_mcam_mod_init()
1842 bna_mcam_mod_uninit(struct bna_mcam_mod *mcam_mod) bna_mcam_mod_uninit() argument
1844 mcam_mod->bna = NULL; bna_mcam_mod_uninit()
2005 bna_mcam_mod_init(&bna->mcam_mod, bna, res_info); bna_mod_init()
2017 bna_mcam_mod_uninit(&bna->mcam_mod); bna_uninit()
2070 bna_mcam_mod_handle_get(struct bna_mcam_mod *mcam_mod) bna_mcam_mod_handle_get() argument
2074 handle = list_first_entry_or_null(&mcam_mod->free_handle_q, bna_mcam_mod_handle_get()
2083 bna_mcam_mod_handle_put(struct bna_mcam_mod *mcam_mod, bna_mcam_mod_handle_put() argument
2086 list_add_tail(&handle->qe, &mcam_mod->free_handle_q); bna_mcam_mod_handle_put()
H A Dbna.h236 #define bna_mcam_mod_free_q(_bna) (&(_bna)->mcam_mod.free_q)
238 #define bna_mcam_mod_del_q(_bna) (&(_bna)->mcam_mod.del_q)
280 void bna_mcam_mod_handle_put(struct bna_mcam_mod *mcam_mod,
H A Dbna_tx_rx.c392 mchandle = bna_mcam_mod_handle_get(&rxf->rx->bna->mcam_mod); bna_rxf_mchandle_attach()
419 bna_mcam_mod_handle_put(&rxf->rx->bna->mcam_mod, mchandle); bna_rxf_mcast_del()
843 struct bna_mcam_mod *mcam_mod = &rx->bna->mcam_mod; bna_rx_mcast_listset() local
854 list_move_tail(&mac->qe, &mcam_mod->free_q); bna_rx_mcast_listset()
861 del_mac = bna_cam_mod_mac_get(&mcam_mod->del_q); bna_rx_mcast_listset()
866 list_move_tail(&mac->qe, &mcam_mod->free_q); bna_rx_mcast_listset()
872 mac = bna_cam_mod_mac_get(&mcam_mod->free_q); bna_rx_mcast_listset()
894 list_move_tail(&mac->qe, &mcam_mod->free_q); bna_rx_mcast_listset()
H A Dbna_types.h930 struct bna_mcam_mod mcam_mod; member in struct:bna

Completed in 142 milliseconds