Home
last modified time | relevance | path

Searched refs:ses_dev (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/drivers/scsi/
Dses.c40 struct ses_device *ses_dev = edev->scratch; in ses_page2_supported() local
42 return (ses_dev->page2 != NULL); in ses_page2_supported()
185 struct ses_device *ses_dev = edev->scratch; in ses_set_page2_descriptor() local
186 unsigned char *type_ptr = ses_dev->page1_types; in ses_set_page2_descriptor()
187 unsigned char *desc_ptr = ses_dev->page2 + 8; in ses_set_page2_descriptor()
190 memset(desc_ptr, 0, ses_dev->page2_len - 8); in ses_set_page2_descriptor()
191 for (i = 0; i < ses_dev->page1_num_types; i++, type_ptr += 4) { in ses_set_page2_descriptor()
207 return ses_send_diag(sdev, 2, ses_dev->page2, ses_dev->page2_len); in ses_set_page2_descriptor()
215 struct ses_device *ses_dev = edev->scratch; in ses_get_page2_descriptor() local
216 unsigned char *type_ptr = ses_dev->page1_types; in ses_get_page2_descriptor()
[all …]