Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/scsi/
Dscsi_lib.c2699 switch (evt->evt_type) { in scsi_evt_emit()
2741 enum scsi_device_event evt_type; in scsi_evt_thread() local
2746 for (evt_type = SDEV_EVT_FIRST; evt_type <= SDEV_EVT_LAST; evt_type++) in scsi_evt_thread()
2747 if (test_and_clear_bit(evt_type, sdev->pending_events)) in scsi_evt_thread()
2748 sdev_evt_send_simple(sdev, evt_type, GFP_KERNEL); in scsi_evt_thread()
2786 if (!test_bit(evt->evt_type, sdev->supported_events)) { in sdev_evt_send()
2806 struct scsi_event *sdev_evt_alloc(enum scsi_device_event evt_type, in sdev_evt_alloc() argument
2813 evt->evt_type = evt_type; in sdev_evt_alloc()
2817 switch (evt_type) { in sdev_evt_alloc()
2843 enum scsi_device_event evt_type, gfp_t gfpflags) in sdev_evt_send_simple() argument
[all …]
Dscsi_error.c391 enum scsi_device_event evt_type = SDEV_EVT_MAXBITS; /* i.e. none */ in scsi_report_sense() local
395 evt_type = SDEV_EVT_INQUIRY_CHANGE_REPORTED; in scsi_report_sense()
399 evt_type = SDEV_EVT_LUN_CHANGE_REPORTED; in scsi_report_sense()
414 evt_type = SDEV_EVT_SOFT_THRESHOLD_REACHED_REPORTED; in scsi_report_sense()
422 evt_type = SDEV_EVT_MODE_PARAMETER_CHANGE_REPORTED; in scsi_report_sense()
426 evt_type = SDEV_EVT_ALUA_STATE_CHANGE_REPORTED; in scsi_report_sense()
430 evt_type = SDEV_EVT_CAPACITY_CHANGE_REPORTED; in scsi_report_sense()
438 if (evt_type != SDEV_EVT_MAXBITS) { in scsi_report_sense()
439 set_bit(evt_type, sdev->pending_events); in scsi_report_sense()
/linux-4.4.14/include/scsi/
Dscsi_device.h69 enum scsi_device_event evt_type; member
382 extern struct scsi_event *sdev_evt_alloc(enum scsi_device_event evt_type,
386 enum scsi_device_event evt_type, gfp_t gfpflags);
/linux-4.4.14/drivers/uwb/
Dneh.c107 u8 evt_type; member
229 neh->evt_type = expected_type; in uwb_rc_neh_add()
307 return neh->evt_type == rceb->bEventType in uwb_rc_neh_match()
/linux-4.4.14/include/net/bluetooth/
Dhci.h1885 __u8 evt_type; member
1935 __u8 evt_type; member
/linux-4.4.14/drivers/block/
Dsx8.c1190 u8 evt_type = *evt_type_ptr; in carm_handle_responses() local
1192 pci_name(host->pdev), (int) evt_type); in carm_handle_responses()
/linux-4.4.14/drivers/scsi/lpfc/
Dlpfc_init.c4116 uint8_t evt_type; in lpfc_sli4_async_sli_evt() local
4121 evt_type = bf_get(lpfc_trailer_type, acqe_sli); in lpfc_sli4_async_sli_evt()
4130 evt_type); in lpfc_sli4_async_sli_evt()
4138 switch (evt_type) { in lpfc_sli4_async_sli_evt()
4236 evt_type); in lpfc_sli4_async_sli_evt()
/linux-4.4.14/net/bluetooth/
Dhci_event.c4911 process_adv_report(hdev, ev->evt_type, &ev->bdaddr, in hci_le_adv_report_evt()
5108 process_adv_report(hdev, ev->evt_type, &ev->bdaddr, in hci_le_direct_adv_report_evt()