Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/qlogic/qed/
Dqed_cxt.c1662 u64 cfg_word; in qed_tm_init_pf() local
1672 cfg_word = 0; in qed_tm_init_pf()
1673 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.per_vf_cids); in qed_tm_init_pf()
1674 SET_FIELD(cfg_word, TM_CFG_PRE_SCAN_OFFSET, 0); in qed_tm_init_pf()
1675 SET_FIELD(cfg_word, TM_CFG_PARENT_PF, p_hwfn->rel_pf_id); in qed_tm_init_pf()
1676 SET_FIELD(cfg_word, TM_CFG_CID_PRE_SCAN_ROWS, 0); in qed_tm_init_pf()
1678 (sizeof(cfg_word) / sizeof(u32)) * in qed_tm_init_pf()
1680 STORE_RT_REG_AGG(p_hwfn, rt_reg, cfg_word); in qed_tm_init_pf()
1683 cfg_word = 0; in qed_tm_init_pf()
1684 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.pf_cids); in qed_tm_init_pf()
[all …]
/Linux-v6.6/drivers/scsi/
Dadvansys.c7282 unsigned short cfg_word; in advansys_wide_enable_wdtr() local
7283 AdvReadWordLram(iop_base, ASC_MC_WDTR_ABLE, cfg_word); in advansys_wide_enable_wdtr()
7284 if ((cfg_word & tidmask) != 0) in advansys_wide_enable_wdtr()
7287 cfg_word |= tidmask; in advansys_wide_enable_wdtr()
7288 AdvWriteWordLram(iop_base, ASC_MC_WDTR_ABLE, cfg_word); in advansys_wide_enable_wdtr()
7296 AdvReadWordLram(iop_base, ASC_MC_SDTR_DONE, cfg_word); in advansys_wide_enable_wdtr()
7297 cfg_word &= ~tidmask; in advansys_wide_enable_wdtr()
7298 AdvWriteWordLram(iop_base, ASC_MC_SDTR_DONE, cfg_word); in advansys_wide_enable_wdtr()
7299 AdvReadWordLram(iop_base, ASC_MC_WDTR_DONE, cfg_word); in advansys_wide_enable_wdtr()
7300 cfg_word &= ~tidmask; in advansys_wide_enable_wdtr()
[all …]