Lines Matching refs:func_num
31 qla4_83xx_wr_reg(ha, QLA83XX_CRB_WIN_FUNC(ha->func_num), addr); in qla4_83xx_set_win_base()
32 val = qla4_83xx_rd_reg(ha, QLA83XX_CRB_WIN_FUNC(ha->func_num)); in qla4_83xx_set_win_base()
92 __func__, ha->func_num, lock_owner); in qla4_83xx_flash_lock()
99 qla4_83xx_wr_reg(ha, QLA83XX_FLASH_LOCK_ID, ha->func_num); in qla4_83xx_flash_lock()
271 (ha->func_num << 2) | INTENT_TO_RECOVER); in qla4_83xx_lock_recovery()
277 if ((lockid & 0x3C) != (ha->func_num << 2)) in qla4_83xx_lock_recovery()
281 __func__, ha->func_num); in qla4_83xx_lock_recovery()
285 (ha->func_num << 2) | PROCEED_TO_RECOVER); in qla4_83xx_lock_recovery()
298 lockid = ((lockid + (1 << 8)) & ~0xFF) | ha->func_num; in qla4_83xx_lock_recovery()
317 uint32_t func_num; in qla4_83xx_drv_lock() local
326 lock_id = ((lock_id + (1 << 8)) & ~0xFF) | ha->func_num; in qla4_83xx_drv_lock()
340 func_num = tmo_owner & 0xFF; in qla4_83xx_drv_lock()
343 __func__, ha->func_num, func_num, lock_cnt, in qla4_83xx_drv_lock()
352 __func__, ha->func_num); in qla4_83xx_drv_lock()
361 __func__, ha->func_num); in qla4_83xx_drv_lock()
367 __func__, ha->func_num); in qla4_83xx_drv_lock()
383 if ((id & 0xFF) != ha->func_num) { in qla4_83xx_drv_unlock()
385 __func__, ha->func_num, (id & 0xFF)); in qla4_83xx_drv_unlock()
434 int func_num; member
464 device_map[i].func_num = i; in qla4_83xx_can_perform_reset()
469 if (drv_active & (1 << device_map[i].func_num)) { in qla4_83xx_can_perform_reset()
474 if (drv_active & (1 << device_map[i].func_num)) { in qla4_83xx_can_perform_reset()
477 (iscsi_func_low > device_map[i].func_num))) in qla4_83xx_can_perform_reset()
478 iscsi_func_low = device_map[i].func_num; in qla4_83xx_can_perform_reset()
494 if (!nic_present && (ha->func_num == iscsi_func_low)) { in qla4_83xx_can_perform_reset()
497 __func__, ha->func_num)); in qla4_83xx_can_perform_reset()
1589 !(drv_active & (1 << ha->func_num))) { in qla4_83xx_is_detached()