Searched refs:wb_cdb (Results 1 – 2 of 2) sorted by relevance
744 spc3_write_buffer_cdb_t *wb_cdb; in scsi_writebuf() local756 wb_cdb = (spc3_write_buffer_cdb_t *)libscsi_action_get_cdb(action); in scsi_writebuf()758 wb_cdb->wbc_mode = SPC3_WB_MODE_DATA; in scsi_writebuf()759 wb_cdb->wbc_bufferid = verifier->flashbuf; in scsi_writebuf()761 wb_cdb->wbc_buffer_offset[0] = 0; in scsi_writebuf()762 wb_cdb->wbc_buffer_offset[1] = 0; in scsi_writebuf()763 wb_cdb->wbc_buffer_offset[2] = 0; in scsi_writebuf()765 wb_cdb->wbc_parameter_list_len[0] = in scsi_writebuf()767 wb_cdb->wbc_parameter_list_len[1] = (verifier->imgsize & 0xff00) >> 8; in scsi_writebuf()768 wb_cdb->wbc_parameter_list_len[2] = (verifier->imgsize & 0xff); in scsi_writebuf()
259 spc3_write_buffer_cdb_t *wb_cdb; in sdfw_write() local283 wb_cdb = (spc3_write_buffer_cdb_t *)libscsi_action_get_cdb(action); in sdfw_write()285 wb_cdb->wbc_mode = SPC3_WB_MODE_DL_UCODE_OFFS_SAVE; in sdfw_write()287 wb_cdb->wbc_buffer_offset[0] = (off >> 16) & 0xff; in sdfw_write()288 wb_cdb->wbc_buffer_offset[1] = (off >> 8) & 0xff; in sdfw_write()289 wb_cdb->wbc_buffer_offset[2] = off & 0xff; in sdfw_write()291 wb_cdb->wbc_bufferid = verifier->flashbuf; in sdfw_write()293 wb_cdb->wbc_parameter_list_len[0] = (len >> 16) & 0xff; in sdfw_write()294 wb_cdb->wbc_parameter_list_len[1] = (len >> 8) & 0xff; in sdfw_write()295 wb_cdb->wbc_parameter_list_len[2] = len & 0xff; in sdfw_write()[all …]