Searched refs:pdev_data (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.6/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 221 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument 230 pdev_data->family = of_id->data; in wlcore_probe_of() 242 &pdev_data->ref_clock_freq); in wlcore_probe_of() 244 &pdev_data->tcxo_clock_freq); in wlcore_probe_of() 250 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument 259 struct wlcore_platdev_data *pdev_data; in wl1271_probe() local 271 pdev_data = devm_kzalloc(&func->dev, sizeof(*pdev_data), GFP_KERNEL); in wl1271_probe() 272 if (!pdev_data) in wl1271_probe() 275 pdev_data->if_ops = &sdio_ops; in wl1271_probe() 289 ret = wlcore_probe_of(&func->dev, &irq, &wakeirq, pdev_data); in wl1271_probe() [all …]
|
D | spi.c | 437 struct wlcore_platdev_data *pdev_data) in wlcore_probe_of() argument 446 pdev_data->family = of_id->data; in wlcore_probe_of() 448 pdev_data->family->name); in wlcore_probe_of() 450 pdev_data->ref_clock_xtal = of_property_read_bool(dt_node, "clock-xtal"); in wlcore_probe_of() 454 &pdev_data->ref_clock_freq); in wlcore_probe_of() 456 &pdev_data->tcxo_clock_freq); in wlcore_probe_of() 464 struct wlcore_platdev_data *pdev_data; in wl1271_probe() local 468 pdev_data = devm_kzalloc(&spi->dev, sizeof(*pdev_data), GFP_KERNEL); in wl1271_probe() 469 if (!pdev_data) in wl1271_probe() 472 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 | 6066 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wl1271_register_hw() local 6093 if (!strcmp(pdev_data->family->name, "wl18xx")) { in wl1271_register_hw() 6492 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_nvs_cb() local 6505 } else if (pdev_data->family->nvs_name) { in wlcore_nvs_cb() 6507 pdev_data->family->nvs_name); in wlcore_nvs_cb() 6532 wl->if_ops = pdev_data->if_ops; in wlcore_nvs_cb() 6564 if (pdev_data->pwr_in_suspend) in wlcore_nvs_cb() 6706 struct wlcore_platdev_data *pdev_data = dev_get_platdata(&pdev->dev); in wlcore_probe() local 6710 if (!wl->ops || !wl->ptable || !pdev_data) in wlcore_probe() 6717 if (pdev_data->family && pdev_data->family->nvs_name) { in wlcore_probe() [all …]
|
/Linux-v6.6/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()
|