Home
last modified time | relevance | path

Searched refs:data_adm (Results 1 – 2 of 2) sorted by relevance

/openbsd/sys/dev/pci/
H A Dif_qwz_pci.c3156 struct qwz_dmamem *data_adm; in qwz_mhi_fw_load_bhi() local
3161 data_adm = qwz_dmamem_alloc(sc->sc_dmat, len, 0); in qwz_mhi_fw_load_bhi()
3162 if (data_adm == NULL) { in qwz_mhi_fw_load_bhi()
3169 memcpy(QWZ_DMA_KVA(data_adm), data, len); in qwz_mhi_fw_load_bhi()
3174 paddr = QWZ_DMA_DVA(data_adm); in qwz_mhi_fw_load_bhi()
3204 qwz_dmamem_free(sc->sc_dmat, data_adm); in qwz_mhi_fw_load_bhi()
3312 struct qwz_dmamem *data_adm, *vec_adm; in qwz_rddm_prepare() local
3328 if (data_adm == NULL) { in qwz_rddm_prepare()
3339 qwz_dmamem_free(sc->sc_dmat, data_adm); in qwz_rddm_prepare()
3344 paddr = QWZ_DMA_DVA(data_adm); in qwz_rddm_prepare()
[all …]
H A Dif_qwx_pci.c3224 struct qwx_dmamem *data_adm; in qwx_mhi_fw_load_bhi() local
3229 data_adm = qwx_dmamem_alloc(sc->sc_dmat, len, 0); in qwx_mhi_fw_load_bhi()
3230 if (data_adm == NULL) { in qwx_mhi_fw_load_bhi()
3237 memcpy(QWX_DMA_KVA(data_adm), data, len); in qwx_mhi_fw_load_bhi()
3242 paddr = QWX_DMA_DVA(data_adm); in qwx_mhi_fw_load_bhi()
3272 qwx_dmamem_free(sc->sc_dmat, data_adm); in qwx_mhi_fw_load_bhi()
3380 struct qwx_dmamem *data_adm, *vec_adm; in qwx_rddm_prepare() local
3396 if (data_adm == NULL) { in qwx_rddm_prepare()
3407 qwx_dmamem_free(sc->sc_dmat, data_adm); in qwx_rddm_prepare()
3412 paddr = QWX_DMA_DVA(data_adm); in qwx_rddm_prepare()
[all …]