Searched refs:ldev_info (Results 1 – 3 of 3) sorted by relevance
220 unsigned short ldev_num, struct myrs_ldev_info *ldev_info) in myrs_get_ldev_info() argument229 memcpy(&ldev_info_orig, ldev_info, sizeof(struct myrs_ldev_info)); in myrs_get_ldev_info()230 ldev_info_addr = dma_map_single(&cs->pdev->dev, ldev_info, in myrs_get_ldev_info()238 mbox->ldev_info.id = MYRS_DCMD_TAG; in myrs_get_ldev_info()239 mbox->ldev_info.opcode = MYRS_CMD_OP_IOCTL; in myrs_get_ldev_info()240 mbox->ldev_info.control.dma_ctrl_to_host = true; in myrs_get_ldev_info()241 mbox->ldev_info.control.no_autosense = true; in myrs_get_ldev_info()242 mbox->ldev_info.dma_size = sizeof(struct myrs_ldev_info); in myrs_get_ldev_info()243 mbox->ldev_info.ldev.ldev_num = ldev_num; in myrs_get_ldev_info()244 mbox->ldev_info.ioctl_opcode = MYRS_IOCTL_GET_LDEV_INFO_VALID; in myrs_get_ldev_info()[all …]
1363 struct myrb_ldev_info *ldev_info) in myrb_mode_sense() argument1383 put_unaligned_be32(ldev_info->size, &block_desc[0]); in myrb_mode_sense()1388 if (ldev_info->wb_enabled) in myrb_mode_sense()1407 struct myrb_ldev_info *ldev_info) in myrb_read_capacity() argument1413 ldev_info->size, cb->ldev_block_size); in myrb_read_capacity()1414 put_unaligned_be32(ldev_info->size - 1, &data[0]); in myrb_read_capacity()1425 struct myrb_ldev_info *ldev_info; in myrb_ldev_queuecommand() local1433 ldev_info = sdev->hostdata; in myrb_ldev_queuecommand()1434 if (ldev_info->state != MYRB_DEVICE_ONLINE && in myrb_ldev_queuecommand()1435 ldev_info->state != MYRB_DEVICE_WO) { in myrb_ldev_queuecommand()[all …]
756 } ldev_info; member