Searched refs:mh (Results 1 - 21 of 21) sorted by last modified time

/haiku/src/add-ons/media/plugins/raw_decoder/
H A DRawDecoderPlugin.cpp489 media_header mh; local
490 status = GetNextChunk(&fChunkBuffer, &fChunkSize, &mh);
497 fStartTime = mh.start_time;
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c2803 struct mbuf *m, *mh, *mt; local
2809 mh = NULL;
2830 if (mh == NULL) {
2841 if (mh == NULL) {
2843 mh = mt = m;
2866 return (mh);
2997 struct mbuf *m, *mh, *mt, *mf; local
3005 mh = mt = NULL;
3064 if (mh == NULL)
3065 mh
[all...]
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DDVBMediaNode.cpp1699 media_header mh; local
1715 err = fAudioDecoder->Decode(buf->Data(), &frameCount, &mh, NULL);
1724 write(fRawAudioFile, buf->Data(), mh.size_used);
1728 if (fOutputRawAudio.format.u.raw_audio.buffer_size != mh.size_used
1730 != mh.u.raw_audio.frame_rate
1732 != mh.u.raw_audio.channel_count) {
1735 mh.size_used);
1738 mh.u.raw_audio.channel_count);
1741 mh.u.raw_audio.frame_rate);
1742 fOutputRawAudio.format.u.raw_audio.buffer_size = mh
1894 media_header mh; local
2043 GetNextVideoChunk(const void **chunkData, size_t *chunkLen, media_header *mh) argument
2077 GetNextAudioChunk(const void **chunkData, size_t *chunkLen, media_header *mh) argument
2113 _GetNextVideoChunk(const void **chunkData, size_t *chunkLen, media_header *mh, void *cookie) argument
2122 _GetNextAudioChunk(const void **chunkData, size_t *chunkLen, media_header *mh, void *cookie) argument
[all...]
H A DDVBMediaNode.h187 status_t GetNextVideoChunk(const void **chunkData, size_t *chunkLen, media_header *mh);
188 status_t GetNextAudioChunk(const void **chunkData, size_t *chunkLen, media_header *mh);
190 static status_t _GetNextVideoChunk(const void **chunkData, size_t *chunkLen, media_header *mh, void *cookie);
191 static status_t _GetNextAudioChunk(const void **chunkData, size_t *chunkLen, media_header *mh, void *cookie);
H A DMediaStreamDecoder.cpp38 MediaStreamDecoder::GetNextChunk(const void **chunkData, size_t *chunkLen, media_header *mh) argument
40 return (*fGetNextChunk)(chunkData, chunkLen, mh, fCookie);
H A DMediaStreamDecoder.h7 typedef status_t (*get_next_chunk_func)(const void **chunkData, size_t *chunkLen, media_header *mh, void *cookie);
26 status_t GetNextChunk(const void **chunkData, size_t *chunkLen, media_header *mh);
/haiku/src/apps/mediaconverter/
H A DMediaConverterApp.cpp540 media_header mh; local
570 &mh)) != B_OK) {
579 mh.u.encoded_video.field_flags)) != B_OK) {
627 &mh)) != B_OK) {
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/
H A Dglue.c32 struct mwl_hal* mh = sc->sc_mh; local
41 mwl_hal_getisr(mh, &intr_status);
51 mwl_hal_intrset(mh, 0);
61 struct mwl_hal* mh = sc->sc_mh; local
63 mwl_hal_intrset(mh, sc->sc_imask);
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_power.c369 struct mbuf *mh; local
379 mh = psq->psq_head[0].head;
380 if (mh != NULL)
381 age-= M_AGE_GET(mh);
383 mh = psq->psq_head[1].head;
384 if (mh != NULL) {
385 int nage = M_AGE_GET(mh) - age;
387 M_AGE_SET(mh, nage < 0 ? 0 : nage);
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwl.c291 struct mwl_hal *mh; local
302 mh = mwl_hal_attach(sc->sc_dev, devid,
304 if (mh == NULL) {
309 sc->sc_mh = mh;
315 if (mwl_hal_fwload(mh, NULL) != 0) {
320 if (mwl_hal_gethwspecs(mh, &sc->sc_hwspecs) != 0) {
517 mwl_hal_detach(mh);
595 struct mwl_hal *mh = sc->sc_mh; local
607 hvap = mwl_hal_newvap(mh, MWL_HAL_AP, mac);
617 hvap = mwl_hal_newvap(mh, MWL_HAL_ST
721 struct mwl_hal *mh = sc->sc_mh; local
797 struct mwl_hal *mh = sc->sc_mh; local
898 struct mwl_hal *mh = sc->sc_mh; local
1116 struct mwl_hal *mh = sc->sc_mh; local
1139 struct mwl_hal *mh = sc->sc_mh; local
1252 struct mwl_hal *mh = sc->sc_mh; local
1756 struct mwl_hal *mh = sc->sc_mh; local
1800 struct mwl_hal *mh = sc->sc_mh; local
2891 struct mwl_hal *mh = sc->sc_mh; local
3798 struct mwl_hal *mh = sc->sc_mh; local
4089 struct mwl_hal *mh = sc->sc_mh; local
4327 struct mwl_hal *mh = sc->sc_mh; local
4601 struct mwl_hal *mh = sc->sc_mh; local
4656 struct mwl_hal *mh = sc->sc_mh; local
[all...]
H A Dmwlhal.h128 mwl_hal_getisr(struct mwl_hal *mh, uint32_t *status) argument
134 cause = bus_space_read_4(mh->mh_iot, mh->mh_ioh,
140 bus_space_write_4(mh->mh_iot, mh->mh_ioh,
141 MACREG_REG_A2H_INTERRUPT_CAUSE, cause &~ mh->mh_imask);
142 (void) bus_space_read_4(mh->mh_iot, mh->mh_ioh,
144 cause &= mh->mh_imask;
151 void mwl_hal_intrset(struct mwl_hal *mh, uint32_
159 mwl_hal_txstart(struct mwl_hal *mh, int qnum) argument
[all...]
H A Dmwlhal.c100 pCmd = (type *)&mh->mh_cmdbuf[0]; \
129 struct mwl_hal_priv *mh; /* back pointer */ member in struct:mwl_hal_vap
138 #define MWLVAP(_vap) ((_vap)->mh)
199 MWL_HAL_LOCK(struct mwl_hal_priv *mh) argument
201 mtx_lock(&mh->mh_mtx);
205 MWL_HAL_LOCK_ASSERT(struct mwl_hal_priv *mh) argument
207 mtx_assert(&mh->mh_mtx, MA_OWNED);
211 MWL_HAL_UNLOCK(struct mwl_hal_priv *mh) argument
213 mtx_unlock(&mh->mh_mtx);
217 RD4(struct mwl_hal_priv *mh, bus_size_ argument
223 WR4(struct mwl_hal_priv *mh, bus_size_t off, uint32_t val) argument
248 struct mwl_hal_priv *mh; local
373 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
385 mwlResetHalState(struct mwl_hal_priv *mh) argument
414 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
446 mwl_hal_setdebug(struct mwl_hal *mh, int debug) argument
452 mwl_hal_getdebug(struct mwl_hal *mh) argument
458 mwl_hal_setbastreams(struct mwl_hal *mh, int mask) argument
464 mwl_hal_getbastreams(struct mwl_hal *mh) argument
470 mwl_hal_ismbsscapable(struct mwl_hal *mh) argument
507 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
562 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
610 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
653 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
696 struct mwl_hal_priv *mh = MWLVAP(vap); local
726 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
754 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
782 struct mwl_hal_priv *mh = MWLVAP(vap); local
803 struct mwl_hal_priv *mh = MWLVAP(vap); local
822 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
891 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
914 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
945 struct mwl_hal_priv *mh = MWLVAP(vap); local
998 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1024 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1045 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1068 findchannel(const struct mwl_hal_priv *mh, const MWL_HAL_CHANNEL *c) argument
1104 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1142 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1161 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1184 struct mwl_hal_priv *mh = MWLVAP(vap); local
1233 struct mwl_hal_priv *mh = MWLVAP(vap); local
1259 struct mwl_hal_priv *mh = MWLVAP(vap); local
1274 struct mwl_hal_priv *mh = MWLVAP(vap); local
1286 struct mwl_hal_priv *mh = MWLVAP(vap); local
1306 struct mwl_hal_priv *mh = MWLVAP(vap); local
1323 struct mwl_hal_priv *mh = MWLVAP(vap); local
1341 struct mwl_hal_priv *mh = MWLVAP(vap); local
1358 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1378 struct mwl_hal_priv *mh = MWLVAP(vap); local
1421 struct mwl_hal_priv *mh = MWLVAP(vap); local
1453 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1470 struct mwl_hal_priv *mh = MWLVAP(vap); local
1523 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1556 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1576 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1601 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1620 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1642 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1660 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1691 struct mwl_hal_priv *mh = MWLVAP(vap); local
1719 struct mwl_hal_priv *mh = MWLVAP(vap); local
1746 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1767 struct mwl_hal_priv *mh = MWLVAP(vap); local
1785 struct mwl_hal_priv *mh = MWLVAP(vap); local
1806 struct mwl_hal_priv *mh = MWLVAP(vap); local
1824 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1841 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1859 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1887 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1905 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1923 struct mwl_hal_priv *mh = MWLVAP(vap); local
1941 struct mwl_hal_priv *mh = MWLVAP(vap); local
1958 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1976 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
1992 mwlGetCalTable(struct mwl_hal_priv *mh, uint8_t annex, uint8_t index) argument
2101 mwlGetPwrCalTable(struct mwl_hal_priv *mh) argument
2156 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2173 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2186 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2198 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2219 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2237 getRFReg(struct mwl_hal_priv *mh, int flag, uint32_t reg, uint32_t *val) argument
2256 getBBReg(struct mwl_hal_priv *mh, int flag, uint32_t reg, uint32_t *val) argument
2275 mwl_hal_getregdump(struct mwl_hal_priv *mh, const MWL_DIAG_REGRANGE *regs, void *dstbuf, int space) argument
2312 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2348 mwlSendCmd(struct mwl_hal_priv *mh) argument
2362 mwlWaitForCmdComplete(struct mwl_hal_priv *mh, uint16_t cmdCode) argument
2377 mwlExecuteCmd(struct mwl_hal_priv *mh, unsigned short cmd) argument
2437 mwlFwReset(struct mwl_hal_priv *mh) argument
2449 mwlTriggerPciCmd(struct mwl_hal_priv *mh) argument
2466 mwlWaitFor(struct mwl_hal_priv *mh, uint32_t val) argument
2482 mwlSendBlock(struct mwl_hal_priv *mh, int bsize, const void *data, size_t dsize) argument
2503 mwlSendBlock2(struct mwl_hal_priv *mh, const void *data, size_t dsize) argument
2518 mwlPokeSdramController(struct mwl_hal_priv *mh, int SDRAMSIZE_Addr) argument
2529 struct mwl_hal_priv *mh = MWLPRIV(mh0); local
2748 dumpresult(struct mwl_hal_priv *mh, int showresult) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/
H A Dif_malo.c177 struct malo_hal *mh; local
185 mh = malo_hal_attach(sc->malo_dev, devid,
187 if (mh == NULL) {
192 sc->malo_mh = mh;
199 error = malo_hal_fwload(mh, "malo8335-h", "malo8335-m");
205 error = malo_hal_gethwspecs(mh, &sc->malo_hwspecs);
318 malo_hal_detach(mh);
379 struct malo_hal *mh = sc->malo_mh; local
394 malo_hal_getisr(mh, &status); /* NB: clears ISR too */
406 malo_hal_cmddone(mh);
1318 struct malo_hal *mh = sc->malo_mh; local
1448 struct malo_hal *mh = sc->malo_mh; local
1566 struct malo_hal *mh = sc->malo_mh; local
1626 struct malo_hal *mh = sc->malo_mh; local
1703 struct malo_hal *mh = sc->malo_mh; local
1730 struct malo_hal *mh = sc->malo_mh; local
1882 struct malo_hal *mh = sc->malo_mh; local
[all...]
H A Dif_malohal.c64 pCmd = (_type *)&mh->mh_cmdbuf[0]; \
71 malo_hal_read4(struct malo_hal *mh, bus_size_t off) argument
73 return bus_space_read_4(mh->mh_iot, mh->mh_ioh, off);
77 malo_hal_write4(struct malo_hal *mh, bus_size_t off, uint32_t val) argument
79 bus_space_write_4(mh->mh_iot, mh->mh_ioh, off, val);
104 struct malo_hal *mh; local
106 mh = malloc(sizeof(struct malo_hal), M_DEVBUF, M_NOWAIT | M_ZERO);
107 if (mh
179 malo_hal_send_cmd(struct malo_hal *mh) argument
194 malo_hal_waitforcmd(struct malo_hal *mh, uint16_t cmd) argument
211 malo_hal_execute_cmd(struct malo_hal *mh, unsigned short cmd) argument
243 malo_hal_get_cal_table(struct malo_hal *mh, uint8_t annex, uint8_t index) argument
261 malo_hal_get_pwrcal_table(struct malo_hal *mh, struct malo_hal_caldata *cal) argument
284 malo_hal_resetstate(struct malo_hal *mh) argument
296 malo_hal_fw_reset(struct malo_hal *mh) argument
310 malo_hal_trigger_pcicmd(struct malo_hal *mh) argument
328 malo_hal_waitfor(struct malo_hal *mh, uint32_t val) argument
345 malo_hal_send_helper(struct malo_hal *mh, int bsize, const void *data, size_t dsize, int waitfor) argument
374 malo_hal_fwload_helper(struct malo_hal *mh, char *helper) argument
407 malo_hal_send_main(struct malo_hal *mh, const void *data, size_t dsize, uint16_t seqnum, int waitfor) argument
437 malo_hal_fwload_main(struct malo_hal *mh, char *firmware) argument
484 malo_hal_fwload(struct malo_hal *mh, char *helper, char *firmware) argument
549 malo_hal_gethwspecs(struct malo_hal *mh, struct malo_hal_hwspec *hw) argument
584 malo_hal_detach(struct malo_hal *mh) argument
600 malo_hal_setantenna(struct malo_hal *mh, enum malo_hal_antenna dirset, int ant) argument
632 malo_hal_setradio(struct malo_hal *mh, int onoff, enum malo_hal_preamble preamble) argument
660 malo_hal_intrset(struct malo_hal *mh, uint32_t mask) argument
672 malo_hal_setchannel(struct malo_hal *mh, const struct malo_hal_channel *chan) argument
692 malo_hal_settxpower(struct malo_hal *mh, const struct malo_hal_channel *c) argument
718 malo_hal_setpromisc(struct malo_hal *mh, int enable) argument
725 malo_hal_setassocid(struct malo_hal *mh, const uint8_t bssid[IEEE80211_ADDR_LEN], uint16_t associd) argument
750 malo_hal_txstart(struct malo_hal *mh, int qnum) argument
761 malo_hal_getisr(struct malo_hal *mh, uint32_t *status) argument
786 malo_hal_cmddone(struct malo_hal *mh) argument
792 malo_hal_prescan(struct malo_hal *mh) argument
810 malo_hal_postscan(struct malo_hal *mh, uint8_t *macaddr, uint8_t ibsson) argument
830 malo_hal_set_slot(struct malo_hal *mh, int is_short) argument
849 malo_hal_set_rate(struct malo_hal *mh, uint16_t curmode, uint8_t rate) argument
892 malo_hal_setmcast(struct malo_hal *mh, int nmc, const uint8_t macs[]) argument
[all...]
H A Dif_malohal.h204 #define MALO_HAL_LOCK(mh) mtx_lock(&mh->mh_mtx)
205 #define MALO_HAL_LOCK_ASSERT(mh) mtx_assert(&mh->mh_mtx, MA_OWNED)
206 #define MALO_HAL_UNLOCK(mh) mtx_unlock(&mh->mh_mtx)
/haiku/src/tests/kits/media/mp3_decoder_test/
H A Dmp3_decoder_test.cpp83 media_header* mh) {
86 memset(mh, 0, sizeof(media_header));
261 media_header mh; local
263 = decodingCookie->decoder->Decode(buffer, &rawAudioFrameCount, &mh,
82 GetNextChunk(const void** chunkData, size_t* chunkLen, media_header* mh) argument
/haiku/src/apps/haiku3d/texture/
H A DVideoFileTexture.cpp122 media_header mh; local
124 = fVideoTrack->ReadFrames(fVideoBitmap->Bits(), &frameCount, &mh);
/haiku/src/kits/media/
H A DMediaDecoder.cpp289 media_header *mh)
287 GetNextChunk(const void **chunkData, size_t *chunkLen, media_header *mh) argument
/haiku/headers/os/media/
H A DMediaDecoder.h40 media_header *mh) = 0;
87 media_header *mh);
/haiku/src/tests/kits/media/mpeg2_decoder_test/
H A Dmpeg2_decoder_test.cpp85 media_header* mh) {
88 memset(mh, 0, sizeof(media_header));
142 media_header mh; local
147 rawVideoFrame->Data(), &rawVideoFrameCount, &mh, NULL);
84 GetNextChunk(const void **chunkData, size_t* chunkLen, media_header* mh) argument
/haiku/src/tests/kits/media/media_decoder/
H A Dmedia_decoder.cpp21 media_header *mh) {
22 memset(mh,0,sizeof(media_header));
23 status_t result = track->ReadChunk((char**)chunkData,(int32*)chunkLen,mh);
76 media_header mh; local
77 memset(&mh,0,sizeof(mh));
78 while (fd->Decode((void*)buffer,&size,&mh,0) == B_OK) {
20 GetNextChunk(const void **chunkData, size_t *chunkLen, media_header *mh) argument

Completed in 136 milliseconds