Lines Matching refs:plat_dev
143 dev = &plat_priv->plat_dev->dev; in cnss_get_vreg_single()
188 struct device *dev = &plat_priv->plat_dev->dev; in cnss_put_vreg_single()
348 struct device *dev = &plat_priv->plat_dev->dev; in cnss_get_vreg()
580 struct device *dev = &plat_priv->plat_dev->dev; in cnss_get_clk_single()
606 struct device *dev = &plat_priv->plat_dev->dev; in cnss_put_clk_single()
672 dev = &plat_priv->plat_dev->dev; in cnss_get_clk()
727 dev = &plat_priv->plat_dev->dev; in cnss_put_clk()
791 dev = &plat_priv->plat_dev->dev; in cnss_get_pinctrl()
958 dev = &plat_priv->plat_dev->dev; in cnss_get_wlan_sw_ctrl()
1288 struct platform_device *plat_dev = plat_priv->plat_dev; in cnss_get_tcs_info() local
1294 res = platform_get_resource_byname(plat_dev, IORESOURCE_MEM, "tcs_cmd"); in cnss_get_tcs_info()
1305 tcs_cmd_base_addr = devm_ioremap(&plat_dev->dev, res->start, addr_len); in cnss_get_tcs_info()
1320 struct platform_device *plat_dev = plat_priv->plat_dev; in cnss_get_cpr_info() local
1331 ret = of_property_read_string(plat_dev->dev.of_node, in cnss_get_cpr_info()
1377 mbox->dev = &plat_priv->plat_dev->dev; in cnss_mbox_init()
1463 qmp = qmp_get(&plat_priv->plat_dev->dev); in cnss_qmp_init()
1783 struct device *dev = &plat_priv->plat_dev->dev; in cnss_power_misc_params_init()
1865 ret = of_property_count_u32_elems(plat_priv->plat_dev->dev.of_node, in cnss_power_misc_params_init()
1871 ret = of_property_read_u32_array(plat_priv->plat_dev->dev.of_node, in cnss_power_misc_params_init()
1969 struct platform_device *plat_dev = plat_priv->plat_dev; in cnss_enable_int_pow_amp_vreg() local
2001 ret = of_property_read_u32(plat_dev->dev.of_node, in cnss_enable_int_pow_amp_vreg()