Home
last modified time | relevance | path

Searched refs:ngrps (Results 1 – 25 of 26) sorted by relevance

12

/openbmc/linux/drivers/scsi/cxlflash/
H A Dvlun.c514 u32 ngrps, ngrps_old; in grow_lxt() local
540 ngrps = LXT_NUM_GROUPS(rhte->lxt_cnt + delta); in grow_lxt()
542 if (ngrps != ngrps_old) { in grow_lxt()
544 lxt = kzalloc((sizeof(*lxt) * LXT_GROUP_SIZE * ngrps), in grow_lxt()
634 u32 ngrps, ngrps_old; in shrink_lxt() local
642 ngrps = LXT_NUM_GROUPS(rhte->lxt_cnt - delta); in shrink_lxt()
644 if (ngrps != ngrps_old) { in shrink_lxt()
646 if (ngrps) { in shrink_lxt()
647 lxt = kzalloc((sizeof(*lxt) * LXT_GROUP_SIZE * ngrps), in shrink_lxt()
1102 u32 ngrps; in clone_lxt() local
[all …]
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mt6797.c54 .ngrps = ARRAY_SIZE(mtk_pins_mt6797),
H A Dpinctrl-paris.c358 for (i = 0; i < hw->soc->ngrps; i++) { in mtk_pctrl_find_group_by_pin()
565 return hw->soc->ngrps; in mtk_pctrl_get_groups_count()
741 *num_groups = hw->soc->ngrps; in mtk_pmx_get_func_groups()
990 hw->groups = devm_kmalloc_array(&pdev->dev, hw->soc->ngrps, in mtk_pctrl_build_state()
996 hw->grp_names = devm_kmalloc_array(&pdev->dev, hw->soc->ngrps, in mtk_pctrl_build_state()
H A Dpinctrl-mt7629.c413 .ngrps = ARRAY_SIZE(mt7629_groups),
H A Dpinctrl-mtk-common-v2.h239 unsigned int ngrps; member
H A Dpinctrl-mt7986.c917 .ngrps = ARRAY_SIZE(mt7986_groups),
943 .ngrps = ARRAY_SIZE(mt7986_groups),
H A Dpinctrl-mt8183.c555 .ngrps = ARRAY_SIZE(mtk_pins_mt8183),
H A Dpinctrl-mt6795.c587 .ngrps = ARRAY_SIZE(mtk_pins_mt6795),
H A Dpinctrl-mt6779.c747 .ngrps = ARRAY_SIZE(mtk_pins_mt6779),
H A Dpinctrl-mt7981.c987 .ngrps = ARRAY_SIZE(mt7981_groups),
H A Dpinctrl-mt7622.c857 .ngrps = ARRAY_SIZE(mt7622_groups),
H A Dpinctrl-mt8195.c945 .ngrps = ARRAY_SIZE(mtk_pins_mt8195),
H A Dpinctrl-mt6765.c1072 .ngrps = ARRAY_SIZE(mtk_pins_mt6765),
H A Dpinctrl-moore.c605 for (i = 0; i < hw->soc->ngrps; i++) { in mtk_build_groups()
H A Dpinctrl-mt8186.c1231 .ngrps = ARRAY_SIZE(mtk_pins_mt8186),
H A Dpinctrl-mt8192.c1398 .ngrps = ARRAY_SIZE(mtk_pins_mt8192),
H A Dpinctrl-mt8188.c1635 .ngrps = ARRAY_SIZE(mtk_pins_mt8188),
H A Dpinctrl-mt7623.c1380 .ngrps = ARRAY_SIZE(mt7623_groups),
/openbmc/u-boot/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h161 int ngrps; member
H A Dpinctrl-mt7629.c387 .ngrps = ARRAY_SIZE(mt7629_groups),
H A Dpinctrl-mtk-common.c211 return priv->soc->ngrps; in mtk_get_groups_count()
H A Dpinctrl-mt7623.c1242 .ngrps = ARRAY_SIZE(mt7623_groups),
/openbmc/linux/drivers/nvme/target/
H A Dadmin-cmd.c282 u16 ngrps = 0; in nvmet_execute_get_log_page_ana() local
300 ngrps++; in nvmet_execute_get_log_page_ana()
304 ngrps++; in nvmet_execute_get_log_page_ana()
308 hdr.ngrps = cpu_to_le16(ngrps); in nvmet_execute_get_log_page_ana()
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-st.c895 unsigned selector, const char * const **grps, unsigned * const ngrps) in st_pmx_get_groups() argument
899 *ngrps = info->functions[selector].ngroups; in st_pmx_get_groups()
/openbmc/linux/drivers/nvme/host/
H A Dmultipath.c715 for (i = 0; i < le16_to_cpu(ctrl->ana_log_buf->ngrps); i++) { in nvme_parse_ana_log()

12