| /Linux-v4.19/drivers/pinctrl/berlin/ |
| D | berlin.c | 39 return pctrl->desc->ngroups; in berlin_pinctrl_get_group_count() 59 int ret, ngroups; in berlin_pinctrl_dt_node_to_map() local 72 ngroups = of_property_count_strings(node, "groups"); in berlin_pinctrl_dt_node_to_map() 73 if (ngroups < 0) { in berlin_pinctrl_dt_node_to_map() 81 num_maps, ngroups); in berlin_pinctrl_dt_node_to_map() 130 *num_groups = pctrl->functions[function].ngroups; in berlin_pinmux_get_function_groups() 189 function->ngroups++; in berlin_pinctrl_add_function() 196 function->ngroups = 1; in berlin_pinctrl_add_function() 212 for (i = 0; i < pctrl->desc->ngroups; i++) { in berlin_pinctrl_build_state() 225 for (i = 0; i < pctrl->desc->ngroups; i++) { in berlin_pinctrl_build_state() [all …]
|
| D | berlin.h | 28 unsigned ngroups; member 34 unsigned ngroups; member
|
| /Linux-v4.19/fs/ext2/ |
| D | ialloc.c | 207 int ngroups = EXT2_SB(sb)->s_groups_count; in find_group_dir() local 208 int avefreei = ext2_count_free_inodes(sb) / ngroups; in find_group_dir() 212 for (group = 0; group < ngroups; group++) { in find_group_dir() 264 int ngroups = sbi->s_groups_count; in find_group_orlov() local 277 avefreei = freei / ngroups; in find_group_orlov() 279 avefreeb = free_blocks / ngroups; in find_group_orlov() 289 parent_group = (unsigned)group % ngroups; in find_group_orlov() 290 for (i = 0; i < ngroups; i++) { in find_group_orlov() 291 group = (parent_group + i) % ngroups; in find_group_orlov() 318 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov() [all …]
|
| /Linux-v4.19/drivers/pinctrl/spear/ |
| D | pinctrl-spear310.c | 52 .ngroups = ARRAY_SIZE(emi_cs_0_to_5_grps), 84 .ngroups = ARRAY_SIZE(uart1_grps), 116 .ngroups = ARRAY_SIZE(uart2_grps), 148 .ngroups = ARRAY_SIZE(uart3_grps), 180 .ngroups = ARRAY_SIZE(uart4_grps), 212 .ngroups = ARRAY_SIZE(uart5_grps), 244 .ngroups = ARRAY_SIZE(fsmc_grps), 276 .ngroups = ARRAY_SIZE(rs485_0_grps), 308 .ngroups = ARRAY_SIZE(rs485_1_grps), 340 .ngroups = ARRAY_SIZE(tdm_grps), [all …]
|
| D | pinctrl-spear1340.c | 271 .ngroups = ARRAY_SIZE(pads_as_gpio_grps), 365 .ngroups = ARRAY_SIZE(fsmc_grps), 432 .ngroups = ARRAY_SIZE(keyboard_grps), 464 .ngroups = ARRAY_SIZE(spdif_in_grps), 500 .ngroups = ARRAY_SIZE(spdif_out_grps), 540 .ngroups = ARRAY_SIZE(gpt_0_1_grps), 664 .ngroups = ARRAY_SIZE(pwm_grps), 825 .ngroups = ARRAY_SIZE(vip_grps), 862 .ngroups = ARRAY_SIZE(cam0_grps), 903 .ngroups = ARRAY_SIZE(cam1_grps), [all …]
|
| D | pinctrl-spear3xx.c | 51 .ngroups = ARRAY_SIZE(firda_grps), 84 .ngroups = ARRAY_SIZE(i2c_grps), 117 .ngroups = ARRAY_SIZE(ssp_cs_grps), 150 .ngroups = ARRAY_SIZE(ssp_grps), 184 .ngroups = ARRAY_SIZE(mii_grps), 349 .ngroups = ARRAY_SIZE(gpio0_grps), 382 .ngroups = ARRAY_SIZE(uart0_ext_grps), 415 .ngroups = ARRAY_SIZE(uart0_grps), 448 .ngroups = ARRAY_SIZE(timer_0_1_grps), 481 .ngroups = ARRAY_SIZE(timer_2_3_grps),
|
| D | pinctrl-spear1310.c | 269 .ngroups = ARRAY_SIZE(i2c0_grps), 364 .ngroups = ARRAY_SIZE(ssp0_grps), 400 .ngroups = ARRAY_SIZE(i2s0_grps), 436 .ngroups = ARRAY_SIZE(i2s1_grps), 503 .ngroups = ARRAY_SIZE(clcd_grps), 547 .ngroups = ARRAY_SIZE(arm_gpio_grps), 619 .ngroups = ARRAY_SIZE(smi_grps), 657 .ngroups = ARRAY_SIZE(gmii_grps), 711 .ngroups = ARRAY_SIZE(rgmii_grps), 749 .ngroups = ARRAY_SIZE(smii_0_1_2_grps), [all …]
|
| D | pinctrl-spear300.c | 218 .ngroups = ARRAY_SIZE(fsmc_grps), 279 .ngroups = ARRAY_SIZE(clcd_grps), 316 .ngroups = ARRAY_SIZE(tdm_grps), 352 .ngroups = ARRAY_SIZE(i2c_grps), 411 .ngroups = ARRAY_SIZE(cam_grps), 445 .ngroups = ARRAY_SIZE(dac_grps), 481 .ngroups = ARRAY_SIZE(i2s_grps), 551 .ngroups = ARRAY_SIZE(sdhci_grps), 612 .ngroups = ARRAY_SIZE(gpio1_grps), 660 spear3xx_machdata.ngroups = ARRAY_SIZE(spear300_pingroups); in spear300_pinctrl_probe()
|
| D | pinctrl-spear320.c | 511 .ngroups = ARRAY_SIZE(clcd_grps), 594 .ngroups = ARRAY_SIZE(emi_grps), 687 .ngroups = ARRAY_SIZE(fsmc_grps), 733 .ngroups = ARRAY_SIZE(spp_grps), 890 .ngroups = ARRAY_SIZE(sdhci_grps), 943 .ngroups = ARRAY_SIZE(i2s_grps), 989 .ngroups = ARRAY_SIZE(uart1_grps), 1155 .ngroups = ARRAY_SIZE(uart1_modem_grps), 1201 .ngroups = ARRAY_SIZE(uart2_grps), 1410 .ngroups = ARRAY_SIZE(uart3_grps), [all …]
|
| D | pinctrl-spear.c | 101 for (group = 0; group < machdata->ngroups; group++) { in pmx_init_addr() 118 return pmx->machdata->ngroups; in spear_pinctrl_get_groups_cnt() 227 unsigned * const ngroups) in spear_pinctrl_get_func_groups() argument 232 *ngroups = pmx->machdata->functions[function]->ngroups; in spear_pinctrl_get_func_groups()
|
| /Linux-v4.19/fs/ext4/ |
| D | ialloc.c | 428 ext4_group_t i, grp, g, ngroups; in find_group_orlov() local 434 ngroups = real_ngroups; in find_group_orlov() 436 ngroups = (real_ngroups + flex_size - 1) >> in find_group_orlov() 442 avefreei = freei / ngroups; in find_group_orlov() 446 do_div(avefreec, ngroups); in find_group_orlov() 462 parent_group = (unsigned)grp % ngroups; in find_group_orlov() 463 for (i = 0; i < ngroups; i++) { in find_group_orlov() 464 g = (parent_group + i) % ngroups; in find_group_orlov() 506 max_dirs = ndirs / ngroups + inodes_per_group / 16; in find_group_orlov() 522 for (i = 0; i < ngroups; i++) { in find_group_orlov() [all …]
|
| /Linux-v4.19/drivers/infiniband/hw/hfi1/ |
| D | exp_rcv.c | 82 u32 ngroups; in hfi1_alloc_ctxt_rcv_groups() local 84 ngroups = rcd->expected_count / dd->rcv_entries.group_size; in hfi1_alloc_ctxt_rcv_groups() 86 kcalloc_node(ngroups, sizeof(*rcd->groups), in hfi1_alloc_ctxt_rcv_groups() 91 for (i = 0; i < ngroups; i++) { in hfi1_alloc_ctxt_rcv_groups()
|
| /Linux-v4.19/lib/ |
| D | hexdump.c | 113 int ngroups; in hex_dump_to_buffer() local 129 ngroups = len / groupsize; in hex_dump_to_buffer() 141 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 152 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 163 for (j = 0; j < ngroups; j++) { in hex_dump_to_buffer() 207 return ascii ? ascii_column + len : (groupsize * 2 + 1) * ngroups - 1; in hex_dump_to_buffer()
|
| /Linux-v4.19/kernel/ |
| D | groups.c | 28 gi->ngroups = gidsetsize; in groups_alloc() 47 unsigned int count = group_info->ngroups; in groups_to_user() 64 unsigned int count = group_info->ngroups; in groups_from_user() 91 sort(group_info->gid, group_info->ngroups, sizeof(*group_info->gid), in groups_sort() 105 right = group_info->ngroups; in groups_search() 162 i = cred->group_info->ngroups; in SYSCALL_DEFINE2()
|
| /Linux-v4.19/drivers/pinctrl/pxa/ |
| D | pinctrl-pxa2xx.c | 31 return pctl->ngroups; in pxa2xx_pctrl_get_groups_count() 136 *num_groups = pf->ngroups; in pxa2xx_pmx_get_func_groups() 301 int i, j, ngroups; in pxa2xx_build_groups() local 312 ngroups = 0; in pxa2xx_build_groups() 318 gtmp[ngroups++] = (char *) in pxa2xx_build_groups() 321 func->ngroups = ngroups; in pxa2xx_build_groups() 323 devm_kmalloc_array(pctl->dev, ngroups, in pxa2xx_build_groups() 328 memcpy(func->groups, gtmp, ngroups * sizeof(*gtmp)); in pxa2xx_build_groups() 344 pctl->ngroups = npins; in pxa2xx_build_state() 355 pctl->groups = devm_kmalloc_array(pctl->dev, pctl->ngroups, in pxa2xx_build_state()
|
| D | pinctrl-pxa2xx.h | 67 unsigned ngroups; member 80 unsigned ngroups; member
|
| /Linux-v4.19/drivers/pinctrl/intel/ |
| D | pinctrl-intel.h | 43 size_t ngroups; member 144 .ngroups = ARRAY_SIZE((g)), \ 167 size_t ngroups; member
|
| /Linux-v4.19/drivers/pinctrl/ |
| D | pinctrl-axp209.c | 62 unsigned int ngroups; member 226 *num_groups = pctl->funcs[selector].ngroups; in axp20x_pmx_func_groups() 326 unsigned int ngroups = hweight8(mask); in axp20x_funcs_groups_from_mask() local 329 func->ngroups = ngroups; in axp20x_funcs_groups_from_mask() 330 if (func->ngroups > 0) { in axp20x_funcs_groups_from_mask() 332 ngroups, sizeof(const char *), in axp20x_funcs_groups_from_mask() 365 pctl->funcs[i].ngroups = npins; in axp20x_build_funcs_groups()
|
| /Linux-v4.19/drivers/pinctrl/mvebu/ |
| D | pinctrl-armada-37xx.c | 74 int ngroups; member 80 unsigned int ngroups; member 106 unsigned int ngroups; member 210 .ngroups = ARRAY_SIZE(armada_37xx_nb_groups), 217 .ngroups = ARRAY_SIZE(armada_37xx_sb_groups), 233 while (*grp < info->ngroups) { in armada_37xx_find_next_grp_by_pin() 268 return info->ngroups; in armada_37xx_get_groups_count() 286 if (selector >= info->ngroups) in armada_37xx_get_group_pins() 331 *num_groups = info->funcs[selector].ngroups; in armada_37xx_pmx_get_groups() 836 while (funcs->ngroups) { in armada_37xx_add_function() [all …]
|
| /Linux-v4.19/drivers/pinctrl/qcom/ |
| D | pinctrl-msm.h | 27 unsigned ngroups; member 117 unsigned ngroups; member
|
| /Linux-v4.19/drivers/pinctrl/sprd/ |
| D | pinctrl-sprd.c | 142 unsigned int ngroups; member 206 for (i = 0; i < info->ngroups; i++) { in sprd_pinctrl_find_group_by_name() 221 return info->ngroups; in sprd_pctrl_group_count() 241 if (selector >= info->ngroups) in sprd_pctrl_group_pins() 387 *num_groups = info->ngroups; in sprd_pmx_get_function_groups() 403 if (group_selector >= info->ngroups) in sprd_pmx_set_mux() 737 if (selector >= info->ngroups) in sprd_pinconf_group_get() 756 if (selector >= info->ngroups) in sprd_pinconf_group_set() 816 if (selector >= info->ngroups) in sprd_pinconf_group_dbg_show() 931 info->ngroups = sprd_pinctrl_get_groups(np); in sprd_pinctrl_parse_dt() [all …]
|
| /Linux-v4.19/drivers/pinctrl/freescale/ |
| D | pinctrl-imx1-core.c | 161 for (i = 0; i < info->ngroups; i++) { in imx1_pinctrl_find_group_by_name() 176 return info->ngroups; in imx1_get_groups_count() 195 if (selector >= info->ngroups) in imx1_get_group_pins() 432 if (group >= info->ngroups) in imx1_pinconf_group_dbg_show() 552 u32 ngroups = 0; in imx1_pinctrl_parse_dt() local 560 ngroups += of_get_child_count(child); in imx1_pinctrl_parse_dt() 572 info->ngroups = ngroups; in imx1_pinctrl_parse_dt() 574 ngroups, sizeof(struct imx1_pin_group), GFP_KERNEL); in imx1_pinctrl_parse_dt()
|
| D | pinctrl-mxs.h | 54 unsigned ngroups; member 78 unsigned ngroups; member
|
| /Linux-v4.19/drivers/pinctrl/actions/ |
| D | pinctrl-owl.h | 126 unsigned int ngroups; member 172 unsigned int ngroups; member
|
| /Linux-v4.19/drivers/pinctrl/nomadik/ |
| D | pinctrl-abx500.h | 38 unsigned ngroups; member 170 unsigned ngroups; member
|