/src/sys/dev/onewire/ |
ds28e17iic.c | 224 uint8_t dcmd; local in function:ds28e17iic_i2c_write 288 dcmd = DS28E17IIC_DC_WD_ONLY_WITH_STOP; 290 dcmd = DS28E17IIC_DC_WD_ONLY; 293 dcmd, 0xff, datalen, databuf, 0, crc16, &i2c_status); 296 DPRINTF(sc, 2, ("ds28e17iic_i2c_write: both cmd and data 2: dcmd=%02x, i2c_status=%02x, i2c_write_status=%02x\n", 297 dcmd, i2c_status, i2c_write_status)); 323 dcmd = DS28E17IIC_DC_WD_WITH_STOP; 325 dcmd = DS28E17IIC_DC_WD; 333 dcmd, maddr, len, buf, 0, crc16, &i2c_status); 336 DPRINTF(sc, 2, ("ds28e17iic_i2c_write: cmd or data: dcmd=%02x, i2c_status=%02x, i2c_write_status=%02x\n" [all...] |
/src/sys/dev/ic/ |
oosiop.c | 347 uint32_t dcmd; local in function:oosiop_relocate_io 350 dcmd = le32toh(sc->sc_scr[addr / 4 + 0]); 354 if (dcmd & 0x04000000) { 355 dcmd &= ~0x04000000; 364 sc->sc_scr[addr / 4 + 0] = htole32(dcmd); 374 uint32_t dcmd; local in function:oosiop_relocate_tc 377 dcmd = le32toh(sc->sc_scr[addr / 4 + 0]); 381 if (dcmd & 0x00800000) { 382 dcmd &= ~0x00800000; 383 sc->sc_scr[addr / 4] = htole32(dcmd); 401 uint32_t dcmd; local in function:oosiop_fixup_select 420 uint32_t dcmd; local in function:oosiop_fixup_move 1018 uint32_t dcmd; local in function:oosiop_intr [all...] |
bwfm.c | 1712 struct bwfm_proto_bcdc_dcmd *dcmd; local in function:bwfm_proto_bcdc_query_dcmd 1713 size_t size = sizeof(dcmd->hdr) + *len; 1719 dcmd = kmem_zalloc(sizeof(*dcmd), KM_SLEEP); 1720 if (*len > sizeof(dcmd->buf)) 1723 dcmd->hdr.cmd = htole32(cmd); 1724 dcmd->hdr.len = htole32(*len); 1725 dcmd->hdr.flags |= BWFM_BCDC_DCMD_GET; 1726 dcmd->hdr.flags |= BWFM_BCDC_DCMD_ID_SET(reqid); 1727 dcmd->hdr.flags |= BWFM_BCDC_DCMD_IF_SET(ifidx) 1772 struct bwfm_proto_bcdc_dcmd *dcmd; local in function:bwfm_proto_bcdc_set_dcmd [all...] |
mfi.c | 1880 struct mfi_dcmd_frame *dcmd; local in function:mfi_mgmt 1884 dcmd = &ccb->ccb_frame->mfr_dcmd; 1885 memset(dcmd->mdf_mbox.b, 0, MFI_MBOX_SIZE); 1886 dcmd->mdf_header.mfh_cmd = MFI_CMD_DCMD; 1887 dcmd->mdf_header.mfh_timeout = 0; 1889 dcmd->mdf_opcode = opc; 1890 dcmd->mdf_header.mfh_data_len = 0; 1899 memcpy(dcmd->mdf_mbox.b, mbox, MFI_MBOX_SIZE); 1902 dcmd->mdf_header.mfh_data_len = len; 1905 ccb->ccb_sgl = &dcmd->mdf_sgl [all...] |
/src/sys/dev/pci/ |
mfii.c | 547 * at a dcmd frame. since the passthru command is submitted like 551 * contain the dcmd. rather than allocating separate dma memory to 552 * hold the dcmd, we reuse the sense memory buffer for it. 1309 struct mfi_dcmd_frame *dcmd = mfii_dcmd_frame(ccb); local in function:mfii_aen_start 1310 struct mfi_frame_header *hdr = &dcmd->mdf_header; 1311 union mfi_sgl *sgl = &dcmd->mdf_sgl; 1330 dcmd->mdf_opcode = htole32(MR_DCMD_CTRL_EVENT_WAIT); 1331 dcmd->mdf_mbox.w[0] = htole32(seq); 1332 dcmd->mdf_mbox.w[1] = htole32(mec.mec_word); 1926 struct mfi_dcmd_frame *dcmd = ccb->ccb_mfi local in function:mfii_do_mgmt [all...] |