Home
last modified time | relevance | path

Searched refs:grp (Results 101 – 125 of 406) sorted by relevance

12345678910>>...17

/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-paris.c359 struct mtk_pinctrl_group *grp = hw->groups + i; in mtk_pctrl_find_group_by_pin() local
361 if (grp->pin == pin) in mtk_pctrl_find_group_by_pin()
362 return grp; in mtk_pctrl_find_group_by_pin()
409 struct mtk_pinctrl_group *grp, in mtk_pctrl_dt_node_to_map_func() argument
420 (*map)[*num_maps].data.mux.group = grp->name; in mtk_pctrl_dt_node_to_map_func()
443 struct mtk_pinctrl_group *grp; in mtk_pctrl_dt_subnode_to_map() local
501 grp = mtk_pctrl_find_group_by_pin(hw, pin); in mtk_pctrl_dt_subnode_to_map()
502 if (!grp) { in mtk_pctrl_dt_subnode_to_map()
518 grp->name, in mtk_pctrl_dt_subnode_to_map()
789 return mtk_pinconf_get(pctldev, grp->pin, config); in mtk_pconf_group_get()
[all …]
/openbmc/linux/kernel/module/
H A Dsysfs.c28 struct attribute_group grp; member
84 sizeof(sect_attrs->grp.bin_attrs[0])); in add_sect_attrs()
85 size[1] = (nloaded + 1) * sizeof(sect_attrs->grp.bin_attrs[0]); in add_sect_attrs()
91 sect_attrs->grp.name = "sections"; in add_sect_attrs()
92 sect_attrs->grp.bin_attrs = (void *)sect_attrs + size[0]; in add_sect_attrs()
96 gattr = &sect_attrs->grp.bin_attrs[0]; in add_sect_attrs()
116 if (sysfs_create_group(&mod->mkobj.kobj, &sect_attrs->grp)) in add_sect_attrs()
129 &mod->sect_attrs->grp); in remove_sect_attrs()
/openbmc/linux/kernel/
H A Dparams.c551 struct attribute_group grp; member
642 mk->mp->grp.name = "parameters"; in add_sysfs_param()
644 mk->mp->grp.attrs = kzalloc(sizeof(mk->mp->grp.attrs[0]), in add_sysfs_param()
647 if (!mk->mp->grp.attrs) in add_sysfs_param()
661 new_attrs = krealloc(mk->mp->grp.attrs, in add_sysfs_param()
666 mk->mp->grp.attrs = new_attrs; in add_sysfs_param()
684 mk->mp->grp.attrs[i] = &mk->mp->attrs[i].mattr.attr; in add_sysfs_param()
685 mk->mp->grp.attrs[mk->mp->num] = NULL; in add_sysfs_param()
693 kfree(mk->mp->grp.attrs); in free_module_param_attrs()
810 sysfs_remove_group(&mk->kobj, &mk->mp->grp); in kernel_add_sysfs_param()
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dbridge_mdb_max.sh187 local grp=${1:-1}; shift
189 local GRP=239.1.1.${grp}
210 local grp=${1:-1}; shift
212 local GRP=ff0e::${grp}
250 local grp=${1:-1}; shift
254 local GRP=239.1.1.${grp}
272 local grp=${1:-1}; shift
275 local GRP=239.1.1.${grp}
288 local grp=${1:-1}; shift
293 local GRP=ff0e::${grp}
[all …]
/openbmc/linux/include/linux/
H A Dsysfs.h308 const struct attribute_group *grp);
314 const struct attribute_group *grp);
316 const struct attribute_group *grp);
324 const struct attribute_group *grp);
326 const struct attribute_group *grp);
484 const struct attribute_group *grp) in sysfs_create_group() argument
502 const struct attribute_group *grp) in sysfs_update_group() argument
508 const struct attribute_group *grp) in sysfs_remove_group() argument
529 const struct attribute_group *grp) in sysfs_merge_group() argument
535 const struct attribute_group *grp) in sysfs_unmerge_group() argument
/openbmc/u-boot/drivers/pinctrl/uniphier/
H A Dpinctrl-uniphier-core.c317 const struct uniphier_pinctrl_group *grp = in uniphier_pinconf_group_set() local
321 for (i = 0; i < grp->num_pins; i++) { in uniphier_pinconf_group_set()
322 ret = uniphier_pinconf_set(dev, grp->pins[i], param, arg); in uniphier_pinconf_group_set()
389 const struct uniphier_pinctrl_group *grp = in uniphier_pinmux_group_set() local
393 for (i = 0; i < grp->num_pins; i++) in uniphier_pinmux_group_set()
394 uniphier_pinmux_set_one(dev, grp->pins[i], grp->muxvals[i]); in uniphier_pinmux_group_set()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/
H A Diwl-trans.c218 u8 grp, cmd; in iwl_get_cmd_string() local
223 grp = iwl_cmd_groupid(id); in iwl_get_cmd_string()
226 if (!trans->command_groups || grp >= trans->command_groups_size || in iwl_get_cmd_string()
227 !trans->command_groups[grp].arr) in iwl_get_cmd_string()
230 arr = &trans->command_groups[grp]; in iwl_get_cmd_string()
/openbmc/linux/drivers/pinctrl/bcm/
H A Dpinctrl-ns2-mux.c567 const struct ns2_pin_group *grp, in ns2_pinmux_set() argument
570 const struct ns2_mux *mux = &grp->mux; in ns2_pinmux_set()
594 func->name, grp->name); in ns2_pinmux_set()
621 val = readl(base_address + grp->mux.offset); in ns2_pinmux_set()
622 val &= ~(mask << grp->mux.shift); in ns2_pinmux_set()
623 val |= grp->mux.alt << grp->mux.shift; in ns2_pinmux_set()
624 writel(val, (base_address + grp->mux.offset)); in ns2_pinmux_set()
635 const struct ns2_pin_group *grp; in ns2_pinmux_enable() local
642 grp = &pinctrl->groups[grp_select]; in ns2_pinmux_enable()
645 func_select, func->name, grp_select, grp->name); in ns2_pinmux_enable()
[all …]
/openbmc/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_reqmgr.h76 u32 grp:3; /* Group bits */ member
82 u32 grp:3; /* Group bits */
106 u64 grp:3; member
110 u64 grp:3;
/openbmc/linux/drivers/s390/net/
H A Dctcm_main.h242 struct mpc_group *grp; in ctcm_clear_busy() local
243 grp = ((struct ctcm_priv *)dev->ml_priv)->mpcg; in ctcm_clear_busy()
245 if (!(grp && grp->in_sweep)) in ctcm_clear_busy()
/openbmc/linux/drivers/pinctrl/renesas/
H A Dpinctrl-rza2.c438 struct group_desc *grp; in rza2_set_mux() local
440 grp = pinctrl_generic_get_group(pctldev, group); in rza2_set_mux()
441 if (!grp) in rza2_set_mux()
450 for (i = 0; i < grp->num_pins; ++i) { in rza2_set_mux()
452 port_names[RZA2_PIN_ID_TO_PORT(grp->pins[i])], in rza2_set_mux()
453 RZA2_PIN_ID_TO_PIN(grp->pins[i]), in rza2_set_mux()
457 RZA2_PIN_ID_TO_PORT(grp->pins[i]), in rza2_set_mux()
458 RZA2_PIN_ID_TO_PIN(grp->pins[i]), in rza2_set_mux()
/openbmc/linux/fs/ext4/
H A Dballoc.c403 struct ext4_group_info *grp; in ext4_validate_block_bitmap() local
408 grp = ext4_get_group_info(sb, block_group); in ext4_validate_block_bitmap()
412 if (!grp || EXT4_MB_GRP_BBITMAP_CORRUPT(grp)) in ext4_validate_block_bitmap()
768 struct ext4_group_info *grp; in ext4_count_free_clusters() local
784 grp = NULL; in ext4_count_free_clusters()
786 grp = ext4_get_group_info(sb, i); in ext4_count_free_clusters()
787 if (!grp || !EXT4_MB_GRP_BBITMAP_CORRUPT(grp)) in ext4_count_free_clusters()
814 grp = NULL; in ext4_count_free_clusters()
816 grp = ext4_get_group_info(sb, i); in ext4_count_free_clusters()
817 if (!grp || !EXT4_MB_GRP_BBITMAP_CORRUPT(grp)) in ext4_count_free_clusters()
/openbmc/linux/net/8021q/
H A Dvlan.h33 struct vlan_group grp; member
100 return vlan_group_get_device(&vlan_info->grp, in vlan_find_dev()
119 #define vlan_group_for_each_dev(grp, i, dev) \ argument
121 if (((dev) = __vlan_group_get_device((grp), (i) / VLAN_N_VID, \
/openbmc/linux/drivers/pinctrl/
H A Dpinctrl-loongson2.c24 .grp = PINCTRL_PINGROUP((#name), (name ## _pins), \
52 struct pingroup grp; member
174 return loongson2_pmx_groups[selector].grp.name; in loongson2_get_group_name()
180 *pins = loongson2_pmx_groups[selector].grp.pins; in loongson2_get_group_pins()
181 *num_pins = loongson2_pmx_groups[selector].grp.npins; in loongson2_get_group_pins()
H A Dpinctrl-at91.c244 grp = &info->groups[i]; in at91_pinctrl_find_group_by_name()
245 dev_dbg(info->dev, "%s: %d 0:%d\n", name, grp->npins, grp->pins[0]); in at91_pinctrl_find_group_by_name()
249 return grp; in at91_pinctrl_find_group_by_name()
304 if (!grp) { in at91_dt_node_to_map()
310 map_num += grp->npins; in at91_dt_node_to_map()
1206 grp->name = np->name; in at91_pinctrl_parse_groups()
1220 grp->npins = size / 4; in at91_pinctrl_parse_groups()
1222 grp->npins, in at91_pinctrl_parse_groups()
1225 grp->pins = devm_kcalloc(info->dev, grp->npins, sizeof(unsigned int), in at91_pinctrl_parse_groups()
1227 if (!grp->pins_conf || !grp->pins) in at91_pinctrl_parse_groups()
[all …]
H A Dpinctrl-st.c820 const struct st_pctl_group *grp; in st_pctl_dt_node_to_map() local
827 if (!grp) { in st_pctl_dt_node_to_map()
832 map_num = grp->npins + 1; in st_pctl_dt_node_to_map()
1229 grp->npins = npins; in st_pctl_dt_parse_groups()
1230 grp->name = np->name; in st_pctl_dt_parse_groups()
1231 grp->pins = devm_kcalloc(dev, npins, sizeof(*grp->pins), GFP_KERNEL); in st_pctl_dt_parse_groups()
1232 grp->pin_conf = devm_kcalloc(dev, npins, sizeof(*grp->pin_conf), GFP_KERNEL); in st_pctl_dt_parse_groups()
1234 if (!grp->pins || !grp->pin_conf) { in st_pctl_dt_parse_groups()
1245 conf = &grp->pin_conf[i]; in st_pctl_dt_parse_groups()
1252 grp->pins[i] = conf->pin; in st_pctl_dt_parse_groups()
[all …]
H A Dpinctrl-gemini.c2214 func->name, grp->name); in gemini_pmx_set_mux()
2218 grp->mask | grp->value, in gemini_pmx_set_mux()
2219 grp->value); in gemini_pmx_set_mux()
2225 expected = before &= ~grp->mask; in gemini_pmx_set_mux()
2226 expected |= grp->value; in gemini_pmx_set_mux()
2230 tmp = grp->mask; in gemini_pmx_set_mux()
2252 tmp = grp->value; in gemini_pmx_set_mux()
2461 if (!grp->driving_mask) { in gemini_pinconf_group_set()
2464 grp->name); in gemini_pinconf_group_set()
2495 grp->driving_mask, in gemini_pinconf_group_set()
[all …]
H A Dpinctrl-at91-pio4.c514 struct atmel_group *grp = atmel_pioctrl->groups + i; in atmel_pctl_find_group_by_pin() local
516 if (grp->pin == pin) in atmel_pctl_find_group_by_pin()
517 return grp; in atmel_pctl_find_group_by_pin()
530 struct atmel_group *grp; in atmel_pctl_xlate_pinfunc() local
540 grp = atmel_pctl_find_group_by_pin(pctldev, pin_id); in atmel_pctl_xlate_pinfunc()
541 if (!grp) in atmel_pctl_xlate_pinfunc()
543 *grp_name = grp->name; in atmel_pctl_xlate_pinfunc()
736 struct atmel_group *grp = atmel_pioctrl->groups + group; in atmel_conf_pin_config_group_get() local
737 unsigned int pin_id = grp->pin; in atmel_conf_pin_config_group_get()
803 struct atmel_group *grp = atmel_pioctrl->groups + group; in atmel_conf_pin_config_group_set() local
[all …]
/openbmc/linux/drivers/crypto/cavium/cpt/
H A Dcpt_hw_types.h88 u64 grp:10; member
94 u64 grp:10; member
298 u64 grp:3; member
302 u64 grp:3;
/openbmc/linux/drivers/net/wireless/intersil/p54/
H A Dfwio.c732 struct p54_group_address_table *grp; in p54_set_groupfilter() local
736 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*grp), in p54_set_groupfilter()
741 grp = skb_put(skb, sizeof(*grp)); in p54_set_groupfilter()
748 grp->filter_enable = cpu_to_le16(1); in p54_set_groupfilter()
749 grp->num_address = cpu_to_le16(priv->mc_maclist_num); in p54_set_groupfilter()
750 memcpy(grp->mac_list, priv->mc_maclist, sizeof(grp->mac_list)); in p54_set_groupfilter()
752 grp->filter_enable = cpu_to_le16(0); in p54_set_groupfilter()
753 grp->num_address = cpu_to_le16(0); in p54_set_groupfilter()
754 memset(grp->mac_list, 0, sizeof(grp->mac_list)); in p54_set_groupfilter()
/openbmc/linux/drivers/nvme/target/
H A Dconfigfs.c1633 enum nvme_ana_state state = grp->port->ana_state[grp->grpid]; in nvmet_ana_group_ana_state_show()
1664 nvmet_port_send_ana_event(grp->port); in nvmet_ana_group_ana_state_store()
1679 if (grp == &grp->port->ana_default_group) in nvmet_ana_group_release()
1683 grp->port->ana_state[grp->grpid] = NVME_ANA_INACCESSIBLE; in nvmet_ana_group_release()
1688 kfree(grp); in nvmet_ana_group_release()
1705 struct nvmet_ana_group *grp; in nvmet_ana_groups_make_group() local
1718 grp = kzalloc(sizeof(*grp), GFP_KERNEL); in nvmet_ana_groups_make_group()
1719 if (!grp) in nvmet_ana_groups_make_group()
1721 grp->port = port; in nvmet_ana_groups_make_group()
1722 grp->grpid = grpid; in nvmet_ana_groups_make_group()
[all …]
/openbmc/u-boot/drivers/net/phy/
H A Dmicrel_ksz90x1.c77 const struct ksz90x1_reg_field *grp; member
118 val[i] = dev_read_u32_default(dev, ofcfg->grp[i].name, ~0); in ksz90x1_of_config_group()
119 offset = ofcfg->grp[i].off; in ksz90x1_of_config_group()
122 regval |= ofcfg->grp[i].dflt << offset; in ksz90x1_of_config_group()
126 max = (1 << ofcfg->grp[i].size) - 1; in ksz90x1_of_config_group()
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dcmdhdr.h51 #define WIDE_ID(grp, opcode) (((grp) << 8) | (opcode)) argument
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-dhcom-som-cfg-sdcard.dtsi61 pinctrl_usdhc1: usdhc1-grp {
73 pinctrl_usdhc1_100mhz: usdhc1-100mhz-grp {
86 pinctrl_usdhc1_200mhz: usdhc1-200mhz-grp {
/openbmc/linux/drivers/vfio/
H A Dvfio_iommu_spapr_tce.c46 struct iommu_group *grp; member
282 table_group = iommu_group_get_iommudata(tcegrp->grp); in tce_iommu_enable()
354 tce_iommu_detach_group(iommu_data, tcegrp->grp); in tce_iommu_release()
659 table_group = iommu_group_get_iommudata(tcegrp->grp); in tce_iommu_create_window()
684 table_group = iommu_group_get_iommudata(tcegrp->grp); in tce_iommu_create_window()
763 table_group = iommu_group_get_iommudata(tcegrp->grp); in tce_iommu_create_default_window()
1099 ret = vfio_spapr_ioctl_eeh_pe_op(tcegrp->grp, arg); in tce_iommu_ioctl()
1276 if (tcegrp->grp == iommu_group) { in tce_iommu_attach_group()
1287 iommu_group_id(tcegrp->grp)); in tce_iommu_attach_group()
1304 tcegrp->grp = iommu_group; in tce_iommu_attach_group()
[all …]

12345678910>>...17