Searched refs:pdev_data (Results 1 – 5 of 5) sorted by relevance
/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 222 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 …]
|
D | spi.c | 439 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument 448 pdev_data->family = of_id->data; in wlcore_probe_of() 450 pdev_data->family->name); in wlcore_probe_of() 453 pdev_data->ref_clock_xtal = true; in wlcore_probe_of() 457 &pdev_data->ref_clock_freq); in wlcore_probe_of() 459 &pdev_data->tcxo_clock_freq); in wlcore_probe_of() 467 struct wlcore_platdev_data *pdev_data; in wl1271_probe() local 471 pdev_data = devm_kzalloc(&spi->dev, sizeof(*pdev_data), GFP_KERNEL); in wl1271_probe() 472 if (!pdev_data) in wl1271_probe() 475 pdev_data->if_ops = &spi_ops; in wl1271_probe() [all …]
|
D | boot.c | 275 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()
|
D | main.c | 6134 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 …]
|
/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 1800 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()
|