Lines Matching refs:senseid
36 static int diag210_to_senseid(struct senseid *senseid, struct diag210 *diag) in diag210_to_senseid() argument
75 senseid->cu_type = 0x3088; in diag210_to_senseid()
76 senseid->cu_model = 0x60; in diag210_to_senseid()
77 senseid->reserved = 0xff; in diag210_to_senseid()
83 senseid->cu_type = vm_devices[i].cu_type; in diag210_to_senseid()
84 senseid->reserved = 0xff; in diag210_to_senseid()
101 struct senseid *senseid = &cdev->private->senseid; in diag210_get_dev_info() local
116 if (diag210_to_senseid(senseid, &diag_data)) in diag210_get_dev_info()
136 memset(&cdev->private->senseid, 0, sizeof(cdev->private->senseid)); in snsid_init()
137 cdev->private->senseid.cu_type = 0xffff; in snsid_init()
146 int len = sizeof(struct senseid) - scsw->count; in snsid_check()
151 if (cdev->private->senseid.cu_type == 0xffff) in snsid_check()
154 if (cdev->private->senseid.reserved != 0xff) in snsid_check()
172 struct senseid *senseid = &cdev->private->senseid; in snsid_callback() local
185 senseid->cu_type, senseid->cu_model, senseid->dev_type, in snsid_callback()
186 senseid->dev_model, vm ? " (diag210)" : ""); in snsid_callback()
210 cp->cda = (u32) (addr_t) &cdev->private->senseid; in ccw_device_sense_id_start()
211 cp->count = sizeof(struct senseid); in ccw_device_sense_id_start()