Searched refs:pdev_data (Results 1 – 5 of 5) sorted by relevance
/Linux-v4.19/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 245 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument 254 pdev_data->family = of_id->data; in wlcore_probe_of() 264 &pdev_data->ref_clock_freq); in wlcore_probe_of() 266 &pdev_data->tcxo_clock_freq); in wlcore_probe_of() 272 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument 281 struct wlcore_platdev_data *pdev_data; in wl1271_probe() local 293 pdev_data = devm_kzalloc(&func->dev, sizeof(*pdev_data), GFP_KERNEL); in wl1271_probe() 294 if (!pdev_data) in wl1271_probe() 297 pdev_data->if_ops = &sdio_ops; in wl1271_probe() 311 ret = wlcore_probe_of(&func->dev, &irq, pdev_data); in wl1271_probe() [all …]
|
D | spi.c | 453 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument 462 pdev_data->family = of_id->data; in wlcore_probe_of() 464 pdev_data->family->name); in wlcore_probe_of() 467 pdev_data->ref_clock_xtal = true; in wlcore_probe_of() 471 &pdev_data->ref_clock_freq); in wlcore_probe_of() 473 &pdev_data->tcxo_clock_freq); in wlcore_probe_of() 481 struct wlcore_platdev_data *pdev_data; in wl1271_probe() local 485 pdev_data = devm_kzalloc(&spi->dev, sizeof(*pdev_data), GFP_KERNEL); in wl1271_probe() 486 if (!pdev_data) in wl1271_probe() 489 pdev_data->if_ops = &spi_ops; in wl1271_probe() [all …]
|
D | boot.c | 286 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_boot_upload_nvs() local 299 if (pdev_data && pdev_data->family) in wlcore_boot_upload_nvs() 300 nvs_name = pdev_data->family->nvs_name; in wlcore_boot_upload_nvs()
|
D | main.c | 6137 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wl1271_register_hw() local 6164 if (!strcmp(pdev_data->family->name, "wl18xx")) { in wl1271_register_hw() 6561 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_nvs_cb() local 6574 } else if (pdev_data->family->nvs_name) { in wlcore_nvs_cb() 6576 pdev_data->family->nvs_name); in wlcore_nvs_cb() 6601 wl->if_ops = pdev_data->if_ops; in wlcore_nvs_cb() 6632 if (pdev_data->pwr_in_suspend) in wlcore_nvs_cb() 6767 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_probe() local 6771 if (!wl->ops || !wl->ptable || !pdev_data) in wlcore_probe() 6778 if (pdev_data->family && pdev_data->family->nvs_name) { in wlcore_probe() [all …]
|
/Linux-v4.19/drivers/net/wireless/ti/wl12xx/ |
D | main.c | 1810 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&wl->pdev->dev); in wl12xx_setup() local 1837 pdev_data->ref_clock_freq, in wl12xx_setup() 1838 pdev_data->ref_clock_xtal); in wl12xx_setup() 1841 pdev_data->ref_clock_freq, in wl12xx_setup() 1842 pdev_data->ref_clock_xtal ? in wl12xx_setup() 1864 if (!tcxo_param && pdev_data->tcxo_clock_freq) { in wl12xx_setup() 1866 pdev_data->tcxo_clock_freq, in wl12xx_setup() 1870 pdev_data->tcxo_clock_freq); in wl12xx_setup()
|