Lines Matching refs:func_num
503 qla4_82xx_wr_32(ha, QLA82XX_CRB_WIN_LOCK_ID, ha->func_num);
1626 * shift 1 by func_num to set a bit for the function.
1630 drv_active |= (1 << ha->func_num);
1632 drv_active |= (1 << (ha->func_num * 4));
1648 * shift 1 by func_num to set a bit for the function.
1652 drv_active &= ~(1 << (ha->func_num));
1654 drv_active &= ~(1 << (ha->func_num * 4));
1671 * shift 1 by func_num to set a bit for the function.
1675 rval = drv_state & (1 << ha->func_num);
1677 rval = drv_state & (1 << (ha->func_num * 4));
1693 * shift 1 by func_num to set a bit for the function.
1697 drv_state |= (1 << ha->func_num);
1699 drv_state |= (1 << (ha->func_num * 4));
1714 * shift 1 by func_num to set a bit for the function.
1718 drv_state &= ~(1 << ha->func_num);
1720 drv_state &= ~(1 << (ha->func_num * 4));
1736 * shift 1 by func_num to set a bit for the function.
1740 qsnt_state |= (1 << ha->func_num);
1742 qsnt_state |= (2 << (ha->func_num * 4));
3047 tmplt_hdr->ocm_window_reg[ha->func_num];
3342 active_mask = (~(1 << (ha->func_num * 4)));
3414 if (drv_active == (1 << (ha->func_num * 4))) {
3437 if (drv_active == (1 << ha->func_num)) {
3460 idc_ver &= ~(0x03 << (ha->func_num * 2));
3461 idc_ver |= (QLA83XX_IDC_VER_MIN_VALUE << (ha->func_num * 2));
3485 if ((drv_active == (1 << ha->func_num)) && !ql4xdontresethba)