Home
last modified time | relevance | path

Searched refs:parent_id (Results 1 – 25 of 53) sorted by relevance

123

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Ddevlink.c35 u64 parent_id; in mlx5e_devlink_get_port_parent_id() local
37 parent_id = mlx5_query_nic_system_image_guid(dev); in mlx5e_devlink_get_port_parent_id()
38 ppid->id_len = sizeof(parent_id); in mlx5e_devlink_get_port_parent_id()
39 memcpy(ppid->id, &parent_id, sizeof(parent_id)); in mlx5e_devlink_get_port_parent_id()
/linux-6.6.21/drivers/clk/tegra/
Dclk-super.c129 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()
Dclk-periph.c123 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()
Dclk-sdmmc-mux.c211 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()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dqos.c26 int mlx5_qos_create_leaf_node(struct mlx5_core_dev *mdev, u32 parent_id, in mlx5_qos_create_leaf_node() argument
31 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_id); in mlx5_qos_create_leaf_node()
41 int mlx5_qos_create_inner_node(struct mlx5_core_dev *mdev, u32 parent_id, in mlx5_qos_create_inner_node() argument
47 MLX5_SET(scheduling_context, sched_ctx, parent_element_id, parent_id); in mlx5_qos_create_inner_node()
Dqos.h21 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-6.6.21/drivers/clk/at91/
Dclk-generated.c31 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-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/esw/
Ddevlink_port.c10 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-6.6.21/fs/adfs/
Ddir.c165 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()
Dadfs.h34 __u32 parent_id; /* parent indirect disc address */ member
98 __u32 parent_id; member
115 __u32 parent_id; /* parent object id */ member
Dinode.c264 ADFS_I(inode)->parent_id = obj->parent_id; in adfs_iget()
362 obj.parent_id = ADFS_I(inode)->parent_id; in adfs_write_inode()
/linux-6.6.21/drivers/media/platform/microchip/
Dmicrochip-isc-clk.c68 __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-6.6.21/drivers/staging/media/deprecated/atmel/
Datmel-isc-clk.c68 __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-6.6.21/block/partitions/
Dldm.h126 u64 parent_id; member
145 u64 parent_id; member
/linux-6.6.21/drivers/net/mdio/
Dmdio-mux.c20 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-6.6.21/drivers/clk/keystone/
Dsci-clk.c228 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-6.6.21/drivers/powercap/
Darm_scmi_powercap.c281 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-6.6.21/include/linux/firmware/
Dxlnx-zynqmp.h514 int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id);
515 int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id);
628 static inline int zynqmp_pm_clock_setparent(u32 clock_id, u32 parent_id) in zynqmp_pm_clock_setparent() argument
633 static inline int zynqmp_pm_clock_getparent(u32 clock_id, u32 *parent_id) in zynqmp_pm_clock_getparent() argument
/linux-6.6.21/include/soc/tegra/
Dbpmp-abi.h1176 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-6.6.21/drivers/firmware/arm_scmi/
Dpowercap.c64 __le32 parent_id; member
253 dom_info->parent_id = le32_to_cpu(resp->parent_id); in scmi_powercap_domain_attributes_get()
254 if (dom_info->parent_id != SCMI_POWERCAP_ROOT_ZONE_ID && in scmi_powercap_domain_attributes_get()
255 (dom_info->parent_id >= pinfo->num_domains || in scmi_powercap_domain_attributes_get()
256 dom_info->parent_id == dom_info->id)) { in scmi_powercap_domain_attributes_get()
/linux-6.6.21/tools/perf/scripts/python/
Dexport-to-postgresql.py1038 def call_path_table(cp_id, parent_id, symbol_id, ip, *x): argument
1040 value = struct.pack(fmt, 4, 8, cp_id, 8, parent_id, 8, symbol_id, 8, ip)
1043 …urn_time, branch_count, call_id, return_id, parent_call_path_id, flags, parent_id, insn_cnt, cyc_c… argument
1045 …h_count, 8, call_id, 8, return_id, 8, parent_call_path_id, 4, flags, 8, parent_id, 8, insn_cnt, 8,…
/linux-6.6.21/drivers/clk/samsung/
Dclk.h278 unsigned int parent_id; member
289 .parent_id = _pid, \
/linux-6.6.21/drivers/firmware/
Dti_sci.c1243 u32 dev_id, u32 clk_id, u32 parent_id) in ti_sci_cmd_clk_set_parent() argument
1276 if (parent_id < 255) { in ti_sci_cmd_clk_set_parent()
1277 req->parent_id = parent_id; in ti_sci_cmd_clk_set_parent()
1279 req->parent_id = 255; in ti_sci_cmd_clk_set_parent()
1280 req->parent_id_32 = parent_id; in ti_sci_cmd_clk_set_parent()
1311 u32 dev_id, u32 clk_id, u32 *parent_id) in ti_sci_cmd_clk_get_parent() argument
1322 if (!handle || !parent_id) in ti_sci_cmd_clk_get_parent()
1356 if (resp->parent_id < 255) in ti_sci_cmd_clk_get_parent()
1357 *parent_id = resp->parent_id; in ti_sci_cmd_clk_get_parent()
1359 *parent_id = resp->parent_id_32; in ti_sci_cmd_clk_get_parent()
/linux-6.6.21/fs/afs/
Dafs.h176 afs_volid_t parent_id; /* parent volume ID */ member
/linux-6.6.21/drivers/infiniband/hw/irdma/
Dws.c97 node_info.parent_id = node->parent->index; in irdma_ws_cqp_cmd()
99 node_info.parent_id = node_info.id; in irdma_ws_cqp_cmd()

123