/openbmc/linux/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier.h | 159 #define __UNIPHIER_PINCTRL_GROUP(grp, mux) \ argument 161 .name = #grp, \ 162 .pins = grp##_pins, \ 163 .num_pins = ARRAY_SIZE(grp##_pins), \ 167 #define UNIPHIER_PINCTRL_GROUP(grp) \ argument 168 __UNIPHIER_PINCTRL_GROUP(grp, \ 169 grp##_muxvals + \ 170 BUILD_BUG_ON_ZERO(ARRAY_SIZE(grp##_pins) != \ 171 ARRAY_SIZE(grp##_muxvals))) 173 #define UNIPHIER_PINCTRL_GROUP_GPIO(grp) \ argument [all …]
|
/openbmc/qemu/linux-user/sparc/ |
H A D | signal.c | 589 target_mc_gregset_t *grp; in sparc64_set_context() local 599 grp = &ucp->tuc_mcontext.mc_gregs; in sparc64_set_context() 600 __get_user(pc, &((*grp)[SPARC_MC_PC])); in sparc64_set_context() 601 __get_user(npc, &((*grp)[SPARC_MC_NPC])); in sparc64_set_context() 624 __get_user(env->y, &((*grp)[SPARC_MC_Y])); in sparc64_set_context() 625 __get_user(tstate, &((*grp)[SPARC_MC_TSTATE])); in sparc64_set_context() 706 target_mc_gregset_t *grp; in sparc64_get_context() local 721 grp = &mcp->mc_gregs; in sparc64_get_context() 748 __put_user(env->pc, &((*grp)[SPARC_MC_PC])); in sparc64_get_context() 749 __put_user(env->npc, &((*grp)[SPARC_MC_NPC])); in sparc64_get_context() [all …]
|
/openbmc/linux/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzn1.c | 353 if (!grp) { in rzn1_dt_node_to_map_one() 379 grp->name, grp->func); in rzn1_dt_node_to_map_one() 394 grp->func, grp->name, grp->npins); in rzn1_dt_node_to_map_one() 476 rzn1_set_hw_pin_func(ipctl, grp->pins[i], grp->pin_ids[i], 0); in rzn1_set_mux() 699 grp->name = np->name; in rzn1_pinctrl_parse_groups() 723 grp->npins, sizeof(grp->pin_ids[0]), in rzn1_pinctrl_parse_groups() 726 grp->npins, sizeof(grp->pins[0]), in rzn1_pinctrl_parse_groups() 728 if (!grp->pin_ids || !grp->pins) in rzn1_pinctrl_parse_groups() 738 return grp->npins; in rzn1_pinctrl_parse_groups() 788 grp->func = func->name; in rzn1_pinctrl_parse_functions() [all …]
|
/openbmc/linux/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx1-core.c | 166 grp = &info->groups[i]; in imx1_pinctrl_find_group_by_name() 171 return grp; in imx1_pinctrl_find_group_by_name() 238 if (!grp) { in imx1_dt_node_to_map() 244 for (i = 0; i < grp->npins; i++) in imx1_dt_node_to_map() 429 struct imx1_pin_group *grp; in imx1_pinconf_group_dbg_show() local 438 grp = &info->groups[group]; in imx1_pinconf_group_dbg_show() 474 grp->name = np->name; in imx1_pinctrl_parse_groups() 487 grp->npins = size / 12; in imx1_pinctrl_parse_groups() 493 if (!grp->pins || !grp->pin_ids) in imx1_pinctrl_parse_groups() 501 grp->pin_ids[i] = grp->pins[i].pin_id; in imx1_pinctrl_parse_groups() [all …]
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptpf_ucode.c | 616 grp = &eng_grps->grp[i]; in print_dbg_info() 620 mirrored_grp = &eng_grps->grp[grp->mirror.idx]; in print_dbg_info() 703 &grp->engs[i], in release_engines() 713 bitmap_zero(grp->engs[i].bmap, grp->g->engs_num); in release_engines() 1045 if (grp->idx == i) in find_mirrored_eng_grp() 1569 for (grp = 0; grp < OTX_CPT_MAX_ENGINE_GROUPS; grp++) { in otx_cpt_disable_all_cores() 1612 grp = &eng_grps->grp[i]; in otx_cpt_cleanup_eng_grps() 1644 grp = &eng_grps->grp[i]; in otx_cpt_init_eng_grps() 1645 grp->g = eng_grps; in otx_cpt_init_eng_grps() 1646 grp->idx = i; in otx_cpt_init_eng_grps() [all …]
|
/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cptpf_ucode.c | 564 &grp->engs[i], in release_engines() 574 bitmap_zero(grp->engs[i].bmap, grp->g->engs_num); in release_engines() 824 if (grp->idx == i) in find_mirrored_eng_grp() 1120 grp = &eng_grps->grp[i]; in otx2_cpt_get_eng_grp() 1352 grp = &eng_grps->grp[i]; in otx2_cpt_cleanup_eng_grps() 1385 grp = &eng_grps->grp[i]; in otx2_cpt_init_eng_grps() 1386 grp->g = eng_grps; in otx2_cpt_init_eng_grps() 1387 grp->idx = i; in otx2_cpt_init_eng_grps() 1390 grp->engs[j].bmap = in otx2_cpt_init_eng_grps() 1827 grp = &eng_grps->grp[i]; in otx2_cpt_print_uc_dbg_info() [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | imx8mp-dhcom-som.dtsi | 608 pinctrl_dhcom_a: dhcom-a-grp { 615 pinctrl_dhcom_b: dhcom-b-grp { 622 pinctrl_dhcom_c: dhcom-c-grp { 629 pinctrl_dhcom_d: dhcom-d-grp { 636 pinctrl_dhcom_e: dhcom-e-grp { 643 pinctrl_dhcom_f: dhcom-f-grp { 650 pinctrl_dhcom_g: dhcom-g-grp { 657 pinctrl_dhcom_h: dhcom-h-grp { 664 pinctrl_dhcom_i: dhcom-i-grp { 671 pinctrl_dhcom_j: dhcom-j-grp { [all …]
|
H A D | imx8mp-data-modul-edm-sbc.dts | 557 pinctrl_eqos: eqos-grp { 580 pinctrl_fec: fec-grp { 667 pinctrl_i2c1: i2c1-grp { 681 pinctrl_i2c2: i2c2-grp { 695 pinctrl_i2c3: i2c3-grp { 709 pinctrl_i2c5: i2c5-grp { 770 pinctrl_pdm: pdm-grp { 779 pinctrl_pmic: pmic-grp { 786 pinctrl_rtc: rtc-grp { 793 pinctrl_sai1: sai1-grp { [all …]
|
H A D | imx8mm-emcon.dtsi | 132 pinctrl_fec1: fec1-grp { 182 pinctrl_i2c1: i2c1-grp { 196 pinctrl_i2c3: i2c3-grp { 203 pinctrl_lvds: lvds-grp { 209 pinctrl_pcie0: pcie0-grp { 222 pinctrl_pwm1: pwm1-grp { 228 pinctrl_sai2: sai2-grp { 247 pinctrl_uart1: uart1-grp { 254 pinctrl_uart2: uart2-grp { 265 pinctrl_uart3: uart3-grp { [all …]
|
H A D | imx8mm-innocomm-wb15.dtsi | 292 pinctrl_i2c1: i2c1-grp { 306 pinctrl_i2c2: i2c2-grp { 320 pinctrl_i2c3: i2c3-grp { 334 pinctrl_pcie0: pcie0-grp { 341 pinctrl_modem_bt: modem-bt-grp { 357 pinctrl_pmic: pmic-irq-grp { 363 pinctrl_uart1: uart1-grp { 372 pinctrl_uart2: uart2-grp { 379 pinctrl_usdhc1: usdhc1-grp { 436 pinctrl_usdhc2: usdhc2-grp { [all …]
|
H A D | imx8mm-data-modul-edm-sbc.dts | 497 pinctrl_fec1: fec1-grp { 605 pinctrl_i2c1: i2c1-grp { 619 pinctrl_i2c2: i2c2-grp { 633 pinctrl_i2c3: i2c3-grp { 647 pinctrl_i2c4: i2c4-grp { 691 pinctrl_pcie0: pcie-grp { 714 pinctrl_pmic: pmic-grp { 720 pinctrl_rtc: rtc-grp { 727 pinctrl_sai5: sai5-grp { 737 pinctrl_uart1: uart1-grp { [all …]
|
/openbmc/qemu/hw/intc/ |
H A D | arm_gicv3_cpuif.c | 112 if (grp == GICV3_G0) { in read_vbpr() 128 if (grp != GICV3_G0) { in write_vbpr() 134 if (grp == GICV3_G0) { in write_vbpr() 300 int grp; in icv_hppi_can_preempt() local 598 grp = GICV3_G0; in icv_bpr_read() 748 if (cs->hppvlpi.grp == grp) { in icv_hppir_read() 809 if (cs->hppvlpi.grp == grp && icv_hppvlpi_can_preempt(cs)) { in icv_iar_read() 1651 int grp; in icc_eoir_write() local 1676 switch (grp) { in icc_eoir_write() 2079 int grp; in icc_sgi1r_write() local [all …]
|
/openbmc/u-boot/arch/arm/mach-imx/mx6/ |
H A D | ddr.c | 740 mx6_grp_iomux->grp_b0ds = grp->grp_b0ds; in mx6sl_dram_iocfg() 741 mx6_grp_iomux->grp_b1ds = grp->grp_b1ds; in mx6sl_dram_iocfg() 743 mx6_grp_iomux->grp_b2ds = grp->grp_b2ds; in mx6sl_dram_iocfg() 744 mx6_grp_iomux->grp_b3ds = grp->grp_b3ds; in mx6sl_dram_iocfg() 807 mx6_grp_iomux->grp_b0ds = grp->grp_b0ds; in mx6dq_dram_iocfg() 808 mx6_grp_iomux->grp_b1ds = grp->grp_b1ds; in mx6dq_dram_iocfg() 810 mx6_grp_iomux->grp_b2ds = grp->grp_b2ds; in mx6dq_dram_iocfg() 811 mx6_grp_iomux->grp_b3ds = grp->grp_b3ds; in mx6dq_dram_iocfg() 814 mx6_grp_iomux->grp_b4ds = grp->grp_b4ds; in mx6dq_dram_iocfg() 885 mx6_grp_iomux->grp_b0ds = grp->grp_b0ds; in mx6sdl_dram_iocfg() [all …]
|
/openbmc/linux/drivers/pinctrl/sprd/ |
H A D | pinctrl-sprd.c | 207 return grp; in sprd_pinctrl_find_group_by_name() 260 if (!grp) { in sprd_dt_node_to_map() 755 pin_id = grp->pins[0]; in sprd_pinconf_group_get() 894 grp->name = np->name; in sprd_pinctrl_parse_groups() 895 grp->npins = ret; in sprd_pinctrl_parse_groups() 899 if (!grp->pins) in sprd_pinctrl_parse_groups() 911 grp->name, grp->npins, grp->pins[i]); in sprd_pinctrl_parse_groups() 963 grp = info->groups; in sprd_pinctrl_parse_dt() 972 *temp++ = grp->name; in sprd_pinctrl_parse_dt() 973 grp++; in sprd_pinctrl_parse_dt() [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_packet.c | 72 ifh[i] = spx5_rd(sparx5, QS_XTR_RD(grp)); in sparx5_xtr_grp() 82 sparx5_xtr_flush(sparx5, grp); in sparx5_xtr_grp() 90 sparx5_xtr_flush(sparx5, grp); in sparx5_xtr_grp() 171 int grp = INJ_QUEUE; in sparx5_inject() local 185 sparx5, QS_INJ_CTRL(grp)); in sparx5_inject() 189 spx5_wr(ifh[w], sparx5, QS_INJ_WR(grp)); in sparx5_inject() 196 spx5_wr(val, sparx5, QS_INJ_WR(grp)); in sparx5_inject() 201 spx5_wr(0, sparx5, QS_INJ_WR(grp)); in sparx5_inject() 209 sparx5, QS_INJ_CTRL(grp)); in sparx5_inject() 212 spx5_wr(0, sparx5, QS_INJ_WR(grp)); in sparx5_inject() [all …]
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_mru_cache.c | 130 unsigned int grp; in _xfs_mru_cache_migrate() local 168 for (grp = 0; grp < mru->grp_count; grp++) { in _xfs_mru_cache_migrate() 171 lru_list = mru->lists + ((mru->lru_grp + grp) % mru->grp_count); in _xfs_mru_cache_migrate() 174 (mru->grp_count + grp) * mru->grp_time; in _xfs_mru_cache_migrate() 194 unsigned int grp = 0; in _xfs_mru_cache_list_insert() local 210 grp = (now - mru->time_zero) / mru->grp_time; in _xfs_mru_cache_list_insert() 211 grp = (mru->lru_grp + grp) % mru->grp_count; in _xfs_mru_cache_list_insert() 215 list_add_tail(&elem->list_node, mru->lists + grp); in _xfs_mru_cache_list_insert() 324 int err = 0, grp; in xfs_mru_cache_create() local 348 for (grp = 0; grp < mru->grp_count; grp++) in xfs_mru_cache_create() [all …]
|
/openbmc/u-boot/drivers/pinctrl/mvebu/ |
H A D | pinctrl-armada-37xx.c | 225 if (!strcmp(grp->funcs[f], func)) in armada_37xx_get_func_reg() 272 unsigned int mask = grp->reg_mask; in armada_37xx_pmx_set_by_name() 276 name, grp->name); in armada_37xx_pmx_set_by_name() 283 val = grp->val[func]; in armada_37xx_pmx_set_by_name() 354 grp->pins = devm_kzalloc(info->dev, in armada_37xx_fill_group() 355 (grp->npins + grp->extra_npins) * in armada_37xx_fill_group() 357 if (!grp->pins) in armada_37xx_fill_group() 360 for (i = 0; i < grp->npins; i++) in armada_37xx_fill_group() 361 grp->pins[i] = grp->start_pin + i; in armada_37xx_fill_group() 364 grp->pins[i+j] = grp->extra_pin + j; in armada_37xx_fill_group() [all …]
|
/openbmc/linux/net/8021q/ |
H A D | vlan.c | 94 struct vlan_group *grp; in unregister_vlan_dev() local 102 grp = &vlan_info->grp; in unregister_vlan_dev() 104 grp->nr_vlan_devs--; in unregister_vlan_dev() 120 if (grp->nr_vlan_devs == 0) { in unregister_vlan_dev() 154 struct vlan_group *grp; in register_vlan_dev() local 165 grp = &vlan_info->grp; in register_vlan_dev() 194 grp->nr_vlan_devs++; in register_vlan_dev() 201 if (grp->nr_vlan_devs == 0) in register_vlan_dev() 204 if (grp->nr_vlan_devs == 0) in register_vlan_dev() 365 struct vlan_group *grp; in vlan_device_event() local [all …]
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-wqe.h | 489 uint64_t grp:6; member 497 uint64_t grp:6; 524 uint64_t grp:4; member 537 uint64_t grp:4; 620 int grp; in cvmx_wqe_get_grp() local 623 grp = work->word1.cn68xx.grp; in cvmx_wqe_get_grp() 625 grp = work->word1.cn38xx.grp; in cvmx_wqe_get_grp() 627 return grp; in cvmx_wqe_get_grp() 630 static inline void cvmx_wqe_set_grp(struct cvmx_wqe *work, int grp) in cvmx_wqe_set_grp() argument 633 work->word1.cn68xx.grp = grp; in cvmx_wqe_set_grp() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | imx7-colibri.dtsi | 51 pinctrl_i2c4: i2c4-grp { 58 pinctrl_i2c4_gpio: i2c4-gpio-grp { 65 pinctrl_uart1: uart1-grp { 74 pinctrl_uart1_ctrl1: uart1-ctrl1-grp { 81 pinctrl_usdhc1: usdhc1-grp { 94 pinctrl_i2c1: i2c1-grp { 101 pinctrl_i2c1_gpio: i2c1-gpio-grp { 108 pinctrl_cd_usdhc1: usdhc1-cd-grp {
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | exp_rcv.h | 105 static inline void tid_group_add_tail(struct tid_group *grp, in tid_group_add_tail() argument 108 list_add_tail(&grp->list, &set->list); in tid_group_add_tail() 112 static inline void tid_group_remove(struct tid_group *grp, in tid_group_remove() argument 115 list_del_init(&grp->list); in tid_group_remove() 129 struct tid_group *grp = in tid_group_pop() local 131 list_del_init(&grp->list); in tid_group_pop() 133 return grp; in tid_group_pop() 151 hfi1_tid_group_to_idx(struct hfi1_ctxtdata *rcd, struct tid_group *grp) in hfi1_tid_group_to_idx() argument 153 return grp - &rcd->groups[0]; in hfi1_tid_group_to_idx()
|
/openbmc/u-boot/drivers/ddr/marvell/a38x/ |
H A D | mv_ddr_sys_env_lib.h | 18 #define GPP_DATA_OUT_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x00) argument 19 #define GPP_DATA_OUT_EN_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x04) argument 20 #define GPP_DATA_IN_REG(grp) (MV_GPP_REGS_BASE(grp) + 0x10) argument
|
/openbmc/linux/drivers/dma/ |
H A D | acpi-dma.c | 41 static int acpi_dma_parse_resource_group(const struct acpi_csrt_group *grp, in acpi_dma_parse_resource_group() argument 50 if (grp->shared_info_length != sizeof(struct acpi_csrt_shared_info)) in acpi_dma_parse_resource_group() 71 si = (const struct acpi_csrt_shared_info *)&grp[1]; in acpi_dma_parse_resource_group() 92 (char *)&grp->vendor_id, grp->device_id, grp->revision); in acpi_dma_parse_resource_group() 129 struct acpi_csrt_group *grp, *end; in acpi_dma_parse_csrt() local 142 grp = (struct acpi_csrt_group *)(csrt + 1); in acpi_dma_parse_csrt() 145 while (grp < end) { in acpi_dma_parse_csrt() 146 ret = acpi_dma_parse_resource_group(grp, adev, adma); in acpi_dma_parse_csrt() 153 grp = (struct acpi_csrt_group *)((void *)grp + grp->length); in acpi_dma_parse_csrt()
|
/openbmc/pam-ipmi/src/pam_ipmicheck/ |
H A D | pam_ipmicheck.c | 88 struct group *grp; in pam_sm_chauthtok() local 91 grp = pam_modutil_getgrnam(pamh, spec_grp_name); in pam_sm_chauthtok() 92 if (grp != NULL) { in pam_sm_chauthtok() 93 while (*(grp->gr_mem) != NULL) { in pam_sm_chauthtok() 94 if (strcmp(user, *grp->gr_mem) == 0) { in pam_sm_chauthtok() 98 (grp->gr_mem)++; in pam_sm_chauthtok()
|
/openbmc/linux/arch/x86/events/ |
H A D | probe.c | 30 struct attribute_group *grp = msr[bit].grp; in perf_msr_probe() local 34 if (!grp) in perf_msr_probe() 37 grp->is_visible = not_visible; in perf_msr_probe() 56 grp->is_visible = NULL; in perf_msr_probe()
|