Searched refs:event_log (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Dmain.c419 if (unlikely(next_entry < priv->event_log.next_entry && iwl_continuous_event_trace()
420 num_wraps == priv->event_log.num_wraps)) iwl_continuous_event_trace()
423 if (num_wraps == priv->event_log.num_wraps) { iwl_continuous_event_trace()
425 priv, base, priv->event_log.next_entry, iwl_continuous_event_trace()
426 next_entry - priv->event_log.next_entry, iwl_continuous_event_trace()
429 priv->event_log.non_wraps_count++; iwl_continuous_event_trace()
431 if (num_wraps - priv->event_log.num_wraps > 1) iwl_continuous_event_trace()
432 priv->event_log.wraps_more_count++; iwl_continuous_event_trace()
434 priv->event_log.wraps_once_count++; iwl_continuous_event_trace()
437 num_wraps - priv->event_log.num_wraps, iwl_continuous_event_trace()
438 next_entry, priv->event_log.next_entry); iwl_continuous_event_trace()
440 if (next_entry < priv->event_log.next_entry) { iwl_continuous_event_trace()
442 priv, base, priv->event_log.next_entry, iwl_continuous_event_trace()
443 capacity - priv->event_log.next_entry, iwl_continuous_event_trace()
459 priv->event_log.num_wraps = num_wraps; iwl_continuous_event_trace()
460 priv->event_log.next_entry = next_entry; iwl_continuous_event_trace()
478 if (priv->event_log.ucode_trace) { iwl_bg_ucode_trace()
710 if (priv->event_log.ucode_trace) { iwl_alive_start()
H A Ddebugfs.c1887 priv->event_log.ucode_trace ? "On" : "Off"); iwl_dbgfs_ucode_tracing_read()
1889 priv->event_log.non_wraps_count); iwl_dbgfs_ucode_tracing_read()
1891 priv->event_log.wraps_once_count); iwl_dbgfs_ucode_tracing_read()
1893 priv->event_log.wraps_more_count); iwl_dbgfs_ucode_tracing_read()
1915 priv->event_log.ucode_trace = true; iwl_dbgfs_ucode_tracing_write()
1921 priv->event_log.ucode_trace = false; iwl_dbgfs_ucode_tracing_write()
H A Ddev.h888 struct iwl_event_log event_log; member in struct:iwl_priv
/linux-4.1.27/drivers/scsi/qla4xxx/
H A Dql4_mbx.c1078 struct conn_event_log_entry *event_log = NULL; qla4xxx_get_conn_event_log() local
1101 event_log = dma_alloc_coherent(&ha->pdev->dev, event_log_size, qla4xxx_get_conn_event_log()
1103 if (event_log == NULL) qla4xxx_get_conn_event_log()
1137 qla4xxx_dump_buffer((uint8_t *)event_log+ qla4xxx_get_conn_event_log()
1138 (i*sizeof(*event_log)), qla4xxx_get_conn_event_log()
1139 sizeof(*event_log)); qla4xxx_get_conn_event_log()
1146 qla4xxx_dump_buffer((uint8_t *)event_log+ qla4xxx_get_conn_event_log()
1147 (i*sizeof(*event_log)), qla4xxx_get_conn_event_log()
1148 sizeof(*event_log)); qla4xxx_get_conn_event_log()
1151 qla4xxx_dump_buffer((uint8_t *)event_log+ qla4xxx_get_conn_event_log()
1152 (i*sizeof(*event_log)), qla4xxx_get_conn_event_log()
1153 sizeof(*event_log)); qla4xxx_get_conn_event_log()
1159 if (event_log) qla4xxx_get_conn_event_log()
1160 dma_free_coherent(&ha->pdev->dev, event_log_size, event_log, qla4xxx_get_conn_event_log()
/linux-4.1.27/drivers/scsi/mpt2sas/
H A Dmpt2sas_ctl.c321 * be saved in the driver event_log. This bitmask is set by application.
331 if (event >= 128 || !event || !ioc->event_log) _ctl_check_event_type()
352 struct MPT2_IOCTL_EVENTS *event_log; mpt2sas_ctl_add_to_event_log() local
358 if (!ioc->event_log) mpt2sas_ctl_add_to_event_log()
365 /* insert entry into circular event_log */ mpt2sas_ctl_add_to_event_log()
367 event_log = ioc->event_log; mpt2sas_ctl_add_to_event_log()
368 event_log[i].event = event; mpt2sas_ctl_add_to_event_log()
369 event_log[i].context = ioc->event_context++; mpt2sas_ctl_add_to_event_log()
373 memset(event_log[i].data, 0, MPT2_EVENT_DATA_SIZE); mpt2sas_ctl_add_to_event_log()
374 memcpy(event_log[i].data, mpi_reply->EventData, sz); mpt2sas_ctl_add_to_event_log()
1112 if (ioc->event_log) _ctl_eventenable()
1118 /* initialize event_log */ _ctl_eventenable()
1121 ioc->event_log = kcalloc(MPT2SAS_CTL_EVENT_LOG_SIZE, _ctl_eventenable()
1123 if (!ioc->event_log) { _ctl_eventenable()
1160 if (!max || !ioc->event_log) _ctl_eventreport()
1164 if (copy_to_user(uarg->event_data, ioc->event_log, number_bytes)) { _ctl_eventreport()
3073 kfree(ioc->event_log); mpt2sas_ctl_exit()
H A Dmpt2sas_base.h719 * @event_log: event log pointer
887 void *event_log; member in struct:MPT2SAS_ADAPTER
/linux-4.1.27/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c319 * be saved in the driver event_log. This bitmask is set by application.
329 if (event >= 128 || !event || !ioc->event_log) _ctl_check_event_type()
350 struct MPT3_IOCTL_EVENTS *event_log; mpt3sas_ctl_add_to_event_log() local
356 if (!ioc->event_log) mpt3sas_ctl_add_to_event_log()
363 /* insert entry into circular event_log */ mpt3sas_ctl_add_to_event_log()
365 event_log = ioc->event_log; mpt3sas_ctl_add_to_event_log()
366 event_log[i].event = event; mpt3sas_ctl_add_to_event_log()
367 event_log[i].context = ioc->event_context++; mpt3sas_ctl_add_to_event_log()
371 memset(event_log[i].data, 0, MPT3_EVENT_DATA_SIZE); mpt3sas_ctl_add_to_event_log()
372 memcpy(event_log[i].data, mpi_reply->EventData, sz); mpt3sas_ctl_add_to_event_log()
1105 if (ioc->event_log) _ctl_eventenable()
1107 /* initialize event_log */ _ctl_eventenable()
1110 ioc->event_log = kcalloc(MPT3SAS_CTL_EVENT_LOG_SIZE, _ctl_eventenable()
1112 if (!ioc->event_log) { _ctl_eventenable()
1149 if (!max || !ioc->event_log) _ctl_eventreport()
1153 if (copy_to_user(uarg->event_data, ioc->event_log, number_bytes)) { _ctl_eventreport()
3280 kfree(ioc->event_log); mpt3sas_ctl_exit()
H A Dmpt3sas_base.h652 * @event_log: event log pointer
827 void *event_log; member in struct:MPT3SAS_ADAPTER
/linux-4.1.27/drivers/net/wireless/ipw2x00/
H A Dipw2200.c1308 static DEVICE_ATTR(event_log, S_IRUGO, show_event_log, NULL);

Completed in 312 milliseconds