Lines Matching refs:ctlr_info

168 	ldev_present = cs->ctlr_info->ldev_present;
169 ldev_critical = cs->ctlr_info->ldev_critical;
170 ldev_offline = cs->ctlr_info->ldev_offline;
172 ctlr_info_addr = dma_map_single(&cs->pdev->dev, cs->ctlr_info,
180 mbox->ctlr_info.id = MYRS_DCMD_TAG;
181 mbox->ctlr_info.opcode = MYRS_CMD_OP_IOCTL;
182 mbox->ctlr_info.control.dma_ctrl_to_host = true;
183 mbox->ctlr_info.control.no_autosense = true;
184 mbox->ctlr_info.dma_size = sizeof(struct myrs_ctlr_info);
185 mbox->ctlr_info.ctlr_num = 0;
186 mbox->ctlr_info.ioctl_opcode = MYRS_IOCTL_GET_CTLR_INFO;
187 sgl = &mbox->ctlr_info.dma_addr;
189 sgl->sge[0].sge_count = mbox->ctlr_info.dma_size;
197 if (cs->ctlr_info->bg_init_active +
198 cs->ctlr_info->ldev_init_active +
199 cs->ctlr_info->pdev_init_active +
200 cs->ctlr_info->cc_active +
201 cs->ctlr_info->rbld_active +
202 cs->ctlr_info->exp_active != 0)
204 if (cs->ctlr_info->ldev_present != ldev_present ||
205 cs->ctlr_info->ldev_critical != ldev_critical ||
206 cs->ctlr_info->ldev_offline != ldev_offline)
209 cs->ctlr_info->ldev_critical,
210 cs->ctlr_info->ldev_offline,
211 cs->ctlr_info->ldev_present);
471 sgl->sge[0].sge_count = mbox->ctlr_info.dma_size;
542 cs->ctlr_info = kzalloc(sizeof(struct myrs_ctlr_info),
544 if (!cs->ctlr_info)
585 struct myrs_ctlr_info *info = cs->ctlr_info;
859 sdev->channel < cs->ctlr_info->physchan_present) {
947 if (sdev->channel >= cs->ctlr_info->physchan_present) {
993 if (sdev->channel < cs->ctlr_info->physchan_present) {
1035 if (sdev->channel < cs->ctlr_info->physchan_present) {
1066 if (sdev->channel >= cs->ctlr_info->physchan_present) {
1091 if (sdev->channel < cs->ctlr_info->physchan_present)
1123 if (sdev->channel < cs->ctlr_info->physchan_present)
1196 if (sdev->channel < cs->ctlr_info->physchan_present)
1224 if (sdev->channel < cs->ctlr_info->physchan_present)
1306 memcpy(serial, cs->ctlr_info->serial_number, 16);
1343 struct myrs_ctlr_info *info = cs->ctlr_info;
1403 return snprintf(buf, 4, "%d\n", cs->ctlr_info->ctlr_type);
1413 return snprintf(buf, 8, "%d MB\n", cs->ctlr_info->cache_size_mb);
1424 cs->ctlr_info->fw_major_version,
1425 cs->ctlr_info->fw_minor_version,
1426 cs->ctlr_info->fw_turn_number);
1611 if (scmd->device->channel >= cs->ctlr_info->physchan_present) {
1640 if (scmd->device->channel >= cs->ctlr_info->physchan_present) {
1686 if (scmd->device->channel >= cs->ctlr_info->physchan_present) {
1786 sdev->channel - cs->ctlr_info->physchan_present;
1801 if (sdev->channel >= cs->ctlr_info->physchan_present) {
1897 if (sdev->channel < cs->ctlr_info->physchan_present) {
1971 return (sdev->channel >= cs->ctlr_info->physchan_present) ? 1 : 0;
1987 if (sdev->channel < cs->ctlr_info->physchan_present || !ldev_info)
2011 if (sdev->channel < cs->ctlr_info->physchan_present || !ldev_info)
2112 struct myrs_ctlr_info *info = cs->ctlr_info;
2249 kfree(cs->ctlr_info);