Lines Matching refs:senseid
37 static int diag210_to_senseid(struct senseid *senseid, struct diag210 *diag) in diag210_to_senseid() argument
76 senseid->cu_type = 0x3088; in diag210_to_senseid()
77 senseid->cu_model = 0x60; in diag210_to_senseid()
78 senseid->reserved = 0xff; in diag210_to_senseid()
84 senseid->cu_type = vm_devices[i].cu_type; in diag210_to_senseid()
85 senseid->reserved = 0xff; in diag210_to_senseid()
102 struct senseid *senseid = &cdev->private->dma_area->senseid; in diag210_get_dev_info() local
117 if (diag210_to_senseid(senseid, &diag_data)) in diag210_get_dev_info()
138 memset(&cdev->private->dma_area->senseid, 0, in snsid_init()
139 sizeof(cdev->private->dma_area->senseid)); in snsid_init()
140 cdev->private->dma_area->senseid.cu_type = 0xffff; in snsid_init()
149 int len = sizeof(struct senseid) - scsw->count; in snsid_check()
154 if (cdev->private->dma_area->senseid.cu_type == 0xffff) in snsid_check()
157 if (cdev->private->dma_area->senseid.reserved != 0xff) in snsid_check()
175 struct senseid *senseid = &cdev->private->dma_area->senseid; in snsid_callback() local
188 senseid->cu_type, senseid->cu_model, senseid->dev_type, in snsid_callback()
189 senseid->dev_model, vm ? " (diag210)" : ""); in snsid_callback()
213 cp->cda = (u32) (addr_t) &cdev->private->dma_area->senseid; in ccw_device_sense_id_start()
214 cp->count = sizeof(struct senseid); in ccw_device_sense_id_start()