Home
last modified time | relevance | path

Searched refs:regs_num (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.6/drivers/clk/sprd/
Dpll.c19 (pll->factors[member].shift / (8 * sizeof(pll->regs_num)))
22 (pll->factors[member].shift % (8 * sizeof(pll->regs_num)))
44 if (WARN_ON(index >= pll->regs_num)) in sprd_pll_read()
60 if (WARN_ON(index >= pll->regs_num)) in sprd_pll_write()
102 u32 i, mask, regs_num = pll->regs_num; in _sprd_pll_recalc_rate() local
107 cfg = kcalloc(regs_num, sizeof(*cfg), GFP_KERNEL); in _sprd_pll_recalc_rate()
111 for (i = 0; i < regs_num; i++) in _sprd_pll_recalc_rate()
154 u32 regs_num = pll->regs_num, i = 0; in _sprd_pll_set_rate() local
158 cfg = kcalloc(regs_num, sizeof(*cfg), GFP_KERNEL); in _sprd_pll_set_rate()
216 for (i = 0; i < regs_num; i++) { in _sprd_pll_set_rate()
Dpll.h52 u32 regs_num; member
69 .regs_num = _regs_num, \
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_regs.c163 static u32 hclge_reg_get_tlv(u32 tag, u32 regs_num, void *data) in hclge_reg_get_tlv() argument
168 tlv->len = regs_num * sizeof(u32) + HCLGE_REG_TLV_SIZE; in hclge_reg_get_tlv()
173 static int hclge_get_32_bit_regs(struct hclge_dev *hdev, u32 regs_num, in hclge_get_32_bit_regs() argument
187 if (regs_num == 0) in hclge_get_32_bit_regs()
191 cmd_num = DIV_ROUND_UP(regs_num + nodata_num, in hclge_get_32_bit_regs()
217 regs_num--; in hclge_get_32_bit_regs()
218 if (!regs_num) in hclge_get_32_bit_regs()
227 static int hclge_get_64_bit_regs(struct hclge_dev *hdev, u32 regs_num, in hclge_get_64_bit_regs() argument
241 if (regs_num == 0) in hclge_get_64_bit_regs()
245 cmd_num = DIV_ROUND_UP(regs_num + nodata_len, in hclge_get_64_bit_regs()
[all …]
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3vf/
Dhclgevf_regs.c97 static u32 hclgevf_reg_get_tlv(u32 tag, u32 regs_num, void *data) in hclgevf_reg_get_tlv() argument
102 tlv->len = regs_num * sizeof(u32) + HCLGEVF_REG_TLV_SIZE; in hclgevf_reg_get_tlv()
/Linux-v6.6/drivers/staging/qlge/
Dqlge_devlink.c9 int regs_num = (seg_header->seg_size in qlge_fill_seg_() local
26 for (i = 0; i < regs_num; i++) { in qlge_fill_seg_()