Home
last modified time | relevance | path

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

/freebsd/sys/dev/malo/
H A Dif_malohal.c59 pCmd = (_type *)&mh->mh_cmdbuf[0]; \
137 error = bus_dmamem_alloc(mh->mh_dmat, (void**) &mh->mh_cmdbuf, in malo_hal_attach()
147 mh->mh_cmdbuf, MALO_CMDBUF_SIZE, in malo_hal_attach()
159 if (mh->mh_cmdbuf != NULL) in malo_hal_attach()
160 bus_dmamem_free(mh->mh_dmat, mh->mh_cmdbuf, in malo_hal_attach()
194 if (mh->mh_cmdbuf[0] == le16toh(cmd)) in malo_hal_waitforcmd()
262 data = ((const struct malo_cmd_caltable *) mh->mh_cmdbuf)->caltbl; in malo_hal_get_pwrcal_table()
341 mh->mh_cmdbuf[0] = htole16(MALO_HOSTCMD_CODE_DNLD); in malo_hal_send_helper()
342 mh->mh_cmdbuf[1] = htole16(bsize); in malo_hal_send_helper()
343 memcpy(&mh->mh_cmdbuf[4], data , dsize); in malo_hal_send_helper()
[all …]
H A Dif_malohal.h191 uint16_t *mh_cmdbuf; /* f/w cmd buffer */ member
/freebsd/sys/dev/mwl/
H A Dmwlhal.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 …]