Lines Matching refs:mh

168 	struct malo_hal *mh;  in malo_attach()  local
176 mh = malo_hal_attach(sc->malo_dev, devid, in malo_attach()
178 if (mh == NULL) { in malo_attach()
183 sc->malo_mh = mh; in malo_attach()
190 error = malo_hal_fwload(mh, "malo8335-h", "malo8335-m"); in malo_attach()
196 error = malo_hal_gethwspecs(mh, &sc->malo_hwspecs); in malo_attach()
309 malo_hal_detach(mh); in malo_attach()
370 struct malo_hal *mh = sc->malo_mh; in malo_intr() local
385 malo_hal_getisr(mh, &status); /* NB: clears ISR too */ in malo_intr()
397 malo_hal_cmddone(mh); in malo_intr()
1304 struct malo_hal *mh = sc->malo_mh; in malo_hal_reset() local
1316 malo_hal_setantenna(mh, MHA_ANTENNATYPE_RX, sc->malo_rxantenna); in malo_hal_reset()
1317 malo_hal_setantenna(mh, MHA_ANTENNATYPE_TX, sc->malo_txantenna); in malo_hal_reset()
1318 malo_hal_setradio(mh, 1, MHP_AUTO_PREAMBLE); in malo_hal_reset()
1434 struct malo_hal *mh = sc->malo_mh; in malo_init_locked() local
1478 malo_hal_intrset(mh, sc->malo_imask); in malo_init_locked()
1549 struct malo_hal *mh = sc->malo_mh; in malo_mode_init() local
1551 malo_hal_setpromisc(mh, ic->ic_promisc > 0); in malo_mode_init()
1609 struct malo_hal *mh = sc->malo_mh; in malo_stop() local
1633 malo_hal_intrset(mh, 0); in malo_stop()
1635 malo_hal_setradio(mh, 0, MHP_AUTO_PREAMBLE); in malo_stop()
1686 struct malo_hal *mh = sc->malo_mh; in malo_updateslot() local
1699 error = malo_hal_set_slot(mh, 1); in malo_updateslot()
1701 error = malo_hal_set_slot(mh, 0); in malo_updateslot()
1713 struct malo_hal *mh = sc->malo_mh; in malo_newstate() local
1740 malo_hal_setradio(mh, 1, in malo_newstate()
1744 malo_hal_set_rate(mh, mode, in malo_newstate()
1865 struct malo_hal *mh = sc->malo_mh; in malo_chan_set() local
1876 malo_hal_intrset(mh, 0); /* disable interrupts */ in malo_chan_set()
1877 malo_hal_setchannel(mh, &hchan); in malo_chan_set()
1878 malo_hal_settxpower(mh, &hchan); in malo_chan_set()
1893 malo_hal_intrset(mh, sc->malo_imask); in malo_chan_set()