Lines Matching refs:func_num
398 qla4_82xx_wr_32(ha, QLA82XX_CRB_WIN_LOCK_ID, ha->func_num);
1613 * shift 1 by func_num to set a bit for the function.
1617 drv_active |= (1 << ha->func_num);
1619 drv_active |= (1 << (ha->func_num * 4));
1635 * shift 1 by func_num to set a bit for the function.
1639 drv_active &= ~(1 << (ha->func_num));
1641 drv_active &= ~(1 << (ha->func_num * 4));
1658 * shift 1 by func_num to set a bit for the function.
1662 rval = drv_state & (1 << ha->func_num);
1664 rval = drv_state & (1 << (ha->func_num * 4));
1680 * shift 1 by func_num to set a bit for the function.
1684 drv_state |= (1 << ha->func_num);
1686 drv_state |= (1 << (ha->func_num * 4));
1701 * shift 1 by func_num to set a bit for the function.
1705 drv_state &= ~(1 << ha->func_num);
1707 drv_state &= ~(1 << (ha->func_num * 4));
1723 * shift 1 by func_num to set a bit for the function.
1727 qsnt_state |= (1 << ha->func_num);
1729 qsnt_state |= (2 << (ha->func_num * 4));
3034 tmplt_hdr->ocm_window_reg[ha->func_num];
3329 active_mask = (~(1 << (ha->func_num * 4)));
3401 if (drv_active == (1 << (ha->func_num * 4))) {
3424 if (drv_active == (1 << ha->func_num)) {
3447 idc_ver &= ~(0x03 << (ha->func_num * 2));
3448 idc_ver |= (QLA83XX_IDC_VER_MIN_VALUE << (ha->func_num * 2));
3472 if ((drv_active == (1 << ha->func_num)) && !ql4xdontresethba)