Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/scsi/cxlflash/
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 …]
/Linux-v5.4/drivers/pinctrl/mediatek/
Dpinctrl-mt6797.c54 .ngrps = ARRAY_SIZE(mtk_pins_mt6797),
Dpinctrl-paris.c348 for (i = 0; i < hw->soc->ngrps; i++) { in mtk_pctrl_find_group_by_pin()
555 return hw->soc->ngrps; in mtk_pctrl_get_groups_count()
605 *num_groups = hw->soc->ngrps; in mtk_pmx_get_func_groups()
812 hw->groups = devm_kmalloc_array(&pdev->dev, hw->soc->ngrps, in mtk_pctrl_build_state()
818 hw->grp_names = devm_kmalloc_array(&pdev->dev, hw->soc->ngrps, in mtk_pctrl_build_state()
Dpinctrl-mtk-common-v2.h197 unsigned int ngrps; member
Dpinctrl-mt7629.c412 .ngrps = ARRAY_SIZE(mt7629_groups),
Dpinctrl-mt8183.c554 .ngrps = ARRAY_SIZE(mtk_pins_mt8183),
Dpinctrl-mt7622.c764 .ngrps = ARRAY_SIZE(mt7622_groups),
Dpinctrl-moore.c551 for (i = 0; i < hw->soc->ngrps; i++) { in mtk_build_groups()
Dpinctrl-mt6765.c1070 .ngrps = ARRAY_SIZE(mtk_pins_mt6765),
Dpinctrl-mt7623.c1379 .ngrps = ARRAY_SIZE(mt7623_groups),
/Linux-v5.4/drivers/nvme/target/
Dadmin-cmd.c247 u16 ngrps = 0; in nvmet_execute_get_log_page_ana() local
265 ngrps++; in nvmet_execute_get_log_page_ana()
269 ngrps++; in nvmet_execute_get_log_page_ana()
273 hdr.ngrps = cpu_to_le16(ngrps); in nvmet_execute_get_log_page_ana()
/Linux-v5.4/drivers/nvme/host/
Dmultipath.c447 for (i = 0; i < le16_to_cpu(ctrl->ana_log_buf->ngrps); i++) { in nvme_parse_ana_log()
/Linux-v5.4/drivers/pinctrl/
Dpinctrl-st.c887 unsigned selector, const char * const **grps, unsigned * const ngrps) in st_pmx_get_groups() argument
891 *ngrps = info->functions[selector].ngroups; in st_pmx_get_groups()
/Linux-v5.4/include/linux/
Dnvme.h473 __le16 ngrps; member