Home
last modified time | relevance | path

Searched refs:cfg_word (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c1676 u64 cfg_word; in qed_tm_init_pf() local
1686 cfg_word = 0; in qed_tm_init_pf()
1687 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.per_vf_cids); in qed_tm_init_pf()
1688 SET_FIELD(cfg_word, TM_CFG_PRE_SCAN_OFFSET, 0); in qed_tm_init_pf()
1689 SET_FIELD(cfg_word, TM_CFG_PARENT_PF, p_hwfn->rel_pf_id); in qed_tm_init_pf()
1690 SET_FIELD(cfg_word, TM_CFG_CID_PRE_SCAN_ROWS, 0); in qed_tm_init_pf()
1692 (sizeof(cfg_word) / sizeof(u32)) * in qed_tm_init_pf()
1694 STORE_RT_REG_AGG(p_hwfn, rt_reg, cfg_word); in qed_tm_init_pf()
1697 cfg_word = 0; in qed_tm_init_pf()
1698 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.pf_cids); in qed_tm_init_pf()
[all …]
/Linux-v5.10/drivers/scsi/
Dadvansys.c7368 unsigned short cfg_word; in advansys_wide_enable_wdtr() local
7369 AdvReadWordLram(iop_base, ASC_MC_WDTR_ABLE, cfg_word); in advansys_wide_enable_wdtr()
7370 if ((cfg_word & tidmask) != 0) in advansys_wide_enable_wdtr()
7373 cfg_word |= tidmask; in advansys_wide_enable_wdtr()
7374 AdvWriteWordLram(iop_base, ASC_MC_WDTR_ABLE, cfg_word); in advansys_wide_enable_wdtr()
7382 AdvReadWordLram(iop_base, ASC_MC_SDTR_DONE, cfg_word); in advansys_wide_enable_wdtr()
7383 cfg_word &= ~tidmask; in advansys_wide_enable_wdtr()
7384 AdvWriteWordLram(iop_base, ASC_MC_SDTR_DONE, cfg_word); in advansys_wide_enable_wdtr()
7385 AdvReadWordLram(iop_base, ASC_MC_WDTR_DONE, cfg_word); in advansys_wide_enable_wdtr()
7386 cfg_word &= ~tidmask; in advansys_wide_enable_wdtr()
[all …]