Lines Matching +full:0 +full:x3800
31 * diag210_to_senseid - convert diag 0x210 data to sense id information
33 * @diag: diag 0x210 data
35 * Return 0 on success, non-zero otherwise.
42 { 0x08, 0x01, 0x3480 }, in diag210_to_senseid()
43 { 0x08, 0x02, 0x3430 }, in diag210_to_senseid()
44 { 0x08, 0x10, 0x3420 }, in diag210_to_senseid()
45 { 0x08, 0x42, 0x3424 }, in diag210_to_senseid()
46 { 0x08, 0x44, 0x9348 }, in diag210_to_senseid()
47 { 0x08, 0x81, 0x3490 }, in diag210_to_senseid()
48 { 0x08, 0x82, 0x3422 }, in diag210_to_senseid()
49 { 0x10, 0x41, 0x1403 }, in diag210_to_senseid()
50 { 0x10, 0x42, 0x3211 }, in diag210_to_senseid()
51 { 0x10, 0x43, 0x3203 }, in diag210_to_senseid()
52 { 0x10, 0x45, 0x3800 }, in diag210_to_senseid()
53 { 0x10, 0x47, 0x3262 }, in diag210_to_senseid()
54 { 0x10, 0x48, 0x3820 }, in diag210_to_senseid()
55 { 0x10, 0x49, 0x3800 }, in diag210_to_senseid()
56 { 0x10, 0x4a, 0x4245 }, in diag210_to_senseid()
57 { 0x10, 0x4b, 0x4248 }, in diag210_to_senseid()
58 { 0x10, 0x4d, 0x3800 }, in diag210_to_senseid()
59 { 0x10, 0x4e, 0x3820 }, in diag210_to_senseid()
60 { 0x10, 0x4f, 0x3820 }, in diag210_to_senseid()
61 { 0x10, 0x82, 0x2540 }, in diag210_to_senseid()
62 { 0x10, 0x84, 0x3525 }, in diag210_to_senseid()
63 { 0x20, 0x81, 0x2501 }, in diag210_to_senseid()
64 { 0x20, 0x82, 0x2540 }, in diag210_to_senseid()
65 { 0x20, 0x84, 0x3505 }, in diag210_to_senseid()
66 { 0x40, 0x01, 0x3278 }, in diag210_to_senseid()
67 { 0x40, 0x04, 0x3277 }, in diag210_to_senseid()
68 { 0x40, 0x80, 0x2250 }, in diag210_to_senseid()
69 { 0x40, 0xc0, 0x5080 }, in diag210_to_senseid()
70 { 0x80, 0x00, 0x3215 }, in diag210_to_senseid()
75 if (diag->vrdcvcla == 0x02 && diag->vrdcvtyp == 0x20) { in diag210_to_senseid()
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()
79 return 0; in diag210_to_senseid()
81 for (i = 0; i < ARRAY_SIZE(vm_devices); i++) { in diag210_to_senseid()
85 senseid->reserved = 0xff; in diag210_to_senseid()
86 return 0; in diag210_to_senseid()
94 * diag210_get_dev_info - retrieve device information via diag 0x210
106 if (dev_id->ssid != 0) in diag210_get_dev_info()
108 memset(&diag_data, 0, sizeof(diag_data)); in diag210_get_dev_info()
115 if (rc != 0 && rc != 2) in diag210_get_dev_info()
119 return 0; in diag210_get_dev_info()
122 CIO_MSG_EVENT(0, "snsid: device 0.%x.%04x: unknown diag210 data\n", in diag210_get_dev_info()
126 CIO_MSG_EVENT(0, "snsid: device 0.%x.%04x: diag210 failed (rc=%d)\n", in diag210_get_dev_info()
136 cdev->private->flags.esid = 0; in snsid_init()
138 memset(&cdev->private->dma_area->senseid, 0, in snsid_init()
140 cdev->private->dma_area->senseid.cu_type = 0xffff; in snsid_init()
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()
162 return 0; in snsid_check()
176 int vm = 0; in snsid_callback()
179 /* Try diag 0x210 fallback on z/VM. */ in snsid_callback()
181 if (diag210_get_dev_info(cdev) == 0) { in snsid_callback()
182 rc = 0; in snsid_callback()
186 CIO_MSG_EVENT(2, "snsid: device 0.%x.%04x: rc=%d %04x/%02x " in snsid_callback()
217 memset(req, 0, sizeof(*req)); in ccw_device_sense_id_start()