Searched refs:senseid (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/drivers/s390/cio/
H A Ddevice_id.c31 * @senseid: sense id
36 static int diag210_to_senseid(struct senseid *senseid, struct diag210 *diag) diag210_to_senseid() argument
75 senseid->cu_type = 0x3088; diag210_to_senseid()
76 senseid->cu_model = 0x60; diag210_to_senseid()
77 senseid->reserved = 0xff; diag210_to_senseid()
83 senseid->cu_type = vm_devices[i].cu_type; diag210_to_senseid()
84 senseid->reserved = 0xff; diag210_to_senseid()
101 struct senseid *senseid = &cdev->private->senseid; diag210_get_dev_info() local
116 if (diag210_to_senseid(senseid, &diag_data)) diag210_get_dev_info()
136 memset(&cdev->private->senseid, 0, sizeof(cdev->private->senseid)); snsid_init()
137 cdev->private->senseid.cu_type = 0xffff; snsid_init()
146 int len = sizeof(struct senseid) - scsw->count; snsid_check()
151 if (cdev->private->senseid.cu_type == 0xffff) snsid_check()
154 if (cdev->private->senseid.reserved != 0xff) snsid_check()
172 struct senseid *senseid = &cdev->private->senseid; snsid_callback() local
185 senseid->cu_type, senseid->cu_model, senseid->dev_type, snsid_callback()
186 senseid->dev_model, vm ? " (diag210)" : ""); snsid_callback()
210 cp->cda = (u32) (addr_t) &cdev->private->senseid; ccw_device_sense_id_start()
211 cp->count = sizeof(struct senseid); ccw_device_sense_id_start()
H A Dio_sch.h93 struct senseid { struct
158 struct senseid senseid; /* SenseID info */ member in struct:ccw_device_private
H A Ddevice_fsm.c185 cdev->id.cu_type = cdev->private->senseid.cu_type; ccw_device_update_sense_data()
186 cdev->id.cu_model = cdev->private->senseid.cu_model; ccw_device_update_sense_data()
187 cdev->id.dev_type = cdev->private->senseid.dev_type; ccw_device_update_sense_data()
188 cdev->id.dev_model = cdev->private->senseid.dev_model; ccw_device_update_sense_data()
193 return cdev->id.cu_type == cdev->private->senseid.cu_type && ccw_device_test_sense_data()
194 cdev->id.cu_model == cdev->private->senseid.cu_model && ccw_device_test_sense_data()
195 cdev->id.dev_type == cdev->private->senseid.dev_type && ccw_device_test_sense_data()
196 cdev->id.dev_model == cdev->private->senseid.dev_model; ccw_device_test_sense_data()
H A Ddevice_ops.c436 if (cdev->private->senseid.ciw[ciw_cnt].ct == ct) ccw_device_get_ciw()
437 return cdev->private->senseid.ciw + ciw_cnt; ccw_device_get_ciw()

Completed in 133 milliseconds