/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8335/dev/malo/ |
H A D | if_malohal.c | 63 pCmd = (_type *)&mh->mh_cmdbuf[0]; \ 70 malo_hal_read4(struct malo_hal *mh, bus_size_t off) in malo_hal_read4() argument 72 return bus_space_read_4(mh->mh_iot, mh->mh_ioh, off); in malo_hal_read4() 76 malo_hal_write4(struct malo_hal *mh, bus_size_t off, uint32_t val) in malo_hal_write4() argument 78 bus_space_write_4(mh->mh_iot, mh->mh_ioh, off, val); in malo_hal_write4() 103 struct malo_hal *mh; in malo_hal_attach() local 105 mh = malloc(sizeof(struct malo_hal), M_DEVBUF, M_NOWAIT | M_ZERO); in malo_hal_attach() 106 if (mh == NULL) in malo_hal_attach() 109 mh->mh_dev = dev; in malo_hal_attach() 110 mh->mh_ioh = ioh; in malo_hal_attach() [all …]
|
H A D | if_malohal.h | 202 #define MALO_HAL_LOCK(mh) mtx_lock(&mh->mh_mtx) argument 203 #define MALO_HAL_LOCK_ASSERT(mh) mtx_assert(&mh->mh_mtx, MA_OWNED) argument 204 #define MALO_HAL_UNLOCK(mh) mtx_unlock(&mh->mh_mtx) argument
|
H A D | if_malo.c | 176 struct malo_hal *mh; in malo_attach() local 184 mh = malo_hal_attach(sc->malo_dev, devid, in malo_attach() 186 if (mh == NULL) { in malo_attach() 191 sc->malo_mh = mh; in malo_attach() 198 error = malo_hal_fwload(mh, "malo8335-h", "malo8335-m"); in malo_attach() 204 error = malo_hal_gethwspecs(mh, &sc->malo_hwspecs); in malo_attach() 317 malo_hal_detach(mh); in malo_attach() 378 struct malo_hal *mh = sc->malo_mh; in malo_intr() local 393 malo_hal_getisr(mh, &status); /* NB: clears ISR too */ in malo_intr() 405 malo_hal_cmddone(mh); in malo_intr() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/ |
H A D | mwlhal.c | 98 pCmd = (type *)&mh->mh_cmdbuf[0]; \ 127 struct mwl_hal_priv *mh; /* back pointer */ member 136 #define MWLVAP(_vap) ((_vap)->mh) 197 MWL_HAL_LOCK(struct mwl_hal_priv *mh) in MWL_HAL_LOCK() argument 199 mtx_lock(&mh->mh_mtx); in MWL_HAL_LOCK() 203 MWL_HAL_LOCK_ASSERT(struct mwl_hal_priv *mh) in MWL_HAL_LOCK_ASSERT() argument 205 mtx_assert(&mh->mh_mtx, MA_OWNED); in MWL_HAL_LOCK_ASSERT() 209 MWL_HAL_UNLOCK(struct mwl_hal_priv *mh) in MWL_HAL_UNLOCK() argument 211 mtx_unlock(&mh->mh_mtx); in MWL_HAL_UNLOCK() 215 RD4(struct mwl_hal_priv *mh, bus_size_t off) in RD4() argument [all …]
|
H A D | mwlhal.h | 126 mwl_hal_getisr(struct mwl_hal *mh, uint32_t *status) in mwl_hal_getisr() argument 132 cause = bus_space_read_4(mh->mh_iot, mh->mh_ioh, in mwl_hal_getisr() 138 bus_space_write_4(mh->mh_iot, mh->mh_ioh, in mwl_hal_getisr() 139 MACREG_REG_A2H_INTERRUPT_CAUSE, cause &~ mh->mh_imask); in mwl_hal_getisr() 140 (void) bus_space_read_4(mh->mh_iot, mh->mh_ioh, in mwl_hal_getisr() 142 cause &= mh->mh_imask; in mwl_hal_getisr() 149 void mwl_hal_intrset(struct mwl_hal *mh, uint32_t mask); 157 mwl_hal_txstart(struct mwl_hal *mh, int qnum) in mwl_hal_txstart() argument 163 bus_space_write_4(mh->mh_iot, mh->mh_ioh, in mwl_hal_txstart() 165 (void) bus_space_read_4(mh->mh_iot, mh->mh_ioh, MACREG_REG_INT_CODE); in mwl_hal_txstart() [all …]
|
H A D | if_mwl.c | 290 struct mwl_hal *mh; in mwl_attach() local 301 mh = mwl_hal_attach(sc->sc_dev, devid, in mwl_attach() 303 if (mh == NULL) { in mwl_attach() 308 sc->sc_mh = mh; in mwl_attach() 314 if (mwl_hal_fwload(mh, NULL) != 0) { in mwl_attach() 319 if (mwl_hal_gethwspecs(mh, &sc->sc_hwspecs) != 0) { in mwl_attach() 516 mwl_hal_detach(mh); in mwl_attach() 594 struct mwl_hal *mh = sc->sc_mh; in mwl_vap_create() local 606 hvap = mwl_hal_newvap(mh, MWL_HAL_AP, mac); in mwl_vap_create() 616 hvap = mwl_hal_newvap(mh, MWL_HAL_STA, mac); in mwl_vap_create() [all …]
|
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/ |
H A D | glue.c | 32 struct mwl_hal* mh = sc->sc_mh; in HAIKU_CHECK_DISABLE_INTERRUPTS() local 41 mwl_hal_getisr(mh, &intr_status); in HAIKU_CHECK_DISABLE_INTERRUPTS() 51 mwl_hal_intrset(mh, 0); in HAIKU_CHECK_DISABLE_INTERRUPTS() 61 struct mwl_hal* mh = sc->sc_mh; in HAIKU_REENABLE_INTERRUPTS() local 63 mwl_hal_intrset(mh, sc->sc_imask); in HAIKU_REENABLE_INTERRUPTS()
|
/haiku/src/tests/kits/media/media_decoder/ |
H A D | media_decoder.cpp | 21 media_header *mh) { in GetNextChunk() argument 22 memset(mh,0,sizeof(media_header)); in GetNextChunk() 23 status_t result = track->ReadChunk((char**)chunkData,(int32*)chunkLen,mh); in GetNextChunk() 76 media_header mh; in main() local 77 memset(&mh,0,sizeof(mh)); in main() 78 while (fd->Decode((void*)buffer,&size,&mh,0) == B_OK) { in main()
|
/haiku/src/add-ons/media/media-add-ons/dvb/ |
H A D | DVBMediaNode.cpp | 1699 media_header mh; in raw_audio_thread() local 1715 err = fAudioDecoder->Decode(buf->Data(), &frameCount, &mh, NULL); in raw_audio_thread() 1724 write(fRawAudioFile, buf->Data(), mh.size_used); in raw_audio_thread() 1728 if (fOutputRawAudio.format.u.raw_audio.buffer_size != mh.size_used in raw_audio_thread() 1730 != mh.u.raw_audio.frame_rate in raw_audio_thread() 1732 != mh.u.raw_audio.channel_count) { in raw_audio_thread() 1735 mh.size_used); in raw_audio_thread() 1738 mh.u.raw_audio.channel_count); in raw_audio_thread() 1741 mh.u.raw_audio.frame_rate); in raw_audio_thread() 1742 fOutputRawAudio.format.u.raw_audio.buffer_size = mh.size_used; in raw_audio_thread() [all …]
|
H A D | MediaStreamDecoder.h | 7 typedef status_t (*get_next_chunk_func)(const void **chunkData, size_t *chunkLen, media_header *mh,… 26 status_t GetNextChunk(const void **chunkData, size_t *chunkLen, media_header *mh);
|
H A D | MediaStreamDecoder.cpp | 38 MediaStreamDecoder::GetNextChunk(const void **chunkData, size_t *chunkLen, media_header *mh) in GetNextChunk() argument 40 return (*fGetNextChunk)(chunkData, chunkLen, mh, fCookie); in GetNextChunk()
|
H A D | DVBMediaNode.h | 187 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, vo… 191 …static status_t _GetNextAudioChunk(const void **chunkData, size_t *chunkLen, media_header *mh, vo…
|
/haiku/src/tests/kits/media/mp3_decoder_test/ |
H A D | mp3_decoder_test.cpp | 83 media_header* mh) { in GetNextChunk() argument 86 memset(mh, 0, sizeof(media_header)); in GetNextChunk() 261 media_header mh; in Mp3Decoding() local 263 = decodingCookie->decoder->Decode(buffer, &rawAudioFrameCount, &mh, in Mp3Decoding()
|
/haiku/src/libs/compat/freebsd_wlan/net80211/ |
H A D | ieee80211_power.c | 367 struct mbuf *mh; in ieee80211_pwrsave() local 377 mh = psq->psq_head[0].head; in ieee80211_pwrsave() 378 if (mh != NULL) in ieee80211_pwrsave() 379 age-= M_AGE_GET(mh); in ieee80211_pwrsave() 381 mh = psq->psq_head[1].head; in ieee80211_pwrsave() 382 if (mh != NULL) { in ieee80211_pwrsave() 383 int nage = M_AGE_GET(mh) - age; in ieee80211_pwrsave() 385 M_AGE_SET(mh, nage < 0 ? 0 : nage); in ieee80211_pwrsave()
|
/haiku/src/tests/kits/media/mpeg2_decoder_test/ |
H A D | mpeg2_decoder_test.cpp | 85 media_header* mh) { in GetNextChunk() argument 88 memset(mh, 0, sizeof(media_header)); in GetNextChunk() 142 media_header mh; in main() local 147 rawVideoFrame->Data(), &rawVideoFrameCount, &mh, NULL); in main()
|
/haiku/headers/os/media/ |
H A D | MediaDecoder.h | 40 media_header *mh) = 0; 87 media_header *mh);
|
/haiku/src/apps/haiku3d/texture/ |
H A D | VideoFileTexture.cpp | 122 media_header mh; in Update() local 124 = fVideoTrack->ReadFrames(fVideoBitmap->Bits(), &frameCount, &mh); in Update()
|
/haiku/src/add-ons/media/plugins/raw_decoder/ |
H A D | RawDecoderPlugin.cpp | 489 media_header mh; in Decode() local 490 status = GetNextChunk(&fChunkBuffer, &fChunkSize, &mh); in Decode() 497 fStartTime = mh.start_time; in Decode()
|
/haiku/src/apps/mediaconverter/ |
H A D | MediaConverterApp.cpp | 540 media_header mh; in _ConvertFile() local 570 &mh)) != B_OK) { in _ConvertFile() 579 mh.u.encoded_video.field_flags)) != B_OK) { in _ConvertFile() 627 &mh)) != B_OK) { in _ConvertFile()
|
/haiku/src/kits/media/ |
H A D | MediaDecoder.cpp | 289 media_header *mh) in GetNextChunk() argument
|
/haiku/src/add-ons/kernel/drivers/network/ether/vmx/dev/vmxnet3/ |
H A D | if_vmx.c | 2194 uint32_t ml, mh; in vmxnet3_set_lladdr() local 2202 mh = sc->vmx_lladdr[4]; in vmxnet3_set_lladdr() 2203 mh |= sc->vmx_lladdr[5] << 8; in vmxnet3_set_lladdr() 2204 vmxnet3_write_bar1(sc, VMXNET3_BAR1_MACH, mh); in vmxnet3_set_lladdr() 2210 uint32_t ml, mh; in vmxnet3_get_lladdr() local 2213 mh = vmxnet3_read_cmd(sc, VMXNET3_CMD_GET_MACH); in vmxnet3_get_lladdr() 2219 sc->vmx_lladdr[4] = mh; in vmxnet3_get_lladdr() 2220 sc->vmx_lladdr[5] = mh >> 8; in vmxnet3_get_lladdr()
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | iflib.c | 2831 struct mbuf *m, *mh, *mt; in assemble_segments() local 2837 mh = NULL; in assemble_segments() 2858 if (mh == NULL) { in assemble_segments() 2869 if (mh == NULL) { in assemble_segments() 2871 mh = mt = m; in assemble_segments() 2894 return (mh); in assemble_segments() 3027 struct mbuf *m, *mh, *mt, *mf; in iflib_rxeof() local 3033 mh = mt = NULL; in iflib_rxeof() 3092 if (mh == NULL) in iflib_rxeof() 3093 mh = mt = m; in iflib_rxeof() [all …]
|
/haiku/src/kits/ |
H A D | CountryFlags.rdef | 1619 resource(141,"flag-mh") #'VICN' array {
|