#define OSM_L3_MAX_LINKS               1
 
-#define to_qcom_provider(_provider) \
+#define to_osm_l3_provider(_provider) \
        container_of(_provider, struct qcom_osm_l3_icc_provider, provider)
 
 struct qcom_osm_l3_icc_provider {
 };
 
 /**
- * struct qcom_icc_node - Qualcomm specific interconnect nodes
+ * struct qcom_osm_l3_node - Qualcomm specific interconnect nodes
  * @name: the node name used in debugfs
  * @links: an array of nodes where we can go next while traversing
  * @id: a unique node identifier
  * @num_links: the total number of @links
  * @buswidth: width of the interconnect between a node and the bus
  */
-struct qcom_icc_node {
+struct qcom_osm_l3_node {
        const char *name;
        u16 links[OSM_L3_MAX_LINKS];
        u16 id;
        u16 buswidth;
 };
 
-struct qcom_icc_desc {
-       const struct qcom_icc_node **nodes;
+struct qcom_osm_l3_desc {
+       const struct qcom_osm_l3_node **nodes;
        size_t num_nodes;
        unsigned int lut_row_size;
        unsigned int reg_freq_lut;
 };
 
 #define DEFINE_QNODE(_name, _id, _buswidth, ...)                       \
-       static const struct qcom_icc_node _name = {                     \
+       static const struct qcom_osm_l3_node _name = {                  \
                .name = #_name,                                         \
                .id = _id,                                              \
                .buswidth = _buswidth,                                  \
 DEFINE_QNODE(sdm845_osm_apps_l3, SDM845_MASTER_OSM_L3_APPS, 16, SDM845_SLAVE_OSM_L3);
 DEFINE_QNODE(sdm845_osm_l3, SDM845_SLAVE_OSM_L3, 16);
 
-static const struct qcom_icc_node *sdm845_osm_l3_nodes[] = {
+static const struct qcom_osm_l3_node *sdm845_osm_l3_nodes[] = {
        [MASTER_OSM_L3_APPS] = &sdm845_osm_apps_l3,
        [SLAVE_OSM_L3] = &sdm845_osm_l3,
 };
 
-static const struct qcom_icc_desc sdm845_icc_osm_l3 = {
+static const struct qcom_osm_l3_desc sdm845_icc_osm_l3 = {
        .nodes = sdm845_osm_l3_nodes,
        .num_nodes = ARRAY_SIZE(sdm845_osm_l3_nodes),
        .lut_row_size = OSM_LUT_ROW_SIZE,
 DEFINE_QNODE(sc7180_osm_apps_l3, SC7180_MASTER_OSM_L3_APPS, 16, SC7180_SLAVE_OSM_L3);
 DEFINE_QNODE(sc7180_osm_l3, SC7180_SLAVE_OSM_L3, 16);
 
-static const struct qcom_icc_node *sc7180_osm_l3_nodes[] = {
+static const struct qcom_osm_l3_node *sc7180_osm_l3_nodes[] = {
        [MASTER_OSM_L3_APPS] = &sc7180_osm_apps_l3,
        [SLAVE_OSM_L3] = &sc7180_osm_l3,
 };
 
-static const struct qcom_icc_desc sc7180_icc_osm_l3 = {
+static const struct qcom_osm_l3_desc sc7180_icc_osm_l3 = {
        .nodes = sc7180_osm_l3_nodes,
        .num_nodes = ARRAY_SIZE(sc7180_osm_l3_nodes),
        .lut_row_size = OSM_LUT_ROW_SIZE,
 DEFINE_QNODE(sc8180x_osm_apps_l3, SC8180X_MASTER_OSM_L3_APPS, 32, SC8180X_SLAVE_OSM_L3);
 DEFINE_QNODE(sc8180x_osm_l3, SC8180X_SLAVE_OSM_L3, 32);
 
-static const struct qcom_icc_node *sc8180x_osm_l3_nodes[] = {
+static const struct qcom_osm_l3_node *sc8180x_osm_l3_nodes[] = {
        [MASTER_OSM_L3_APPS] = &sc8180x_osm_apps_l3,
        [SLAVE_OSM_L3] = &sc8180x_osm_l3,
 };
 
-static const struct qcom_icc_desc sc8180x_icc_osm_l3 = {
+static const struct qcom_osm_l3_desc sc8180x_icc_osm_l3 = {
        .nodes = sc8180x_osm_l3_nodes,
        .num_nodes = ARRAY_SIZE(sc8180x_osm_l3_nodes),
        .lut_row_size = OSM_LUT_ROW_SIZE,
 DEFINE_QNODE(sm8150_osm_apps_l3, SM8150_MASTER_OSM_L3_APPS, 32, SM8150_SLAVE_OSM_L3);
 DEFINE_QNODE(sm8150_osm_l3, SM8150_SLAVE_OSM_L3, 32);
 
-static const struct qcom_icc_node *sm8150_osm_l3_nodes[] = {
+static const struct qcom_osm_l3_node *sm8150_osm_l3_nodes[] = {
        [MASTER_OSM_L3_APPS] = &sm8150_osm_apps_l3,
        [SLAVE_OSM_L3] = &sm8150_osm_l3,
 };
 
-static const struct qcom_icc_desc sm8150_icc_osm_l3 = {
+static const struct qcom_osm_l3_desc sm8150_icc_osm_l3 = {
        .nodes = sm8150_osm_l3_nodes,
        .num_nodes = ARRAY_SIZE(sm8150_osm_l3_nodes),
        .lut_row_size = OSM_LUT_ROW_SIZE,
 DEFINE_QNODE(sm8250_epss_apps_l3, SM8250_MASTER_EPSS_L3_APPS, 32, SM8250_SLAVE_EPSS_L3);
 DEFINE_QNODE(sm8250_epss_l3, SM8250_SLAVE_EPSS_L3, 32);
 
-static const struct qcom_icc_node *sm8250_epss_l3_nodes[] = {
+static const struct qcom_osm_l3_node *sm8250_epss_l3_nodes[] = {
        [MASTER_EPSS_L3_APPS] = &sm8250_epss_apps_l3,
        [SLAVE_EPSS_L3_SHARED] = &sm8250_epss_l3,
 };
 
-static const struct qcom_icc_desc sm8250_icc_epss_l3 = {
+static const struct qcom_osm_l3_desc sm8250_icc_epss_l3 = {
        .nodes = sm8250_epss_l3_nodes,
        .num_nodes = ARRAY_SIZE(sm8250_epss_l3_nodes),
        .lut_row_size = EPSS_LUT_ROW_SIZE,
        .reg_perf_state = EPSS_REG_PERF_STATE,
 };
 
-static int qcom_icc_set(struct icc_node *src, struct icc_node *dst)
+static int qcom_osm_l3_set(struct icc_node *src, struct icc_node *dst)
 {
        struct qcom_osm_l3_icc_provider *qp;
        struct icc_provider *provider;
-       const struct qcom_icc_node *qn;
+       const struct qcom_osm_l3_node *qn;
        struct icc_node *n;
        unsigned int index;
        u32 agg_peak = 0;
 
        qn = src->data;
        provider = src->provider;
-       qp = to_qcom_provider(provider);
+       qp = to_osm_l3_provider(provider);
 
        list_for_each_entry(n, &provider->nodes, node_list)
                provider->aggregate(n, 0, n->avg_bw, n->peak_bw,
        u32 info, src, lval, i, prev_freq = 0, freq;
        static unsigned long hw_rate, xo_rate;
        struct qcom_osm_l3_icc_provider *qp;
-       const struct qcom_icc_desc *desc;
+       const struct qcom_osm_l3_desc *desc;
        struct icc_onecell_data *data;
        struct icc_provider *provider;
-       const struct qcom_icc_node **qnodes;
+       const struct qcom_osm_l3_node **qnodes;
        struct icc_node *node;
        size_t num_nodes;
        struct clk *clk;
 
        provider = &qp->provider;
        provider->dev = &pdev->dev;
-       provider->set = qcom_icc_set;
+       provider->set = qcom_osm_l3_set;
        provider->aggregate = icc_std_aggregate;
        provider->xlate = of_icc_xlate_onecell;
        INIT_LIST_HEAD(&provider->nodes);
                }
 
                node->name = qnodes[i]->name;
-               /* Cast away const and add it back in qcom_icc_set() */
+               /* Cast away const and add it back in qcom_osm_l3_set() */
                node->data = (void *)qnodes[i];
                icc_node_add(node, provider);