/drivers/misc/sgi-xp/ |
D | xpc_channel.c | 161 "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 …]
|
D | xpc_partition.c | 326 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 …]
|
D | xpc.h | 253 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; \
|
D | xpc_main.c | 582 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()
|
D | xpc_uv.c | 405 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/ |
D | at91-reset.c | 149 char *reason; in at91_reset_status() local 153 reason = "general reset"; in at91_reset_status() 156 reason = "wakeup"; in at91_reset_status() 159 reason = "watchdog reset"; in at91_reset_status() 162 reason = "software reset"; in at91_reset_status() 165 reason = "user reset"; in at91_reset_status() 168 reason = "unknown reset"; in at91_reset_status() 172 pr_info("AT91: Starting after %s\n", reason); in at91_reset_status()
|
D | at91-poweroff.c | 61 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()
|
D | at91-sama5d2_shdwc.c | 91 char *reason = "unknown"; in at91_wakeup_status() local 102 reason = "WKUP pin"; in at91_wakeup_status() 104 reason = "RTC"; in at91_wakeup_status() 106 pr_info("AT91: Wake-Up source: %s\n", reason); in at91_wakeup_status()
|
/drivers/staging/irda/net/ |
D | irlmp_event.c | 681 LM_REASON reason; in irlmp_state_dtr() local 733 reason = irlmp_convert_lap_reason(self->lap->reason); in irlmp_state_dtr() 735 irlmp_disconnect_indication(self, reason, NULL); in irlmp_state_dtr() 745 reason = skb->data[3]; in irlmp_state_dtr() 751 irlmp_disconnect_indication(self, reason, skb); in irlmp_state_dtr() 771 LM_REASON reason; in irlmp_state_setup() local 793 reason = skb->data[3]; in irlmp_state_setup() 799 irlmp_disconnect_indication(self, reason, skb); in irlmp_state_setup() 809 reason = irlmp_convert_lap_reason(self->lap->reason); in irlmp_state_setup() 811 irlmp_disconnect_indication(self, reason, skb); in irlmp_state_setup() [all …]
|
D | irlmp.c | 72 const char *irlmp_reason_str(LM_REASON reason) in irlmp_reason_str() argument 74 reason = min_t(size_t, reason, ARRAY_SIZE(irlmp_reasons) - 1); in irlmp_reason_str() 75 return irlmp_reasons[reason]; in irlmp_reason_str() 347 link->reason = LAP_DISC_INDICATION; in irlmp_unregister_link() 739 void irlmp_disconnect_indication(struct lsap_cb *self, LM_REASON reason, in irlmp_disconnect_indication() argument 745 irlmp_reason_str(reason), reason); in irlmp_disconnect_indication() 788 self, reason, skb); in irlmp_disconnect_indication() 1793 int reason = LM_LAP_DISCONNECT; in irlmp_convert_lap_reason() local 1798 reason = LM_USER_REQUEST; in irlmp_convert_lap_reason() 1802 reason = LM_LAP_DISCONNECT; in irlmp_convert_lap_reason() [all …]
|
/drivers/net/wireless/ti/wlcore/ |
D | tx.h | 263 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);
|
D | tx.c | 1210 u8 queue, enum wlcore_queue_stop_reason reason) in wlcore_stop_queue_locked() argument 1216 WARN_ON_ONCE(test_and_set_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_stop_queue_locked() 1225 enum wlcore_queue_stop_reason reason) in wlcore_stop_queue() argument 1230 wlcore_stop_queue_locked(wl, wlvif, queue, reason); in wlcore_stop_queue() 1235 enum wlcore_queue_stop_reason reason) in wlcore_wake_queue() argument 1243 WARN_ON_ONCE(!test_and_clear_bit(reason, &wl->queue_stop_reasons[hwq])); in wlcore_wake_queue() 1255 enum wlcore_queue_stop_reason reason) in wlcore_stop_queues() argument 1264 WARN_ON_ONCE(test_and_set_bit(reason, in wlcore_stop_queues() 1276 enum wlcore_queue_stop_reason reason) in wlcore_wake_queues() argument 1285 WARN_ON_ONCE(!test_and_clear_bit(reason, in wlcore_wake_queues() [all …]
|
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc.c | 115 static void wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, in wake_up_ctx() argument 119 ctx->int_type = reason; in wake_up_ctx() 125 static void wake_up_dev(struct s5p_mfc_dev *dev, unsigned int reason, in wake_up_dev() argument 129 dev->int_type = reason; in wake_up_dev() 364 unsigned int reason, unsigned int err) in s5p_mfc_handle_frame() argument 386 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_frame() 458 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_frame() 463 wake_up_dev(dev, reason, err); in s5p_mfc_handle_frame() 470 struct s5p_mfc_ctx *ctx, unsigned int reason, unsigned int err) in s5p_mfc_handle_error() argument 491 wake_up_ctx(ctx, reason, err); in s5p_mfc_handle_error() [all …]
|
/drivers/net/wan/ |
D | hdlc_x25.c | 31 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/ |
D | mac.h | 73 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);
|
/drivers/atm/ |
D | uPD98402.c | 188 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()
|
D | lanai.c | 1807 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/ |
D | i2c-pmcmsp.c | 244 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/ |
D | bootrom.c | 59 const char *reason; in gb_bootrom_timedout() local 63 reason = "Firmware Size Request"; in gb_bootrom_timedout() 66 reason = "Get Firmware Request"; in gb_bootrom_timedout() 69 reason = "Ready to Boot Request"; in gb_bootrom_timedout() 72 reason = "Interface Mode Switch"; in gb_bootrom_timedout() 75 reason = NULL; in gb_bootrom_timedout() 80 dev_err(dev, "Timed out waiting for %s from the Module\n", reason); in gb_bootrom_timedout()
|
/drivers/firmware/efi/ |
D | efibc.c | 70 const char *reason = "shutdown"; in efibc_reboot_notifier_call() local 74 reason = "reboot"; in efibc_reboot_notifier_call() 76 ret = efibc_set_variable("LoaderEntryRebootReason", reason); in efibc_reboot_notifier_call()
|
/drivers/scsi/libfc/ |
D | fc_rport.c | 882 rjt_data.reason = ELS_RJT_UNSUP; in fc_rport_recv_flogi_req() 889 rjt_data.reason = ELS_RJT_LOGIC; in fc_rport_recv_flogi_req() 896 rjt_data.reason = ELS_RJT_FIP; in fc_rport_recv_flogi_req() 922 rjt_data.reason = ELS_RJT_FIP; in fc_rport_recv_flogi_req() 939 rjt_data.reason = ELS_RJT_BUSY; in fc_rport_recv_flogi_req() 945 rjt_data.reason = ELS_RJT_LOGIC; in fc_rport_recv_flogi_req() 1427 rjt_data.reason = ELS_RJT_UNAB; in fc_rport_recv_rtv_req() 1602 rjt_data.reason = ELS_RJT_PROT; in fc_rport_recv_adisc_req() 1645 rjt_data.reason = ELS_RJT_PROT; in fc_rport_recv_rls_req() 1652 rjt_data.reason = ELS_RJT_UNAB; in fc_rport_recv_rls_req() [all …]
|
/drivers/firmware/google/ |
D | gsmi.c | 594 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/bus/ |
D | brcmstb_gisb.c | 199 const char *reason) in brcmstb_gisb_arb_decode_addr() argument 224 __func__, reason, arb_addr, in brcmstb_gisb_arb_decode_addr() 290 const char *reason = "panic"; in dump_gisb_error() local 293 reason = "die"; in dump_gisb_error() 297 brcmstb_gisb_arb_decode_addr(gdev, reason); in dump_gisb_error()
|
/drivers/staging/irda/net/ircomm/ |
D | ircomm_ttp.c | 55 LM_REASON reason, 314 LM_REASON reason, in ircomm_ttp_disconnect_indication() argument 323 info.reason = reason; in ircomm_ttp_disconnect_indication()
|
/drivers/pci/pcie/ |
D | pcie-dpc.c | 264 u16 reason = (status >> 1) & 0x3; in dpc_irq() local 268 (reason == 0) ? "unmasked uncorrectable error" : in dpc_irq() 269 (reason == 1) ? "ERR_NONFATAL" : in dpc_irq() 270 (reason == 2) ? "ERR_FATAL" : in dpc_irq() 275 if (reason == 3 && ext_reason == 0) in dpc_irq()
|