/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | devlink.c | 43 u64 parent_id; in mlx5e_devlink_get_port_parent_id() local 45 parent_id = mlx5_query_nic_system_image_guid(dev); in mlx5e_devlink_get_port_parent_id() 46 ppid->id_len = sizeof(parent_id); in mlx5e_devlink_get_port_parent_id() 47 memcpy(ppid->id, &parent_id, sizeof(parent_id)); in mlx5e_devlink_get_port_parent_id()
|
/linux/drivers/clk/tegra/ |
H A D | clk-super.c | 129 int parent_id; in clk_super_mux_restore_context() local 131 parent_id = clk_hw_get_parent_index(hw); in clk_super_mux_restore_context() 132 if (WARN_ON(parent_id < 0)) in clk_super_mux_restore_context() 135 clk_super_set_parent(hw, parent_id); in clk_super_mux_restore_context() 189 int parent_id; in clk_super_restore_context() local 191 parent_id = clk_hw_get_parent_index(hw); in clk_super_restore_context() 192 if (WARN_ON(parent_id < 0)) in clk_super_restore_context() 196 clk_super_set_parent(hw, parent_id); in clk_super_restore_context()
|
H A D | clk-sdmmc-mux.c | 211 int parent_id; in clk_sdmmc_mux_restore_context() local 213 parent_id = clk_hw_get_parent_index(hw); in clk_sdmmc_mux_restore_context() 214 if (WARN_ON(parent_id < 0)) in clk_sdmmc_mux_restore_context() 217 clk_sdmmc_mux_set_parent(hw, parent_id); in clk_sdmmc_mux_restore_context()
|
H A D | clk-periph.c | 123 int parent_id; in clk_periph_restore_context() local 125 parent_id = clk_hw_get_parent_index(hw); in clk_periph_restore_context() 126 if (WARN_ON(parent_id < 0)) in clk_periph_restore_context() 132 clk_periph_set_parent(hw, parent_id); in clk_periph_restore_context()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | qos.c | 26 int mlx5_qos_create_leaf_node(struct mlx5_core_dev *mdev, u32 parent_id, in mlx5_qos_create_leaf_node() argument 34 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_id); in mlx5_qos_create_leaf_node() 44 int mlx5_qos_create_inner_node(struct mlx5_core_dev *mdev, u32 parent_id, in mlx5_qos_create_inner_node() argument 54 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_id); in mlx5_qos_create_inner_node()
|
H A D | qos.h | 21 int mlx5_qos_create_leaf_node(struct mlx5_core_dev *mdev, u32 parent_id, 23 int mlx5_qos_create_inner_node(struct mlx5_core_dev *mdev, u32 parent_id,
|
/linux/drivers/clk/at91/ |
H A D | clk-generated.c | 31 u8 parent_id; member 49 field_prep(gck->layout->gckcss_mask, gck->parent_id) | in clk_generated_set() 63 __func__, gck->gckdiv, gck->parent_id); in clk_generated_enable() 228 gck->parent_id = clk_mux_index_to_val(gck->mux_table, 0, index); in clk_generated_set_parent() 230 gck->parent_id = index; in clk_generated_set_parent() 239 return gck->parent_id; in clk_generated_get_parent() 314 gck->parent_id = field_get(gck->layout->gckcss_mask, tmp); in clk_generated_startup()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | devlink_port.c | 10 u64 parent_id; in mlx5_esw_get_port_parent_id() local 12 parent_id = mlx5_query_nic_system_image_guid(dev); in mlx5_esw_get_port_parent_id() 13 ppid->id_len = sizeof(parent_id); in mlx5_esw_get_port_parent_id() 14 memcpy(ppid->id, &parent_id, sizeof(parent_id)); in mlx5_esw_get_port_parent_id()
|
/linux/fs/adfs/ |
H A D | dir.c | 165 if (ADFS_I(inode)->parent_id != dir->parent_id) { in adfs_dir_read_inode() 168 ADFS_I(inode)->parent_id, dir->parent_id); in adfs_dir_read_inode() 257 if (!dir_emit(ctx, "..", 2, dir.parent_id, DT_DIR)) in adfs_iterate() 288 ret = adfs_dir_read(sb, obj->parent_id, 0, &dir); in adfs_dir_update() 375 obj->parent_id = ADFS_I(inode)->indaddr; in adfs_dir_lookup_byname()
|
H A D | adfs.h | 34 __u32 parent_id; /* parent indirect disc address */ member 98 __u32 parent_id; member 115 __u32 parent_id; /* parent object id */ member
|
H A D | inode.c | 267 ADFS_I(inode)->parent_id = obj->parent_id; in adfs_iget() 367 obj.parent_id = ADFS_I(inode)->parent_id; in adfs_write_inode()
|
/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | adf_rl.c | 70 if (sla_in->parent_id < RL_PARENT_DEFAULT_ID || in validate_user_input() 71 sla_in->parent_id >= RL_NODES_CNT_MAX) { in validate_user_input() 123 int input_parent_id = sla_in->parent_id; in find_parent() 315 u32 parent_id = clear ? 0U : (sla->parent->node_id & CLUSTER_MASK); in assign_leaf_to_cluster() local 319 ADF_CSR_WR(pmisc_addr, offset, parent_id); in assign_leaf_to_cluster() 329 u32 parent_id = clear ? 0U : (sla->parent->node_id & ROOT_MASK); in assign_cluster_to_root() local 333 ADF_CSR_WR(pmisc_addr, offset, parent_id); in assign_cluster_to_root() 690 if (sla_in->parent_id != RL_PARENT_DEFAULT_ID) in add_new_sla_entry() 731 sla_in.parent_id = RL_PARENT_DEFAULT_ID; in initialize_default_nodes() 956 sla_in->parent_id = sla->parent->sla_id; in adf_rl_get_sla() [all …]
|
/linux/drivers/staging/media/deprecated/atmel/ |
H A D | atmel-isc-clk.c | 68 __func__, id, isc_clk->div, isc_clk->parent_id); in isc_clk_enable() 74 (isc_clk->parent_id << ISC_CLKCFG_SEL_SHIFT(id))); in isc_clk_enable() 185 isc_clk->parent_id = index; in isc_clk_set_parent() 194 return isc_clk->parent_id; in isc_clk_get_parent()
|
/linux/drivers/media/platform/microchip/ |
H A D | microchip-isc-clk.c | 68 __func__, id, isc_clk->div, isc_clk->parent_id); in isc_clk_enable() 74 (isc_clk->parent_id << ISC_CLKCFG_SEL_SHIFT(id))); in isc_clk_enable() 185 isc_clk->parent_id = index; in isc_clk_set_parent() 194 return isc_clk->parent_id; in isc_clk_get_parent()
|
/linux/block/partitions/ |
H A D | ldm.h | 126 u64 parent_id; member 145 u64 parent_id; member
|
/linux/drivers/net/mdio/ |
H A D | mdio-mux.c | 20 int parent_id; member 183 pb->parent_id = parent_count++; in mdio_mux_init() 215 cb->mii_bus->name, pb->parent_id, v); in mdio_mux_init()
|
/linux/drivers/clk/keystone/ |
H A D | sci-clk.c | 228 u32 parent_id = 0; in sci_clk_get_parent() local 232 clk->clk_id, (void *)&parent_id); in sci_clk_get_parent() 240 parent_id = parent_id - clk->clk_id - 1; in sci_clk_get_parent() 242 return (u8)parent_id; in sci_clk_get_parent()
|
/linux/drivers/powercap/ |
H A D | arm_scmi_powercap.c | 281 if (spz->info->parent_id == SCMI_POWERCAP_ROOT_ZONE_ID) in scmi_powercap_get_zone_height() 284 return spz->spzones[spz->info->parent_id].height + 1; in scmi_powercap_get_zone_height() 290 if (spz->info->parent_id == SCMI_POWERCAP_ROOT_ZONE_ID) in scmi_powercap_get_parent_zone() 293 return &spz->spzones[spz->info->parent_id]; in scmi_powercap_get_parent_zone()
|
/linux/tools/testing/selftests/filesystems/statmount/ |
H A D | statmount_test.c | 108 static uint64_t root_id, parent_id; variable 161 parent_id = get_mnt_id("parent", root_mntpoint, STATX_MNT_ID_UNIQUE); in setup_namespace() 296 if (sm.mnt_parent_id != parent_id) { in test_statmount_mnt_basic() 299 (unsigned long long) parent_id); in test_statmount_mnt_basic()
|
/linux/include/soc/tegra/ |
H A D | bpmp-abi.h | 1176 uint32_t parent_id; member 1180 uint32_t parent_id; member 1184 uint32_t parent_id; member 1249 uint32_t parent_id[MRQ_CLK_MAX_PARENTS]; member 1266 uint32_t parent_id; member
|
/linux/drivers/firmware/arm_scmi/ |
H A D | clock.c | 77 __le32 parent_id; member 654 u32 parent_id) in scmi_clock_set_parent() argument 666 if (parent_id >= clk->num_parents) in scmi_clock_set_parent() 681 cfg->parent_id = cpu_to_le32(clk->parents[parent_id]); in scmi_clock_set_parent() 692 u32 *parent_id) in scmi_clock_get_parent() argument 706 *parent_id = get_unaligned_le32(t->rx.buf); in scmi_clock_get_parent()
|
H A D | powercap.c | 67 __le32 parent_id; member 272 dom_info->parent_id = le32_to_cpu(resp->parent_id); in scmi_powercap_domain_attributes_get() 273 if (dom_info->parent_id != SCMI_POWERCAP_ROOT_ZONE_ID && in scmi_powercap_domain_attributes_get() 274 (dom_info->parent_id >= pinfo->num_domains || in scmi_powercap_domain_attributes_get() 275 dom_info->parent_id == dom_info->id)) { in scmi_powercap_domain_attributes_get()
|
/linux/drivers/clk/ |
H A D | clk-scmi.c | 104 u32 parent_id, p_idx; in scmi_clk_get_parent() local 107 ret = scmi_proto_clk_ops->parent_get(clk->ph, clk->id, &parent_id); in scmi_clk_get_parent() 112 if (clk->parent_data[p_idx].index == parent_id) in scmi_clk_get_parent()
|
/linux/include/linux/firmware/ |
H A D | xlnx-zynqmp.h | 547 int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id); 548 int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id); 656 static inline int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id) in zynqmp_pm_clock_setparent() argument 661 static inline int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id) in zynqmp_pm_clock_getparent() argument
|
/linux/fs/bcachefs/ |
H A D | snapshot.c | 749 u32 parent_id = bch2_snapshot_parent_early(c, k.k->p.offset); in check_snapshot() local 844 real_depth = bch2_snapshot_depth(c, parent_id); in check_snapshot() 873 u->v.skip[i] = cpu_to_le32(bch2_snapshot_skiplist_get(c, parent_id)); in check_snapshot() 1141 u32 parent_id, child_id; in bch2_snapshot_node_delete() local 1156 parent_id = le32_to_cpu(s.v->parent); in bch2_snapshot_node_delete() 1159 if (parent_id) { in bch2_snapshot_node_delete() 1163 BTREE_ID_snapshots, POS(0, parent_id), in bch2_snapshot_node_delete() 1167 "missing snapshot %u", parent_id); in bch2_snapshot_node_delete() 1178 parent_id, id)) in bch2_snapshot_node_delete() 1198 child->v.parent = cpu_to_le32(parent_id); in bch2_snapshot_node_delete() [all …]
|