Searched refs:cfg_word (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_cxt.c | 1663 u64 cfg_word; in qed_tm_init_pf() local 1673 cfg_word = 0; in qed_tm_init_pf() 1674 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.per_vf_cids); in qed_tm_init_pf() 1675 SET_FIELD(cfg_word, TM_CFG_PRE_SCAN_OFFSET, 0); in qed_tm_init_pf() 1676 SET_FIELD(cfg_word, TM_CFG_PARENT_PF, p_hwfn->rel_pf_id); in qed_tm_init_pf() 1677 SET_FIELD(cfg_word, TM_CFG_CID_PRE_SCAN_ROWS, 0); in qed_tm_init_pf() 1679 (sizeof(cfg_word) / sizeof(u32)) * in qed_tm_init_pf() 1681 STORE_RT_REG_AGG(p_hwfn, rt_reg, cfg_word); in qed_tm_init_pf() 1684 cfg_word = 0; in qed_tm_init_pf() 1685 SET_FIELD(cfg_word, TM_CFG_NUM_IDS, tm_iids.pf_cids); in qed_tm_init_pf() [all …]
|
/linux/drivers/scsi/ |
H A D | advansys.c | 7282 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 …]
|