Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/dev/malo/
HDif_malohal.c63 pCmd = (_type *)&mh->mh_cmdbuf[0]; \
141 error = bus_dmamem_alloc(mh->mh_dmat, (void**) &mh->mh_cmdbuf, in malo_hal_attach()
151 mh->mh_cmdbuf, MALO_CMDBUF_SIZE, in malo_hal_attach()
163 if (mh->mh_cmdbuf != NULL) in malo_hal_attach()
164 bus_dmamem_free(mh->mh_dmat, mh->mh_cmdbuf, in malo_hal_attach()
199 if (mh->mh_cmdbuf[0] == le16toh(cmd)) in malo_hal_waitforcmd()
267 data = ((const struct malo_cmd_caltable *) mh->mh_cmdbuf)->caltbl; in malo_hal_get_pwrcal_table()
347 mh->mh_cmdbuf[0] = htole16(MALO_HOSTCMD_CODE_DNLD); in malo_hal_send_helper()
348 mh->mh_cmdbuf[1] = htole16(bsize); in malo_hal_send_helper()
349 memcpy(&mh->mh_cmdbuf[4], data , dsize); in malo_hal_send_helper()
[all …]
HDif_malohal.h191 uint16_t *mh_cmdbuf; /* f/w cmd buffer */ member
/freebsd-13-stable/sys/dev/mwl/
HDmwlhal.c98 pCmd = (type *)&mh->mh_cmdbuf[0]; \
159 uint16_t *mh_cmdbuf; /* f/w cmd buffer */ member
318 error = bus_dmamem_alloc(mh->mh_dmat, (void**) &mh->mh_cmdbuf, in mwl_hal_attach()
328 mh->mh_cmdbuf, MWL_CMDBUF_SIZE, in mwl_hal_attach()
359 bus_dmamem_free(mh->mh_dmat, mh->mh_cmdbuf, mh->mh_dmamap); in mwl_hal_attach()
373 bus_dmamem_free(mh->mh_dmat, mh->mh_cmdbuf, mh->mh_dmamap); in mwl_hal_detach()
1338 HostCmd_FW_SET_AID *pCmd = (HostCmd_FW_SET_AID *) &mh->mh_cmdbuf[0]; in mwl_hal_setassocid()
2105 data = ((const HostCmd_FW_GET_CALTABLE *) mh->mh_cmdbuf)->calTbl; in mwlGetPwrCalTable()
2159 (const HostCmd_FW_GET_CALTABLE *) mh->mh_cmdbuf; in mwl_hal_getregioncode()
2319 FWCmdHdr *pCmd = (FWCmdHdr *) &mh->mh_cmdbuf[0]; in mwl_hal_getdiagstate()
[all …]