Lines Matching defs:fill_cmd
273 static int fill_cmd(struct CommandList *c, u8 cmd, struct ctlr_info *h,
3007 if (fill_cmd(c, RECEIVE_DIAGNOSTIC, h, buf, bufsize,
3060 if (fill_cmd(c, HPSA_INQUIRY, h, buf, bufsize,
3089 /* fill_cmd can't fail here, no data buffer to map. */
3090 (void) fill_cmd(c, reset_type, h, NULL, 0, 0, dev->scsi3addr, TYPE_MSG);
3314 if (fill_cmd(c, HPSA_GET_RAID_MAP, h, &this_device->raid_map,
3317 dev_warn(&h->pdev->dev, "hpsa_get_raid_map fill_cmd failed\n");
3356 rc = fill_cmd(c, BMIC_SENSE_SUBSYSTEM_INFORMATION, h, buf, bufsize,
3387 rc = fill_cmd(c, BMIC_IDENTIFY_CONTROLLER, h, buf, bufsize,
3415 rc = fill_cmd(c, BMIC_IDENTIFY_PHYSICAL_DEVICE, h, buf, bufsize,
3493 rc = fill_cmd(c, BMIC_SENSE_STORAGE_BOX_PARAMS, h, bssbp,
3751 if (fill_cmd(c, logical ? HPSA_REPORT_LOG : HPSA_REPORT_PHYS, h,
3892 (void) fill_cmd(c, TEST_UNIT_READY, h, NULL, 0, 0, scsi3addr, TYPE_CMD);
5902 /* Send the Test Unit Ready, fill_cmd can't fail, no mapping */
5903 (void) fill_cmd(c, TEST_UNIT_READY, h,
6655 /* fill_cmd can't fail here, no data buffer to map */
6656 (void) fill_cmd(c, HPSA_DEVICE_RESET_MSG, h, NULL, 0, 0,
6658 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to target reset */
6668 static int fill_cmd(struct CommandList *c, u8 cmd, struct ctlr_info *h,
8925 if (fill_cmd(c, HPSA_CACHE_FLUSH, h, flush_buf, 4, 0,
8961 if (fill_cmd(c, BMIC_SENSE_DIAG_OPTIONS, h, options, 4, 0,
8973 if (fill_cmd(c, BMIC_SET_DIAG_OPTIONS, h, options, 4, 0,
8983 if (fill_cmd(c, BMIC_SENSE_DIAG_OPTIONS, h, options, 4, 0,