Home
last modified time | relevance | path

Searched refs:osh (Results 1 – 3 of 3) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c59 pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktcopy() argument
67 for (; p && offset; p = PKTNEXT(osh, p)) { in pktcopy()
68 if (offset < (uint)PKTLEN(osh, p)) in pktcopy()
70 offset -= PKTLEN(osh, p); in pktcopy()
77 for (; p && len; p = PKTNEXT(osh, p)) { in pktcopy()
78 n = MIN((uint)PKTLEN(osh, p) - offset, (uint)len); in pktcopy()
79 bcopy(PKTDATA(osh, p) + offset, buf, n); in pktcopy()
91 pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf) in pktfrombuf() argument
96 for (; p && offset; p = PKTNEXT(osh, p)) { in pktfrombuf()
97 if (offset < (uint)PKTLEN(osh, p)) in pktfrombuf()
[all …]
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h249 extern int pktpool_init(osl_t *osh, pktpool_t *pktp, int *pktplen, int plen, bool istx);
250 extern int pktpool_deinit(osl_t *osh, pktpool_t *pktp);
251 extern int pktpool_fill(osl_t *osh, pktpool_t *pktp, bool minimal);
256 extern int pktpool_avail_notify_normal(osl_t *osh, pktpool_t *pktp);
257 extern int pktpool_avail_notify_exclusive(osl_t *osh, pktpool_t *pktp, pktpool_cb_t cb);
261 extern int pktpool_setmaxlen_strict(osl_t *osh, pktpool_t *pktp, uint16 maxlen);
304 extern void pktq_pflush(osl_t *osh, struct pktq *pq, int prec, bool dir,
338 extern void pktq_flush(osl_t *osh, struct pktq *pq, bool dir, ifpkt_cb_t fn, int arg);
342 extern uint pktcopy(osl_t *osh, void *p, uint offset, int len, uchar *buf);
343 extern uint pktfrombuf(osl_t *osh, void *p, uint offset, int len, uchar *buf);
[all …]
Dbcm_mpool_pub.h133 int bcm_mpm_init(struct osl_info *osh, int max_pools, bcm_mpm_mgr_h *mgrp);