Lines Matching defs:fill_cmd
272 static int fill_cmd(struct CommandList *c, u8 cmd, struct ctlr_info *h,
3011 if (fill_cmd(c, RECEIVE_DIAGNOSTIC, h, buf, bufsize,
3064 if (fill_cmd(c, HPSA_INQUIRY, h, buf, bufsize,
3093 /* fill_cmd can't fail here, no data buffer to map. */
3094 (void) fill_cmd(c, reset_type, h, NULL, 0, 0, dev->scsi3addr, TYPE_MSG);
3318 if (fill_cmd(c, HPSA_GET_RAID_MAP, h, &this_device->raid_map,
3321 dev_warn(&h->pdev->dev, "hpsa_get_raid_map fill_cmd failed\n");
3360 rc = fill_cmd(c, BMIC_SENSE_SUBSYSTEM_INFORMATION, h, buf, bufsize,
3391 rc = fill_cmd(c, BMIC_IDENTIFY_CONTROLLER, h, buf, bufsize,
3419 rc = fill_cmd(c, BMIC_IDENTIFY_PHYSICAL_DEVICE, h, buf, bufsize,
3497 rc = fill_cmd(c, BMIC_SENSE_STORAGE_BOX_PARAMS, h, bssbp,
3755 if (fill_cmd(c, logical ? HPSA_REPORT_LOG : HPSA_REPORT_PHYS, h,
3894 (void) fill_cmd(c, TEST_UNIT_READY, h, NULL, 0, 0, scsi3addr, TYPE_CMD);
5918 /* Send the Test Unit Ready, fill_cmd can't fail, no mapping */
5919 (void) fill_cmd(c, TEST_UNIT_READY, h,
6683 /* fill_cmd can't fail here, no data buffer to map */
6684 (void) fill_cmd(c, HPSA_DEVICE_RESET_MSG, h, NULL, 0, 0,
6686 c->Request.CDB[1] = reset_type; /* fill_cmd defaults to target reset */
6696 static int fill_cmd(struct CommandList *c, u8 cmd, struct ctlr_info *h,
8946 if (fill_cmd(c, HPSA_CACHE_FLUSH, h, flush_buf, 4, 0,
8982 if (fill_cmd(c, BMIC_SENSE_DIAG_OPTIONS, h, options, 4, 0,
8994 if (fill_cmd(c, BMIC_SET_DIAG_OPTIONS, h, options, 4, 0,
9004 if (fill_cmd(c, BMIC_SENSE_DIAG_OPTIONS, h, options, 4, 0,