/openbmc/linux/drivers/crypto/cavium/cpt/ |
H A D | cptpf_main.c | 27 u8 type, u8 grp) in cpt_disable_cores() argument 43 while (grp & coremask) { in cpt_disable_cores() 45 grp = cpt_read_csr64(cpt->reg_base, in cpt_disable_cores() 383 u32 grp, timeout = 100; in cpt_disable_all_cores() local 387 for (grp = 0; grp < CPT_MAX_CORE_GROUPS; grp++) { in cpt_disable_all_cores() 393 while (grp) { in cpt_disable_all_cores() 395 grp = cpt_read_csr64(cpt->reg_base, in cpt_disable_all_cores() 413 u32 grp = 0, core; in cpt_unload_microcode() local 416 for (grp = 0; grp < CPT_MAX_CORE_GROUPS; grp++) { in cpt_unload_microcode() 417 struct microcode *mcode = &cpt->mcode[grp]; in cpt_unload_microcode() [all …]
|
H A D | cptpf_mbox.c | 59 static int cpt_bind_vq_to_grp(struct cpt_device *cpt, u8 q, u8 grp) in cpt_bind_vq_to_grp() argument 69 if (grp >= CPT_MAX_CORE_GROUPS) { in cpt_bind_vq_to_grp() 73 if (grp >= cpt->next_mc_idx) { in cpt_bind_vq_to_grp() 78 pf_qx_ctl.s.grp = mcode[grp].group; in cpt_bind_vq_to_grp() 80 dev_dbg(dev, "VF %d TYPE %s", q, (mcode[grp].is_ae ? "AE" : "SE")); in cpt_bind_vq_to_grp() 82 return mcode[grp].is_ae ? AE_TYPES : SE_TYPES; in cpt_bind_vq_to_grp()
|
/openbmc/linux/drivers/regulator/ |
H A D | twl6030-regulator.c | 124 int grp = 0, val; in twl6030reg_is_enabled() local 128 if (grp < 0) in twl6030reg_is_enabled() 129 return grp; in twl6030reg_is_enabled() 136 grp = 1; in twl6030reg_is_enabled() 149 int grp = 0; in twl6030reg_enable() local 154 if (grp < 0) in twl6030reg_enable() 155 return grp; in twl6030reg_enable() 166 int grp = 0; in twl6030reg_disable() local 215 int grp = 0; in twl6030reg_set_mode() local 221 if (grp < 0) in twl6030reg_set_mode() [all …]
|
/openbmc/linux/kernel/ |
H A D | groups.c | 92 int groups_search(const struct group_info *group_info, kgid_t grp) in groups_search() argument 103 if (gid_gt(grp, group_info->gid[mid])) in groups_search() 105 else if (gid_lt(grp, group_info->gid[mid])) in groups_search() 227 int in_group_p(kgid_t grp) in in_group_p() argument 232 if (!gid_eq(grp, cred->fsgid)) in in_group_p() 233 retval = groups_search(cred->group_info, grp); in in_group_p() 239 int in_egroup_p(kgid_t grp) in in_egroup_p() argument 244 if (!gid_eq(grp, cred->egid)) in in_egroup_p() 245 retval = groups_search(cred->group_info, grp); in in_egroup_p()
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | exp_rcv.c | 38 struct tid_group *grp; in hfi1_alloc_ctxt_rcv_groups() local 50 grp = &rcd->groups[i]; in hfi1_alloc_ctxt_rcv_groups() 51 grp->size = dd->rcv_entries.group_size; in hfi1_alloc_ctxt_rcv_groups() 52 grp->base = tidbase; in hfi1_alloc_ctxt_rcv_groups() 53 tid_group_add_tail(grp, &rcd->tid_group_list); in hfi1_alloc_ctxt_rcv_groups()
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar.c | 557 priv->rx_queue[i]->grp = grp; in gfar_parse_group() 566 priv->tx_queue[i]->grp = grp; in gfar_parse_group() 2805 free_irq(gfar_irq(grp, TX)->irq, grp); in free_grp_irqs() 2806 free_irq(gfar_irq(grp, RX)->irq, grp); in free_grp_irqs() 2807 free_irq(gfar_irq(grp, ER)->irq, grp); in free_grp_irqs() 2824 gfar_irq(grp, ER)->name, grp); in register_grp_irqs() 2834 gfar_irq(grp, TX)->name, grp); in register_grp_irqs() 2841 gfar_irq(grp, RX)->name, grp); in register_grp_irqs() 2851 gfar_irq(grp, TX)->name, grp); in register_grp_irqs() 2863 free_irq(gfar_irq(grp, TX)->irq, grp); in register_grp_irqs() [all …]
|
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_stats.h | 81 #define MLX5E_STATS_GRP_OP(grp, name) mlx5e_stats_grp_ ## grp ## _ ## name argument 83 #define MLX5E_DECLARE_STATS_GRP_OP_NUM_STATS(grp) \ argument 86 #define MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS(grp) \ argument 89 #define MLX5E_DECLARE_STATS_GRP_OP_FILL_STRS(grp) \ argument 92 #define MLX5E_DECLARE_STATS_GRP_OP_FILL_STATS(grp) \ argument 95 #define MLX5E_STATS_GRP(grp) mlx5e_stats_grp_ ## grp argument 97 #define MLX5E_DECLARE_STATS_GRP(grp) \ argument 98 const struct mlx5e_stats_grp MLX5E_STATS_GRP(grp) 100 #define MLX5E_DEFINE_STATS_GRP(grp, mask) \ argument 101 MLX5E_DECLARE_STATS_GRP(grp) = { \ [all …]
|
/openbmc/linux/drivers/pinctrl/meson/ |
H A D | pinctrl-meson8-pmx.h | 22 #define GROUP(grp, r, b) \ argument 24 .name = #grp, \ 25 .pins = grp ## _pins, \ 26 .num_pins = ARRAY_SIZE(grp ## _pins), \
|
H A D | pinctrl-meson-axg-pmx.h | 42 #define GROUP(grp, f) \ argument 44 .name = #grp, \ 45 .pins = grp ## _pins, \ 46 .num_pins = ARRAY_SIZE(grp ## _pins), \
|
/openbmc/linux/drivers/pinctrl/nxp/ |
H A D | pinctrl-s32cc.c | 310 struct s32_pin_group *grp; in s32_pmx_set() local 316 grp = &info->groups[group]; in s32_pmx_set() 335 grp->data.pins[i]); in s32_pmx_set() 607 struct s32_pin_group *grp; in s32_pconf_group_set() local 639 struct s32_pin_group *grp; in s32_pinconf_group_dbg_show() local 750 grp->data.name = np->name; in s32_pinctrl_parse_groups() 755 grp->data.name); in s32_pinctrl_parse_groups() 763 grp->data.npins = npins; in s32_pinctrl_parse_groups() 779 grp->data.pins = pins; in s32_pinctrl_parse_groups() 780 grp->pin_sss = sss; in s32_pinctrl_parse_groups() [all …]
|
/openbmc/u-boot/drivers/pinctrl/meson/ |
H A D | pinctrl-meson-gx.h | 25 #define GROUP(grp, r, b) \ argument 27 .name = #grp, \ 28 .pins = grp ## _pins, \ 29 .num_pins = ARRAY_SIZE(grp ## _pins), \
|
H A D | pinctrl-meson-axg.h | 43 #define GROUP(grp, f) \ argument 45 .name = #grp, \ 46 .pins = grp ## _pins, \ 47 .num_pins = ARRAY_SIZE(grp ## _pins), \
|
/openbmc/linux/drivers/crypto/marvell/octeontx/ |
H A D | otx_cptpf_mbox.c | 135 static int otx_cpt_bind_vq_to_grp(struct otx_cpt_device *cpt, u8 q, u8 grp) in otx_cpt_bind_vq_to_grp() argument 148 if (grp >= OTX_CPT_MAX_ENGINE_GROUPS) { in otx_cpt_bind_vq_to_grp() 150 grp, OTX_CPT_MAX_ENGINE_GROUPS); in otx_cpt_bind_vq_to_grp() 154 eng_grp = &cpt->eng_grps.grp[grp]; in otx_cpt_bind_vq_to_grp() 156 dev_err(dev, "Requested engine group %d is disabled\n", grp); in otx_cpt_bind_vq_to_grp() 161 pf_qx_ctl.s.grp = grp; in otx_cpt_bind_vq_to_grp() 165 ucode = &eng_grp->g->grp[eng_grp->mirror.idx].ucode[0]; in otx_cpt_bind_vq_to_grp()
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ull-dhcor-maveo-box.dts | 214 pinctrl_hog_maveo_box: hog-maveo-box-grp { 257 pinctrl_bt_gpio: bt-gpio-grp { 263 pinctrl_ecspi4: ecspi4-grp { 272 pinctrl_i2c2: i2c2-grp { 279 pinctrl_i2c2_gpio: i2c2-gpio-grp { 286 pinctrl_uart1: uart1-grp { 293 pinctrl_uart3: uart3-grp { 300 pinctrl_usbotg1: usbotg1-grp { 307 pinctrl_usbotg2: usbotg2-grp { 313 pinctrl_usdhc2: usdhc2-grp { [all …]
|
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_main.c | 232 u8 grp = 0; in lan966x_port_ifh_xmit() local 244 lan966x, QS_INJ_CTRL(grp)); in lan966x_port_ifh_xmit() 275 lan_wr(0, lan966x, QS_INJ_WR(grp)); in lan966x_port_ifh_xmit() 284 lan966x, QS_INJ_CTRL(grp)); in lan966x_port_ifh_xmit() 287 lan_wr(0, lan966x, QS_INJ_WR(grp)); in lan966x_port_ifh_xmit() 552 return lan_rd(lan966x, QS_XTR_RD(grp)); in lan966x_port_xtr_status() 562 lan966x, grp); in lan966x_port_xtr_ready() 571 val = lan_rd(lan966x, QS_XTR_RD(grp)); in lan966x_rx_frame_word() 587 val = lan_rd(lan966x, QS_XTR_RD(grp)); in lan966x_rx_frame_word() 642 int i, grp = 0, err = 0; in lan966x_xtr_irq_handler() local [all …]
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | ppc970-pmu.c | 197 int grp = -1; in p970_get_constraint() local 206 grp = ((pmc - 1) >> 1) & 1; in p970_get_constraint() 220 grp = byte & 1; in p970_get_constraint() 225 if (grp == 0) { in p970_get_constraint() 229 } else if (grp == 1) { in p970_get_constraint() 264 unsigned int ttm, grp; in p970_compute_mmcr() local 363 grp = (pmc >> 1) & 1; in p970_compute_mmcr() 365 if (grp == (byte & 1)) in p970_compute_mmcr() 367 } else if (pmc_grp_use[grp] < 4) { in p970_compute_mmcr() 368 ++pmc_grp_use[grp]; in p970_compute_mmcr()
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pow.h | 206 uint64_t grp:4; member 224 uint64_t grp:4; 663 uint64_t grp:4; member 719 uint64_t grp:4; member 773 uint64_t grp:4; member 808 uint64_t grp:4; member 836 uint64_t grp:4; member 872 uint64_t grp:4; member 895 uint64_t grp:4; member 1273 result.s.grp = load_resp.s_sstatus2.grp; in cvmx_pow_get_current_tag() [all …]
|
/openbmc/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-tangier.c | 146 return tp->groups[group].grp.name; in tng_get_group_name() 154 *pins = tp->groups[group].grp.pins; in tng_get_group_pins() 155 *npins = tp->groups[group].grp.npins; in tng_get_group_pins() 220 const struct intel_pingroup *grp = &tp->groups[group]; in tng_pinmux_set_mux() local 221 u32 bits = grp->mode << BUFCFG_PINMODE_SHIFT; in tng_pinmux_set_mux() 230 for (i = 0; i < grp->grp.npins; i++) { in tng_pinmux_set_mux() 231 if (!tng_buf_available(tp, grp->grp.pins[i])) in tng_pinmux_set_mux() 237 for (i = 0; i < grp->grp.npins; i++) in tng_pinmux_set_mux() 238 tng_update_bufcfg(tp, grp->grp.pins[i], bits, mask); in tng_pinmux_set_mux()
|
/openbmc/linux/drivers/pinctrl/mvebu/ |
H A D | pinctrl-armada-37xx.c | 240 while (*grp < info->ngroups) { in armada_37xx_find_next_grp_by_pin() 244 *grp = *grp + 1; in armada_37xx_find_next_grp_by_pin() 350 unsigned int mask = grp->reg_mask; in armada_37xx_pmx_set_by_name() 359 val = grp->val[func]; in armada_37xx_pmx_set_by_name() 490 int grp = 0; in armada_37xx_gpio_request_enable() local 879 grp->pins = devm_kcalloc(dev, grp->npins + grp->extra_npins, in armada_37xx_fill_group() 880 sizeof(*grp->pins), in armada_37xx_fill_group() 882 if (!grp->pins) in armada_37xx_fill_group() 886 grp->pins[i] = grp->start_pin + i; in armada_37xx_fill_group() 889 grp->pins[i+j] = grp->extra_pin + j; in armada_37xx_fill_group() [all …]
|
/openbmc/linux/fs/ext4/ |
H A D | mballoc.c | 759 if (!grp) in __mb_check_buddy() 850 grp->bb_free / grp->bb_fragments); in mb_update_avg_fragment_size() 1596 if (!grp) in ext4_mb_load_buddy_gfp() 2337 if (!grp) in ext4_mb_find_by_goal() 2656 if (!grp) in ext4_mb_good_group_nolock() 2786 if (grp && gdp && EXT4_MB_GRP_NEED_INIT(grp) && in ext4_mb_prefetch_fini() 3466 if (grp) in ext4_mb_init_backend() 5010 if (!grp) in ext4_mb_generate_from_pa() 5251 if (!grp) in ext4_mb_new_inode_pa() 5302 if (!grp) in ext4_mb_new_group_pa() [all …]
|
H A D | ialloc.c | 85 struct ext4_group_info *grp; in ext4_validate_inode_bitmap() local 94 if (!grp || EXT4_MB_GRP_IBITMAP_CORRUPT(grp)) in ext4_validate_inode_bitmap() 296 if (!grp || unlikely(EXT4_MB_GRP_IBITMAP_CORRUPT(grp))) { in ext4_free_inode() 480 grp = g; in find_group_orlov() 488 *group = grp; in find_group_orlov() 499 grp *= flex_size; in find_group_orlov() 505 *group = grp+i; in find_group_orlov() 553 *group = grp; in find_group_orlov() 1052 if (!grp || EXT4_MB_GRP_IBITMAP_CORRUPT(grp)) in __ext4_new_inode() 1190 if (!grp) { in __ext4_new_inode() [all …]
|
/openbmc/u-boot/drivers/ddr/altera/ |
H A D | sequencer.c | 382 scc_mgr_set(off, grp, val); in scc_mgr_set_all_ranks() 1511 rw_mgr_incr_vfifo(grp); in rw_mgr_decr_vfifo() 1537 rw_mgr_incr_vfifo(grp); in find_vfifo_failing_read() 1610 rw_mgr_incr_vfifo(grp); in sdr_find_phase() 1669 rw_mgr_decr_vfifo(grp); in sdr_backup_phase() 1694 rw_mgr_incr_vfifo(grp); in sdr_backup_phase() 1718 rw_mgr_incr_vfifo(grp); in sdr_nonworking_phase() 1791 rw_mgr_incr_vfifo(grp); in sdr_find_window_center() 1825 find_vfifo_failing_read(grp); in rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase() 1860 rw_mgr_decr_vfifo(grp); in rw_mgr_mem_calibrate_vfifo_find_dqs_en_phase() [all …]
|
/openbmc/linux/drivers/net/wireless/intel/iwlwifi/fw/ |
H A D | img.c | 13 u8 grp = iwl_cmd_groupid(cmd_id) ?: LONG_GROUP; in iwl_fw_lookup_cmd_ver() local 22 if (entry->group == grp && entry->cmd == cmd) { in iwl_fw_lookup_cmd_ver() 33 u8 iwl_fw_lookup_notif_ver(const struct iwl_fw *fw, u8 grp, u8 cmd, u8 def) in iwl_fw_lookup_notif_ver() argument 44 if (entry->group == grp && entry->cmd == cmd) { in iwl_fw_lookup_notif_ver()
|
/openbmc/linux/drivers/crypto/marvell/octeontx2/ |
H A D | otx2_cpt_devlink.c | 55 struct otx2_cpt_eng_grp_info grp[], in otx2_cpt_dl_info_firmware_version_put() argument 62 eng = find_engines_by_type(&grp[i], eng_type); in otx2_cpt_dl_info_firmware_version_put() 79 err = otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get() 84 err = otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get() 89 return otx2_cpt_dl_info_firmware_version_put(req, cptpf->eng_grps.grp, in otx2_cpt_devlink_info_get()
|
/openbmc/linux/tools/lib/thermal/ |
H A D | thermal_nl.c | 77 struct handler_args *grp = arg; in nl_family_handler() local 101 grp->group, in nl_family_handler() 105 grp->id = nla_get_u32(tb_mcgrp[CTRL_ATTR_MCAST_GRP_ID]); in nl_family_handler() 118 struct handler_args grp = { in nl_get_multicast_id() local 133 ret = nl_send_msg(sock, cb, msg, nl_family_handler, &grp); in nl_get_multicast_id() 137 ret = grp.id; in nl_get_multicast_id()
|