Home
last modified time | relevance | path

Searched refs:reason (Results 1 – 25 of 313) sorted by relevance

12345678910>>...13

/drivers/power/reset/
Dat91-reset.c108 const char *reason; in at91_reset_status() local
113 reason = "general reset"; in at91_reset_status()
116 reason = "wakeup"; in at91_reset_status()
119 reason = "watchdog reset"; in at91_reset_status()
122 reason = "software reset"; in at91_reset_status()
125 reason = "user reset"; in at91_reset_status()
128 reason = "CPU clock failure detection"; in at91_reset_status()
131 reason = "32.768 kHz crystal failure detection"; in at91_reset_status()
134 reason = "ULP2 reset"; in at91_reset_status()
137 reason = "unknown reset"; in at91_reset_status()
[all …]
Dat91-poweroff.c62 const char *reason; in at91_wakeup_status() local
70 reason = "RTT"; in at91_wakeup_status()
72 reason = "RTC"; in at91_wakeup_status()
74 reason = "unknown"; in at91_wakeup_status()
76 dev_info(&pdev->dev, "Wake-Up source: %s\n", reason); in at91_wakeup_status()
Dat91-sama5d2_shdwc.c109 char *reason = "unknown"; in at91_wakeup_status() local
120 reason = "WKUP pin"; in at91_wakeup_status()
122 reason = "RTC"; in at91_wakeup_status()
124 reason = "RTT"; in at91_wakeup_status()
126 pr_info("AT91: Wake-Up source: %s\n", reason); in at91_wakeup_status()
/drivers/misc/sgi-xp/
Dxpc_channel.c161 "reason=%d\n", ch->number, ch->partid, ch->reason); in xpc_process_disconnect()
190 enum xp_retval reason; in xpc_process_openclose_chctl_flags() local
211 "from partid=%d, channel=%d\n", args->reason, in xpc_process_openclose_chctl_flags()
268 reason = args->reason; in xpc_process_openclose_chctl_flags()
269 if (reason <= xpSuccess || reason > xpUnknownReason) in xpc_process_openclose_chctl_flags()
270 reason = xpUnknownReason; in xpc_process_openclose_chctl_flags()
271 else if (reason == xpUnregistering) in xpc_process_openclose_chctl_flags()
272 reason = xpOtherUnregistering; in xpc_process_openclose_chctl_flags()
274 XPC_DISCONNECT_CHANNEL(ch, reason, &irq_flags); in xpc_process_openclose_chctl_flags()
486 return ch->reason; in xpc_connect_channel()
[all …]
Dxpc_partition.c322 DBUG_ON(part->reason == xpSuccess); in xpc_mark_partition_active()
323 ret = part->reason; in xpc_mark_partition_active()
335 enum xp_retval reason) in xpc_deactivate_partition() argument
342 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition()
344 if (reason == xpReactivating) { in xpc_deactivate_partition()
351 if ((part->reason == xpUnloading && reason != xpUnloading) || in xpc_deactivate_partition()
352 reason == xpReactivating) { in xpc_deactivate_partition()
353 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition()
360 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition()
373 XPC_PARTID(part), reason); in xpc_deactivate_partition()
[all …]
Dxpc.h176 enum xp_retval reason; member
182 enum xp_retval reason; member
228 u16 reason; /* reason why channel is closing */ member
325 enum xp_retval reason; /* reason why channel is disconnect'g */ member
460 enum xp_retval reason; /* reason for deactivate act_state request */ member
485 enum xp_retval reason; /* reason partition is deactivating */ member
727 (_p)->reason = _reason; \
Dxpc_main.c576 if (part->reason == xpReactivating) { in xpc_activating()
948 xpc_do_exit(enum xp_retval reason) in xpc_do_exit() argument
993 XPC_DEACTIVATE_PARTITION(part, reason); in xpc_do_exit()
1034 if (reason == xpUnloading) { in xpc_do_exit()
1057 enum xp_retval reason; in xpc_system_reboot() local
1061 reason = xpSystemReboot; in xpc_system_reboot()
1064 reason = xpSystemHalt; in xpc_system_reboot()
1067 reason = xpSystemPoweroff; in xpc_system_reboot()
1070 reason = xpSystemGoingDown; in xpc_system_reboot()
1073 xpc_do_exit(reason); in xpc_system_reboot()
Dxpc_uv.c408 XPC_DEACTIVATE_PARTITION(part, part->sn.uv.reason); in xpc_process_activate_IRQ_rcvd_uv()
481 part_uv->reason = msg->reason; in xpc_handle_activate_mq_msg_uv()
497 args->reason = msg->reason; in xpc_handle_activate_mq_msg_uv()
599 part_uv->reason = xpBadMsgType; in xpc_handle_activate_mq_msg_uv()
945 msg.reason = part->reason; in xpc_request_partition_deactivation_uv()
1064 return part->reason; in xpc_make_first_contact_uv()
1209 msg.reason = ch->reason; in xpc_send_chctl_closerequest_uv()
1371 enum xp_retval reason) in xpc_notify_sender_uv() argument
1383 func(reason, ch->partid, ch->number, msg_slot->key); in xpc_notify_sender_uv()
1430 part_uv->reason = xpBadChannelNumber; in xpc_handle_notify_mq_msg_uv()
[all …]
/drivers/net/wireless/ti/wlcore/
Dtx.h249 u8 queue, enum wlcore_queue_stop_reason reason);
251 enum wlcore_queue_stop_reason reason);
253 enum wlcore_queue_stop_reason reason);
255 enum wlcore_queue_stop_reason reason);
257 enum wlcore_queue_stop_reason reason);
260 enum wlcore_queue_stop_reason reason);
265 enum wlcore_queue_stop_reason reason);
Dtx.c1199 u8 queue, enum wlcore_queue_stop_reason reason) in wlcore_stop_queue_locked() argument
1205 WARN_ON_ONCE(test_and_set_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_stop_queue_locked()
1214 enum wlcore_queue_stop_reason reason) in wlcore_stop_queue() argument
1219 wlcore_stop_queue_locked(wl, wlvif, queue, reason); in wlcore_stop_queue()
1224 enum wlcore_queue_stop_reason reason) in wlcore_wake_queue() argument
1232 WARN_ON_ONCE(!test_and_clear_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_wake_queue()
1244 enum wlcore_queue_stop_reason reason) in wlcore_stop_queues() argument
1253 WARN_ON_ONCE(test_and_set_bit(reason, in wlcore_stop_queues()
1265 enum wlcore_queue_stop_reason reason) in wlcore_wake_queues() argument
1274 WARN_ON_ONCE(!test_and_clear_bit(reason, in wlcore_wake_queues()
[all …]
/drivers/infiniband/core/
Drdma_core.c123 enum rdma_remove_reason reason, in uverbs_destroy_uobject() argument
133 if (reason == RDMA_REMOVE_ABORT) { in uverbs_destroy_uobject()
138 ret = uobj->uapi_object->type_class->destroy_hw(uobj, reason, in uverbs_destroy_uobject()
141 if (ib_is_destroy_retryable(ret, reason, uobj)) in uverbs_destroy_uobject()
160 if (reason != RDMA_REMOVE_DESTROY) in uverbs_destroy_uobject()
181 if (reason == RDMA_REMOVE_ABORT) in uverbs_destroy_uobject()
815 enum rdma_remove_reason reason) in ufile_destroy_ucontext() argument
825 if (reason == RDMA_REMOVE_DRIVER_REMOVE) { in ufile_destroy_ucontext()
844 enum rdma_remove_reason reason) in __uverbs_cleanup_ufile() argument
866 if (!uverbs_destroy_uobject(obj, reason, &attrs)) in __uverbs_cleanup_ufile()
[all …]
Dcm_trace.h189 enum ib_cm_rej_reason reason
192 TP_ARGS(cm_id, reason),
199 __field(unsigned long, reason)
207 __entry->reason = reason;
213 show_ib_cm_rej_reason(__entry->reason)
/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c111 static void wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, in wake_up_ctx() argument
115 ctx->int_type = reason; in wake_up_ctx()
121 static void wake_up_dev(struct s5p_mfc_dev *dev, unsigned int reason, in wake_up_dev() argument
125 dev->int_type = reason; in wake_up_dev()
360 unsigned int reason, unsigned int err) in s5p_mfc_handle_frame() argument
382 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_frame()
454 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_frame()
459 wake_up_dev(dev, reason, err); in s5p_mfc_handle_frame()
466 struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) in s5p_mfc_handle_error() argument
487 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_error()
[all …]
/drivers/atm/
DuPD98402.c189 unsigned char reason; in uPD98402_int() local
191 while ((reason = GET(PICR))) { in uPD98402_int()
192 if (reason & uPD98402_INT_LOS) in uPD98402_int()
195 if (reason & uPD98402_INT_PFM) stat_event(dev); in uPD98402_int()
196 if (reason & uPD98402_INT_PCO) { in uPD98402_int()
201 if ((reason & uPD98402_INT_RFO) && in uPD98402_int()
Dlanai.c1801 static inline void lanai_int_1(struct lanai_dev *lanai, u32 reason) in lanai_int_1() argument
1804 if (reason & INT_SERVICE) { in lanai_int_1()
1810 if (reason & (INT_AAL0_STR | INT_AAL0)) { in lanai_int_1()
1811 ack |= reason & (INT_AAL0_STR | INT_AAL0); in lanai_int_1()
1815 if (ack == reason) in lanai_int_1()
1817 if (reason & INT_STATS) { in lanai_int_1()
1818 reason &= ~INT_STATS; /* No need to ack */ in lanai_int_1()
1821 if (reason & INT_STATUS) { in lanai_int_1()
1822 ack |= reason & INT_STATUS; in lanai_int_1()
1825 if (unlikely(reason & INT_DMASHUT)) { in lanai_int_1()
[all …]
/drivers/net/wireless/ath/ath10k/
Dmac.h62 void ath10k_mac_tx_lock(struct ath10k *ar, int reason);
63 void ath10k_mac_tx_unlock(struct ath10k *ar, int reason);
64 void ath10k_mac_vif_tx_lock(struct ath10k_vif *arvif, int reason);
65 void ath10k_mac_vif_tx_unlock(struct ath10k_vif *arvif, int reason);
/drivers/pci/pcie/
Ddpc.c265 u16 cap = pdev->dpc_cap, status, source, reason, ext_reason; in dpc_process_error() local
274 reason = (status & PCI_EXP_DPC_STATUS_TRIGGER_RSN) >> 1; in dpc_process_error()
277 (reason == 0) ? "unmasked uncorrectable error" : in dpc_process_error()
278 (reason == 1) ? "ERR_NONFATAL" : in dpc_process_error()
279 (reason == 2) ? "ERR_FATAL" : in dpc_process_error()
285 if (pdev->dpc_rp_extensions && reason == 3 && ext_reason == 0) in dpc_process_error()
287 else if (reason == 0 && in dpc_process_error()
/drivers/i2c/busses/
Di2c-pmcmsp.c244 u32 reason = pmcmsptwi_readl(data->iobase + in pmcmsptwi_interrupt() local
246 pmcmsptwi_writel(reason, data->iobase + MSP_TWI_INT_STS_REG_OFFSET); in pmcmsptwi_interrupt()
248 dev_dbg(&pmcmsptwi_adapter.dev, "Got interrupt 0x%08x\n", reason); in pmcmsptwi_interrupt()
249 if (!(reason & MSP_TWI_INT_STS_DONE)) in pmcmsptwi_interrupt()
252 data->last_result = pmcmsptwi_get_result(reason); in pmcmsptwi_interrupt()
388 u32 reason = pmcmsptwi_readl(data->iobase + in pmcmsptwi_poll_complete() local
390 pmcmsptwi_writel(reason, data->iobase + in pmcmsptwi_poll_complete()
392 data->last_result = pmcmsptwi_get_result(reason); in pmcmsptwi_poll_complete()
/drivers/staging/greybus/
Dbootrom.c58 const char *reason; in gb_bootrom_timedout() local
62 reason = "Firmware Size Request"; in gb_bootrom_timedout()
65 reason = "Get Firmware Request"; in gb_bootrom_timedout()
68 reason = "Ready to Boot Request"; in gb_bootrom_timedout()
71 reason = "Interface Mode Switch"; in gb_bootrom_timedout()
74 reason = NULL; in gb_bootrom_timedout()
79 dev_err(dev, "Timed out waiting for %s from the Module\n", reason); in gb_bootrom_timedout()
/drivers/staging/vc04_services/include/linux/raspberrypi/
Dvchiq.h58 enum vchiq_status (*callback)(enum vchiq_reason reason,
66 enum vchiq_reason reason; member
74 enum vchiq_status (*callback)(enum vchiq_reason reason,
/drivers/firmware/efi/
Defibc.c64 const char *reason = "shutdown"; in efibc_reboot_notifier_call() local
68 reason = "reboot"; in efibc_reboot_notifier_call()
70 ret = efibc_set_variable("LoaderEntryRebootReason", reason); in efibc_reboot_notifier_call()
/drivers/scsi/libfc/
Dfc_rport.c869 rjt_data.reason = ELS_RJT_UNSUP; in fc_rport_recv_flogi_req()
876 rjt_data.reason = ELS_RJT_LOGIC; in fc_rport_recv_flogi_req()
883 rjt_data.reason = ELS_RJT_FIP; in fc_rport_recv_flogi_req()
909 rjt_data.reason = ELS_RJT_FIP; in fc_rport_recv_flogi_req()
926 rjt_data.reason = ELS_RJT_BUSY; in fc_rport_recv_flogi_req()
932 rjt_data.reason = ELS_RJT_LOGIC; in fc_rport_recv_flogi_req()
1431 rjt_data.reason = ELS_RJT_UNAB; in fc_rport_recv_rtv_req()
1605 rjt_data.reason = ELS_RJT_PROT; in fc_rport_recv_adisc_req()
1647 rjt_data.reason = ELS_RJT_PROT; in fc_rport_recv_rls_req()
1654 rjt_data.reason = ELS_RJT_UNAB; in fc_rport_recv_rls_req()
[all …]
/drivers/dma-buf/heaps/
Ddeferred-free-helper.h40 enum df_reason reason);
53 enum df_reason reason),
/drivers/net/wireless/realtek/rtw88/
Dwow.c15 u8 reason; in rtw_wow_show_wakeup_reason() local
17 reason = rtw_read8(rtwdev, REG_WOWLAN_WAKE_REASON); in rtw_wow_show_wakeup_reason()
19 if (reason == RTW_WOW_RSN_RX_DEAUTH) in rtw_wow_show_wakeup_reason()
21 else if (reason == RTW_WOW_RSN_DISCONNECT) in rtw_wow_show_wakeup_reason()
23 else if (reason == RTW_WOW_RSN_RX_MAGIC_PKT) in rtw_wow_show_wakeup_reason()
25 else if (reason == RTW_WOW_RSN_RX_GTK_REKEY) in rtw_wow_show_wakeup_reason()
27 else if (reason == RTW_WOW_RSN_RX_PTK_REKEY) in rtw_wow_show_wakeup_reason()
29 else if (reason == RTW_WOW_RSN_RX_PATTERN_MATCH) in rtw_wow_show_wakeup_reason()
31 else if (reason == RTW_WOW_RSN_RX_NLO) in rtw_wow_show_wakeup_reason()
34 rtw_warn(rtwdev, "Unknown wakeup reason %x\n", reason); in rtw_wow_show_wakeup_reason()
/drivers/net/wan/
Dhdlc_x25.c39 static void x25_connect_disconnect(struct net_device *dev, int reason, int code) in x25_connect_disconnect() argument
58 static void x25_connected(struct net_device *dev, int reason) in x25_connected() argument
60 x25_connect_disconnect(dev, reason, X25_IFACE_CONNECT); in x25_connected()
65 static void x25_disconnected(struct net_device *dev, int reason) in x25_disconnected() argument
67 x25_connect_disconnect(dev, reason, X25_IFACE_DISCONNECT); in x25_disconnected()

12345678910>>...13