Home
last modified time | relevance | path

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

12345678910

/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.c326 DBUG_ON(part->reason == xpSuccess); in xpc_mark_partition_active()
327 ret = part->reason; in xpc_mark_partition_active()
339 enum xp_retval reason) in xpc_deactivate_partition() argument
346 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition()
348 if (reason == xpReactivating) { in xpc_deactivate_partition()
355 if ((part->reason == xpUnloading && reason != xpUnloading) || in xpc_deactivate_partition()
356 reason == xpReactivating) { in xpc_deactivate_partition()
357 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition()
364 XPC_SET_REASON(part, reason, line); in xpc_deactivate_partition()
377 XPC_PARTID(part), reason); in xpc_deactivate_partition()
[all …]
Dxpc.h253 enum xp_retval reason; member
259 enum xp_retval reason; member
316 u16 reason; /* reason why channel is closing */ member
547 enum xp_retval reason; /* reason why channel is disconnect'g */ member
720 enum xp_retval reason; /* reason for deactivate act_state request */ member
745 enum xp_retval reason; /* reason partition is deactivating */ member
1000 (_p)->reason = _reason; \
Dxpc_main.c582 if (part->reason == xpReactivating) { in xpc_activating()
955 xpc_do_exit(enum xp_retval reason) in xpc_do_exit() argument
1000 XPC_DEACTIVATE_PARTITION(part, reason); in xpc_do_exit()
1041 if (reason == xpUnloading) { in xpc_do_exit()
1066 enum xp_retval reason; in xpc_system_reboot() local
1070 reason = xpSystemReboot; in xpc_system_reboot()
1073 reason = xpSystemHalt; in xpc_system_reboot()
1076 reason = xpSystemPoweroff; in xpc_system_reboot()
1079 reason = xpSystemGoingDown; in xpc_system_reboot()
1082 xpc_do_exit(reason); in xpc_system_reboot()
Dxpc_uv.c405 XPC_DEACTIVATE_PARTITION(part, part->sn.uv.reason); in xpc_process_activate_IRQ_rcvd_uv()
478 part_uv->reason = msg->reason; in xpc_handle_activate_mq_msg_uv()
494 args->reason = msg->reason; in xpc_handle_activate_mq_msg_uv()
595 part_uv->reason = xpBadMsgType; in xpc_handle_activate_mq_msg_uv()
941 msg.reason = part->reason; in xpc_request_partition_deactivation_uv()
1060 return part->reason; in xpc_make_first_contact_uv()
1205 msg.reason = ch->reason; in xpc_send_chctl_closerequest_uv()
1367 enum xp_retval reason) in xpc_notify_sender_uv() argument
1379 func(reason, ch->partid, ch->number, msg_slot->key); in xpc_notify_sender_uv()
1426 part_uv->reason = xpBadChannelNumber; in xpc_handle_notify_mq_msg_uv()
[all …]
/drivers/power/reset/
Dat91-reset.c140 char *reason; in at91_reset_status() local
144 reason = "general reset"; in at91_reset_status()
147 reason = "wakeup"; in at91_reset_status()
150 reason = "watchdog reset"; in at91_reset_status()
153 reason = "software reset"; in at91_reset_status()
156 reason = "user reset"; in at91_reset_status()
159 reason = "unknown reset"; in at91_reset_status()
163 pr_info("AT91: Starting after %s\n", reason); in at91_reset_status()
Dat91-poweroff.c61 char *reason = "unknown"; in at91_wakeup_status() local
68 reason = "RTT"; in at91_wakeup_status()
70 reason = "RTC"; in at91_wakeup_status()
72 pr_info("AT91: Wake-Up source: %s\n", reason); in at91_wakeup_status()
/drivers/net/wireless/ti/wlcore/
Dtx.h263 u8 queue, enum wlcore_queue_stop_reason reason);
265 enum wlcore_queue_stop_reason reason);
267 enum wlcore_queue_stop_reason reason);
269 enum wlcore_queue_stop_reason reason);
271 enum wlcore_queue_stop_reason reason);
274 enum wlcore_queue_stop_reason reason);
279 enum wlcore_queue_stop_reason reason);
Dtx.c1211 u8 queue, enum wlcore_queue_stop_reason reason) in wlcore_stop_queue_locked() argument
1217 WARN_ON_ONCE(test_and_set_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_stop_queue_locked()
1226 enum wlcore_queue_stop_reason reason) in wlcore_stop_queue() argument
1231 wlcore_stop_queue_locked(wl, wlvif, queue, reason); in wlcore_stop_queue()
1236 enum wlcore_queue_stop_reason reason) in wlcore_wake_queue() argument
1244 WARN_ON_ONCE(!test_and_clear_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_wake_queue()
1256 enum wlcore_queue_stop_reason reason) in wlcore_stop_queues() argument
1265 WARN_ON_ONCE(test_and_set_bit(reason, in wlcore_stop_queues()
1277 enum wlcore_queue_stop_reason reason) in wlcore_wake_queues() argument
1286 WARN_ON_ONCE(!test_and_clear_bit(reason, in wlcore_wake_queues()
[all …]
/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c89 static void wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, in wake_up_ctx() argument
93 ctx->int_type = reason; in wake_up_ctx()
99 static void wake_up_dev(struct s5p_mfc_dev *dev, unsigned int reason, in wake_up_dev() argument
103 dev->int_type = reason; in wake_up_dev()
325 unsigned int reason, unsigned int err) in s5p_mfc_handle_frame() argument
348 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_frame()
422 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_frame()
427 wake_up_dev(dev, reason, err); in s5p_mfc_handle_frame()
434 struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) in s5p_mfc_handle_error() argument
461 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_error()
[all …]
/drivers/net/wan/
Dhdlc_x25.c31 static void x25_connect_disconnect(struct net_device *dev, int reason, int code) in x25_connect_disconnect() argument
50 static void x25_connected(struct net_device *dev, int reason) in x25_connected() argument
52 x25_connect_disconnect(dev, reason, X25_IFACE_CONNECT); in x25_connected()
57 static void x25_disconnected(struct net_device *dev, int reason) in x25_disconnected() argument
59 x25_connect_disconnect(dev, reason, X25_IFACE_DISCONNECT); in x25_disconnected()
/drivers/net/wireless/ath/ath10k/
Dmac.h73 void ath10k_mac_tx_lock(struct ath10k *ar, int reason);
74 void ath10k_mac_tx_unlock(struct ath10k *ar, int reason);
75 void ath10k_mac_vif_tx_lock(struct ath10k_vif *arvif, int reason);
76 void ath10k_mac_vif_tx_unlock(struct ath10k_vif *arvif, int reason);
Ddebugfs_sta.c191 u32 tid, initiator, reason; in ath10k_dbg_sta_write_delba() local
200 ret = sscanf(buf, "%u %u %u", &tid, &initiator, &reason); in ath10k_dbg_sta_write_delba()
216 tid, initiator, reason); in ath10k_dbg_sta_write_delba()
220 reason); in ath10k_dbg_sta_write_delba()
/drivers/atm/
DuPD98402.c188 unsigned char reason; in uPD98402_int() local
190 while ((reason = GET(PICR))) { in uPD98402_int()
191 if (reason & uPD98402_INT_LOS) in uPD98402_int()
194 if (reason & uPD98402_INT_PFM) stat_event(dev); in uPD98402_int()
195 if (reason & uPD98402_INT_PCO) { in uPD98402_int()
200 if ((reason & uPD98402_INT_RFO) && in uPD98402_int()
Dlanai.c1807 static inline void lanai_int_1(struct lanai_dev *lanai, u32 reason) in lanai_int_1() argument
1810 if (reason & INT_SERVICE) { in lanai_int_1()
1816 if (reason & (INT_AAL0_STR | INT_AAL0)) { in lanai_int_1()
1817 ack |= reason & (INT_AAL0_STR | INT_AAL0); in lanai_int_1()
1821 if (ack == reason) in lanai_int_1()
1823 if (reason & INT_STATS) { in lanai_int_1()
1824 reason &= ~INT_STATS; /* No need to ack */ in lanai_int_1()
1827 if (reason & INT_STATUS) { in lanai_int_1()
1828 ack |= reason & INT_STATUS; in lanai_int_1()
1831 if (unlikely(reason & INT_DMASHUT)) { in lanai_int_1()
[all …]
/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()
390 u32 reason = pmcmsptwi_readl(data->iobase + in pmcmsptwi_poll_complete() local
392 pmcmsptwi_writel(reason, data->iobase + in pmcmsptwi_poll_complete()
394 data->last_result = pmcmsptwi_get_result(reason); in pmcmsptwi_poll_complete()
/drivers/scsi/libfc/
Dfc_rport.c771 rjt_data.reason = ELS_RJT_UNSUP; in fc_rport_recv_flogi_req()
778 rjt_data.reason = ELS_RJT_LOGIC; in fc_rport_recv_flogi_req()
785 rjt_data.reason = ELS_RJT_FIP; in fc_rport_recv_flogi_req()
812 rjt_data.reason = ELS_RJT_FIP; in fc_rport_recv_flogi_req()
829 rjt_data.reason = ELS_RJT_BUSY; in fc_rport_recv_flogi_req()
835 rjt_data.reason = ELS_RJT_LOGIC; in fc_rport_recv_flogi_req()
1385 rjt_data.reason = ELS_RJT_PROT; in fc_rport_recv_adisc_req()
1428 rjt_data.reason = ELS_RJT_PROT; in fc_rport_recv_rls_req()
1435 rjt_data.reason = ELS_RJT_UNAB; in fc_rport_recv_rls_req()
1533 els_data.reason = ELS_RJT_UNAB; in fc_rport_recv_els_req()
[all …]
/drivers/firmware/google/
Dgsmi.c594 static int gsmi_shutdown_reason(int reason) in gsmi_shutdown_reason() argument
598 .instance = reason, in gsmi_shutdown_reason()
609 if (saved_reason & (1 << reason)) in gsmi_shutdown_reason()
614 saved_reason |= (1 << reason); in gsmi_shutdown_reason()
633 reason); in gsmi_shutdown_reason()
639 unsigned long reason, void *arg) in gsmi_reboot_callback() argument
650 unsigned long reason, void *arg) in gsmi_die_callback() argument
652 if (reason == DIE_OOPS) in gsmi_die_callback()
662 unsigned long reason, void *arg) in gsmi_panic_callback() argument
/drivers/pci/
Dirq.c13 static void pci_note_irq_problem(struct pci_dev *pdev, const char *reason) in pci_note_irq_problem() argument
20 dev_err(&pdev->dev, "%s\n", reason); in pci_note_irq_problem()
/drivers/net/wireless/ath/ath6kl/
Drecovery.c42 void ath6kl_recovery_err_notify(struct ath6kl *ar, enum ath6kl_fw_err reason) in ath6kl_recovery_err_notify() argument
48 reason); in ath6kl_recovery_err_notify()
50 set_bit(reason, &ar->fw_recovery.err_reason); in ath6kl_recovery_err_notify()
/drivers/net/wireless/ath/wil6210/
Dwmi.c638 u16 reason = __le16_to_cpu(evt->reason); in wmi_evt_delba() local
647 reason); in wmi_evt_delba()
1189 int wmi_disconnect_sta(struct wil6210_priv *wil, const u8 *mac, u16 reason) in wmi_disconnect_sta() argument
1194 .disconnect_reason = cpu_to_le16(reason), in wmi_disconnect_sta()
1203 wil_dbg_wmi(wil, "%s(%pM, reason %d)\n", __func__, mac, reason); in wmi_disconnect_sta()
1244 int wmi_delba_tx(struct wil6210_priv *wil, u8 ringid, u16 reason) in wmi_delba_tx() argument
1248 .reason = cpu_to_le16(reason), in wmi_delba_tx()
1252 ringid, reason); in wmi_delba_tx()
1257 int wmi_delba_rx(struct wil6210_priv *wil, u8 cidxtid, u16 reason) in wmi_delba_rx() argument
1261 .reason = cpu_to_le16(reason), in wmi_delba_rx()
[all …]
/drivers/net/wimax/i2400m/
Ddriver.c600 const char *reason = i2400m->reset_reason; in __i2400m_dev_reset_handle() local
605 d_fnstart(3, dev, "(ws %p i2400m %p reason %s)\n", ws, i2400m, reason); in __i2400m_dev_reset_handle()
621 dev_err(dev, "%s: reinitializing driver\n", reason); in __i2400m_dev_reset_handle()
634 reason, result); in __i2400m_dev_reset_handle()
679 ws, i2400m, reason); in __i2400m_dev_reset_handle()
695 int i2400m_dev_reset_handle(struct i2400m *i2400m, const char *reason) in i2400m_dev_reset_handle() argument
697 i2400m->reset_reason = reason; in i2400m_dev_reset_handle()
/drivers/s390/block/
Ddasd_alias.c395 char reason; in suborder_not_supported() local
417 reason = sense[0]; in suborder_not_supported()
422 if ((reason == 0x80) && (msg_format == 0x00) && (msg_no == 0x04)) in suborder_not_supported()
742 char reason) in reset_summary_unit_check() argument
756 ((char *)cqr->data)[0] = reason; in reset_summary_unit_check()
952 reset_summary_unit_check(lcu, device, suc_data->reason); in summary_unit_check_handling_work()
971 char reason; in dasd_alias_handle_summary_unit_check() local
979 reason = sense[8]; in dasd_alias_handle_summary_unit_check()
981 "eckd handle summary unit check: reason", reason); in dasd_alias_handle_summary_unit_check()
1018 lcu->suc_data.reason = reason; in dasd_alias_handle_summary_unit_check()
/drivers/net/wireless/mwifiex/
Dsta_cmdresp.c897 u16 reason = le16_to_cpu(cmd_tdls_oper->reason); in mwifiex_ret_tdls_oper() local
904 if (reason) { in mwifiex_ret_tdls_oper()
905 if (!node || reason == TDLS_ERR_LINK_NONEXISTENT) in mwifiex_ret_tdls_oper()
908 cmd_tdls_oper->peer_mac, reason); in mwifiex_ret_tdls_oper()
912 cmd_tdls_oper->peer_mac, reason); in mwifiex_ret_tdls_oper()
920 if (reason) { in mwifiex_ret_tdls_oper()
923 cmd_tdls_oper->peer_mac, reason); in mwifiex_ret_tdls_oper()
924 if (node && reason != TDLS_ERR_LINK_EXISTS) in mwifiex_ret_tdls_oper()
933 if (reason) { in mwifiex_ret_tdls_oper()
936 cmd_tdls_oper->peer_mac, reason); in mwifiex_ret_tdls_oper()
/drivers/staging/rdma/hfi1/
Diowait.h103 void (*wakeup)(struct iowait *wait, int reason);
136 void (*wakeup)(struct iowait *wait, int reason)) in iowait_init() argument

12345678910