Searched refs:pdev_data (Results 1 – 5 of 5) sorted by relevance
250 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument259 pdev_data->family = of_id->data; in wlcore_probe_of()269 &pdev_data->ref_clock_freq); in wlcore_probe_of()271 &pdev_data->tcxo_clock_freq); in wlcore_probe_of()277 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument286 struct wlcore_platdev_data *pdev_data; in wl1271_probe() local298 pdev_data = devm_kzalloc(&func->dev, sizeof(*pdev_data), GFP_KERNEL); in wl1271_probe()299 if (!pdev_data) in wl1271_probe()302 pdev_data->if_ops = &sdio_ops; in wl1271_probe()316 ret = wlcore_probe_of(&func->dev, &irq, pdev_data); in wl1271_probe()[all …]
454 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument463 pdev_data->family = of_id->data; in wlcore_probe_of()465 pdev_data->family->name); in wlcore_probe_of()468 pdev_data->ref_clock_xtal = true; in wlcore_probe_of()472 &pdev_data->ref_clock_freq); in wlcore_probe_of()474 &pdev_data->tcxo_clock_freq); in wlcore_probe_of()482 struct wlcore_platdev_data *pdev_data; in wl1271_probe() local486 pdev_data = devm_kzalloc(&spi->dev, sizeof(*pdev_data), GFP_KERNEL); in wl1271_probe()487 if (!pdev_data) in wl1271_probe()490 pdev_data->if_ops = &spi_ops; in wl1271_probe()[all …]
286 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_boot_upload_nvs() local299 if (pdev_data && pdev_data->family) in wlcore_boot_upload_nvs()300 nvs_name = pdev_data->family->nvs_name; in wlcore_boot_upload_nvs()
6405 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_nvs_cb() local6418 } else if (pdev_data->family->nvs_name) { in wlcore_nvs_cb()6420 pdev_data->family->nvs_name); in wlcore_nvs_cb()6445 wl->if_ops = pdev_data->if_ops; in wlcore_nvs_cb()6476 if (pdev_data->pwr_in_suspend) in wlcore_nvs_cb()6518 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_probe() local6522 if (!wl->ops || !wl->ptable || !pdev_data) in wlcore_probe()6529 if (pdev_data->family && pdev_data->family->nvs_name) { in wlcore_probe()6530 nvs_name = pdev_data->family->nvs_name; in wlcore_probe()6549 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_remove() local[all …]
1809 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&wl->pdev->dev); in wl12xx_setup() local1836 pdev_data->ref_clock_freq, in wl12xx_setup()1837 pdev_data->ref_clock_xtal); in wl12xx_setup()1840 pdev_data->ref_clock_freq, in wl12xx_setup()1841 pdev_data->ref_clock_xtal ? in wl12xx_setup()1863 if (!tcxo_param && pdev_data->tcxo_clock_freq) { in wl12xx_setup()1865 pdev_data->tcxo_clock_freq, in wl12xx_setup()1869 pdev_data->tcxo_clock_freq); in wl12xx_setup()