• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/mpt2sas/

Lines Matching defs:sleep_flag

1941  * @sleep_flag: CAN_SLEEP or NO_SLEEP
1946 _base_allocate_memory_pools(struct MPT2SAS_ADAPTER *ioc, int sleep_flag)
2332 * @sleep_flag: CAN_SLEEP or NO_SLEEP
2338 int sleep_flag)
2344 cntdn = (sleep_flag == CAN_SLEEP) ? 1000*timeout : 2000*timeout;
2351 if (sleep_flag == CAN_SLEEP)
2366 * @sleep_flag: CAN_SLEEP or NO_SLEEP
2374 int sleep_flag)
2380 cntdn = (sleep_flag == CAN_SLEEP) ? 1000*timeout : 2000*timeout;
2389 if (sleep_flag == CAN_SLEEP)
2405 * @sleep_flag: CAN_SLEEP or NO_SLEEP
2414 int sleep_flag)
2421 cntdn = (sleep_flag == CAN_SLEEP) ? 1000*timeout : 2000*timeout;
2439 if (sleep_flag == CAN_SLEEP)
2456 * @sleep_flag: CAN_SLEEP or NO_SLEEP
2463 int sleep_flag)
2469 cntdn = (sleep_flag == CAN_SLEEP) ? 1000*timeout : 2000*timeout;
2478 if (sleep_flag == CAN_SLEEP)
2495 * @sleep_flag: CAN_SLEEP or NO_SLEEP
2501 int sleep_flag)
2520 if ((_base_wait_for_doorbell_ack(ioc, 15, sleep_flag))) {
2525 timeout, sleep_flag);
2546 * @sleep_flag: CAN_SLEEP or NO_SLEEP
2552 u32 *request, int reply_bytes, u16 *reply, int timeout, int sleep_flag)
2584 if ((_base_wait_for_doorbell_ack(ioc, 5, sleep_flag))) {
2593 if ((_base_wait_for_doorbell_ack(ioc, 5, sleep_flag)))
2604 if ((_base_wait_for_doorbell_int(ioc, timeout, sleep_flag))) {
2614 if ((_base_wait_for_doorbell_int(ioc, 5, sleep_flag))) {
2624 if ((_base_wait_for_doorbell_int(ioc, 5, sleep_flag))) {
2638 _base_wait_for_doorbell_int(ioc, 5, sleep_flag);
2639 if (_base_wait_for_doorbell_not_used(ioc, 5, sleep_flag) != 0) {
2864 * @sleep_flag: CAN_SLEEP or NO_SLEEP
2869 _base_get_port_facts(struct MPT2SAS_ADAPTER *ioc, int port, int sleep_flag)
2906 * @sleep_flag: CAN_SLEEP or NO_SLEEP
2911 _base_get_ioc_facts(struct MPT2SAS_ADAPTER *ioc, int sleep_flag)
2976 * @sleep_flag: CAN_SLEEP or NO_SLEEP
2981 _base_send_ioc_init(struct MPT2SAS_ADAPTER *ioc, int sleep_flag)
3059 sleep_flag);
3080 * @sleep_flag: CAN_SLEEP or NO_SLEEP
3085 _base_send_port_enable(struct MPT2SAS_ADAPTER *ioc, int sleep_flag)
3135 60, sleep_flag);
3178 * @sleep_flag: CAN_SLEEP or NO_SLEEP
3183 _base_event_notification(struct MPT2SAS_ADAPTER *ioc, int sleep_flag)
3275 * @sleep_flag: CAN_SLEEP or NO_SLEEP
3280 _base_diag_reset(struct MPT2SAS_ADAPTER *ioc, int sleep_flag)
3310 if (sleep_flag == CAN_SLEEP)
3346 if (sleep_flag == CAN_SLEEP)
3379 sleep_flag);
3398 * @sleep_flag: CAN_SLEEP or NO_SLEEP
3404 _base_make_ioc_ready(struct MPT2SAS_ADAPTER *ioc, int sleep_flag,
3454 * @sleep_flag: CAN_SLEEP or NO_SLEEP
3459 _base_make_ioc_operational(struct MPT2SAS_ADAPTER *ioc, int sleep_flag)
3526 r = _base_send_ioc_init(ioc, sleep_flag);
3537 r = _base_event_notification(ioc, sleep_flag);
3541 if (sleep_flag == CAN_SLEEP)
3551 r = _base_send_port_enable(ioc, sleep_flag);
3831 * @sleep_flag: CAN_SLEEP or NO_SLEEP
3837 _wait_for_commands_to_complete(struct MPT2SAS_ADAPTER *ioc, int sleep_flag)
3844 if (sleep_flag != CAN_SLEEP)
3868 * @sleep_flag: CAN_SLEEP or NO_SLEEP
3874 mpt2sas_base_hard_reset_handler(struct MPT2SAS_ADAPTER *ioc, int sleep_flag,
3899 BUG_ON(sleep_flag == NO_SLEEP);
3916 _wait_for_commands_to_complete(ioc, sleep_flag);
3918 r = _base_make_ioc_ready(ioc, sleep_flag, type);
3930 r = _base_make_ioc_operational(ioc, sleep_flag);