Lines Matching refs:dbptr

39 				  struct xgene_cle_dbptr *dbptr, u32 *buf)  in xgene_cle_dbptr_to_hw()  argument
41 buf[0] = SET_VAL(CLE_DROP, dbptr->drop); in xgene_cle_dbptr_to_hw()
42 buf[4] = SET_VAL(CLE_FPSEL, dbptr->fpsel) | in xgene_cle_dbptr_to_hw()
43 SET_VAL(CLE_NFPSEL, dbptr->nxtfpsel) | in xgene_cle_dbptr_to_hw()
44 SET_VAL(CLE_DSTQIDL, dbptr->dstqid); in xgene_cle_dbptr_to_hw()
46 buf[5] = SET_VAL(CLE_DSTQIDH, (u32)dbptr->dstqid >> CLE_DSTQIDL_LEN) | in xgene_cle_dbptr_to_hw()
47 SET_VAL(CLE_PRIORITY, dbptr->cle_priority); in xgene_cle_dbptr_to_hw()
186 xgene_cle_dbptr_to_hw(pdata, &ptree->dbptr[i], buf); in xgene_cle_setup_dbptr()
615 struct xgene_cle_dbptr *dbptr, in xgene_cle_setup_def_dbptr() argument
625 xgene_cle_dbptr_to_hw(pdata, dbptr, buf); in xgene_cle_setup_def_dbptr()
765 struct xgene_cle_dbptr dbptr[DB_MAX_PTRS]; in xgene_enet_cle_init() local
791 memset(dbptr, 0, sizeof(struct xgene_cle_dbptr) * DB_MAX_PTRS); in xgene_enet_cle_init()
792 dbptr[DB_RES_ACCEPT].fpsel = def_fpsel; in xgene_enet_cle_init()
793 dbptr[DB_RES_ACCEPT].nxtfpsel = def_nxtfpsel; in xgene_enet_cle_init()
794 dbptr[DB_RES_ACCEPT].dstqid = def_qid; in xgene_enet_cle_init()
795 dbptr[DB_RES_ACCEPT].cle_priority = 1; in xgene_enet_cle_init()
797 dbptr[DB_RES_DEF].fpsel = def_fpsel; in xgene_enet_cle_init()
798 dbptr[DB_RES_DEF].nxtfpsel = def_nxtfpsel; in xgene_enet_cle_init()
799 dbptr[DB_RES_DEF].dstqid = def_qid; in xgene_enet_cle_init()
800 dbptr[DB_RES_DEF].cle_priority = 7; in xgene_enet_cle_init()
801 xgene_cle_setup_def_dbptr(pdata, enet_cle, &dbptr[DB_RES_DEF], in xgene_enet_cle_init()
804 dbptr[DB_RES_DROP].drop = 1; in xgene_enet_cle_init()
813 ptree->dbptr = dbptr; in xgene_enet_cle_init()