Home
last modified time | relevance | path

Searched refs:dcmd (Results 1 – 4 of 4) sorted by relevance

/openbsd/src/sys/dev/ic/
Doosiop.c356 u_int32_t dcmd; in oosiop_relocate_io() local
359 dcmd = letoh32(sc->sc_scr[addr / 4 + 0]); in oosiop_relocate_io()
363 if (dcmd & 0x04000000) { in oosiop_relocate_io()
364 dcmd &= ~0x04000000; in oosiop_relocate_io()
373 sc->sc_scr[addr / 4 + 0] = htole32(dcmd); in oosiop_relocate_io()
383 u_int32_t dcmd; in oosiop_relocate_tc() local
386 dcmd = letoh32(sc->sc_scr[addr / 4 + 0]); in oosiop_relocate_tc()
390 if (dcmd & 0x00800000) { in oosiop_relocate_tc()
391 dcmd &= ~0x00800000; in oosiop_relocate_tc()
392 sc->sc_scr[addr / 4] = htole32(dcmd); in oosiop_relocate_tc()
[all …]
Dbwfm.c1618 struct bwfm_proto_bcdc_dcmd *dcmd; in bwfm_proto_bcdc_query_dcmd() local
1619 size_t size = sizeof(dcmd->hdr) + *len; in bwfm_proto_bcdc_query_dcmd()
1624 if (*len > sizeof(dcmd->buf)) in bwfm_proto_bcdc_query_dcmd()
1627 dcmd = malloc(size, M_TEMP, M_WAITOK | M_ZERO); in bwfm_proto_bcdc_query_dcmd()
1628 dcmd->hdr.cmd = htole32(cmd); in bwfm_proto_bcdc_query_dcmd()
1629 dcmd->hdr.len = htole32(*len); in bwfm_proto_bcdc_query_dcmd()
1630 dcmd->hdr.flags |= BWFM_BCDC_DCMD_GET; in bwfm_proto_bcdc_query_dcmd()
1631 dcmd->hdr.flags |= BWFM_BCDC_DCMD_ID_SET(reqid); in bwfm_proto_bcdc_query_dcmd()
1632 dcmd->hdr.flags |= BWFM_BCDC_DCMD_IF_SET(ifidx); in bwfm_proto_bcdc_query_dcmd()
1633 dcmd->hdr.flags = htole32(dcmd->hdr.flags); in bwfm_proto_bcdc_query_dcmd()
[all …]
Dmfi.c1340 struct mfi_dcmd_frame *dcmd; in mfi_do_mgmt() local
1350 dcmd = &ccb->ccb_frame->mfr_dcmd; in mfi_do_mgmt()
1351 memset(&dcmd->mdf_mbox, 0, sizeof(dcmd->mdf_mbox)); in mfi_do_mgmt()
1352 dcmd->mdf_header.mfh_cmd = MFI_CMD_DCMD; in mfi_do_mgmt()
1353 dcmd->mdf_header.mfh_timeout = 0; in mfi_do_mgmt()
1355 dcmd->mdf_opcode = opc; in mfi_do_mgmt()
1356 dcmd->mdf_header.mfh_data_len = 0; in mfi_do_mgmt()
1363 memcpy(&dcmd->mdf_mbox, mbox, sizeof(dcmd->mdf_mbox)); in mfi_do_mgmt()
1368 dcmd->mdf_header.mfh_data_len = len; in mfi_do_mgmt()
1371 ccb->ccb_sgl = &dcmd->mdf_sgl; in mfi_do_mgmt()
[all …]
/openbsd/src/sys/dev/pci/
Dmfii.c1184 struct mfi_dcmd_frame *dcmd = mfii_dcmd_frame(ccb); in mfii_aen_start() local
1185 struct mfi_frame_header *hdr = &dcmd->mdf_header; in mfii_aen_start()
1186 union mfi_sgl *sgl = &dcmd->mdf_sgl; in mfii_aen_start()
1205 dcmd->mdf_opcode = htole32(MR_DCMD_CTRL_EVENT_WAIT); in mfii_aen_start()
1206 htolem32(&dcmd->mdf_mbox.w[0], seq); in mfii_aen_start()
1207 htolem32(&dcmd->mdf_mbox.w[1], mec.mec_word); in mfii_aen_start()
1832 struct mfi_dcmd_frame *dcmd = ccb->ccb_mfi; in mfii_do_mgmt() local
1833 struct mfi_frame_header *hdr = &dcmd->mdf_header; in mfii_do_mgmt()
1864 if (mfii_load_mfa(sc, ccb, &dcmd->mdf_sgl, in mfii_do_mgmt()
1875 dcmd->mdf_opcode = opc; in mfii_do_mgmt()
[all …]