Home
last modified time | relevance | path

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

12345678910>>...14

/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.c332 DBUG_ON(part->reason == xpSuccess); in xpc_mark_partition_active()
333 ret = part->reason; in xpc_mark_partition_active()
345 enum xp_retval reason) in xpc_deactivate_partition() argument
352 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition()
354 if (reason == xpReactivating) { in xpc_deactivate_partition()
361 if ((part->reason == xpUnloading && reason != xpUnloading) || in xpc_deactivate_partition()
362 reason == xpReactivating) { in xpc_deactivate_partition()
363 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition()
370 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition()
383 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
728 (_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/power/reset/
Dat91-reset.c155 const char *reason; in at91_reset_status() local
160 reason = "general reset"; in at91_reset_status()
163 reason = "wakeup"; in at91_reset_status()
166 reason = "watchdog reset"; in at91_reset_status()
169 reason = "software reset"; in at91_reset_status()
172 reason = "user reset"; in at91_reset_status()
175 reason = "CPU clock failure detection"; in at91_reset_status()
178 reason = "32.768 kHz crystal failure detection"; in at91_reset_status()
181 reason = "ULP2 reset"; in at91_reset_status()
184 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.c115 char *reason = "unknown"; in at91_wakeup_status() local
126 reason = "WKUP pin"; in at91_wakeup_status()
128 reason = "RTC"; in at91_wakeup_status()
130 reason = "RTT"; in at91_wakeup_status()
132 pr_info("AT91: Wake-Up source: %s\n", reason); in at91_wakeup_status()
/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.c1197 u8 queue, enum wlcore_queue_stop_reason reason) in wlcore_stop_queue_locked() argument
1203 WARN_ON_ONCE(test_and_set_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_stop_queue_locked()
1212 enum wlcore_queue_stop_reason reason) in wlcore_stop_queue() argument
1217 wlcore_stop_queue_locked(wl, wlvif, queue, reason); in wlcore_stop_queue()
1222 enum wlcore_queue_stop_reason reason) in wlcore_wake_queue() argument
1230 WARN_ON_ONCE(!test_and_clear_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_wake_queue()
1242 enum wlcore_queue_stop_reason reason) in wlcore_stop_queues() argument
1251 WARN_ON_ONCE(test_and_set_bit(reason, in wlcore_stop_queues()
1263 enum wlcore_queue_stop_reason reason) in wlcore_wake_queues() argument
1272 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()
154 if (reason != RDMA_REMOVE_DESTROY) in uverbs_destroy_uobject()
175 if (reason == RDMA_REMOVE_ABORT) in uverbs_destroy_uobject()
852 enum rdma_remove_reason reason) in ufile_destroy_ucontext() argument
862 if (reason == RDMA_REMOVE_DRIVER_REMOVE) { in ufile_destroy_ucontext()
881 enum rdma_remove_reason reason) in __uverbs_cleanup_ufile() argument
903 if (reason == RDMA_REMOVE_DRIVER_FAILURE) in __uverbs_cleanup_ufile()
905 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/samsung/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 …]
Ds5p_mfc_opr_v5.c1476 int reason; in s5p_mfc_get_int_reason_v5() local
1477 reason = mfc_read(dev, S5P_FIMV_RISC2HOST_CMD) & in s5p_mfc_get_int_reason_v5()
1479 switch (reason) { in s5p_mfc_get_int_reason_v5()
1481 reason = S5P_MFC_R2H_CMD_OPEN_INSTANCE_RET; in s5p_mfc_get_int_reason_v5()
1484 reason = S5P_MFC_R2H_CMD_CLOSE_INSTANCE_RET; in s5p_mfc_get_int_reason_v5()
1487 reason = S5P_MFC_R2H_CMD_SEQ_DONE_RET; in s5p_mfc_get_int_reason_v5()
1490 reason = S5P_MFC_R2H_CMD_FRAME_DONE_RET; in s5p_mfc_get_int_reason_v5()
1493 reason = S5P_MFC_R2H_CMD_SLICE_DONE_RET; in s5p_mfc_get_int_reason_v5()
1496 reason = S5P_MFC_R2H_CMD_SYS_INIT_RET; in s5p_mfc_get_int_reason_v5()
1499 reason = S5P_MFC_R2H_CMD_FW_STATUS_RET; in s5p_mfc_get_int_reason_v5()
[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/gpu/drm/i915/gt/
Dintel_reset.h33 const char *reason);
35 const char *reason);
37 const char *reason);
/drivers/firmware/efi/
Defibc.c38 efi_char16_t *reason = event == SYS_RESTART ? L"reboot" in efibc_reboot_notifier_call() local
45 ret = efibc_set_variable(L"LoaderEntryRebootReason", reason, in efibc_reboot_notifier_call()
46 ucs2_strlen(reason)); in efibc_reboot_notifier_call()
/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.h61 enum vchiq_reason reason,
69 enum vchiq_reason reason; member
78 enum vchiq_reason reason,
/drivers/atm/
Dlanai.c1800 static inline void lanai_int_1(struct lanai_dev *lanai, u32 reason) in lanai_int_1() argument
1803 if (reason & INT_SERVICE) { in lanai_int_1()
1809 if (reason & (INT_AAL0_STR | INT_AAL0)) { in lanai_int_1()
1810 ack |= reason & (INT_AAL0_STR | INT_AAL0); in lanai_int_1()
1814 if (ack == reason) in lanai_int_1()
1816 if (reason & INT_STATS) { in lanai_int_1()
1817 reason &= ~INT_STATS; /* No need to ack */ in lanai_int_1()
1820 if (reason & INT_STATUS) { in lanai_int_1()
1821 ack |= reason & INT_STATUS; in lanai_int_1()
1824 if (unlikely(reason & INT_DMASHUT)) { in lanai_int_1()
[all …]
/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/firmware/google/
Dgsmi.c615 static int gsmi_shutdown_reason(int reason) in gsmi_shutdown_reason() argument
619 .instance = reason, in gsmi_shutdown_reason()
630 if (saved_reason & (1 << reason)) in gsmi_shutdown_reason()
635 saved_reason |= (1 << reason); in gsmi_shutdown_reason()
654 reason); in gsmi_shutdown_reason()
660 unsigned long reason, void *arg) in gsmi_reboot_callback() argument
671 unsigned long reason, void *arg) in gsmi_die_callback() argument
673 if (reason == DIE_OOPS) in gsmi_die_callback()
683 unsigned long reason, void *arg) in gsmi_panic_callback() argument
/drivers/net/wan/
Dhdlc_x25.c52 static void x25_connect_disconnect(struct net_device *dev, int reason, int code) in x25_connect_disconnect() argument
71 static void x25_connected(struct net_device *dev, int reason) in x25_connected() argument
73 x25_connect_disconnect(dev, reason, X25_IFACE_CONNECT); in x25_connected()
76 static void x25_disconnected(struct net_device *dev, int reason) in x25_disconnected() argument
78 x25_connect_disconnect(dev, reason, X25_IFACE_DISCONNECT); in x25_disconnected()

12345678910>>...14