Home
last modified time | relevance | path

Searched refs:pdev_data (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/drivers/net/wireless/ti/wlcore/
Dsdio.c222 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument
231 pdev_data->family = of_id->data; in wlcore_probe_of()
243 &pdev_data->ref_clock_freq); in wlcore_probe_of()
245 &pdev_data->tcxo_clock_freq); in wlcore_probe_of()
251 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument
260 struct wlcore_platdev_data *pdev_data; in wl1271_probe() local
272 pdev_data = devm_kzalloc(&func->dev, sizeof(*pdev_data), GFP_KERNEL); in wl1271_probe()
273 if (!pdev_data) in wl1271_probe()
276 pdev_data->if_ops = &sdio_ops; in wl1271_probe()
290 ret = wlcore_probe_of(&func->dev, &irq, &wakeirq, pdev_data); in wl1271_probe()
[all …]
Dspi.c438 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument
447 pdev_data->family = of_id->data; in wlcore_probe_of()
449 pdev_data->family->name); in wlcore_probe_of()
452 pdev_data->ref_clock_xtal = true; in wlcore_probe_of()
456 &pdev_data->ref_clock_freq); in wlcore_probe_of()
458 &pdev_data->tcxo_clock_freq); in wlcore_probe_of()
466 struct wlcore_platdev_data *pdev_data; in wl1271_probe() local
470 pdev_data = devm_kzalloc(&spi->dev, sizeof(*pdev_data), GFP_KERNEL); in wl1271_probe()
471 if (!pdev_data) in wl1271_probe()
474 pdev_data->if_ops = &spi_ops; in wl1271_probe()
[all …]
Dboot.c275 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_boot_upload_nvs() local
288 if (pdev_data && pdev_data->family) in wlcore_boot_upload_nvs()
289 nvs_name = pdev_data->family->nvs_name; in wlcore_boot_upload_nvs()
Dmain.c6134 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wl1271_register_hw() local
6161 if (!strcmp(pdev_data->family->name, "wl18xx")) { in wl1271_register_hw()
6560 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_nvs_cb() local
6573 } else if (pdev_data->family->nvs_name) { in wlcore_nvs_cb()
6575 pdev_data->family->nvs_name); in wlcore_nvs_cb()
6600 wl->if_ops = pdev_data->if_ops; in wlcore_nvs_cb()
6632 if (pdev_data->pwr_in_suspend) in wlcore_nvs_cb()
6774 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_probe() local
6778 if (!wl->ops || !wl->ptable || !pdev_data) in wlcore_probe()
6785 if (pdev_data->family && pdev_data->family->nvs_name) { in wlcore_probe()
[all …]
/Linux-v5.15/drivers/net/wireless/ti/wl12xx/
Dmain.c1800 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&wl->pdev->dev); in wl12xx_setup() local
1827 pdev_data->ref_clock_freq, in wl12xx_setup()
1828 pdev_data->ref_clock_xtal); in wl12xx_setup()
1831 pdev_data->ref_clock_freq, in wl12xx_setup()
1832 pdev_data->ref_clock_xtal ? in wl12xx_setup()
1854 if (!tcxo_param && pdev_data->tcxo_clock_freq) { in wl12xx_setup()
1856 pdev_data->tcxo_clock_freq, in wl12xx_setup()
1860 pdev_data->tcxo_clock_freq); in wl12xx_setup()