Lines Matching refs:func_num

30 	qla4_83xx_wr_reg(ha, QLA83XX_CRB_WIN_FUNC(ha->func_num), addr);  in qla4_83xx_set_win_base()
31 val = qla4_83xx_rd_reg(ha, QLA83XX_CRB_WIN_FUNC(ha->func_num)); in qla4_83xx_set_win_base()
91 __func__, ha->func_num, lock_owner); in qla4_83xx_flash_lock()
98 qla4_83xx_wr_reg(ha, QLA83XX_FLASH_LOCK_ID, ha->func_num); in qla4_83xx_flash_lock()
270 (ha->func_num << 2) | INTENT_TO_RECOVER); in qla4_83xx_lock_recovery()
276 if ((lockid & 0x3C) != (ha->func_num << 2)) in qla4_83xx_lock_recovery()
280 __func__, ha->func_num); in qla4_83xx_lock_recovery()
284 (ha->func_num << 2) | PROCEED_TO_RECOVER); in qla4_83xx_lock_recovery()
297 lockid = ((lockid + (1 << 8)) & ~0xFF) | ha->func_num; in qla4_83xx_lock_recovery()
316 uint32_t func_num; in qla4_83xx_drv_lock() local
325 lock_id = ((lock_id + (1 << 8)) & ~0xFF) | ha->func_num; in qla4_83xx_drv_lock()
339 func_num = tmo_owner & 0xFF; in qla4_83xx_drv_lock()
342 __func__, ha->func_num, func_num, lock_cnt, in qla4_83xx_drv_lock()
351 __func__, ha->func_num); in qla4_83xx_drv_lock()
360 __func__, ha->func_num); in qla4_83xx_drv_lock()
366 __func__, ha->func_num); in qla4_83xx_drv_lock()
382 if ((id & 0xFF) != ha->func_num) { in qla4_83xx_drv_unlock()
384 __func__, ha->func_num, (id & 0xFF)); in qla4_83xx_drv_unlock()
433 int func_num; member
463 device_map[i].func_num = i; in qla4_83xx_can_perform_reset()
468 if (drv_active & (1 << device_map[i].func_num)) { in qla4_83xx_can_perform_reset()
473 if (drv_active & (1 << device_map[i].func_num)) { in qla4_83xx_can_perform_reset()
475 iscsi_func_low > device_map[i].func_num) in qla4_83xx_can_perform_reset()
476 iscsi_func_low = device_map[i].func_num; in qla4_83xx_can_perform_reset()
492 if (!nic_present && (ha->func_num == iscsi_func_low)) { in qla4_83xx_can_perform_reset()
495 __func__, ha->func_num)); in qla4_83xx_can_perform_reset()
1577 !(drv_active & (1 << ha->func_num))) { in qla4_83xx_is_detached()