Searched refs:ldev_info (Results 1 – 3 of 3) sorted by relevance
221 unsigned short ldev_num, struct myrs_ldev_info *ldev_info) in myrs_get_ldev_info() argument230 memcpy(&ldev_info_orig, ldev_info, sizeof(struct myrs_ldev_info)); in myrs_get_ldev_info()231 ldev_info_addr = dma_map_single(&cs->pdev->dev, ldev_info, in myrs_get_ldev_info()239 mbox->ldev_info.id = MYRS_DCMD_TAG; in myrs_get_ldev_info()240 mbox->ldev_info.opcode = MYRS_CMD_OP_IOCTL; in myrs_get_ldev_info()241 mbox->ldev_info.control.dma_ctrl_to_host = true; in myrs_get_ldev_info()242 mbox->ldev_info.control.no_autosense = true; in myrs_get_ldev_info()243 mbox->ldev_info.dma_size = sizeof(struct myrs_ldev_info); in myrs_get_ldev_info()244 mbox->ldev_info.ldev.ldev_num = ldev_num; in myrs_get_ldev_info()245 mbox->ldev_info.ioctl_opcode = MYRS_IOCTL_GET_LDEV_INFO_VALID; in myrs_get_ldev_info()[all …]
1364 struct myrb_ldev_info *ldev_info) in myrb_mode_sense() argument1384 put_unaligned_be32(ldev_info->size, &block_desc[0]); in myrb_mode_sense()1389 if (ldev_info->wb_enabled) in myrb_mode_sense()1409 struct myrb_ldev_info *ldev_info) in myrb_read_capacity() argument1415 ldev_info->size, cb->ldev_block_size); in myrb_read_capacity()1416 put_unaligned_be32(ldev_info->size - 1, &data[0]); in myrb_read_capacity()1427 struct myrb_ldev_info *ldev_info; in myrb_ldev_queuecommand() local1435 ldev_info = sdev->hostdata; in myrb_ldev_queuecommand()1436 if (ldev_info->state != MYRB_DEVICE_ONLINE && in myrb_ldev_queuecommand()1437 ldev_info->state != MYRB_DEVICE_WO) { in myrb_ldev_queuecommand()[all …]
756 } ldev_info; member